com.antgroup.antchain.openapi.ato.models.RepayWithholdPlanRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.ato.models;
import com.aliyun.tea.*;
public class RepayWithholdPlanRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 订单id 长度不可超过50
@NameInMap("order_id")
@Validation(required = true, maxLength = 50)
public String orderId;
// 第几期
@NameInMap("period_num")
@Validation(required = true, minimum = 1)
public Long periodNum;
// 其他方式还款的时间
@NameInMap("gmt_pay")
@Validation(required = true, pattern = "\\d{4}[-]\\d{1,2}[-]\\d{1,2}[T]\\d{2}:\\d{2}:\\d{2}([Z]|([\\.]\\d{1,9})?[\\+]\\d{2}[\\:]?\\d{2})")
public String gmtPay;
// 取消订单某一期代扣计划中以其他方式还款金额,单位为分
@NameInMap("pay_off_amount")
@Validation(required = true)
public Long payOffAmount;
// 变更其他方式还款
// WECHAT:微信;
// BANK:银行
// ALIPAY:支付宝
@NameInMap("pay_off_type")
@Validation(maxLength = 64)
public String payOffType;
// 通过其他方式还款单号;例如银行流水号或微信流水号
@NameInMap("pay_off_no")
@Validation(maxLength = 64)
public String payOffNo;
// 其他方式还款银行名称,还款方式为银行时必填
@NameInMap("pay_off_bank_name")
@Validation(maxLength = 64)
public String payOffBankName;
public static RepayWithholdPlanRequest build(java.util.Map map) throws Exception {
RepayWithholdPlanRequest self = new RepayWithholdPlanRequest();
return TeaModel.build(map, self);
}
public RepayWithholdPlanRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public RepayWithholdPlanRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public RepayWithholdPlanRequest setOrderId(String orderId) {
this.orderId = orderId;
return this;
}
public String getOrderId() {
return this.orderId;
}
public RepayWithholdPlanRequest setPeriodNum(Long periodNum) {
this.periodNum = periodNum;
return this;
}
public Long getPeriodNum() {
return this.periodNum;
}
public RepayWithholdPlanRequest setGmtPay(String gmtPay) {
this.gmtPay = gmtPay;
return this;
}
public String getGmtPay() {
return this.gmtPay;
}
public RepayWithholdPlanRequest setPayOffAmount(Long payOffAmount) {
this.payOffAmount = payOffAmount;
return this;
}
public Long getPayOffAmount() {
return this.payOffAmount;
}
public RepayWithholdPlanRequest setPayOffType(String payOffType) {
this.payOffType = payOffType;
return this;
}
public String getPayOffType() {
return this.payOffType;
}
public RepayWithholdPlanRequest setPayOffNo(String payOffNo) {
this.payOffNo = payOffNo;
return this;
}
public String getPayOffNo() {
return this.payOffNo;
}
public RepayWithholdPlanRequest setPayOffBankName(String payOffBankName) {
this.payOffBankName = payOffBankName;
return this;
}
public String getPayOffBankName() {
return this.payOffBankName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy