/*
* 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 DescribeBillListRequest : AbstractModel
{
///
/// 查询范围的起始时间(包含)
///
[JsonProperty("StartTime")]
public string StartTime{ get; set; }
///
/// 查询范围的结束时间(包含)
///
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
///
/// 翻页偏移量,初始值为0
///
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
///
/// 每页的限制数量
///
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
///
/// 交易类型: all所有交易类型,recharge充值,return退款,unblock解冻,agentin资金转入,advanced垫付,cash提现,deduct扣费,block冻结,agentout资金转出,repay垫付回款,repayment还款(仅国际信用账户),adj_refund调增(仅国际信用账户),adj_deduct调减(仅国际信用账户)
///
[JsonProperty("PayType")]
public string[] PayType{ get; set; }
///
/// 扣费模式,当所选的交易类型中包含扣费deduct时有意义: all所有扣费类型,trade预付费支付,hour_h按量小时结,hour_d按量日结,hour_m按量月结,decompensate调账扣费,other其他扣费
///
[JsonProperty("SubPayType")]
public string[] SubPayType{ get; set; }
///
/// 是否返回0元交易金额的交易项,取值:0-不返回,1-返回。不传该参数则不返回
///
[JsonProperty("WithZeroAmount")]
public ulong? WithZeroAmount{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamArraySimple(map, prefix + "PayType.", this.PayType);
this.SetParamArraySimple(map, prefix + "SubPayType.", this.SubPayType);
this.SetParamSimple(map, prefix + "WithZeroAmount", this.WithZeroAmount);
}
}
}