
com.tencentcloudapi.cpdp.v20190820.models.ApplyApplicationMaterialRequest Maven / Gradle / Ivy
/*
* Copyright (c) 2017-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.
*/
package com.tencentcloudapi.cpdp.v20190820.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ApplyApplicationMaterialRequest extends AbstractModel{
/**
* 对接方汇出指令编号
*/
@SerializedName("TransactionId")
@Expose
private String TransactionId;
/**
* 申报流水号
*/
@SerializedName("DeclareId")
@Expose
private String DeclareId;
/**
* 付款人ID
*/
@SerializedName("PayerId")
@Expose
private String PayerId;
/**
* 源币种
*/
@SerializedName("SourceCurrency")
@Expose
private String SourceCurrency;
/**
* 目的币种
*/
@SerializedName("TargetCurrency")
@Expose
private String TargetCurrency;
/**
* 贸易编码
*/
@SerializedName("TradeCode")
@Expose
private String TradeCode;
/**
* 原申报流水号
*/
@SerializedName("OriginalDeclareId")
@Expose
private String OriginalDeclareId;
/**
* 源金额
*/
@SerializedName("SourceAmount")
@Expose
private Long SourceAmount;
/**
* 目的金额
*/
@SerializedName("TargetAmount")
@Expose
private Long TargetAmount;
/**
* 接入环境。沙箱环境填sandbox
*/
@SerializedName("Profile")
@Expose
private String Profile;
/**
* Get 对接方汇出指令编号
* @return TransactionId 对接方汇出指令编号
*/
public String getTransactionId() {
return this.TransactionId;
}
/**
* Set 对接方汇出指令编号
* @param TransactionId 对接方汇出指令编号
*/
public void setTransactionId(String TransactionId) {
this.TransactionId = TransactionId;
}
/**
* Get 申报流水号
* @return DeclareId 申报流水号
*/
public String getDeclareId() {
return this.DeclareId;
}
/**
* Set 申报流水号
* @param DeclareId 申报流水号
*/
public void setDeclareId(String DeclareId) {
this.DeclareId = DeclareId;
}
/**
* Get 付款人ID
* @return PayerId 付款人ID
*/
public String getPayerId() {
return this.PayerId;
}
/**
* Set 付款人ID
* @param PayerId 付款人ID
*/
public void setPayerId(String PayerId) {
this.PayerId = PayerId;
}
/**
* Get 源币种
* @return SourceCurrency 源币种
*/
public String getSourceCurrency() {
return this.SourceCurrency;
}
/**
* Set 源币种
* @param SourceCurrency 源币种
*/
public void setSourceCurrency(String SourceCurrency) {
this.SourceCurrency = SourceCurrency;
}
/**
* Get 目的币种
* @return TargetCurrency 目的币种
*/
public String getTargetCurrency() {
return this.TargetCurrency;
}
/**
* Set 目的币种
* @param TargetCurrency 目的币种
*/
public void setTargetCurrency(String TargetCurrency) {
this.TargetCurrency = TargetCurrency;
}
/**
* Get 贸易编码
* @return TradeCode 贸易编码
*/
public String getTradeCode() {
return this.TradeCode;
}
/**
* Set 贸易编码
* @param TradeCode 贸易编码
*/
public void setTradeCode(String TradeCode) {
this.TradeCode = TradeCode;
}
/**
* Get 原申报流水号
* @return OriginalDeclareId 原申报流水号
*/
public String getOriginalDeclareId() {
return this.OriginalDeclareId;
}
/**
* Set 原申报流水号
* @param OriginalDeclareId 原申报流水号
*/
public void setOriginalDeclareId(String OriginalDeclareId) {
this.OriginalDeclareId = OriginalDeclareId;
}
/**
* Get 源金额
* @return SourceAmount 源金额
*/
public Long getSourceAmount() {
return this.SourceAmount;
}
/**
* Set 源金额
* @param SourceAmount 源金额
*/
public void setSourceAmount(Long SourceAmount) {
this.SourceAmount = SourceAmount;
}
/**
* Get 目的金额
* @return TargetAmount 目的金额
*/
public Long getTargetAmount() {
return this.TargetAmount;
}
/**
* Set 目的金额
* @param TargetAmount 目的金额
*/
public void setTargetAmount(Long TargetAmount) {
this.TargetAmount = TargetAmount;
}
/**
* Get 接入环境。沙箱环境填sandbox
* @return Profile 接入环境。沙箱环境填sandbox
*/
public String getProfile() {
return this.Profile;
}
/**
* Set 接入环境。沙箱环境填sandbox
* @param Profile 接入环境。沙箱环境填sandbox
*/
public void setProfile(String Profile) {
this.Profile = Profile;
}
public ApplyApplicationMaterialRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public ApplyApplicationMaterialRequest(ApplyApplicationMaterialRequest source) {
if (source.TransactionId != null) {
this.TransactionId = new String(source.TransactionId);
}
if (source.DeclareId != null) {
this.DeclareId = new String(source.DeclareId);
}
if (source.PayerId != null) {
this.PayerId = new String(source.PayerId);
}
if (source.SourceCurrency != null) {
this.SourceCurrency = new String(source.SourceCurrency);
}
if (source.TargetCurrency != null) {
this.TargetCurrency = new String(source.TargetCurrency);
}
if (source.TradeCode != null) {
this.TradeCode = new String(source.TradeCode);
}
if (source.OriginalDeclareId != null) {
this.OriginalDeclareId = new String(source.OriginalDeclareId);
}
if (source.SourceAmount != null) {
this.SourceAmount = new Long(source.SourceAmount);
}
if (source.TargetAmount != null) {
this.TargetAmount = new Long(source.TargetAmount);
}
if (source.Profile != null) {
this.Profile = new String(source.Profile);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "TransactionId", this.TransactionId);
this.setParamSimple(map, prefix + "DeclareId", this.DeclareId);
this.setParamSimple(map, prefix + "PayerId", this.PayerId);
this.setParamSimple(map, prefix + "SourceCurrency", this.SourceCurrency);
this.setParamSimple(map, prefix + "TargetCurrency", this.TargetCurrency);
this.setParamSimple(map, prefix + "TradeCode", this.TradeCode);
this.setParamSimple(map, prefix + "OriginalDeclareId", this.OriginalDeclareId);
this.setParamSimple(map, prefix + "SourceAmount", this.SourceAmount);
this.setParamSimple(map, prefix + "TargetAmount", this.TargetAmount);
this.setParamSimple(map, prefix + "Profile", this.Profile);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy