/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ namespace TencentCloud.Billing.V20180709.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class BillDetail : AbstractModel { /// /// 产品名称:云产品大类,如云服务器CVM、云数据库MySQL /// [JsonProperty("BusinessCodeName")] public string BusinessCodeName{ get; set; } /// /// 子产品名称:云产品子类,如云服务器CVM-标准型S1 /// [JsonProperty("ProductCodeName")] public string ProductCodeName{ get; set; } /// /// 计费模式:包年包月和按量计费 /// [JsonProperty("PayModeName")] public string PayModeName{ get; set; } /// /// 项目:资源所属项目 /// [JsonProperty("ProjectName")] public string ProjectName{ get; set; } /// /// 区域:资源所属地域,如华南地区(广州) /// [JsonProperty("RegionName")] public string RegionName{ get; set; } /// /// 可用区:资源所属可用区,如广州三区 /// [JsonProperty("ZoneName")] public string ZoneName{ get; set; } /// /// 资源实例ID /// [JsonProperty("ResourceId")] public string ResourceId{ get; set; } /// /// 实例名称 /// [JsonProperty("ResourceName")] public string ResourceName{ get; set; } /// /// 交易类型 /// [JsonProperty("ActionTypeName")] public string ActionTypeName{ get; set; } /// /// 订单ID /// [JsonProperty("OrderId")] public string OrderId{ get; set; } /// /// 交易ID /// [JsonProperty("BillId")] public string BillId{ get; set; } /// /// 扣费时间 /// [JsonProperty("PayTime")] public string PayTime{ get; set; } /// /// 开始使用时间 /// [JsonProperty("FeeBeginTime")] public string FeeBeginTime{ get; set; } /// /// 结束使用时间 /// [JsonProperty("FeeEndTime")] public string FeeEndTime{ get; set; } /// /// 组件列表 /// [JsonProperty("ComponentSet")] public BillDetailComponent[] ComponentSet{ get; set; } /// /// 支付者UIN /// [JsonProperty("PayerUin")] public string PayerUin{ get; set; } /// /// 使用者UIN /// [JsonProperty("OwnerUin")] public string OwnerUin{ get; set; } /// /// 操作者UIN /// [JsonProperty("OperateUin")] public string OperateUin{ get; set; } /// /// Tag 信息 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Tags")] public BillTagInfo[] Tags{ get; set; } /// /// 商品名称代码(未开放的字段) /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("BusinessCode")] public string BusinessCode{ get; set; } /// /// 子商品名称代码 (未开放的字段) /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ProductCode")] public string ProductCode{ get; set; } /// /// 交易类型代码(未开放的字段) /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ActionType")] public string ActionType{ get; set; } /// /// 区域ID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("RegionId")] public string RegionId{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "BusinessCodeName", this.BusinessCodeName); this.SetParamSimple(map, prefix + "ProductCodeName", this.ProductCodeName); this.SetParamSimple(map, prefix + "PayModeName", this.PayModeName); this.SetParamSimple(map, prefix + "ProjectName", this.ProjectName); this.SetParamSimple(map, prefix + "RegionName", this.RegionName); this.SetParamSimple(map, prefix + "ZoneName", this.ZoneName); this.SetParamSimple(map, prefix + "ResourceId", this.ResourceId); this.SetParamSimple(map, prefix + "ResourceName", this.ResourceName); this.SetParamSimple(map, prefix + "ActionTypeName", this.ActionTypeName); this.SetParamSimple(map, prefix + "OrderId", this.OrderId); this.SetParamSimple(map, prefix + "BillId", this.BillId); this.SetParamSimple(map, prefix + "PayTime", this.PayTime); this.SetParamSimple(map, prefix + "FeeBeginTime", this.FeeBeginTime); this.SetParamSimple(map, prefix + "FeeEndTime", this.FeeEndTime); this.SetParamArrayObj(map, prefix + "ComponentSet.", this.ComponentSet); this.SetParamSimple(map, prefix + "PayerUin", this.PayerUin); this.SetParamSimple(map, prefix + "OwnerUin", this.OwnerUin); this.SetParamSimple(map, prefix + "OperateUin", this.OperateUin); this.SetParamArrayObj(map, prefix + "Tags.", this.Tags); this.SetParamSimple(map, prefix + "BusinessCode", this.BusinessCode); this.SetParamSimple(map, prefix + "ProductCode", this.ProductCode); this.SetParamSimple(map, prefix + "ActionType", this.ActionType); this.SetParamSimple(map, prefix + "RegionId", this.RegionId); } } }