Documentation ¶
Index ¶
- Constants
- type ActionSummaryOverviewItem
- type BillDetail
- type BillDetailComponent
- type BillResourceSummary
- type BillTagInfo
- type BillTransactionInfo
- type BusinessSummaryOverviewItem
- type BusinessSummaryTotal
- type Client
- func (c *Client) DescribeAccountBalance(request *DescribeAccountBalanceRequest) (response *DescribeAccountBalanceResponse, err error)
- func (c *Client) DescribeBillDetail(request *DescribeBillDetailRequest) (response *DescribeBillDetailResponse, err error)
- func (c *Client) DescribeBillList(request *DescribeBillListRequest) (response *DescribeBillListResponse, err error)
- func (c *Client) DescribeBillResourceSummary(request *DescribeBillResourceSummaryRequest) (response *DescribeBillResourceSummaryResponse, err error)
- func (c *Client) DescribeBillSummaryByPayMode(request *DescribeBillSummaryByPayModeRequest) (response *DescribeBillSummaryByPayModeResponse, err error)
- func (c *Client) DescribeBillSummaryByProduct(request *DescribeBillSummaryByProductRequest) (response *DescribeBillSummaryByProductResponse, err error)
- func (c *Client) DescribeBillSummaryByProject(request *DescribeBillSummaryByProjectRequest) (response *DescribeBillSummaryByProjectResponse, err error)
- func (c *Client) DescribeBillSummaryByRegion(request *DescribeBillSummaryByRegionRequest) (response *DescribeBillSummaryByRegionResponse, err error)
- func (c *Client) DescribeBillSummaryByTag(request *DescribeBillSummaryByTagRequest) (response *DescribeBillSummaryByTagResponse, err error)
- func (c *Client) DescribeCostDetail(request *DescribeCostDetailRequest) (response *DescribeCostDetailResponse, err error)
- func (c *Client) DescribeCostSummaryByProduct(request *DescribeCostSummaryByProductRequest) (response *DescribeCostSummaryByProductResponse, err error)
- func (c *Client) DescribeCostSummaryByProject(request *DescribeCostSummaryByProjectRequest) (response *DescribeCostSummaryByProjectResponse, err error)
- func (c *Client) DescribeCostSummaryByRegion(request *DescribeCostSummaryByRegionRequest) (response *DescribeCostSummaryByRegionResponse, err error)
- func (c *Client) DescribeCostSummaryByResource(request *DescribeCostSummaryByResourceRequest) (response *DescribeCostSummaryByResourceResponse, err error)
- func (c *Client) DescribeDealsByCond(request *DescribeDealsByCondRequest) (response *DescribeDealsByCondResponse, err error)
- func (c *Client) DescribeDosageDetailByDate(request *DescribeDosageDetailByDateRequest) (response *DescribeDosageDetailByDateResponse, err error)
- func (c *Client) PayDeals(request *PayDealsRequest) (response *PayDealsResponse, err error)
- type ConditionBusiness
- type ConditionPayMode
- type ConditionProject
- type ConditionRegion
- type Conditions
- type ConsumptionBusinessSummaryDataItem
- type ConsumptionProjectSummaryDataItem
- type ConsumptionRegionSummaryDataItem
- type ConsumptionResourceSummaryConditionValue
- type ConsumptionResourceSummaryDataItem
- type ConsumptionSummaryTotal
- type ConsumptionSummaryTrend
- type CostComponentSet
- type CostDetail
- type Deal
- type DescribeAccountBalanceRequest
- type DescribeAccountBalanceResponse
- type DescribeBillDetailRequest
- type DescribeBillDetailResponse
- type DescribeBillListRequest
- type DescribeBillListResponse
- type DescribeBillResourceSummaryRequest
- type DescribeBillResourceSummaryResponse
- type DescribeBillSummaryByPayModeRequest
- type DescribeBillSummaryByPayModeResponse
- type DescribeBillSummaryByProductRequest
- type DescribeBillSummaryByProductResponse
- type DescribeBillSummaryByProjectRequest
- type DescribeBillSummaryByProjectResponse
- type DescribeBillSummaryByRegionRequest
- type DescribeBillSummaryByRegionResponse
- type DescribeBillSummaryByTagRequest
- type DescribeBillSummaryByTagResponse
- type DescribeCostDetailRequest
- type DescribeCostDetailResponse
- type DescribeCostSummaryByProductRequest
- type DescribeCostSummaryByProductResponse
- type DescribeCostSummaryByProjectRequest
- type DescribeCostSummaryByProjectResponse
- type DescribeCostSummaryByRegionRequest
- type DescribeCostSummaryByRegionResponse
- type DescribeCostSummaryByResourceRequest
- type DescribeCostSummaryByResourceResponse
- type DescribeDealsByCondRequest
- type DescribeDealsByCondResponse
- type DescribeDosageDetailByDateRequest
- type DescribeDosageDetailByDateResponse
- type DetailPoint
- type DetailSet
- type PayDealsRequest
- type PayDealsResponse
- type PayModeSummaryOverviewItem
- type ProductInfo
- type ProjectSummaryOverviewItem
- type RegionSummaryOverviewItem
- type TagSummaryOverviewItem
Constants ¶
View Source
const APIVersion = "2018-07-09"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionSummaryOverviewItem ¶
type ActionSummaryOverviewItem struct { // 交易类型:包年包月新购/续费/升降配/退款、按量计费扣费、调账补偿/扣费等类型 ActionType *string `json:"ActionType,omitempty" name:"ActionType"` // 交易类型名称 ActionTypeName *string `json:"ActionTypeName,omitempty" name:"ActionTypeName"` // 实际花费 RealTotalCost *string `json:"RealTotalCost,omitempty" name:"RealTotalCost"` // 费用所占百分比,两位小数 RealTotalCostRatio *string `json:"RealTotalCostRatio,omitempty" name:"RealTotalCostRatio"` // 现金金额 CashPayAmount *string `json:"CashPayAmount,omitempty" name:"CashPayAmount"` // 赠送金金额 IncentivePayAmount *string `json:"IncentivePayAmount,omitempty" name:"IncentivePayAmount"` // 代金券金额 VoucherPayAmount *string `json:"VoucherPayAmount,omitempty" name:"VoucherPayAmount"` // 账单月份,格式2019-08 BillMonth *string `json:"BillMonth,omitempty" name:"BillMonth"` }
type BillDetail ¶
type BillDetail struct { // 产品名称:云产品大类,如云服务器CVM、云数据库MySQL BusinessCodeName *string `json:"BusinessCodeName,omitempty" name:"BusinessCodeName"` // 子产品名称:云产品子类,如云服务器CVM-标准型S1 ProductCodeName *string `json:"ProductCodeName,omitempty" name:"ProductCodeName"` // 计费模式:包年包月和按量计费 PayModeName *string `json:"PayModeName,omitempty" name:"PayModeName"` // 项目:资源所属项目 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 区域:资源所属地域,如华南地区(广州) RegionName *string `json:"RegionName,omitempty" name:"RegionName"` // 可用区:资源所属可用区,如广州三区 ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // 资源实例ID ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // 实例名称 ResourceName *string `json:"ResourceName,omitempty" name:"ResourceName"` // 交易类型 ActionTypeName *string `json:"ActionTypeName,omitempty" name:"ActionTypeName"` // 订单ID OrderId *string `json:"OrderId,omitempty" name:"OrderId"` // 交易ID BillId *string `json:"BillId,omitempty" name:"BillId"` // 扣费时间 PayTime *string `json:"PayTime,omitempty" name:"PayTime"` // 开始使用时间 FeeBeginTime *string `json:"FeeBeginTime,omitempty" name:"FeeBeginTime"` // 结束使用时间 FeeEndTime *string `json:"FeeEndTime,omitempty" name:"FeeEndTime"` // 组件列表 ComponentSet []*BillDetailComponent `json:"ComponentSet,omitempty" name:"ComponentSet" list` // 支付者UIN PayerUin *string `json:"PayerUin,omitempty" name:"PayerUin"` // 使用者UIN OwnerUin *string `json:"OwnerUin,omitempty" name:"OwnerUin"` // 操作者UIN OperateUin *string `json:"OperateUin,omitempty" name:"OperateUin"` // Tag 信息 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*BillTagInfo `json:"Tags,omitempty" name:"Tags" list` // 商品名称代码(未开放的字段) // 注意:此字段可能返回 null,表示取不到有效值。 BusinessCode *string `json:"BusinessCode,omitempty" name:"BusinessCode"` // 子商品名称代码 (未开放的字段) // 注意:此字段可能返回 null,表示取不到有效值。 ProductCode *string `json:"ProductCode,omitempty" name:"ProductCode"` // 交易类型代码(未开放的字段) // 注意:此字段可能返回 null,表示取不到有效值。 ActionType *string `json:"ActionType,omitempty" name:"ActionType"` // 区域ID // 注意:此字段可能返回 null,表示取不到有效值。 RegionId *string `json:"RegionId,omitempty" name:"RegionId"` }
type BillDetailComponent ¶
type BillDetailComponent struct { // 组件类型:资源组件类型的名称,如内存、硬盘等 ComponentCodeName *string `json:"ComponentCodeName,omitempty" name:"ComponentCodeName"` // 组件名称:资源组件的名称,如云数据库MySQL-内存等 ItemCodeName *string `json:"ItemCodeName,omitempty" name:"ItemCodeName"` // 组件刊例价:资源组件的原始价格,保持原始粒度 SinglePrice *string `json:"SinglePrice,omitempty" name:"SinglePrice"` // 组件指定价 SpecifiedPrice *string `json:"SpecifiedPrice,omitempty" name:"SpecifiedPrice"` // 价格单位 PriceUnit *string `json:"PriceUnit,omitempty" name:"PriceUnit"` // 组件用量 UsedAmount *string `json:"UsedAmount,omitempty" name:"UsedAmount"` // 组件用量单位 UsedAmountUnit *string `json:"UsedAmountUnit,omitempty" name:"UsedAmountUnit"` // 使用时长 TimeSpan *string `json:"TimeSpan,omitempty" name:"TimeSpan"` // 时长单位 TimeUnitName *string `json:"TimeUnitName,omitempty" name:"TimeUnitName"` // 组件原价 Cost *string `json:"Cost,omitempty" name:"Cost"` // 折扣率 Discount *string `json:"Discount,omitempty" name:"Discount"` // 优惠类型 ReduceType *string `json:"ReduceType,omitempty" name:"ReduceType"` // 优惠后总价 RealCost *string `json:"RealCost,omitempty" name:"RealCost"` // 代金券支付金额 VoucherPayAmount *string `json:"VoucherPayAmount,omitempty" name:"VoucherPayAmount"` // 现金支付金额 CashPayAmount *string `json:"CashPayAmount,omitempty" name:"CashPayAmount"` // 赠送账户支付金额 IncentivePayAmount *string `json:"IncentivePayAmount,omitempty" name:"IncentivePayAmount"` // 组件类型代码(未开放的字段) // 注意:此字段可能返回 null,表示取不到有效值。 ItemCode *string `json:"ItemCode,omitempty" name:"ItemCode"` // 组件名称代码(未开放的字段) // 注意:此字段可能返回 null,表示取不到有效值。 ComponentCode *string `json:"ComponentCode,omitempty" name:"ComponentCode"` // 合同价 // 注意:此字段可能返回 null,表示取不到有效值。 ContractPrice *string `json:"ContractPrice,omitempty" name:"ContractPrice"` }
type BillResourceSummary ¶
type BillResourceSummary struct { // 产品名称:云产品大类,如云服务器CVM、云数据库MySQL BusinessCodeName *string `json:"BusinessCodeName,omitempty" name:"BusinessCodeName"` // 子产品:云产品子类,如云服务器CVM-标准型S1, 当没有获取到子产品名称时,返回"-" ProductCodeName *string `json:"ProductCodeName,omitempty" name:"ProductCodeName"` // 计费模式:包年包月和按量计费 PayModeName *string `json:"PayModeName,omitempty" name:"PayModeName"` // 项目 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 地域 RegionName *string `json:"RegionName,omitempty" name:"RegionName"` // 可用区 ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // 资源实例ID ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // 资源实例名称 ResourceName *string `json:"ResourceName,omitempty" name:"ResourceName"` // 交易类型:包年包月新购/续费/升降配/退款、按量计费扣费、调账补偿/扣费等类型 ActionTypeName *string `json:"ActionTypeName,omitempty" name:"ActionTypeName"` // 订单ID OrderId *string `json:"OrderId,omitempty" name:"OrderId"` // 扣费时间 PayTime *string `json:"PayTime,omitempty" name:"PayTime"` // 开始使用时间 FeeBeginTime *string `json:"FeeBeginTime,omitempty" name:"FeeBeginTime"` // 结束使用时间 FeeEndTime *string `json:"FeeEndTime,omitempty" name:"FeeEndTime"` // 配置描述 ConfigDesc *string `json:"ConfigDesc,omitempty" name:"ConfigDesc"` // 扩展字段1 ExtendField1 *string `json:"ExtendField1,omitempty" name:"ExtendField1"` // 扩展字段2 ExtendField2 *string `json:"ExtendField2,omitempty" name:"ExtendField2"` // 原价,单位为元 TotalCost *string `json:"TotalCost,omitempty" name:"TotalCost"` // 折扣率 Discount *string `json:"Discount,omitempty" name:"Discount"` // 优惠类型 ReduceType *string `json:"ReduceType,omitempty" name:"ReduceType"` // 优惠后总价,单位为元 RealTotalCost *string `json:"RealTotalCost,omitempty" name:"RealTotalCost"` // 代金券支付金额,单位为元 VoucherPayAmount *string `json:"VoucherPayAmount,omitempty" name:"VoucherPayAmount"` // 现金账户支付金额,单位为元 CashPayAmount *string `json:"CashPayAmount,omitempty" name:"CashPayAmount"` // 赠送账户支付金额,单位为元 IncentivePayAmount *string `json:"IncentivePayAmount,omitempty" name:"IncentivePayAmount"` // 扩展字段3 ExtendField3 *string `json:"ExtendField3,omitempty" name:"ExtendField3"` // 扩展字段4 ExtendField4 *string `json:"ExtendField4,omitempty" name:"ExtendField4"` // 扩展字段5 ExtendField5 *string `json:"ExtendField5,omitempty" name:"ExtendField5"` // Tag 信息 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*BillTagInfo `json:"Tags,omitempty" name:"Tags" list` // 付款方uin PayerUin *string `json:"PayerUin,omitempty" name:"PayerUin"` // 资源所有者uin,无值则返回"-" OwnerUin *string `json:"OwnerUin,omitempty" name:"OwnerUin"` // 操作者uin,无值则返回"-" OperateUin *string `json:"OperateUin,omitempty" name:"OperateUin"` // 商品名称代码 BusinessCode *string `json:"BusinessCode,omitempty" name:"BusinessCode"` // 子商品名称代码 ProductCode *string `json:"ProductCode,omitempty" name:"ProductCode"` // 区域ID RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"` }
type BillTagInfo ¶
type BillTransactionInfo ¶
type BillTransactionInfo struct { // 收支类型:deduct 扣费, recharge 充值, return 退费, block 冻结, unblock 解冻 ActionType *string `json:"ActionType,omitempty" name:"ActionType"` // 流水金额,单位(分);正数表示入账,负数表示出账 Amount *int64 `json:"Amount,omitempty" name:"Amount"` // 可用余额,单位(分);正数表示入账,负数表示出账 Balance *int64 `json:"Balance,omitempty" name:"Balance"` // 流水号,如20190131020000236005203583326401 BillId *string `json:"BillId,omitempty" name:"BillId"` // 描述信息 OperationInfo *string `json:"OperationInfo,omitempty" name:"OperationInfo"` // 操作时间"2019-01-31 23:35:10.000" OperationTime *string `json:"OperationTime,omitempty" name:"OperationTime"` // 现金账户余额,单位(分) Cash *int64 `json:"Cash,omitempty" name:"Cash"` // 赠送金余额,单位(分) Incentive *int64 `json:"Incentive,omitempty" name:"Incentive"` // 冻结余额,单位(分) Freezing *int64 `json:"Freezing,omitempty" name:"Freezing"` }
type BusinessSummaryOverviewItem ¶
type BusinessSummaryOverviewItem struct { // 产品码 // 注意:此字段可能返回 null,表示取不到有效值。 BusinessCode *string `json:"BusinessCode,omitempty" name:"BusinessCode"` // 产品名称:云产品大类,如云服务器CVM、云数据库MySQL BusinessCodeName *string `json:"BusinessCodeName,omitempty" name:"BusinessCodeName"` // 实际花费 RealTotalCost *string `json:"RealTotalCost,omitempty" name:"RealTotalCost"` // 费用所占百分比,两位小数 RealTotalCostRatio *string `json:"RealTotalCostRatio,omitempty" name:"RealTotalCostRatio"` // 现金金额 CashPayAmount *string `json:"CashPayAmount,omitempty" name:"CashPayAmount"` // 赠送金金额 IncentivePayAmount *string `json:"IncentivePayAmount,omitempty" name:"IncentivePayAmount"` // 代金券金额 VoucherPayAmount *string `json:"VoucherPayAmount,omitempty" name:"VoucherPayAmount"` // 账单月份,格式2019-08 BillMonth *string `json:"BillMonth,omitempty" name:"BillMonth"` }
type BusinessSummaryTotal ¶
type BusinessSummaryTotal struct { // 总花费 RealTotalCost *string `json:"RealTotalCost,omitempty" name:"RealTotalCost"` // 代金券金额 VoucherPayAmount *string `json:"VoucherPayAmount,omitempty" name:"VoucherPayAmount"` // 赠送金金额 IncentivePayAmount *string `json:"IncentivePayAmount,omitempty" name:"IncentivePayAmount"` // 现金金额 CashPayAmount *string `json:"CashPayAmount,omitempty" name:"CashPayAmount"` }
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) DescribeAccountBalance ¶
func (c *Client) DescribeAccountBalance(request *DescribeAccountBalanceRequest) (response *DescribeAccountBalanceResponse, err error)
获取云账户余额信息。
func (*Client) DescribeBillDetail ¶
func (c *Client) DescribeBillDetail(request *DescribeBillDetailRequest) (response *DescribeBillDetailResponse, err error)
查询账单明细数据
func (*Client) DescribeBillList ¶
func (c *Client) DescribeBillList(request *DescribeBillListRequest) (response *DescribeBillListResponse, err error)
获取收支明细列表,支持翻页和参数过滤
func (*Client) DescribeBillResourceSummary ¶
func (c *Client) DescribeBillResourceSummary(request *DescribeBillResourceSummaryRequest) (response *DescribeBillResourceSummaryResponse, err error)
查询账单资源汇总数据
func (*Client) DescribeBillSummaryByPayMode ¶
func (c *Client) DescribeBillSummaryByPayMode(request *DescribeBillSummaryByPayModeRequest) (response *DescribeBillSummaryByPayModeResponse, err error)
获取按付费模式汇总费用分布
func (*Client) DescribeBillSummaryByProduct ¶
func (c *Client) DescribeBillSummaryByProduct(request *DescribeBillSummaryByProductRequest) (response *DescribeBillSummaryByProductResponse, err error)
获取产品汇总费用分布
func (*Client) DescribeBillSummaryByProject ¶
func (c *Client) DescribeBillSummaryByProject(request *DescribeBillSummaryByProjectRequest) (response *DescribeBillSummaryByProjectResponse, err error)
获取按项目汇总费用分布
func (*Client) DescribeBillSummaryByRegion ¶
func (c *Client) DescribeBillSummaryByRegion(request *DescribeBillSummaryByRegionRequest) (response *DescribeBillSummaryByRegionResponse, err error)
获取按地域汇总费用分布
func (*Client) DescribeBillSummaryByTag ¶
func (c *Client) DescribeBillSummaryByTag(request *DescribeBillSummaryByTagRequest) (response *DescribeBillSummaryByTagResponse, err error)
获取按标签汇总费用分布
func (*Client) DescribeCostDetail ¶
func (c *Client) DescribeCostDetail(request *DescribeCostDetailRequest) (response *DescribeCostDetailResponse, err error)
查询消耗明细
func (*Client) DescribeCostSummaryByProduct ¶
func (c *Client) DescribeCostSummaryByProduct(request *DescribeCostSummaryByProductRequest) (response *DescribeCostSummaryByProductResponse, err error)
获取按产品汇总消耗详情
func (*Client) DescribeCostSummaryByProject ¶
func (c *Client) DescribeCostSummaryByProject(request *DescribeCostSummaryByProjectRequest) (response *DescribeCostSummaryByProjectResponse, err error)
获取按项目汇总消耗详情
func (*Client) DescribeCostSummaryByRegion ¶
func (c *Client) DescribeCostSummaryByRegion(request *DescribeCostSummaryByRegionRequest) (response *DescribeCostSummaryByRegionResponse, err error)
获取按地域汇总消耗详情
func (*Client) DescribeCostSummaryByResource ¶
func (c *Client) DescribeCostSummaryByResource(request *DescribeCostSummaryByResourceRequest) (response *DescribeCostSummaryByResourceResponse, err error)
获取按资源汇总消耗详情
func (*Client) DescribeDealsByCond ¶
func (c *Client) DescribeDealsByCond(request *DescribeDealsByCondRequest) (response *DescribeDealsByCondResponse, err error)
查询订单
func (*Client) DescribeDosageDetailByDate ¶
func (c *Client) DescribeDosageDetailByDate(request *DescribeDosageDetailByDateRequest) (response *DescribeDosageDetailByDateResponse, err error)
按日期获取产品用量明细
func (*Client) PayDeals ¶
func (c *Client) PayDeals(request *PayDealsRequest) (response *PayDealsResponse, err error)
支付订单
type ConditionBusiness ¶
type ConditionPayMode ¶
type ConditionProject ¶
type ConditionRegion ¶
type Conditions ¶
type Conditions struct { // 只支持6和12两个值 TimeRange *uint64 `json:"TimeRange,omitempty" name:"TimeRange"` // 产品编码 BusinessCode *string `json:"BusinessCode,omitempty" name:"BusinessCode"` // 项目ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // 地域ID RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"` // 付费模式,可选prePay和postPay PayMode *string `json:"PayMode,omitempty" name:"PayMode"` // 资源关键字 ResourceKeyword *string `json:"ResourceKeyword,omitempty" name:"ResourceKeyword"` // 产品编码 BusinessCodes []*string `json:"BusinessCodes,omitempty" name:"BusinessCodes" list` // 子产品编码 ProductCodes []*string `json:"ProductCodes,omitempty" name:"ProductCodes" list` // 地域ID RegionIds []*int64 `json:"RegionIds,omitempty" name:"RegionIds" list` // 项目ID ProjectIds []*int64 `json:"ProjectIds,omitempty" name:"ProjectIds" list` // 付费模式,可选prePay和postPay PayModes []*string `json:"PayModes,omitempty" name:"PayModes" list` // 交易类型 ActionTypes []*string `json:"ActionTypes,omitempty" name:"ActionTypes" list` // 是否隐藏0元流水 HideFreeCost *int64 `json:"HideFreeCost,omitempty" name:"HideFreeCost"` // 排序规则,可选desc和asc OrderByCost *string `json:"OrderByCost,omitempty" name:"OrderByCost"` // 交易ID BillIds []*string `json:"BillIds,omitempty" name:"BillIds" list` // 组件编码 ComponentCodes []*string `json:"ComponentCodes,omitempty" name:"ComponentCodes" list` // 文件ID FileIds []*string `json:"FileIds,omitempty" name:"FileIds" list` // 文件类型 FileTypes []*string `json:"FileTypes,omitempty" name:"FileTypes" list` // 状态 Status []*uint64 `json:"Status,omitempty" name:"Status" list` }
type ConsumptionBusinessSummaryDataItem ¶
type ConsumptionBusinessSummaryDataItem struct { // 产品码 BusinessCode *string `json:"BusinessCode,omitempty" name:"BusinessCode"` // 产品名称 BusinessCodeName *string `json:"BusinessCodeName,omitempty" name:"BusinessCodeName"` // 折后总价 RealTotalCost *string `json:"RealTotalCost,omitempty" name:"RealTotalCost"` // 费用趋势 Trend *ConsumptionSummaryTrend `json:"Trend,omitempty" name:"Trend"` }
type ConsumptionProjectSummaryDataItem ¶
type ConsumptionProjectSummaryDataItem struct { // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 项目名称 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 折后总价 RealTotalCost *string `json:"RealTotalCost,omitempty" name:"RealTotalCost"` // 趋势 Trend *ConsumptionSummaryTrend `json:"Trend,omitempty" name:"Trend"` // 产品消耗详情 Business []*ConsumptionBusinessSummaryDataItem `json:"Business,omitempty" name:"Business" list` }
type ConsumptionRegionSummaryDataItem ¶
type ConsumptionRegionSummaryDataItem struct { // 地域ID RegionId *string `json:"RegionId,omitempty" name:"RegionId"` // 地域名称 RegionName *string `json:"RegionName,omitempty" name:"RegionName"` // 折后总价 RealTotalCost *string `json:"RealTotalCost,omitempty" name:"RealTotalCost"` // 趋势 Trend *ConsumptionSummaryTrend `json:"Trend,omitempty" name:"Trend"` // 产品消费详情 Business []*ConsumptionBusinessSummaryDataItem `json:"Business,omitempty" name:"Business" list` }
type ConsumptionResourceSummaryConditionValue ¶
type ConsumptionResourceSummaryConditionValue struct { // 产品列表 Business []*ConditionBusiness `json:"Business,omitempty" name:"Business" list` // 项目列表 Project []*ConditionProject `json:"Project,omitempty" name:"Project" list` // 地域列表 Region []*ConditionRegion `json:"Region,omitempty" name:"Region" list` // 付费模式列表 PayMode []*ConditionPayMode `json:"PayMode,omitempty" name:"PayMode" list` }
type ConsumptionResourceSummaryDataItem ¶
type ConsumptionResourceSummaryDataItem struct { // 资源ID ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // 资源名称 ResourceName *string `json:"ResourceName,omitempty" name:"ResourceName"` // 折后总价 RealTotalCost *string `json:"RealTotalCost,omitempty" name:"RealTotalCost"` // 现金花费 CashPayAmount *string `json:"CashPayAmount,omitempty" name:"CashPayAmount"` // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 项目名称 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 地域ID RegionId *string `json:"RegionId,omitempty" name:"RegionId"` // 地域名称 RegionName *string `json:"RegionName,omitempty" name:"RegionName"` // 付费模式 PayMode *string `json:"PayMode,omitempty" name:"PayMode"` // 付费模式名称 PayModeName *string `json:"PayModeName,omitempty" name:"PayModeName"` // 产品码 BusinessCode *string `json:"BusinessCode,omitempty" name:"BusinessCode"` // 产品名称 BusinessCodeName *string `json:"BusinessCodeName,omitempty" name:"BusinessCodeName"` // 消耗类型 ConsumptionTypeName *string `json:"ConsumptionTypeName,omitempty" name:"ConsumptionTypeName"` }
type ConsumptionSummaryTotal ¶
type ConsumptionSummaryTotal struct { // 折后总价 RealTotalCost *string `json:"RealTotalCost,omitempty" name:"RealTotalCost"` }
type ConsumptionSummaryTrend ¶
type CostComponentSet ¶
type CostComponentSet struct { // 组件类型名称 ComponentCodeName *string `json:"ComponentCodeName,omitempty" name:"ComponentCodeName"` // 组件名称 ItemCodeName *string `json:"ItemCodeName,omitempty" name:"ItemCodeName"` // 刊例价 SinglePrice *string `json:"SinglePrice,omitempty" name:"SinglePrice"` // 刊例价单位 PriceUnit *string `json:"PriceUnit,omitempty" name:"PriceUnit"` // 用量 UsedAmount *string `json:"UsedAmount,omitempty" name:"UsedAmount"` // 用量单位 UsedAmountUnit *string `json:"UsedAmountUnit,omitempty" name:"UsedAmountUnit"` // 原价 Cost *string `json:"Cost,omitempty" name:"Cost"` // 折扣 Discount *string `json:"Discount,omitempty" name:"Discount"` // 折后价 RealCost *string `json:"RealCost,omitempty" name:"RealCost"` // 代金券支付金额 VoucherPayAmount *string `json:"VoucherPayAmount,omitempty" name:"VoucherPayAmount"` // 现金支付金额 CashPayAmount *string `json:"CashPayAmount,omitempty" name:"CashPayAmount"` // 赠送金支付金额 IncentivePayAmount *string `json:"IncentivePayAmount,omitempty" name:"IncentivePayAmount"` }
type CostDetail ¶
type CostDetail struct { // 支付者uin PayerUin *string `json:"PayerUin,omitempty" name:"PayerUin"` // 业务名称 BusinessCodeName *string `json:"BusinessCodeName,omitempty" name:"BusinessCodeName"` // 产品名称 ProductCodeName *string `json:"ProductCodeName,omitempty" name:"ProductCodeName"` // 计费模式名称 PayModeName *string `json:"PayModeName,omitempty" name:"PayModeName"` // 项目名称 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 区域名称 RegionName *string `json:"RegionName,omitempty" name:"RegionName"` // 地区名称 ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // 资源id ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // 资源名称 ResourceName *string `json:"ResourceName,omitempty" name:"ResourceName"` // 类型名称 // 注意:此字段可能返回 null,表示取不到有效值。 ActionTypeName *string `json:"ActionTypeName,omitempty" name:"ActionTypeName"` // 订单id OrderId *string `json:"OrderId,omitempty" name:"OrderId"` // 交易id BillId *string `json:"BillId,omitempty" name:"BillId"` // 费用开始时间 FeeBeginTime *string `json:"FeeBeginTime,omitempty" name:"FeeBeginTime"` // 费用结束时间 FeeEndTime *string `json:"FeeEndTime,omitempty" name:"FeeEndTime"` // 组件明细 ComponentSet []*CostComponentSet `json:"ComponentSet,omitempty" name:"ComponentSet" list` // 产品代码 ProductCode *string `json:"ProductCode,omitempty" name:"ProductCode"` }
type Deal ¶
type Deal struct { // 订单号 OrderId *string `json:"OrderId,omitempty" name:"OrderId"` // 订单状态 Status *int64 `json:"Status,omitempty" name:"Status"` // 支付者 Payer *string `json:"Payer,omitempty" name:"Payer"` // 创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 创建人 Creator *string `json:"Creator,omitempty" name:"Creator"` // 实际支付金额(分) RealTotalCost *int64 `json:"RealTotalCost,omitempty" name:"RealTotalCost"` // 代金券抵扣金额(分) VoucherDecline *int64 `json:"VoucherDecline,omitempty" name:"VoucherDecline"` // 项目ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // 产品分类ID GoodsCategoryId *int64 `json:"GoodsCategoryId,omitempty" name:"GoodsCategoryId"` // 产品详情 ProductInfo []*ProductInfo `json:"ProductInfo,omitempty" name:"ProductInfo" list` // 时长 TimeSpan *float64 `json:"TimeSpan,omitempty" name:"TimeSpan"` // 时间单位 TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"` // 货币单位 Currency *string `json:"Currency,omitempty" name:"Currency"` // 折扣率 Policy *float64 `json:"Policy,omitempty" name:"Policy"` // 单价(分) Price *float64 `json:"Price,omitempty" name:"Price"` // 原价(分) TotalCost *float64 `json:"TotalCost,omitempty" name:"TotalCost"` // 产品编码 // 注意:此字段可能返回 null,表示取不到有效值。 ProductCode *string `json:"ProductCode,omitempty" name:"ProductCode"` // 子产品编码 SubProductCode *string `json:"SubProductCode,omitempty" name:"SubProductCode"` }
type DescribeAccountBalanceRequest ¶
type DescribeAccountBalanceRequest struct {
*tchttp.BaseRequest
}
func NewDescribeAccountBalanceRequest ¶
func NewDescribeAccountBalanceRequest() (request *DescribeAccountBalanceRequest)
func (*DescribeAccountBalanceRequest) FromJsonString ¶
func (r *DescribeAccountBalanceRequest) FromJsonString(s string) error
func (*DescribeAccountBalanceRequest) ToJsonString ¶
func (r *DescribeAccountBalanceRequest) ToJsonString() string
type DescribeAccountBalanceResponse ¶
type DescribeAccountBalanceResponse struct { *tchttp.BaseResponse Response *struct { // 云账户信息中的”展示可用余额”字段,单位为"分" Balance *int64 `json:"Balance,omitempty" name:"Balance"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAccountBalanceResponse ¶
func NewDescribeAccountBalanceResponse() (response *DescribeAccountBalanceResponse)
func (*DescribeAccountBalanceResponse) FromJsonString ¶
func (r *DescribeAccountBalanceResponse) FromJsonString(s string) error
func (*DescribeAccountBalanceResponse) ToJsonString ¶
func (r *DescribeAccountBalanceResponse) ToJsonString() string
type DescribeBillDetailRequest ¶
type DescribeBillDetailRequest struct { *tchttp.BaseRequest // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 数量,最大值为100 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 周期类型,byUsedTime按计费周期/byPayTime按扣费周期。需要与费用中心该月份账单的周期保持一致。您可前往[账单概览](https://console.cloud.tencent.com/expense/bill/overview)页面顶部查看确认您的账单统计周期类型。 PeriodType *string `json:"PeriodType,omitempty" name:"PeriodType"` // 月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。 Month *string `json:"Month,omitempty" name:"Month"` // 周期开始时间,格式为Y-m-d H:i:s,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。(不支持跨月查询) BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 周期结束时间,格式为Y-m-d H:i:s,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。(不支持跨月查询) EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 是否需要访问列表的总记录数,用于前端分页 // 1-表示需要, 0-表示不需要 NeedRecordNum *int64 `json:"NeedRecordNum,omitempty" name:"NeedRecordNum"` // 查询指定产品信息 ProductCode *string `json:"ProductCode,omitempty" name:"ProductCode"` // 付费模式 prePay/postPay PayMode *string `json:"PayMode,omitempty" name:"PayMode"` // 查询指定资源信息 ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // 查询交易类型。如 按量计费日结,按量计费小时结 等 ActionType *string `json:"ActionType,omitempty" name:"ActionType"` }
func NewDescribeBillDetailRequest ¶
func NewDescribeBillDetailRequest() (request *DescribeBillDetailRequest)
func (*DescribeBillDetailRequest) FromJsonString ¶
func (r *DescribeBillDetailRequest) FromJsonString(s string) error
func (*DescribeBillDetailRequest) ToJsonString ¶
func (r *DescribeBillDetailRequest) ToJsonString() string
type DescribeBillDetailResponse ¶
type DescribeBillDetailResponse struct { *tchttp.BaseResponse Response *struct { // 详情列表 DetailSet []*BillDetail `json:"DetailSet,omitempty" name:"DetailSet" list` // 总记录数 // 注意:此字段可能返回 null,表示取不到有效值。 Total *uint64 `json:"Total,omitempty" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBillDetailResponse ¶
func NewDescribeBillDetailResponse() (response *DescribeBillDetailResponse)
func (*DescribeBillDetailResponse) FromJsonString ¶
func (r *DescribeBillDetailResponse) FromJsonString(s string) error
func (*DescribeBillDetailResponse) ToJsonString ¶
func (r *DescribeBillDetailResponse) ToJsonString() string
type DescribeBillListRequest ¶
type DescribeBillListRequest struct { *tchttp.BaseRequest // 查询范围的起始时间(包含) StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 查询范围的结束时间(包含) EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 翻页偏移量,初始值为0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页的限制数量 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 交易类型: all所有交易类型,recharge充值,return退款,unblock解冻,agentin资金转入,advanced垫付,cash提现,deduct扣费,block冻结,agentout资金转出,repay垫付回款,repayment还款(仅国际信用账户),adj_refund调增(仅国际信用账户),adj_deduct调减(仅国际信用账户) PayType []*string `json:"PayType,omitempty" name:"PayType" list` // 扣费模式,当所选的交易类型中包含扣费deduct时有意义: all所有扣费类型,trade预付费支付,hour_h按量小时结,hour_d按量日结,hour_m按量月结,decompensate调账扣费,other其他扣费 SubPayType []*string `json:"SubPayType,omitempty" name:"SubPayType" list` // 是否返回0元交易金额的交易项,取值:0-不返回,1-返回。不传该参数则不返回 WithZeroAmount *uint64 `json:"WithZeroAmount,omitempty" name:"WithZeroAmount"` }
func NewDescribeBillListRequest ¶
func NewDescribeBillListRequest() (request *DescribeBillListRequest)
func (*DescribeBillListRequest) FromJsonString ¶
func (r *DescribeBillListRequest) FromJsonString(s string) error
func (*DescribeBillListRequest) ToJsonString ¶
func (r *DescribeBillListRequest) ToJsonString() string
type DescribeBillListResponse ¶
type DescribeBillListResponse struct { *tchttp.BaseResponse Response *struct { // 收支明细列表 TransactionList []*BillTransactionInfo `json:"TransactionList,omitempty" name:"TransactionList" list` // 总条数 Total *int64 `json:"Total,omitempty" name:"Total"` // 退费总额,单位(分) ReturnAmount *float64 `json:"ReturnAmount,omitempty" name:"ReturnAmount"` // 充值总额,单位(分) RechargeAmount *float64 `json:"RechargeAmount,omitempty" name:"RechargeAmount"` // 冻结总额,单位(分) BlockAmount *float64 `json:"BlockAmount,omitempty" name:"BlockAmount"` // 解冻总额,单位(分) UnblockAmount *float64 `json:"UnblockAmount,omitempty" name:"UnblockAmount"` // 扣费总额,单位(分) DeductAmount *float64 `json:"DeductAmount,omitempty" name:"DeductAmount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBillListResponse ¶
func NewDescribeBillListResponse() (response *DescribeBillListResponse)
func (*DescribeBillListResponse) FromJsonString ¶
func (r *DescribeBillListResponse) FromJsonString(s string) error
func (*DescribeBillListResponse) ToJsonString ¶
func (r *DescribeBillListResponse) ToJsonString() string
type DescribeBillResourceSummaryRequest ¶
type DescribeBillResourceSummaryRequest struct { *tchttp.BaseRequest // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 数量,最大值为1000 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 周期类型,byUsedTime按计费周期/byPayTime按扣费周期。需要与费用中心该月份账单的周期保持一致。您可前往[账单概览](https://console.cloud.tencent.com/expense/bill/overview)页面顶部查看确认您的账单统计周期类型。 PeriodType *string `json:"PeriodType,omitempty" name:"PeriodType"` // 月份,格式为yyyy-mm。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。 Month *string `json:"Month,omitempty" name:"Month"` // 是否需要访问列表的总记录数,用于前端分页 // 1-表示需要, 0-表示不需要 NeedRecordNum *int64 `json:"NeedRecordNum,omitempty" name:"NeedRecordNum"` // 查询交易类型。如 按量计费日结,按量计费小时结 等 ActionType *string `json:"ActionType,omitempty" name:"ActionType"` }
func NewDescribeBillResourceSummaryRequest ¶
func NewDescribeBillResourceSummaryRequest() (request *DescribeBillResourceSummaryRequest)
func (*DescribeBillResourceSummaryRequest) FromJsonString ¶
func (r *DescribeBillResourceSummaryRequest) FromJsonString(s string) error
func (*DescribeBillResourceSummaryRequest) ToJsonString ¶
func (r *DescribeBillResourceSummaryRequest) ToJsonString() string
type DescribeBillResourceSummaryResponse ¶
type DescribeBillResourceSummaryResponse struct { *tchttp.BaseResponse Response *struct { // 资源汇总列表 ResourceSummarySet []*BillResourceSummary `json:"ResourceSummarySet,omitempty" name:"ResourceSummarySet" list` // 资源汇总列表总数 // 注意:此字段可能返回 null,表示取不到有效值。 Total *int64 `json:"Total,omitempty" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBillResourceSummaryResponse ¶
func NewDescribeBillResourceSummaryResponse() (response *DescribeBillResourceSummaryResponse)
func (*DescribeBillResourceSummaryResponse) FromJsonString ¶
func (r *DescribeBillResourceSummaryResponse) FromJsonString(s string) error
func (*DescribeBillResourceSummaryResponse) ToJsonString ¶
func (r *DescribeBillResourceSummaryResponse) ToJsonString() string
type DescribeBillSummaryByPayModeRequest ¶
type DescribeBillSummaryByPayModeRequest struct { *tchttp.BaseRequest // 查询账单数据的用户UIN PayerUin *string `json:"PayerUin,omitempty" name:"PayerUin"` // 目前只支持传当月开始,且必须和EndTime为相同月份,例 2018-09-01 00:00:00 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 目前只支持传当月结束,且必须和BeginTime为相同月份,例 2018-09-30 23:59:59 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeBillSummaryByPayModeRequest ¶
func NewDescribeBillSummaryByPayModeRequest() (request *DescribeBillSummaryByPayModeRequest)
func (*DescribeBillSummaryByPayModeRequest) FromJsonString ¶
func (r *DescribeBillSummaryByPayModeRequest) FromJsonString(s string) error
func (*DescribeBillSummaryByPayModeRequest) ToJsonString ¶
func (r *DescribeBillSummaryByPayModeRequest) ToJsonString() string
type DescribeBillSummaryByPayModeResponse ¶
type DescribeBillSummaryByPayModeResponse struct { *tchttp.BaseResponse Response *struct { // 数据是否准备好,0未准备好,1准备好 Ready *uint64 `json:"Ready,omitempty" name:"Ready"` // 各付费模式花费分布详情 // 注意:此字段可能返回 null,表示取不到有效值。 SummaryOverview []*PayModeSummaryOverviewItem `json:"SummaryOverview,omitempty" name:"SummaryOverview" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBillSummaryByPayModeResponse ¶
func NewDescribeBillSummaryByPayModeResponse() (response *DescribeBillSummaryByPayModeResponse)
func (*DescribeBillSummaryByPayModeResponse) FromJsonString ¶
func (r *DescribeBillSummaryByPayModeResponse) FromJsonString(s string) error
func (*DescribeBillSummaryByPayModeResponse) ToJsonString ¶
func (r *DescribeBillSummaryByPayModeResponse) ToJsonString() string
type DescribeBillSummaryByProductRequest ¶
type DescribeBillSummaryByProductRequest struct { *tchttp.BaseRequest // 查询账单数据的用户UIN PayerUin *string `json:"PayerUin,omitempty" name:"PayerUin"` // 目前只支持传当月开始,且必须和EndTime为相同月份,例 2018-09-01 00:00:00 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 目前只支持传当月结束,且必须和BeginTime为相同月份,例 2018-09-30 23:59:59 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeBillSummaryByProductRequest ¶
func NewDescribeBillSummaryByProductRequest() (request *DescribeBillSummaryByProductRequest)
func (*DescribeBillSummaryByProductRequest) FromJsonString ¶
func (r *DescribeBillSummaryByProductRequest) FromJsonString(s string) error
func (*DescribeBillSummaryByProductRequest) ToJsonString ¶
func (r *DescribeBillSummaryByProductRequest) ToJsonString() string
type DescribeBillSummaryByProductResponse ¶
type DescribeBillSummaryByProductResponse struct { *tchttp.BaseResponse Response *struct { // 数据是否准备好,0未准备好,1准备好 Ready *uint64 `json:"Ready,omitempty" name:"Ready"` // 总花费详情 // 注意:此字段可能返回 null,表示取不到有效值。 SummaryTotal *BusinessSummaryTotal `json:"SummaryTotal,omitempty" name:"SummaryTotal"` // 各产品花费分布 // 注意:此字段可能返回 null,表示取不到有效值。 SummaryOverview []*BusinessSummaryOverviewItem `json:"SummaryOverview,omitempty" name:"SummaryOverview" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBillSummaryByProductResponse ¶
func NewDescribeBillSummaryByProductResponse() (response *DescribeBillSummaryByProductResponse)
func (*DescribeBillSummaryByProductResponse) FromJsonString ¶
func (r *DescribeBillSummaryByProductResponse) FromJsonString(s string) error
func (*DescribeBillSummaryByProductResponse) ToJsonString ¶
func (r *DescribeBillSummaryByProductResponse) ToJsonString() string
type DescribeBillSummaryByProjectRequest ¶
type DescribeBillSummaryByProjectRequest struct { *tchttp.BaseRequest // 查询账单数据的用户UIN PayerUin *string `json:"PayerUin,omitempty" name:"PayerUin"` // 目前只支持传当月开始,且必须和EndTime为相同月份,例 2018-09-01 00:00:00 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 目前只支持传当月结束,且必须和BeginTime为相同月份,例 2018-09-30 23:59:59 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeBillSummaryByProjectRequest ¶
func NewDescribeBillSummaryByProjectRequest() (request *DescribeBillSummaryByProjectRequest)
func (*DescribeBillSummaryByProjectRequest) FromJsonString ¶
func (r *DescribeBillSummaryByProjectRequest) FromJsonString(s string) error
func (*DescribeBillSummaryByProjectRequest) ToJsonString ¶
func (r *DescribeBillSummaryByProjectRequest) ToJsonString() string
type DescribeBillSummaryByProjectResponse ¶
type DescribeBillSummaryByProjectResponse struct { *tchttp.BaseResponse Response *struct { // 数据是否准备好,0未准备好,1准备好 Ready *uint64 `json:"Ready,omitempty" name:"Ready"` // 各项目花费分布详情 // 注意:此字段可能返回 null,表示取不到有效值。 SummaryOverview []*ProjectSummaryOverviewItem `json:"SummaryOverview,omitempty" name:"SummaryOverview" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBillSummaryByProjectResponse ¶
func NewDescribeBillSummaryByProjectResponse() (response *DescribeBillSummaryByProjectResponse)
func (*DescribeBillSummaryByProjectResponse) FromJsonString ¶
func (r *DescribeBillSummaryByProjectResponse) FromJsonString(s string) error
func (*DescribeBillSummaryByProjectResponse) ToJsonString ¶
func (r *DescribeBillSummaryByProjectResponse) ToJsonString() string
type DescribeBillSummaryByRegionRequest ¶
type DescribeBillSummaryByRegionRequest struct { *tchttp.BaseRequest // 查询账单数据的用户UIN PayerUin *string `json:"PayerUin,omitempty" name:"PayerUin"` // 目前只支持传当月开始,且必须和EndTime为相同月份,例 2018-09-01 00:00:00 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 目前只支持传当月结束,且必须和BeginTime为相同月份,例 2018-09-30 23:59:59 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeBillSummaryByRegionRequest ¶
func NewDescribeBillSummaryByRegionRequest() (request *DescribeBillSummaryByRegionRequest)
func (*DescribeBillSummaryByRegionRequest) FromJsonString ¶
func (r *DescribeBillSummaryByRegionRequest) FromJsonString(s string) error
func (*DescribeBillSummaryByRegionRequest) ToJsonString ¶
func (r *DescribeBillSummaryByRegionRequest) ToJsonString() string
type DescribeBillSummaryByRegionResponse ¶
type DescribeBillSummaryByRegionResponse struct { *tchttp.BaseResponse Response *struct { // 数据是否准备好,0未准备好,1准备好 Ready *uint64 `json:"Ready,omitempty" name:"Ready"` // 各地域花费分布详情 // 注意:此字段可能返回 null,表示取不到有效值。 SummaryOverview []*RegionSummaryOverviewItem `json:"SummaryOverview,omitempty" name:"SummaryOverview" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBillSummaryByRegionResponse ¶
func NewDescribeBillSummaryByRegionResponse() (response *DescribeBillSummaryByRegionResponse)
func (*DescribeBillSummaryByRegionResponse) FromJsonString ¶
func (r *DescribeBillSummaryByRegionResponse) FromJsonString(s string) error
func (*DescribeBillSummaryByRegionResponse) ToJsonString ¶
func (r *DescribeBillSummaryByRegionResponse) ToJsonString() string
type DescribeBillSummaryByTagRequest ¶
type DescribeBillSummaryByTagRequest struct { *tchttp.BaseRequest // 查询账单数据的用户UIN PayerUin *string `json:"PayerUin,omitempty" name:"PayerUin"` // 目前只支持传当月开始,且必须和EndTime为相同月份,例 2018-09-01 00:00:00 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 目前只支持传当月结束,且必须和BeginTime为相同月份,例 2018-09-30 23:59:59 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 分账标签键 TagKey *string `json:"TagKey,omitempty" name:"TagKey"` }
func NewDescribeBillSummaryByTagRequest ¶
func NewDescribeBillSummaryByTagRequest() (request *DescribeBillSummaryByTagRequest)
func (*DescribeBillSummaryByTagRequest) FromJsonString ¶
func (r *DescribeBillSummaryByTagRequest) FromJsonString(s string) error
func (*DescribeBillSummaryByTagRequest) ToJsonString ¶
func (r *DescribeBillSummaryByTagRequest) ToJsonString() string
type DescribeBillSummaryByTagResponse ¶
type DescribeBillSummaryByTagResponse struct { *tchttp.BaseResponse Response *struct { // 数据是否准备好,0未准备好,1准备好 Ready *uint64 `json:"Ready,omitempty" name:"Ready"` // 各标签值花费分布详情 // 注意:此字段可能返回 null,表示取不到有效值。 SummaryOverview []*TagSummaryOverviewItem `json:"SummaryOverview,omitempty" name:"SummaryOverview" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBillSummaryByTagResponse ¶
func NewDescribeBillSummaryByTagResponse() (response *DescribeBillSummaryByTagResponse)
func (*DescribeBillSummaryByTagResponse) FromJsonString ¶
func (r *DescribeBillSummaryByTagResponse) FromJsonString(s string) error
func (*DescribeBillSummaryByTagResponse) ToJsonString ¶
func (r *DescribeBillSummaryByTagResponse) ToJsonString() string
type DescribeCostDetailRequest ¶
type DescribeCostDetailRequest struct { *tchttp.BaseRequest // 数量,最大值为100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 周期开始时间,格式为Y-m-d H:i:s,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通成本分析的月份,最多可拉取24个月内的数据。 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 周期结束时间,格式为Y-m-d H:i:s,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通成本分析的月份,最多可拉取24个月内的数据。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 是否需要访问列表的总记录数,用于前端分页 // 1-表示需要, 0-表示不需要 NeedRecordNum *uint64 `json:"NeedRecordNum,omitempty" name:"NeedRecordNum"` // 月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通成本分析的月份,最多可拉取24个月内的数据。 Month *string `json:"Month,omitempty" name:"Month"` // 查询指定产品信息 ProductCode *string `json:"ProductCode,omitempty" name:"ProductCode"` // 付费模式 prePay/postPay PayMode *string `json:"PayMode,omitempty" name:"PayMode"` // 查询指定资源信息 ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` }
func NewDescribeCostDetailRequest ¶
func NewDescribeCostDetailRequest() (request *DescribeCostDetailRequest)
func (*DescribeCostDetailRequest) FromJsonString ¶
func (r *DescribeCostDetailRequest) FromJsonString(s string) error
func (*DescribeCostDetailRequest) ToJsonString ¶
func (r *DescribeCostDetailRequest) ToJsonString() string
type DescribeCostDetailResponse ¶
type DescribeCostDetailResponse struct { *tchttp.BaseResponse Response *struct { // 消耗明细 // 注意:此字段可能返回 null,表示取不到有效值。 DetailSet []*CostDetail `json:"DetailSet,omitempty" name:"DetailSet" list` // 记录数 // 注意:此字段可能返回 null,表示取不到有效值。 Total *uint64 `json:"Total,omitempty" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCostDetailResponse ¶
func NewDescribeCostDetailResponse() (response *DescribeCostDetailResponse)
func (*DescribeCostDetailResponse) FromJsonString ¶
func (r *DescribeCostDetailResponse) FromJsonString(s string) error
func (*DescribeCostDetailResponse) ToJsonString ¶
func (r *DescribeCostDetailResponse) ToJsonString() string
type DescribeCostSummaryByProductRequest ¶
type DescribeCostSummaryByProductRequest struct { *tchttp.BaseRequest // 查询账单数据的用户UIN PayerUin *string `json:"PayerUin,omitempty" name:"PayerUin"` // 目前只支持传当月1号 00:00:00,且必须和EndTime为相同月份,不支持跨月查询,例 2018-09-01 00:00:00 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 目前只支持传当月最后一天 23:59:59,且必须和BeginTime为相同月份,不支持跨月查询,例 2018-09-30 23:59:59 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 每次获取数据量 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 是否需要返回记录数量,0不需要,1需要,默认不需要 NeedRecordNum *uint64 `json:"NeedRecordNum,omitempty" name:"NeedRecordNum"` }
func NewDescribeCostSummaryByProductRequest ¶
func NewDescribeCostSummaryByProductRequest() (request *DescribeCostSummaryByProductRequest)
func (*DescribeCostSummaryByProductRequest) FromJsonString ¶
func (r *DescribeCostSummaryByProductRequest) FromJsonString(s string) error
func (*DescribeCostSummaryByProductRequest) ToJsonString ¶
func (r *DescribeCostSummaryByProductRequest) ToJsonString() string
type DescribeCostSummaryByProductResponse ¶
type DescribeCostSummaryByProductResponse struct { *tchttp.BaseResponse Response *struct { // 数据是否准备好,0未准备好,1准备好 Ready *uint64 `json:"Ready,omitempty" name:"Ready"` // 消耗详情 Total *ConsumptionSummaryTotal `json:"Total,omitempty" name:"Total"` // 消耗按产品汇总详情 // 注意:此字段可能返回 null,表示取不到有效值。 Data []*ConsumptionBusinessSummaryDataItem `json:"Data,omitempty" name:"Data" list` // 记录数量,NeedRecordNum为0是返回null // 注意:此字段可能返回 null,表示取不到有效值。 RecordNum *uint64 `json:"RecordNum,omitempty" name:"RecordNum"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCostSummaryByProductResponse ¶
func NewDescribeCostSummaryByProductResponse() (response *DescribeCostSummaryByProductResponse)
func (*DescribeCostSummaryByProductResponse) FromJsonString ¶
func (r *DescribeCostSummaryByProductResponse) FromJsonString(s string) error
func (*DescribeCostSummaryByProductResponse) ToJsonString ¶
func (r *DescribeCostSummaryByProductResponse) ToJsonString() string
type DescribeCostSummaryByProjectRequest ¶
type DescribeCostSummaryByProjectRequest struct { *tchttp.BaseRequest // 查询账单数据的用户UIN PayerUin *string `json:"PayerUin,omitempty" name:"PayerUin"` // 目前只支持传当月1号 00:00:00,且必须和EndTime为相同月份,不支持跨月查询,例 2018-09-01 00:00:00 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 目前只支持传当月最后一天 23:59:59,且必须和BeginTime为相同月份,不支持跨月查询,例 2018-09-30 23:59:59 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 每次获取数据量 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 是否需要返回记录数量,0不需要,1需要,默认不需要 NeedRecordNum *uint64 `json:"NeedRecordNum,omitempty" name:"NeedRecordNum"` }
func NewDescribeCostSummaryByProjectRequest ¶
func NewDescribeCostSummaryByProjectRequest() (request *DescribeCostSummaryByProjectRequest)
func (*DescribeCostSummaryByProjectRequest) FromJsonString ¶
func (r *DescribeCostSummaryByProjectRequest) FromJsonString(s string) error
func (*DescribeCostSummaryByProjectRequest) ToJsonString ¶
func (r *DescribeCostSummaryByProjectRequest) ToJsonString() string
type DescribeCostSummaryByProjectResponse ¶
type DescribeCostSummaryByProjectResponse struct { *tchttp.BaseResponse Response *struct { // 数据是否准备好,0未准备好,1准备好 Ready *uint64 `json:"Ready,omitempty" name:"Ready"` // 消耗详情 Total *ConsumptionSummaryTotal `json:"Total,omitempty" name:"Total"` // 消耗按业务汇总详情 Data []*ConsumptionProjectSummaryDataItem `json:"Data,omitempty" name:"Data" list` // 记录数量,NeedRecordNum为0是返回null RecordNum *uint64 `json:"RecordNum,omitempty" name:"RecordNum"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCostSummaryByProjectResponse ¶
func NewDescribeCostSummaryByProjectResponse() (response *DescribeCostSummaryByProjectResponse)
func (*DescribeCostSummaryByProjectResponse) FromJsonString ¶
func (r *DescribeCostSummaryByProjectResponse) FromJsonString(s string) error
func (*DescribeCostSummaryByProjectResponse) ToJsonString ¶
func (r *DescribeCostSummaryByProjectResponse) ToJsonString() string
type DescribeCostSummaryByRegionRequest ¶
type DescribeCostSummaryByRegionRequest struct { *tchttp.BaseRequest // 查询账单数据的用户UIN PayerUin *string `json:"PayerUin,omitempty" name:"PayerUin"` // 目前只支持传当月1号 00:00:00,且必须和EndTime为相同月份,不支持跨月查询,例 2018-09-01 00:00:00 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 目前只支持传当月最后一天 23:59:59,且必须和BeginTime为相同月份,不支持跨月查询,例 2018-09-30 23:59:59 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 每次获取数据量 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 是否需要返回记录数量,0不需要,1需要,默认不需要 NeedRecordNum *uint64 `json:"NeedRecordNum,omitempty" name:"NeedRecordNum"` }
func NewDescribeCostSummaryByRegionRequest ¶
func NewDescribeCostSummaryByRegionRequest() (request *DescribeCostSummaryByRegionRequest)
func (*DescribeCostSummaryByRegionRequest) FromJsonString ¶
func (r *DescribeCostSummaryByRegionRequest) FromJsonString(s string) error
func (*DescribeCostSummaryByRegionRequest) ToJsonString ¶
func (r *DescribeCostSummaryByRegionRequest) ToJsonString() string
type DescribeCostSummaryByRegionResponse ¶
type DescribeCostSummaryByRegionResponse struct { *tchttp.BaseResponse Response *struct { // 数据是否准备好,0未准备好,1准备好 Ready *uint64 `json:"Ready,omitempty" name:"Ready"` // 消耗详情 Total *ConsumptionSummaryTotal `json:"Total,omitempty" name:"Total"` // 消耗按地域汇总详情 Data []*ConsumptionRegionSummaryDataItem `json:"Data,omitempty" name:"Data" list` // 记录数量,NeedRecordNum为0是返回null // 注意:此字段可能返回 null,表示取不到有效值。 RecordNum *uint64 `json:"RecordNum,omitempty" name:"RecordNum"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCostSummaryByRegionResponse ¶
func NewDescribeCostSummaryByRegionResponse() (response *DescribeCostSummaryByRegionResponse)
func (*DescribeCostSummaryByRegionResponse) FromJsonString ¶
func (r *DescribeCostSummaryByRegionResponse) FromJsonString(s string) error
func (*DescribeCostSummaryByRegionResponse) ToJsonString ¶
func (r *DescribeCostSummaryByRegionResponse) ToJsonString() string
type DescribeCostSummaryByResourceRequest ¶
type DescribeCostSummaryByResourceRequest struct { *tchttp.BaseRequest // 查询账单数据的用户UIN PayerUin *string `json:"PayerUin,omitempty" name:"PayerUin"` // 目前只支持传当月1号 00:00:00,且必须和EndTime为相同月份,不支持跨月查询,例 2018-09-01 00:00:00 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 目前只支持传当月最后一天 23:59:59,且必须和BeginTime为相同月份,不支持跨月查询,例 2018-09-30 23:59:59 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 每次获取数据量 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 是否需要返回记录数量,0不需要,1需要,默认不需要 NeedRecordNum *uint64 `json:"NeedRecordNum,omitempty" name:"NeedRecordNum"` // 是否需要返回过滤条件,0不需要,1需要,默认不需要 NeedConditionValue *uint64 `json:"NeedConditionValue,omitempty" name:"NeedConditionValue"` // 过滤条件,只支持ResourceKeyword(资源关键字,支持资源id及资源名称模糊查询),ProjectIds(项目id),RegionIds(地域id),PayModes(付费模式,可选prePay和postPay),HideFreeCost(是否隐藏0元流水,可选0和1),OrderByCost(按费用排序规则,可选desc和asc) Conditions *Conditions `json:"Conditions,omitempty" name:"Conditions"` }
func NewDescribeCostSummaryByResourceRequest ¶
func NewDescribeCostSummaryByResourceRequest() (request *DescribeCostSummaryByResourceRequest)
func (*DescribeCostSummaryByResourceRequest) FromJsonString ¶
func (r *DescribeCostSummaryByResourceRequest) FromJsonString(s string) error
func (*DescribeCostSummaryByResourceRequest) ToJsonString ¶
func (r *DescribeCostSummaryByResourceRequest) ToJsonString() string
type DescribeCostSummaryByResourceResponse ¶
type DescribeCostSummaryByResourceResponse struct { *tchttp.BaseResponse Response *struct { // 数据是否准备好,0未准备好,1准备好 Ready *uint64 `json:"Ready,omitempty" name:"Ready"` // 消耗详情 // 注意:此字段可能返回 null,表示取不到有效值。 Total *ConsumptionSummaryTotal `json:"Total,omitempty" name:"Total"` // 过滤条件 // 注意:此字段可能返回 null,表示取不到有效值。 ConditionValue *ConsumptionResourceSummaryConditionValue `json:"ConditionValue,omitempty" name:"ConditionValue"` // 记录数量 // 注意:此字段可能返回 null,表示取不到有效值。 RecordNum *uint64 `json:"RecordNum,omitempty" name:"RecordNum"` // 资源消耗详情 // 注意:此字段可能返回 null,表示取不到有效值。 Data []*ConsumptionResourceSummaryDataItem `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCostSummaryByResourceResponse ¶
func NewDescribeCostSummaryByResourceResponse() (response *DescribeCostSummaryByResourceResponse)
func (*DescribeCostSummaryByResourceResponse) FromJsonString ¶
func (r *DescribeCostSummaryByResourceResponse) FromJsonString(s string) error
func (*DescribeCostSummaryByResourceResponse) ToJsonString ¶
func (r *DescribeCostSummaryByResourceResponse) ToJsonString() string
type DescribeDealsByCondRequest ¶
type DescribeDealsByCondRequest struct { *tchttp.BaseRequest // 开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 一页多少条数据,默认是20条,最大不超过1000 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 第多少页,从0开始,默认是0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 订单状态,默认为4(成功的订单) // 订单的状态 // 1:未支付 // 2:已支付3:发货中 // 4:已发货 // 5:发货失败 // 6:已退款 // 7:已关单 // 8:订单过期 // 9:订单已失效 // 10:产品已失效 // 11:代付拒绝 // 12:支付中 Status *int64 `json:"Status,omitempty" name:"Status"` // 订单号 OrderId *string `json:"OrderId,omitempty" name:"OrderId"` }
func NewDescribeDealsByCondRequest ¶
func NewDescribeDealsByCondRequest() (request *DescribeDealsByCondRequest)
func (*DescribeDealsByCondRequest) FromJsonString ¶
func (r *DescribeDealsByCondRequest) FromJsonString(s string) error
func (*DescribeDealsByCondRequest) ToJsonString ¶
func (r *DescribeDealsByCondRequest) ToJsonString() string
type DescribeDealsByCondResponse ¶
type DescribeDealsByCondResponse struct { *tchttp.BaseResponse Response *struct { // 订单列表 Deals []*Deal `json:"Deals,omitempty" name:"Deals" list` // 订单总数 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDealsByCondResponse ¶
func NewDescribeDealsByCondResponse() (response *DescribeDealsByCondResponse)
func (*DescribeDealsByCondResponse) FromJsonString ¶
func (r *DescribeDealsByCondResponse) FromJsonString(s string) error
func (*DescribeDealsByCondResponse) ToJsonString ¶
func (r *DescribeDealsByCondResponse) ToJsonString() string
type DescribeDosageDetailByDateRequest ¶
type DescribeDosageDetailByDateRequest struct { *tchttp.BaseRequest // 查询账单开始日期,如 2019-01-01 StartDate *string `json:"StartDate,omitempty" name:"StartDate"` // 查询账单结束日期,如 2019-01-01, 时间跨度不超过7天 EndDate *string `json:"EndDate,omitempty" name:"EndDate"` // 互动直播: // 10194 互动直播-核心机房 : // 10195 互动直播-边缘机房 // // cdn业务: // 10180:CDN静态加速流量(国内) // 10181:CDN静态加速带宽(国内) // 10182:CDN静态加速普通流量 // 10183:CDN静态加速普通带宽 // 10231:CDN静态加速流量(海外) // 10232:CDN静态加速带宽(海外) // // 100967:弹性公网IP-按流量计费 // 101065:公网负载均衡-按流量计费 // // 视频直播 // 10226 视频直播流量(国内) // 10227 视频直播带宽(国内) // 100763 视频直播流量(海外) // 100762 视频直播宽带(海外) ProductCode *string `json:"ProductCode,omitempty" name:"ProductCode"` // 查询域名 例如 www.qq.com // 非CDN业务查询时值为空 Domain *string `json:"Domain,omitempty" name:"Domain"` // 1、如果为空,则返回EIP或CLB所有实例的明细; // 2、如果传入实例名,则返回该实例明细 InstanceID *string `json:"InstanceID,omitempty" name:"InstanceID"` }
func NewDescribeDosageDetailByDateRequest ¶
func NewDescribeDosageDetailByDateRequest() (request *DescribeDosageDetailByDateRequest)
func (*DescribeDosageDetailByDateRequest) FromJsonString ¶
func (r *DescribeDosageDetailByDateRequest) FromJsonString(s string) error
func (*DescribeDosageDetailByDateRequest) ToJsonString ¶
func (r *DescribeDosageDetailByDateRequest) ToJsonString() string
type DescribeDosageDetailByDateResponse ¶
type DescribeDosageDetailByDateResponse struct { *tchttp.BaseResponse Response *struct { // 计量单位 // 注意:此字段可能返回 null,表示取不到有效值。 Unit *string `json:"Unit,omitempty" name:"Unit"` // 用量数组 // 注意:此字段可能返回 null,表示取不到有效值。 DetailSets []*DetailSet `json:"DetailSets,omitempty" name:"DetailSets" list` // 错误码 // 注意:此字段可能返回 null,表示取不到有效值。 RetCode *int64 `json:"RetCode,omitempty" name:"RetCode"` // 错误信息 // 注意:此字段可能返回 null,表示取不到有效值。 RetMsg *string `json:"RetMsg,omitempty" name:"RetMsg"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDosageDetailByDateResponse ¶
func NewDescribeDosageDetailByDateResponse() (response *DescribeDosageDetailByDateResponse)
func (*DescribeDosageDetailByDateResponse) FromJsonString ¶
func (r *DescribeDosageDetailByDateResponse) FromJsonString(s string) error
func (*DescribeDosageDetailByDateResponse) ToJsonString ¶
func (r *DescribeDosageDetailByDateResponse) ToJsonString() string
type DetailPoint ¶
type DetailSet ¶
type DetailSet struct { // 域名 Domain *string `json:"Domain,omitempty" name:"Domain"` // 使用数据明细 DetailPoints []*DetailPoint `json:"DetailPoints,omitempty" name:"DetailPoints" list` // 实例ID // 注意:此字段可能返回 null,表示取不到有效值。 InstanceID *string `json:"InstanceID,omitempty" name:"InstanceID"` }
type PayDealsRequest ¶
type PayDealsRequest struct { *tchttp.BaseRequest // 需要支付的一个或者多个订单号 OrderIds []*string `json:"OrderIds,omitempty" name:"OrderIds" list` // 是否自动使用代金券,1:是,0否,默认0 AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // 代金券ID列表,目前仅支持指定一张代金券 VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds" list` }
func NewPayDealsRequest ¶
func NewPayDealsRequest() (request *PayDealsRequest)
func (*PayDealsRequest) FromJsonString ¶
func (r *PayDealsRequest) FromJsonString(s string) error
func (*PayDealsRequest) ToJsonString ¶
func (r *PayDealsRequest) ToJsonString() string
type PayDealsResponse ¶
type PayDealsResponse struct { *tchttp.BaseResponse Response *struct { // 此次操作支付成功的订单号数组 OrderIds []*string `json:"OrderIds,omitempty" name:"OrderIds" list` // 此次操作支付成功的资源Id数组 ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewPayDealsResponse ¶
func NewPayDealsResponse() (response *PayDealsResponse)
func (*PayDealsResponse) FromJsonString ¶
func (r *PayDealsResponse) FromJsonString(s string) error
func (*PayDealsResponse) ToJsonString ¶
func (r *PayDealsResponse) ToJsonString() string
type PayModeSummaryOverviewItem ¶
type PayModeSummaryOverviewItem struct { // 付费模式 PayMode *string `json:"PayMode,omitempty" name:"PayMode"` // 付费模式名称 PayModeName *string `json:"PayModeName,omitempty" name:"PayModeName"` // 实际花费 RealTotalCost *string `json:"RealTotalCost,omitempty" name:"RealTotalCost"` // 费用所占百分比,两位小数 RealTotalCostRatio *string `json:"RealTotalCostRatio,omitempty" name:"RealTotalCostRatio"` // 按交易类型:包年包月新购/续费/升降配/退款、按量计费扣费、调账补偿/扣费等类型汇总消费详情 Detail []*ActionSummaryOverviewItem `json:"Detail,omitempty" name:"Detail" list` // 现金金额 CashPayAmount *string `json:"CashPayAmount,omitempty" name:"CashPayAmount"` // 赠送金金额 IncentivePayAmount *string `json:"IncentivePayAmount,omitempty" name:"IncentivePayAmount"` // 代金券金额 VoucherPayAmount *string `json:"VoucherPayAmount,omitempty" name:"VoucherPayAmount"` }
type ProductInfo ¶
type ProjectSummaryOverviewItem ¶
type ProjectSummaryOverviewItem struct { // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 项目名称 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 实际花费 RealTotalCost *string `json:"RealTotalCost,omitempty" name:"RealTotalCost"` // 费用所占百分比,两位小数 RealTotalCostRatio *string `json:"RealTotalCostRatio,omitempty" name:"RealTotalCostRatio"` // 现金金额 CashPayAmount *string `json:"CashPayAmount,omitempty" name:"CashPayAmount"` // 赠送金金额 IncentivePayAmount *string `json:"IncentivePayAmount,omitempty" name:"IncentivePayAmount"` // 代金券金额 VoucherPayAmount *string `json:"VoucherPayAmount,omitempty" name:"VoucherPayAmount"` // 账单月份,格式2019-08 BillMonth *string `json:"BillMonth,omitempty" name:"BillMonth"` }
type RegionSummaryOverviewItem ¶
type RegionSummaryOverviewItem struct { // 地域ID // 注意:此字段可能返回 null,表示取不到有效值。 RegionId *string `json:"RegionId,omitempty" name:"RegionId"` // 地域名称 RegionName *string `json:"RegionName,omitempty" name:"RegionName"` // 实际花费 RealTotalCost *string `json:"RealTotalCost,omitempty" name:"RealTotalCost"` // 费用所占百分比,两位小数 RealTotalCostRatio *string `json:"RealTotalCostRatio,omitempty" name:"RealTotalCostRatio"` // 现金金额 CashPayAmount *string `json:"CashPayAmount,omitempty" name:"CashPayAmount"` // 赠送金金额 IncentivePayAmount *string `json:"IncentivePayAmount,omitempty" name:"IncentivePayAmount"` // 代金券金额 VoucherPayAmount *string `json:"VoucherPayAmount,omitempty" name:"VoucherPayAmount"` // 账单月份,格式2019-08 BillMonth *string `json:"BillMonth,omitempty" name:"BillMonth"` }
type TagSummaryOverviewItem ¶
type TagSummaryOverviewItem struct { // 标签值 // 注意:此字段可能返回 null,表示取不到有效值。 TagValue *string `json:"TagValue,omitempty" name:"TagValue"` // 实际花费 // 注意:此字段可能返回 null,表示取不到有效值。 RealTotalCost *string `json:"RealTotalCost,omitempty" name:"RealTotalCost"` // 费用所占百分比,两位小数 // 注意:此字段可能返回 null,表示取不到有效值。 RealTotalCostRatio *string `json:"RealTotalCostRatio,omitempty" name:"RealTotalCostRatio"` }
Click to show internal directories.
Click to hide internal directories.