dsp

package
v1.2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BalanceGetData

type BalanceGetData struct {
	Code      string            `json:"code,omitempty" codec:"code,omitempty"`
	ErrorDesc string            `json:"error_description,omitempty" codec:"error_description,omitempty"`
	Result    *BalanceGetResult `json:"getaccountbalance_result,omitempty" codec:"getaccountbalance_result,omitempty"`
}

func (BalanceGetData) Error added in v1.1.1

func (r BalanceGetData) Error() string

func (BalanceGetData) IsError added in v1.1.1

func (r BalanceGetData) IsError() bool

type BalanceGetRequest

type BalanceGetRequest struct {
	api.BaseRequest
}

type BalanceGetResponse

type BalanceGetResponse struct {
	ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"`
	Data      *BalanceGetData     `json:"jingdong_dsp_balance_get_responce,omitempty" codec:"jingdong_dsp_balance_get_responce,omitempty"`
}

func (BalanceGetResponse) Error added in v1.1.1

func (r BalanceGetResponse) Error() string

func (BalanceGetResponse) IsError added in v1.1.1

func (r BalanceGetResponse) IsError() bool

type BalanceGetResult

type BalanceGetResult struct {
	Data       *BalanceGetResultData `json:"value,omitempty" codec:"value,omitempty"`
	ResultCode string                `json:"resultCode,omitempty" codec:"resultCode,omitempty"`
	ErrorMsg   string                `json:"errorMsg,omitempty" codec:"errorMsg,omitempty"`
	Success    bool                  `json:"success" codec:"success"`
}

func (BalanceGetResult) Error added in v1.1.1

func (r BalanceGetResult) Error() string

func (BalanceGetResult) IsError added in v1.1.1

func (r BalanceGetResult) IsError() bool

type BalanceGetResultData

type BalanceGetResultData struct {
	TotalAmount     float64 `json:"totalAmount" codec:"totalAmount"`
	AvailableAmount float64 `json:"availableAmount" codec:"availableAmount"`
	FreezeAmount    float64 `json:"freezeAmount" codec:"freezeAmount"`
}

type Paginator

type Paginator struct {
	PageNum  int `json:"pageNum,omitempty" codec:"pageNum,omitempty"`
	Items    int `json:"items,omitempty" codec:"items,omitempty"`
	PageSize int `json:"pageSize,omitempty" codec:"pageSize,omitempty"`
}

Directories

Path Synopsis
kc
ad

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL