cn.com.antcloud.api.ato.v1_0.request.RepayWithholdPlanRequest 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.RepayWithholdPlanResponse;
import cn.com.antcloud.api.product.AntCloudProdRequest;
import java.lang.Long;
import java.lang.String;
import java.util.Date;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
/**
* 重要说明:
* 1. 这个接口是取消订单某一期代扣计划中以其他方式还款的金额,取消之后代扣不再执行该期计划。
* 2. 对通过其他方式还款的第三方单号留存;例如:银行流水号或微信流水号。 */
public class RepayWithholdPlanRequest extends AntCloudProdRequest {
@NotNull
private String orderId;
@NotNull
@Min(1)
private Long periodNum;
@NotNull
private Date gmtPay;
@NotNull
@Min(0)
private Long payOffAmount;
private String payOffType;
private String payOffNo;
private String payOffBankName;
public RepayWithholdPlanRequest(String productInstanceId) {
super("antchain.ato.withhold.plan.repay", "1.0", "Java-SDK-20240923", productInstanceId);
}
public RepayWithholdPlanRequest() {
super("antchain.ato.withhold.plan.repay", "1.0", null);
this.setSdkVersion("Java-SDK-20240923");
}
/**
* 订单id 长度不可超过50 */
public String getOrderId() {
return this.orderId;
}
/**
* 订单id 长度不可超过50 */
public void setOrderId(String orderId) {
this.orderId = orderId;
}
/**
* 第几期 */
public Long getPeriodNum() {
return this.periodNum;
}
/**
* 第几期 */
public void setPeriodNum(Long periodNum) {
this.periodNum = periodNum;
}
/**
* 其他方式还款的时间 */
public Date getGmtPay() {
return this.gmtPay;
}
/**
* 其他方式还款的时间 */
public void setGmtPay(Date gmtPay) {
this.gmtPay = gmtPay;
}
/**
* 取消订单某一期代扣计划中以其他方式还款金额,单位为分 */
public Long getPayOffAmount() {
return this.payOffAmount;
}
/**
* 取消订单某一期代扣计划中以其他方式还款金额,单位为分 */
public void setPayOffAmount(Long payOffAmount) {
this.payOffAmount = payOffAmount;
}
/**
* 变更其他方式还款
* WECHAT:微信;
* BANK:银行
* ALIPAY:支付宝 */
public String getPayOffType() {
return this.payOffType;
}
/**
* 变更其他方式还款
* WECHAT:微信;
* BANK:银行
* ALIPAY:支付宝 */
public void setPayOffType(String payOffType) {
this.payOffType = payOffType;
}
/**
* 通过其他方式还款单号;例如银行流水号或微信流水号 */
public String getPayOffNo() {
return this.payOffNo;
}
/**
* 通过其他方式还款单号;例如银行流水号或微信流水号 */
public void setPayOffNo(String payOffNo) {
this.payOffNo = payOffNo;
}
/**
* 其他方式还款银行名称,还款方式为银行时必填 */
public String getPayOffBankName() {
return this.payOffBankName;
}
/**
* 其他方式还款银行名称,还款方式为银行时必填 */
public void setPayOffBankName(String payOffBankName) {
this.payOffBankName = payOffBankName;
}
}