com.antgroup.antchain.openapi.bot.models.NotifyDigitalkeyWithholdpreRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-bot Show documentation
Show all versions of openapi-bot Show documentation
Ant Chain BOT SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.bot.models;
import com.aliyun.tea.*;
public class NotifyDigitalkeyWithholdpreRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 商户请求号。 由商家自定义,64个字符以内,仅支持字母、数字、下划线且需保证在商户端不重复
@NameInMap("out_request_no")
@Validation(required = true)
public String outRequestNo;
// 订单总金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]
@NameInMap("total_amount")
@Validation(required = true)
public Long totalAmount;
// 代扣协议中标示用户的唯一签约号(确保在商户系统中唯一),传入签约时传入的签约号。
@NameInMap("external_agreement_no")
@Validation(required = true)
public String externalAgreementNo;
public static NotifyDigitalkeyWithholdpreRequest build(java.util.Map map) throws Exception {
NotifyDigitalkeyWithholdpreRequest self = new NotifyDigitalkeyWithholdpreRequest();
return TeaModel.build(map, self);
}
public NotifyDigitalkeyWithholdpreRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public NotifyDigitalkeyWithholdpreRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public NotifyDigitalkeyWithholdpreRequest setOutRequestNo(String outRequestNo) {
this.outRequestNo = outRequestNo;
return this;
}
public String getOutRequestNo() {
return this.outRequestNo;
}
public NotifyDigitalkeyWithholdpreRequest setTotalAmount(Long totalAmount) {
this.totalAmount = totalAmount;
return this;
}
public Long getTotalAmount() {
return this.totalAmount;
}
public NotifyDigitalkeyWithholdpreRequest setExternalAgreementNo(String externalAgreementNo) {
this.externalAgreementNo = externalAgreementNo;
return this;
}
public String getExternalAgreementNo() {
return this.externalAgreementNo;
}
}