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)
Click to show internal directories.
Click to hide internal directories.