|
|
@@ -17,38 +17,56 @@ package bssopenapi
|
|
|
|
|
|
// Data is a nested struct in bssopenapi response
|
|
|
type Data struct {
|
|
|
- TradePrice float64 `json:"TradePrice" xml:"TradePrice"`
|
|
|
- HostId string `json:"HostId" xml:"HostId"`
|
|
|
- OriginalPrice float64 `json:"OriginalPrice" xml:"OriginalPrice"`
|
|
|
- AvailableAmount string `json:"AvailableAmount" xml:"AvailableAmount"`
|
|
|
- PageSize int `json:"PageSize" xml:"PageSize"`
|
|
|
- MybankCreditAmount string `json:"MybankCreditAmount" xml:"MybankCreditAmount"`
|
|
|
- OrderId string `json:"OrderId" xml:"OrderId"`
|
|
|
- CreditAmount string `json:"CreditAmount" xml:"CreditAmount"`
|
|
|
- AccountID string `json:"AccountID" xml:"AccountID"`
|
|
|
- TotalCount int `json:"TotalCount" xml:"TotalCount"`
|
|
|
- InstanceId string `json:"InstanceId" xml:"InstanceId"`
|
|
|
- BillingCycle string `json:"BillingCycle" xml:"BillingCycle"`
|
|
|
- Boolean bool `json:"Boolean" xml:"Boolean"`
|
|
|
- OutstandingAmount float64 `json:"OutstandingAmount" xml:"OutstandingAmount"`
|
|
|
- PageNum int `json:"PageNum" xml:"PageNum"`
|
|
|
- Currency string `json:"Currency" xml:"Currency"`
|
|
|
- Quantity int `json:"Quantity" xml:"Quantity"`
|
|
|
- AvailableCashAmount string `json:"AvailableCashAmount" xml:"AvailableCashAmount"`
|
|
|
- DiscountPrice float64 `json:"DiscountPrice" xml:"DiscountPrice"`
|
|
|
- AccountName string `json:"AccountName" xml:"AccountName"`
|
|
|
- HostName string `json:"HostName" xml:"HostName"`
|
|
|
- TotalOutstandingAmount float64 `json:"TotalOutstandingAmount" xml:"TotalOutstandingAmount"`
|
|
|
- NewInvoiceAmount float64 `json:"NewInvoiceAmount" xml:"NewInvoiceAmount"`
|
|
|
- Items ItemsInQueryBillOverview `json:"Items" xml:"Items"`
|
|
|
- ModuleList ModuleList `json:"ModuleList" xml:"ModuleList"`
|
|
|
- InstanceList []Instance `json:"InstanceList" xml:"InstanceList"`
|
|
|
- OrderList OrderListInQueryOrders `json:"OrderList" xml:"OrderList"`
|
|
|
- Modules Modules `json:"Modules" xml:"Modules"`
|
|
|
- Promotions Promotions `json:"Promotions" xml:"Promotions"`
|
|
|
- ResourcePackages ResourcePackages `json:"ResourcePackages" xml:"ResourcePackages"`
|
|
|
- ProductList ProductList `json:"ProductList" xml:"ProductList"`
|
|
|
- ModuleDetails ModuleDetailsInGetSubscriptionPrice `json:"ModuleDetails" xml:"ModuleDetails"`
|
|
|
- AttributeList AttributeList `json:"AttributeList" xml:"AttributeList"`
|
|
|
- PromotionDetails PromotionDetailsInGetSubscriptionPrice `json:"PromotionDetails" xml:"PromotionDetails"`
|
|
|
+ BusinessType string `json:"BusinessType" xml:"BusinessType"`
|
|
|
+ TradePrice float64 `json:"TradePrice" xml:"TradePrice"`
|
|
|
+ HostId string `json:"HostId" xml:"HostId"`
|
|
|
+ OriginalPrice float64 `json:"OriginalPrice" xml:"OriginalPrice"`
|
|
|
+ OrderId string `json:"OrderId" xml:"OrderId"`
|
|
|
+ TotalCount int `json:"TotalCount" xml:"TotalCount"`
|
|
|
+ BillingCycle string `json:"BillingCycle" xml:"BillingCycle"`
|
|
|
+ Uid int `json:"Uid" xml:"Uid"`
|
|
|
+ OutstandingAmount float64 `json:"OutstandingAmount" xml:"OutstandingAmount"`
|
|
|
+ InvalidTimeStamp int `json:"InvalidTimeStamp" xml:"InvalidTimeStamp"`
|
|
|
+ Quantity int `json:"Quantity" xml:"Quantity"`
|
|
|
+ AvailableCashAmount string `json:"AvailableCashAmount" xml:"AvailableCashAmount"`
|
|
|
+ EffectTimeStamp int `json:"EffectTimeStamp" xml:"EffectTimeStamp"`
|
|
|
+ PrimaryAccount string `json:"PrimaryAccount" xml:"PrimaryAccount"`
|
|
|
+ HostName string `json:"HostName" xml:"HostName"`
|
|
|
+ TotalOutstandingAmount float64 `json:"TotalOutstandingAmount" xml:"TotalOutstandingAmount"`
|
|
|
+ Status string `json:"Status" xml:"Status"`
|
|
|
+ UserId int `json:"UserId" xml:"UserId"`
|
|
|
+ NewInvoiceAmount float64 `json:"NewInvoiceAmount" xml:"NewInvoiceAmount"`
|
|
|
+ Numerator int `json:"Numerator" xml:"Numerator"`
|
|
|
+ AvailableAmount string `json:"AvailableAmount" xml:"AvailableAmount"`
|
|
|
+ PageSize int `json:"PageSize" xml:"PageSize"`
|
|
|
+ Amount string `json:"Amount" xml:"Amount"`
|
|
|
+ MybankCreditAmount string `json:"MybankCreditAmount" xml:"MybankCreditAmount"`
|
|
|
+ CreditAmount string `json:"CreditAmount" xml:"CreditAmount"`
|
|
|
+ ThresholdType int `json:"ThresholdType" xml:"ThresholdType"`
|
|
|
+ AccountID string `json:"AccountID" xml:"AccountID"`
|
|
|
+ InstanceId string `json:"InstanceId" xml:"InstanceId"`
|
|
|
+ ItemCode string `json:"ItemCode" xml:"ItemCode"`
|
|
|
+ ThresholdAmount string `json:"ThresholdAmount" xml:"ThresholdAmount"`
|
|
|
+ InvoiceApplyId int `json:"InvoiceApplyId" xml:"InvoiceApplyId"`
|
|
|
+ Boolean bool `json:"Boolean" xml:"Boolean"`
|
|
|
+ PageNum int `json:"PageNum" xml:"PageNum"`
|
|
|
+ Bid string `json:"Bid" xml:"Bid"`
|
|
|
+ Currency string `json:"Currency" xml:"Currency"`
|
|
|
+ DiscountPrice float64 `json:"DiscountPrice" xml:"DiscountPrice"`
|
|
|
+ AccountName string `json:"AccountName" xml:"AccountName"`
|
|
|
+ Denominator int `json:"Denominator" xml:"Denominator"`
|
|
|
+ ModuleList ModuleList `json:"ModuleList" xml:"ModuleList"`
|
|
|
+ InstanceList []Instance `json:"InstanceList" xml:"InstanceList"`
|
|
|
+ OrderList OrderListInQueryOrders `json:"OrderList" xml:"OrderList"`
|
|
|
+ Modules ModulesInQueryInstanceGaapCost `json:"Modules" xml:"Modules"`
|
|
|
+ Items ItemsInQueryInstanceBill `json:"Items" xml:"Items"`
|
|
|
+ ResourcePackages ResourcePackages `json:"ResourcePackages" xml:"ResourcePackages"`
|
|
|
+ ProductList ProductList `json:"ProductList" xml:"ProductList"`
|
|
|
+ ModuleDetails ModuleDetailsInGetSubscriptionPrice `json:"ModuleDetails" xml:"ModuleDetails"`
|
|
|
+ PromotionDetails PromotionDetailsInGetSubscriptionPrice `json:"PromotionDetails" xml:"PromotionDetails"`
|
|
|
+ CustomerInvoiceList CustomerInvoiceList `json:"CustomerInvoiceList" xml:"CustomerInvoiceList"`
|
|
|
+ EvaluateList EvaluateList `json:"EvaluateList" xml:"EvaluateList"`
|
|
|
+ Promotions Promotions `json:"Promotions" xml:"Promotions"`
|
|
|
+ CustomerInvoiceAddressList CustomerInvoiceAddressList `json:"CustomerInvoiceAddressList" xml:"CustomerInvoiceAddressList"`
|
|
|
+ AttributeList AttributeList `json:"AttributeList" xml:"AttributeList"`
|
|
|
}
|