/*
* 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 BillTransactionInfo : AbstractModel
{
///
/// 收支类型:deduct 扣费, recharge 充值, return 退费, block 冻结, unblock 解冻
///
[JsonProperty("ActionType")]
public string ActionType{ get; set; }
///
/// 流水金额,单位(分);正数表示入账,负数表示出账
///
[JsonProperty("Amount")]
public long? Amount{ get; set; }
///
/// 可用余额,单位(分);正数表示入账,负数表示出账
///
[JsonProperty("Balance")]
public long? Balance{ get; set; }
///
/// 流水号,如20190131020000236005203583326401
///
[JsonProperty("BillId")]
public string BillId{ get; set; }
///
/// 描述信息
///
[JsonProperty("OperationInfo")]
public string OperationInfo{ get; set; }
///
/// 操作时间"2019-01-31 23:35:10.000"
///
[JsonProperty("OperationTime")]
public string OperationTime{ get; set; }
///
/// 现金账户余额,单位(分)
///
[JsonProperty("Cash")]
public long? Cash{ get; set; }
///
/// 赠送金余额,单位(分)
///
[JsonProperty("Incentive")]
public long? Incentive{ get; set; }
///
/// 冻结余额,单位(分)
///
[JsonProperty("Freezing")]
public long? Freezing{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "ActionType", this.ActionType);
this.SetParamSimple(map, prefix + "Amount", this.Amount);
this.SetParamSimple(map, prefix + "Balance", this.Balance);
this.SetParamSimple(map, prefix + "BillId", this.BillId);
this.SetParamSimple(map, prefix + "OperationInfo", this.OperationInfo);
this.SetParamSimple(map, prefix + "OperationTime", this.OperationTime);
this.SetParamSimple(map, prefix + "Cash", this.Cash);
this.SetParamSimple(map, prefix + "Incentive", this.Incentive);
this.SetParamSimple(map, prefix + "Freezing", this.Freezing);
}
}
}