/*
* 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 CheckAcctRequest : AbstractModel
{
///
/// 聚鑫分配的支付主MidasAppId
///
[JsonProperty("MidasAppId")]
public string MidasAppId{ get; set; }
///
/// 聚鑫计费SubAppId,代表子商户
///
[JsonProperty("SubAppId")]
public string SubAppId{ get; set; }
///
/// 1:小额鉴权
/// 2:短信校验鉴权
///
[JsonProperty("BindType")]
public long? BindType{ get; set; }
///
/// 结算账户账号
/// <敏感信息>加密详见《商户端接口敏感信息加密说明》
///
[JsonProperty("SettleAcctNo")]
public string SettleAcctNo{ get; set; }
///
/// 聚鑫分配的安全ID
///
[JsonProperty("MidasSecretId")]
public string MidasSecretId{ get; set; }
///
/// 按照聚鑫安全密钥计算的签名
///
[JsonProperty("MidasSignature")]
public string MidasSignature{ get; set; }
///
/// 短信验证码
/// BindType==2必填
///
[JsonProperty("CheckCode")]
public string CheckCode{ get; set; }
///
/// 币种 RMB
/// BindType==1必填
///
[JsonProperty("CurrencyType")]
public string CurrencyType{ get; set; }
///
/// 单位
/// 1:元,2:角,3:分
/// BindType==1必填
///
[JsonProperty("CurrencyUnit")]
public long? CurrencyUnit{ get; set; }
///
/// 金额
/// BindType==1必填
///
[JsonProperty("CurrencyAmt")]
public string CurrencyAmt{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "MidasAppId", this.MidasAppId);
this.SetParamSimple(map, prefix + "SubAppId", this.SubAppId);
this.SetParamSimple(map, prefix + "BindType", this.BindType);
this.SetParamSimple(map, prefix + "SettleAcctNo", this.SettleAcctNo);
this.SetParamSimple(map, prefix + "MidasSecretId", this.MidasSecretId);
this.SetParamSimple(map, prefix + "MidasSignature", this.MidasSignature);
this.SetParamSimple(map, prefix + "CheckCode", this.CheckCode);
this.SetParamSimple(map, prefix + "CurrencyType", this.CurrencyType);
this.SetParamSimple(map, prefix + "CurrencyUnit", this.CurrencyUnit);
this.SetParamSimple(map, prefix + "CurrencyAmt", this.CurrencyAmt);
}
}
}