cn.com.antcloud.api.ato.v1_0.request.ConfirmWithholdSignasyncunsignRequest 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.ConfirmWithholdSignasyncunsignResponse;
import cn.com.antcloud.api.product.AntCloudProdRequest;
import java.lang.Long;
import java.lang.String;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
/**
* 当代扣签约时,用户在支付宝侧发起异步解约,此时需要经过商户确认才可以完成解约。saas会通知商户用户的异步解约申请,由商户通过此接口确认是否解约 */
public class ConfirmWithholdSignasyncunsignRequest extends AntCloudProdRequest {
@NotNull
private String orderId;
@NotNull
private String operate;
private String refuseReasonCode;
@Min(1)
private Long userOweMoney;
private String userInService;
public ConfirmWithholdSignasyncunsignRequest(String productInstanceId) {
super("antchain.ato.withhold.signasyncunsign.confirm", "1.0", "Java-SDK-20240808", productInstanceId);
}
public ConfirmWithholdSignasyncunsignRequest() {
super("antchain.ato.withhold.signasyncunsign.confirm", "1.0", null);
this.setSdkVersion("Java-SDK-20240808");
}
/**
* 订单id */
public String getOrderId() {
return this.orderId;
}
/**
* 订单id */
public void setOrderId(String orderId) {
this.orderId = orderId;
}
/**
* 操作动作
* 同意:AGREE
* 拒绝:REFUSE */
public String getOperate() {
return this.operate;
}
/**
* 操作动作
* 同意:AGREE
* 拒绝:REFUSE */
public void setOperate(String operate) {
this.operate = operate;
}
/**
* 拒绝原因码,商户拒绝时必填。
* USER_OWE_MONEY:用户账户存在欠费订单
* USER_IN_SERVICE:用户有进行的订单 */
public String getRefuseReasonCode() {
return this.refuseReasonCode;
}
/**
* 拒绝原因码,商户拒绝时必填。
* USER_OWE_MONEY:用户账户存在欠费订单
* USER_IN_SERVICE:用户有进行的订单 */
public void setRefuseReasonCode(String refuseReasonCode) {
this.refuseReasonCode = refuseReasonCode;
}
/**
* 用户欠款金额,单位为分
* refuse_reason_code=USER_OWE_MONEY时必填 */
public Long getUserOweMoney() {
return this.userOweMoney;
}
/**
* 用户欠款金额,单位为分
* refuse_reason_code=USER_OWE_MONEY时必填 */
public void setUserOweMoney(Long userOweMoney) {
this.userOweMoney = userOweMoney;
}
/**
* 用户进行中的服务
* refuse_reason_code=USER_IN_SERVICE时必填 */
public String getUserInService() {
return this.userInService;
}
/**
* 用户进行中的服务
* refuse_reason_code=USER_IN_SERVICE时必填 */
public void setUserInService(String userInService) {
this.userInService = userInService;
}
}