dsp

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: GPL-3.0 Imports: 6 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"`
}

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"`
}

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"`
}

type BalanceGetResultData

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

func BalanceGet

func BalanceGet(req *BalanceGetRequest) (*BalanceGetResultData, error)

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