cn.com.antcloud.api.ato.v1_0.request.SyncFundSplittingRequest Maven / Gradle / Ivy
//
// Copyright (c) 2020-present antgroup.com, https://www.antgroup.com
//
// 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 cn.com.antcloud.api.ato.v1_0.request;
import cn.com.antcloud.api.ato.v1_0.response.SyncFundSplittingResponse;
import cn.com.antcloud.api.product.AntCloudProdRequest;
import java.lang.Long;
import java.lang.String;
import javax.validation.constraints.NotNull;
/**
* 分账流水同步 */
public class SyncFundSplittingRequest extends AntCloudProdRequest {
@NotNull
private String fundNo;
@NotNull
private String orderId;
@NotNull
private String merchantTenantId;
@NotNull
private Long termNum;
@NotNull
private String deductionTime;
@NotNull
private Long deductionAmount;
@NotNull
private Long merchantSplitAmount;
@NotNull
private Long fundSplitAmount;
private String otherSplitInfo;
public SyncFundSplittingRequest(String productInstanceId) {
super("antchain.ato.fund.splitting.sync", "1.0", "Java-SDK-20240808", productInstanceId);
}
public SyncFundSplittingRequest() {
super("antchain.ato.fund.splitting.sync", "1.0", null);
this.setSdkVersion("Java-SDK-20240808");
}
/**
* 资方订单号 */
public String getFundNo() {
return this.fundNo;
}
/**
* 资方订单号 */
public void setFundNo(String fundNo) {
this.fundNo = fundNo;
}
/**
* 商户的订单号 */
public String getOrderId() {
return this.orderId;
}
/**
* 商户的订单号 */
public void setOrderId(String orderId) {
this.orderId = orderId;
}
/**
* 商户的数科租户ID */
public String getMerchantTenantId() {
return this.merchantTenantId;
}
/**
* 商户的数科租户ID */
public void setMerchantTenantId(String merchantTenantId) {
this.merchantTenantId = merchantTenantId;
}
/**
* 第几期,例如:2表示第二期 */
public Long getTermNum() {
return this.termNum;
}
/**
* 第几期,例如:2表示第二期 */
public void setTermNum(Long termNum) {
this.termNum = termNum;
}
/**
* 扣款时间, yyyy-MM-dd HH:mm:ss 格式 */
public String getDeductionTime() {
return this.deductionTime;
}
/**
* 扣款时间, yyyy-MM-dd HH:mm:ss 格式 */
public void setDeductionTime(String deductionTime) {
this.deductionTime = deductionTime;
}
/**
* 扣款金额,单位精确到分, 例如:12462300为124623.00元 */
public Long getDeductionAmount() {
return this.deductionAmount;
}
/**
* 扣款金额,单位精确到分, 例如:12462300为124623.00元 */
public void setDeductionAmount(Long deductionAmount) {
this.deductionAmount = deductionAmount;
}
/**
* 商户分账金额,单位精确到分,比如:666601 = 6666.01元 */
public Long getMerchantSplitAmount() {
return this.merchantSplitAmount;
}
/**
* 商户分账金额,单位精确到分,比如:666601 = 6666.01元 */
public void setMerchantSplitAmount(Long merchantSplitAmount) {
this.merchantSplitAmount = merchantSplitAmount;
}
/**
* 资方分账金额,单位精确到分。比如:666610 = 6666.10元 */
public Long getFundSplitAmount() {
return this.fundSplitAmount;
}
/**
* 资方分账金额,单位精确到分。比如:666610 = 6666.10元 */
public void setFundSplitAmount(Long fundSplitAmount) {
this.fundSplitAmount = fundSplitAmount;
}
/**
* 其他参与方分账信息,JSON格式的数组,样例:
* [{"participants":"参与方A","amount":666600,"accountNo":"777223","accountType":"ICBC"}] */
public String getOtherSplitInfo() {
return this.otherSplitInfo;
}
/**
* 其他参与方分账信息,JSON格式的数组,样例:
* [{"participants":"参与方A","amount":666600,"accountNo":"777223","accountType":"ICBC"}] */
public void setOtherSplitInfo(String otherSplitInfo) {
this.otherSplitInfo = otherSplitInfo;
}
}