/*
* 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 CostComponentSet : AbstractModel
{
///
/// 组件类型名称
///
[JsonProperty("ComponentCodeName")]
public string ComponentCodeName{ get; set; }
///
/// 组件名称
///
[JsonProperty("ItemCodeName")]
public string ItemCodeName{ get; set; }
///
/// 刊例价
///
[JsonProperty("SinglePrice")]
public string SinglePrice{ get; set; }
///
/// 刊例价单位
///
[JsonProperty("PriceUnit")]
public string PriceUnit{ get; set; }
///
/// 用量
///
[JsonProperty("UsedAmount")]
public string UsedAmount{ get; set; }
///
/// 用量单位
///
[JsonProperty("UsedAmountUnit")]
public string UsedAmountUnit{ get; set; }
///
/// 原价
///
[JsonProperty("Cost")]
public string Cost{ get; set; }
///
/// 折扣
///
[JsonProperty("Discount")]
public string Discount{ get; set; }
///
/// 折后价
///
[JsonProperty("RealCost")]
public string RealCost{ get; set; }
///
/// 代金券支付金额
///
[JsonProperty("VoucherPayAmount")]
public string VoucherPayAmount{ get; set; }
///
/// 现金支付金额
///
[JsonProperty("CashPayAmount")]
public string CashPayAmount{ get; set; }
///
/// 赠送金支付金额
///
[JsonProperty("IncentivePayAmount")]
public string IncentivePayAmount{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "ComponentCodeName", this.ComponentCodeName);
this.SetParamSimple(map, prefix + "ItemCodeName", this.ItemCodeName);
this.SetParamSimple(map, prefix + "SinglePrice", this.SinglePrice);
this.SetParamSimple(map, prefix + "PriceUnit", this.PriceUnit);
this.SetParamSimple(map, prefix + "UsedAmount", this.UsedAmount);
this.SetParamSimple(map, prefix + "UsedAmountUnit", this.UsedAmountUnit);
this.SetParamSimple(map, prefix + "Cost", this.Cost);
this.SetParamSimple(map, prefix + "Discount", this.Discount);
this.SetParamSimple(map, prefix + "RealCost", this.RealCost);
this.SetParamSimple(map, prefix + "VoucherPayAmount", this.VoucherPayAmount);
this.SetParamSimple(map, prefix + "CashPayAmount", this.CashPayAmount);
this.SetParamSimple(map, prefix + "IncentivePayAmount", this.IncentivePayAmount);
}
}
}