Files
g.hnyhua.cn/TencentCloud/Billing/V20180709/Models/CostDetail.cs
2026-02-07 15:48:27 +08:00

150 lines
4.8 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 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 CostDetail : AbstractModel
{
/// <summary>
/// 支付者uin
/// </summary>
[JsonProperty("PayerUin")]
public string PayerUin{ get; set; }
/// <summary>
/// 业务名称
/// </summary>
[JsonProperty("BusinessCodeName")]
public string BusinessCodeName{ get; set; }
/// <summary>
/// 产品名称
/// </summary>
[JsonProperty("ProductCodeName")]
public string ProductCodeName{ get; set; }
/// <summary>
/// 计费模式名称
/// </summary>
[JsonProperty("PayModeName")]
public string PayModeName{ get; set; }
/// <summary>
/// 项目名称
/// </summary>
[JsonProperty("ProjectName")]
public string ProjectName{ get; set; }
/// <summary>
/// 区域名称
/// </summary>
[JsonProperty("RegionName")]
public string RegionName{ get; set; }
/// <summary>
/// 地区名称
/// </summary>
[JsonProperty("ZoneName")]
public string ZoneName{ get; set; }
/// <summary>
/// 资源id
/// </summary>
[JsonProperty("ResourceId")]
public string ResourceId{ get; set; }
/// <summary>
/// 资源名称
/// </summary>
[JsonProperty("ResourceName")]
public string ResourceName{ get; set; }
/// <summary>
/// 类型名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ActionTypeName")]
public string ActionTypeName{ get; set; }
/// <summary>
/// 订单id
/// </summary>
[JsonProperty("OrderId")]
public string OrderId{ get; set; }
/// <summary>
/// 交易id
/// </summary>
[JsonProperty("BillId")]
public string BillId{ get; set; }
/// <summary>
/// 费用开始时间
/// </summary>
[JsonProperty("FeeBeginTime")]
public string FeeBeginTime{ get; set; }
/// <summary>
/// 费用结束时间
/// </summary>
[JsonProperty("FeeEndTime")]
public string FeeEndTime{ get; set; }
/// <summary>
/// 组件明细
/// </summary>
[JsonProperty("ComponentSet")]
public CostComponentSet[] ComponentSet{ get; set; }
/// <summary>
/// 产品代码
/// </summary>
[JsonProperty("ProductCode")]
public string ProductCode{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "PayerUin", this.PayerUin);
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 + "FeeBeginTime", this.FeeBeginTime);
this.SetParamSimple(map, prefix + "FeeEndTime", this.FeeEndTime);
this.SetParamArrayObj(map, prefix + "ComponentSet.", this.ComponentSet);
this.SetParamSimple(map, prefix + "ProductCode", this.ProductCode);
}
}
}