Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SharedWalletBalance ¶
type SharedWalletBalance struct { uint64 `json:"advertiser_id,omitempty"` BalanceDetail []SharedWalletBalanceDetail `json:"balance_detail,omitempty"` Status SharedWalletBalanceStatus `json:"status,omitempty"` StatusMessage string `json:"status_message,omitempty"` }AdvertiserID
SharedWalletBalance 共享钱包余额
type SharedWalletBalanceBillingInventory ¶
type SharedWalletBalanceBillingInventory string
SharedWalletBalanceBillingInventory 余额可用广告位
const ( SharedWalletBalanceBillingInventory = "DEFAULT" SharedWalletBalanceBillingInventory_SEARCH SharedWalletBalanceBillingInventory = "SEARCH" SharedWalletBalanceBillingInventory_UNION SharedWalletBalanceBillingInventory = "UNION" SharedWalletBalanceBillingInventory_COMMON SharedWalletBalanceBillingInventory = "COMMON" )SharedWalletBalanceBillingInventory_DEFAULT
type SharedWalletBalanceDetail ¶
type SharedWalletBalanceDetail struct { float64 `json:"balance,omitempty"` BillingInventory string `json:"billing_inventory,omitempty"` }Balance
SharedWalletBalanceDetail 余额详情
type SharedWalletBalanceGetRequest ¶
type SharedWalletBalanceGetRequest struct { uint64 `json:"advertiser_ids,omitempty"` }AdvertiserIDs []
SharedWalletBalanceGetRequest 获取共享钱包余额 API Request
func (SharedWalletBalanceGetRequest) Encode ¶
func (r SharedWalletBalanceGetRequest) Encode() string
Encode implement GetRequest interface
type SharedWalletBalanceGetResponse ¶
type SharedWalletBalanceGetResponse struct { // List 账户列表 List []SharedWalletBalance `json:"list,omitempty"` } `json:"data,omitempty"` }Data struct {
SharedWalletBalanceGetResponse 获取共享钱包余额 API Response
type SharedWalletBalanceStatus ¶
type SharedWalletBalanceStatus string
SharedWalletBalanceStatus 余额查询状态
const ( SharedWalletBalanceStatus = "SUCCESS" SharedWalletBalanceStatus_FAIL SharedWalletBalanceStatus = "FAIL" SharedWalletBalanceStatus_NO_WALLET SharedWalletBalanceStatus = "NO_WALLET" )SharedWalletBalanceStatus_SUCCESS
Click to show internal directories.
Click to hide internal directories.