/*
* 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.Cpdp.V20190820.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class QueryTradeData : AbstractModel
{
///
/// 商户号
///
[JsonProperty("MerchantId")]
public string MerchantId{ get; set; }
///
/// 贸易材料流水号
///
[JsonProperty("TradeFileId")]
public string TradeFileId{ get; set; }
///
/// 贸易材料订单号
///
[JsonProperty("TradeOrderId")]
public string TradeOrderId{ get; set; }
///
/// 审核状态
///
[JsonProperty("Status")]
public string Status{ get; set; }
///
/// 失败原因
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("FailReason")]
public string FailReason{ get; set; }
///
/// 付款人ID
///
[JsonProperty("PayerId")]
public string PayerId{ get; set; }
///
/// 收款人姓名
///
[JsonProperty("PayeeName")]
public string PayeeName{ get; set; }
///
/// 收款人常驻国家或地区编码
///
[JsonProperty("PayeeCountryCode")]
public string PayeeCountryCode{ get; set; }
///
/// 交易类型
///
[JsonProperty("TradeType")]
public string TradeType{ get; set; }
///
/// 交易日期
///
[JsonProperty("TradeTime")]
public string TradeTime{ get; set; }
///
/// 交易币种
///
[JsonProperty("TradeCurrency")]
public string TradeCurrency{ get; set; }
///
/// 交易金额
///
[JsonProperty("TradeAmount")]
public string TradeAmount{ get; set; }
///
/// 交易名称
///
[JsonProperty("TradeName")]
public string TradeName{ get; set; }
///
/// 交易数量
///
[JsonProperty("TradeCount")]
public long? TradeCount{ get; set; }
///
/// 货贸承运人
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("GoodsCarrier")]
public string GoodsCarrier{ get; set; }
///
/// 服贸交易细节
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("ServiceDetail")]
public string ServiceDetail{ get; set; }
///
/// 服贸服务时间
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("ServiceTime")]
public string ServiceTime{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "MerchantId", this.MerchantId);
this.SetParamSimple(map, prefix + "TradeFileId", this.TradeFileId);
this.SetParamSimple(map, prefix + "TradeOrderId", this.TradeOrderId);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "FailReason", this.FailReason);
this.SetParamSimple(map, prefix + "PayerId", this.PayerId);
this.SetParamSimple(map, prefix + "PayeeName", this.PayeeName);
this.SetParamSimple(map, prefix + "PayeeCountryCode", this.PayeeCountryCode);
this.SetParamSimple(map, prefix + "TradeType", this.TradeType);
this.SetParamSimple(map, prefix + "TradeTime", this.TradeTime);
this.SetParamSimple(map, prefix + "TradeCurrency", this.TradeCurrency);
this.SetParamSimple(map, prefix + "TradeAmount", this.TradeAmount);
this.SetParamSimple(map, prefix + "TradeName", this.TradeName);
this.SetParamSimple(map, prefix + "TradeCount", this.TradeCount);
this.SetParamSimple(map, prefix + "GoodsCarrier", this.GoodsCarrier);
this.SetParamSimple(map, prefix + "ServiceDetail", this.ServiceDetail);
this.SetParamSimple(map, prefix + "ServiceTime", this.ServiceTime);
}
}
}