/* * 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 PayModeSummaryOverviewItem : AbstractModel { /// /// 付费模式 /// [JsonProperty("PayMode")] public string PayMode{ get; set; } /// /// 付费模式名称 /// [JsonProperty("PayModeName")] public string PayModeName{ get; set; } /// /// 实际花费 /// [JsonProperty("RealTotalCost")] public string RealTotalCost{ get; set; } /// /// 费用所占百分比,两位小数 /// [JsonProperty("RealTotalCostRatio")] public string RealTotalCostRatio{ get; set; } /// /// 按交易类型:包年包月新购/续费/升降配/退款、按量计费扣费、调账补偿/扣费等类型汇总消费详情 /// [JsonProperty("Detail")] public ActionSummaryOverviewItem[] Detail{ get; set; } /// /// 现金金额 /// [JsonProperty("CashPayAmount")] public string CashPayAmount{ get; set; } /// /// 赠送金金额 /// [JsonProperty("IncentivePayAmount")] public string IncentivePayAmount{ get; set; } /// /// 代金券金额 /// [JsonProperty("VoucherPayAmount")] public string VoucherPayAmount{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "PayMode", this.PayMode); this.SetParamSimple(map, prefix + "PayModeName", this.PayModeName); this.SetParamSimple(map, prefix + "RealTotalCost", this.RealTotalCost); this.SetParamSimple(map, prefix + "RealTotalCostRatio", this.RealTotalCostRatio); this.SetParamArrayObj(map, prefix + "Detail.", this.Detail); this.SetParamSimple(map, prefix + "CashPayAmount", this.CashPayAmount); this.SetParamSimple(map, prefix + "IncentivePayAmount", this.IncentivePayAmount); this.SetParamSimple(map, prefix + "VoucherPayAmount", this.VoucherPayAmount); } } }