Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetSwapConfigResponse ¶
type GetSwapConfigResponse struct { Code int `json:"code"` Message string `json:"message"` Success bool `json:"success"` Data *SwapConfig `json:"data"` }
type GetSwapListResponse ¶
type SwapConfig ¶
type SwapConfig struct { PurchaseMinAmount int64 `json:"purchase_min_amount"` PurchaseMaxAmount int64 `json:"purchase_max_amount"` RedemptionMinAmount int64 `json:"redemption_min_amount"` RedemptionMaxAmount int64 `json:"redemption_max_amount"` PurchaseFeeRate decimal.Decimal `json:"purchase_fee_rate"` RedemptionFeeRate decimal.Decimal `json:"redemption_fee_rate"` EtfStatus int `json:"etf_status"` Unitprice []*UnitPrice `json:"unit_price"` }
type SwapList ¶
type SwapList struct { Id int64 `json:"id"` GmtCreated int64 `json:"gmt_created"` Currency string `json:"currency"` Amount decimal.Decimal `json:"amount"` Type int `json:"type"` Status int `json:"status"` Detail *struct { UsedCurrencyList []*UnitPrice `json:"used_ currency_list"` Rate decimal.Decimal `json:"rate"` Fee decimal.Decimal `json:"fee"` PointCardAmount decimal.Decimal `json:"point_card_amount"` ObtainCurrencyList []*UnitPrice `json:"obtain_currency_list"` } }
type SwapRequest ¶
type SwapResponse ¶
Click to show internal directories.
Click to hide internal directories.