cn.com.antcloud.api.ato.v1_0.request.SyncFundOrderfinancialRequest 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.SyncFundOrderfinancialResponse;
import cn.com.antcloud.api.product.AntCloudProdRequest;
import java.lang.Long;
import java.lang.String;
import javax.validation.constraints.NotNull;
/**
* 提供给融资资金方,用以订单融资结果同步 */
public class SyncFundOrderfinancialRequest extends AntCloudProdRequest {
@NotNull
private String orderId;
@NotNull
private String merchantTenantId;
@NotNull
private String applicationId;
@NotNull
private Long status;
private String reason;
private String extras;
public SyncFundOrderfinancialRequest(String productInstanceId) {
super("antchain.ato.fund.orderfinancial.sync", "1.0", "Java-SDK-20240808", productInstanceId);
}
public SyncFundOrderfinancialRequest() {
super("antchain.ato.fund.orderfinancial.sync", "1.0", null);
this.setSdkVersion("Java-SDK-20240808");
}
/**
* 订单号 */
public String getOrderId() {
return this.orderId;
}
/**
* 订单号 */
public void setOrderId(String orderId) {
this.orderId = orderId;
}
/**
* 商户在数科的租户ID */
public String getMerchantTenantId() {
return this.merchantTenantId;
}
/**
* 商户在数科的租户ID */
public void setMerchantTenantId(String merchantTenantId) {
this.merchantTenantId = merchantTenantId;
}
/**
* 订单融资唯一标识 */
public String getApplicationId() {
return this.applicationId;
}
/**
* 订单融资唯一标识 */
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
/**
* 订单融资状态:1-成功;2-失败 */
public Long getStatus() {
return this.status;
}
/**
* 订单融资状态:1-成功;2-失败 */
public void setStatus(Long status) {
this.status = status;
}
/**
* 融资结果描述,长度不超过64 */
public String getReason() {
return this.reason;
}
/**
* 融资结果描述,长度不超过64 */
public void setReason(String reason) {
this.reason = reason;
}
/**
* 额外信息 */
public String getExtras() {
return this.extras;
}
/**
* 额外信息 */
public void setExtras(String extras) {
this.extras = extras;
}
}