com.antgroup.antchain.openapi.twc.models.CreateLeaseAsyncclearingRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-twc Show documentation
Show all versions of openapi-twc Show documentation
Ant Chain TWC SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.twc.models;
import com.aliyun.tea.*;
public class CreateLeaseAsyncclearingRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 融资租赁业务id,由资方控制台创建返回
@NameInMap("application_id")
public String applicationId;
// 清分收款账号 长度不超过64
@NameInMap("clearing_account")
@Validation(required = true, maxLength = 64)
public String clearingAccount;
// 清分金额,精确到毫厘,即123400表示12.34元
@NameInMap("clearing_money")
@Validation(required = true)
public Long clearingMoney;
// 清分订单号 长度不超过128
@NameInMap("clearing_order_ids")
@Validation(required = true)
public java.util.List clearingOrderIds;
// 清分状态,1.足额2.部分3.零
@NameInMap("clearing_state")
public Long clearingState;
// 结束时间,格式为"2019-07-31 12:00:00"
@NameInMap("end_time")
@Validation(required = true)
public String endTime;
// 融资租赁额外字段
@NameInMap("extra_info")
public String extraInfo;
// 租赁平台商户Id 长度不可超过50
@NameInMap("lease_id")
@Validation(required = true, maxLength = 50, minLength = 1)
public String leaseId;
// 订单id 长度不可超过50
@NameInMap("order_id")
@Validation(required = true, maxLength = 50)
public String orderId;
// 还款批次
@NameInMap("return_index")
@Validation(required = true, maximum = 1024, minimum = 1)
public Long returnIndex;
// 开始时间,格式为"2019-07-31 12:00:00"
@NameInMap("start_time")
@Validation(required = true)
public String startTime;
// 清分资金的来源,比如用户xx元,商家yy元
@NameInMap("memo")
@Validation(maxLength = 128)
public String memo;
// 融资租赁资金方id
@NameInMap("credit_id")
public String creditId;
public static CreateLeaseAsyncclearingRequest build(java.util.Map map) throws Exception {
CreateLeaseAsyncclearingRequest self = new CreateLeaseAsyncclearingRequest();
return TeaModel.build(map, self);
}
public CreateLeaseAsyncclearingRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public CreateLeaseAsyncclearingRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public CreateLeaseAsyncclearingRequest setApplicationId(String applicationId) {
this.applicationId = applicationId;
return this;
}
public String getApplicationId() {
return this.applicationId;
}
public CreateLeaseAsyncclearingRequest setClearingAccount(String clearingAccount) {
this.clearingAccount = clearingAccount;
return this;
}
public String getClearingAccount() {
return this.clearingAccount;
}
public CreateLeaseAsyncclearingRequest setClearingMoney(Long clearingMoney) {
this.clearingMoney = clearingMoney;
return this;
}
public Long getClearingMoney() {
return this.clearingMoney;
}
public CreateLeaseAsyncclearingRequest setClearingOrderIds(java.util.List clearingOrderIds) {
this.clearingOrderIds = clearingOrderIds;
return this;
}
public java.util.List getClearingOrderIds() {
return this.clearingOrderIds;
}
public CreateLeaseAsyncclearingRequest setClearingState(Long clearingState) {
this.clearingState = clearingState;
return this;
}
public Long getClearingState() {
return this.clearingState;
}
public CreateLeaseAsyncclearingRequest setEndTime(String endTime) {
this.endTime = endTime;
return this;
}
public String getEndTime() {
return this.endTime;
}
public CreateLeaseAsyncclearingRequest setExtraInfo(String extraInfo) {
this.extraInfo = extraInfo;
return this;
}
public String getExtraInfo() {
return this.extraInfo;
}
public CreateLeaseAsyncclearingRequest setLeaseId(String leaseId) {
this.leaseId = leaseId;
return this;
}
public String getLeaseId() {
return this.leaseId;
}
public CreateLeaseAsyncclearingRequest setOrderId(String orderId) {
this.orderId = orderId;
return this;
}
public String getOrderId() {
return this.orderId;
}
public CreateLeaseAsyncclearingRequest setReturnIndex(Long returnIndex) {
this.returnIndex = returnIndex;
return this;
}
public Long getReturnIndex() {
return this.returnIndex;
}
public CreateLeaseAsyncclearingRequest setStartTime(String startTime) {
this.startTime = startTime;
return this;
}
public String getStartTime() {
return this.startTime;
}
public CreateLeaseAsyncclearingRequest setMemo(String memo) {
this.memo = memo;
return this;
}
public String getMemo() {
return this.memo;
}
public CreateLeaseAsyncclearingRequest setCreditId(String creditId) {
this.creditId = creditId;
return this;
}
public String getCreditId() {
return this.creditId;
}
}