cn.com.antcloud.api.ato.v1_0.request.UploadSignCreditRequest 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.UploadSignCreditResponse;
import cn.com.antcloud.api.product.AntCloudProdRequest;
import java.lang.String;
import javax.validation.constraints.NotNull;
/**
* 商户资产凭证上传,可以是文本或文件 */
public class UploadSignCreditRequest extends AntCloudProdRequest {
@NotNull
private String orderNoType;
@NotNull
private String orderNo;
@NotNull
private String creditType;
private String creditName;
@NotNull
private String contentType;
private String fileUrl;
private String content;
private String merchantId;
public UploadSignCreditRequest(String productInstanceId) {
super("antchain.ato.sign.credit.upload", "1.0", "Java-SDK-20240808", productInstanceId);
}
public UploadSignCreditRequest() {
super("antchain.ato.sign.credit.upload", "1.0", null);
this.setSdkVersion("Java-SDK-20240808");
}
/**
* 订单号类型 */
public String getOrderNoType() {
return this.orderNoType;
}
/**
* 订单号类型 */
public void setOrderNoType(String orderNoType) {
this.orderNoType = orderNoType;
}
/**
* 订单号,或资产包号 */
public String getOrderNo() {
return this.orderNo;
}
/**
* 订单号,或资产包号 */
public void setOrderNo(String orderNo) {
this.orderNo = orderNo;
}
/**
* 凭证合同类型 */
public String getCreditType() {
return this.creditType;
}
/**
* 凭证合同类型 */
public void setCreditType(String creditType) {
this.creditType = creditType;
}
/**
* 凭证名称 */
public String getCreditName() {
return this.creditName;
}
/**
* 凭证名称 */
public void setCreditName(String creditName) {
this.creditName = creditName;
}
/**
* 文本类型 */
public String getContentType() {
return this.contentType;
}
/**
* 文本类型 */
public void setContentType(String contentType) {
this.contentType = contentType;
}
/**
* 文本下载链接,如果类型是FILE则必填 */
public String getFileUrl() {
return this.fileUrl;
}
/**
* 文本下载链接,如果类型是FILE则必填 */
public void setFileUrl(String fileUrl) {
this.fileUrl = fileUrl;
}
/**
* 内容数据,格式为JSON类型文本,如果类型是JSON_TEXT则必填 */
public String getContent() {
return this.content;
}
/**
* 内容数据,格式为JSON类型文本,如果类型是JSON_TEXT则必填 */
public void setContent(String content) {
this.content = content;
}
/**
* 商户统一社会信用代码 */
public String getMerchantId() {
return this.merchantId;
}
/**
* 商户统一社会信用代码 */
public void setMerchantId(String merchantId) {
this.merchantId = merchantId;
}
}