Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfirmDeliveryInfo ¶
type OrderItemExtraChargeInfo ¶ added in v1.7.0
type OrderItemExtraChargeInfo struct {
/* 购买用户pin (Optional) */
Name string `json:"name"`
/* 单位 (Optional) */
Unit string `json:"unit"`
/* 购买数量 (Optional) */
BuyNum int `json:"buyNum"`
/* 销售价格 (Optional) */
SellingPrice string `json:"sellingPrice"`
/* 结算价格 (Optional) */
SettlementPrice string `json:"settlementPrice"`
}
type OrderPriceProtocolVo ¶ added in v1.8.0
type OrderPriceProtocolVo struct {
/* 资源id,续费和升降配时必传,其他非必传 (Optional) */
ResourceId *string `json:"resourceId"`
/* 资源的类型,取值vm,disk,ip等,具体取值请在对接时联系我们 */
ServiceCode string `json:"serviceCode"`
/* 资源所在区域,取值cn-north-1,cn-east-1,cn-east-2,cn-south-1 */
Region string `json:"region"`
/* 计费类型,1:按配置 2:按用量 3:包年包月 */
BillingType int `json:"billingType"`
/* 资源配置项列表 (Optional) */
Formula []OrderResourceFormulaVo `json:"formula"`
/* 资源数量 */
Count int `json:"count"`
/* 资源使用时长 */
TimeSpan int `json:"timeSpan"`
/* 资源使用时长类型,1:小时 2:天 3:月 4:年 */
TimeUnit int `json:"timeUnit"`
/* 资源网络类型,0:无 1:non-BGP 2:BGP,当资源类型是ip时,则需要填写1或者2,其他资源类型填写0 */
NetworkOperator int `json:"networkOperator"`
/* 用户pin,如有优惠用户,则填写优惠用户的pin,否则不用填写 (Optional) */
Pin *string `json:"pin"`
/* 开始时间,格式:yyyy-MM-dd HH:mm:ss */
StartTime string `json:"startTime"`
/* 结束时间,格式:yyyy-MM-dd HH:mm:ss (Optional) */
EndTime *string `json:"endTime"`
}
type OrderResourceFormulaVo ¶ added in v1.8.0
type ProductServiceVo ¶
type ProductServiceVo struct {
/* 交付单号 (Optional) */
DeliverNumber string `json:"deliverNumber"`
/* 订单号 (Optional) */
OrderNumber string `json:"orderNumber"`
/* 产品ID (Optional) */
ProductId int `json:"productId"`
/* sku ID (Optional) */
SkuId int `json:"skuId"`
/* sku名称 (Optional) */
SkuName string `json:"skuName"`
/* 服务code (Optional) */
ServiceCode string `json:"serviceCode"`
/* 数量 (Optional) */
Num int `json:"num"`
/* 周期 (Optional) */
Period int `json:"period"`
/* 周期类型 (Optional) */
PeriodType int `json:"periodType"`
/* 周期类型名称 (Optional) */
PeriodTypeName string `json:"periodTypeName"`
/* 账号数量 (Optional) */
AccountNum int `json:"accountNum"`
/* 交付状态 (Optional) */
DeliverStatus int `json:"deliverStatus"`
/* 交付状态名称 (Optional) */
DeliverStatusName string `json:"deliverStatusName"`
/* 服务生效时间,格式:yyyy-MM-dd HH:mm:ss (Optional) */
EffectiveDt string `json:"effectiveDt"`
/* 服务过期时间,格式:yyyy-MM-dd HH:mm:ss (Optional) */
FailureDt string `json:"failureDt"`
/* 商品属性 (Optional) */
ExtraInfo string `json:"extraInfo"`
/* 交付单备注 (Optional) */
Remark string `json:"remark"`
/* 订单金额 (Optional) */
OrderTotalFee string `json:"orderTotalFee"`
/* 订单实付金额 (Optional) */
OrderActualFee string `json:"orderActualFee"`
/* 订单支付时间 (Optional) */
PaymentDt string `json:"paymentDt"`
/* 额外计费项信息 (Optional) */
ExtraChargeInfo string `json:"extraChargeInfo"`
/* 额外计费详情信息 (Optional) */
OrderItemExtraChargeInfos []OrderItemExtraChargeInfo `json:"orderItemExtraChargeInfos"`
}
type ProductServiceVoListData ¶
type ProductServiceVoListData struct {
/* 页码 (Optional) */
PageNo int `json:"pageNo"`
/* 每页记录数 (Optional) */
PageSize int `json:"pageSize"`
/* 总记录数 (Optional) */
TotalRecord int `json:"totalRecord"`
/* 总页数 (Optional) */
TotalPage int `json:"totalPage"`
/* 交付单信息列表 (Optional) */
DataList []ProductServiceVo `json:"dataList"`
}
type QueryPriceParam ¶ added in v1.8.0
type QueryPriceParam struct {
/* 操作类型 1:创建 2:续费 3:升降配 */
Cmd int `json:"cmd"`
/* 打包购买包数 */
PackageCount int `json:"packageCount"`
/* */
OrderList []OrderPriceProtocolVo `json:"orderList"`
}
type QueryPriceResultVo ¶ added in v1.8.0
type QueryPriceResultVo struct {
/* 总金额,小数后2位精度 (Optional) */
TotalPrice int `json:"totalPrice"`
/* 总金额,小数后4位精度 (Optional) */
TotalPriceScale4 int `json:"totalPriceScale4"`
/* 折扣后总金额 (Optional) */
DiscountedTotalPrice int `json:"discountedTotalPrice"`
/* 折扣优惠金额 (Optional) */
TotalDiscount int `json:"totalDiscount"`
/* 订单原价 (Optional) */
TotalOriginalPrice int `json:"totalOriginalPrice"`
/* 备注 (Optional) */
Remark string `json:"remark"`
}
type ReportOrderInfo ¶ added in v1.8.0
type ReportOrderInfo struct {
/* 订单号 */
OrderNumber string `json:"orderNumber"`
/* 经销商账号 (Optional) */
DistributorAccount *string `json:"distributorAccount"`
/* 经销商名称 (Optional) */
DistributorName *string `json:"distributorName"`
/* 补充信息,填写当前订单的一些描述信息 (Optional) */
ExtraInfo *string `json:"extraInfo"`
}
type StoreServiceDetailVo ¶ added in v1.7.0
type StoreServiceDetailVo struct {
/* 商品spu对应的id (Optional) */
SpuId int `json:"spuId"`
/* 商品sku对应的id (Optional) */
SkuId int `json:"skuId"`
/* 滚存天数 (Optional) */
StoreDays int `json:"storeDays"`
/* 开始时间,格式:yyyy-MM-dd HH:mm:ss (Optional) */
StartTime string `json:"startTime"`
/* 结束时间,格式:yyyy-MM-dd HH:mm:ss (Optional) */
EndTime string `json:"endTime"`
}
type StoreServiceVo ¶ added in v1.7.0
type StoreServiceVo struct {
/* 购买用户pin (Optional) */
BuyerPin string `json:"buyerPin"`
/* 业务数据,下单时传入的 (Optional) */
BusinessData string `json:"businessData"`
/* 云存服务明细列表 (Optional) */
StoreServiceDetails []StoreServiceDetailVo `json:"storeServiceDetails"`
/* 订单数量 (Optional) */
OrderNum int `json:"orderNum"`
/* 更新时间,格式:yyyy-MM-dd HH:mm:ss (Optional) */
UpdateTime string `json:"updateTime"`
}
Click to show internal directories.
Click to hide internal directories.