cn.com.antcloud.api.ato.v1_0.request.UpdateTradeUserpromiseRequest 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.UpdateTradeUserpromiseResponse;
import cn.com.antcloud.api.product.AntCloudProdRequest;
import java.lang.Long;
import java.lang.String;
import javax.validation.constraints.NotNull;
/**
* 商户调用,修改订单的用户还款承诺 */
public class UpdateTradeUserpromiseRequest extends AntCloudProdRequest {
@NotNull
private String orderId;
@NotNull
private String merchantId;
@NotNull
private Long termIdx;
@NotNull
private Long updatedRentalMoney;
@NotNull
private String reason;
@NotNull
private String desc;
public UpdateTradeUserpromiseRequest(String productInstanceId) {
super("antchain.ato.trade.userpromise.update", "1.0", "Java-SDK-20240808", productInstanceId);
}
public UpdateTradeUserpromiseRequest() {
super("antchain.ato.trade.userpromise.update", "1.0", null);
this.setSdkVersion("Java-SDK-20240808");
}
/**
* 订单id */
public String getOrderId() {
return this.orderId;
}
/**
* 订单id */
public void setOrderId(String orderId) {
this.orderId = orderId;
}
/**
* 商家社会信用代码 */
public String getMerchantId() {
return this.merchantId;
}
/**
* 商家社会信用代码 */
public void setMerchantId(String merchantId) {
this.merchantId = merchantId;
}
/**
* 修改的用户履约期数 */
public Long getTermIdx() {
return this.termIdx;
}
/**
* 修改的用户履约期数 */
public void setTermIdx(Long termIdx) {
this.termIdx = termIdx;
}
/**
* 更新后的租金,单位为分
* 1234=12.34元 */
public Long getUpdatedRentalMoney() {
return this.updatedRentalMoney;
}
/**
* 更新后的租金,单位为分
* 1234=12.34元 */
public void setUpdatedRentalMoney(Long updatedRentalMoney) {
this.updatedRentalMoney = updatedRentalMoney;
}
/**
* 调整原因,枚举
* ● A01 : 违章罚金
* ● A02 : 水电煤费用 */
public String getReason() {
return this.reason;
}
/**
* 调整原因,枚举
* ● A01 : 违章罚金
* ● A02 : 水电煤费用 */
public void setReason(String reason) {
this.reason = reason;
}
/**
* 调整说明,本说明同步到支付宝账户备注中,需准确填写 */
public String getDesc() {
return this.desc;
}
/**
* 调整说明,本说明同步到支付宝账户备注中,需准确填写 */
public void setDesc(String desc) {
this.desc = desc;
}
}