com.antgroup.antchain.openapi.ak_195dff03d395462ea294bafdba69df3f.models.CreateAntchainAtoWithholdRefundRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.ak_195dff03d395462ea294bafdba69df3f.models;
import com.aliyun.tea.*;
public class CreateAntchainAtoWithholdRefundRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 订单id
@NameInMap("order_id")
@Validation(required = true, maxLength = 128, minLength = 1)
public String orderId;
// 第几期
// 针对用户履约的第几期进行退款申请
@NameInMap("period_num")
@Validation(required = true, minimum = 1)
public Long periodNum;
// 外部系统传入的退款请求号
@NameInMap("refund_request_no")
@Validation(required = true, maxLength = 128, minLength = 1)
public String refundRequestNo;
// 本次请求的退款金额,单位为分
// 1234=12.34元
@NameInMap("refund_money")
@Validation(required = true, minimum = 1)
public Long refundMoney;
// 退款原因
@NameInMap("refund_reason")
@Validation(maxLength = 200)
public String refundReason;
public static CreateAntchainAtoWithholdRefundRequest build(java.util.Map map) throws Exception {
CreateAntchainAtoWithholdRefundRequest self = new CreateAntchainAtoWithholdRefundRequest();
return TeaModel.build(map, self);
}
public CreateAntchainAtoWithholdRefundRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public CreateAntchainAtoWithholdRefundRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public CreateAntchainAtoWithholdRefundRequest setOrderId(String orderId) {
this.orderId = orderId;
return this;
}
public String getOrderId() {
return this.orderId;
}
public CreateAntchainAtoWithholdRefundRequest setPeriodNum(Long periodNum) {
this.periodNum = periodNum;
return this;
}
public Long getPeriodNum() {
return this.periodNum;
}
public CreateAntchainAtoWithholdRefundRequest setRefundRequestNo(String refundRequestNo) {
this.refundRequestNo = refundRequestNo;
return this;
}
public String getRefundRequestNo() {
return this.refundRequestNo;
}
public CreateAntchainAtoWithholdRefundRequest setRefundMoney(Long refundMoney) {
this.refundMoney = refundMoney;
return this;
}
public Long getRefundMoney() {
return this.refundMoney;
}
public CreateAntchainAtoWithholdRefundRequest setRefundReason(String refundReason) {
this.refundReason = refundReason;
return this;
}
public String getRefundReason() {
return this.refundReason;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy