com.aliyun.dingtalkfinance_1_0.models.UploadInvoiceResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkfinance_1_0.models;
import com.aliyun.tea.*;
public class UploadInvoiceResponseBody extends TeaModel {
@NameInMap("result")
public UploadInvoiceResponseBodyResult result;
public static UploadInvoiceResponseBody build(java.util.Map map) throws Exception {
UploadInvoiceResponseBody self = new UploadInvoiceResponseBody();
return TeaModel.build(map, self);
}
public UploadInvoiceResponseBody setResult(UploadInvoiceResponseBodyResult result) {
this.result = result;
return this;
}
public UploadInvoiceResponseBodyResult getResult() {
return this.result;
}
public static class UploadInvoiceResponseBodyResultResults extends TeaModel {
/**
* This parameter is required.
*
* example:
* 20006
*/
@NameInMap("errCode")
public String errCode;
/**
* This parameter is required.
*
* example:
* 033002000712
*/
@NameInMap("invoiceCode")
public String invoiceCode;
/**
* This parameter is required.
*
* example:
* 20532643
*/
@NameInMap("invoiceNo")
public String invoiceNo;
/**
* This parameter is required.
*
* example:
* duplicateInvoice
*/
@NameInMap("reason")
public String reason;
/**
* This parameter is required.
*
* example:
* true
*/
@NameInMap("success")
public Boolean success;
public static UploadInvoiceResponseBodyResultResults build(java.util.Map map) throws Exception {
UploadInvoiceResponseBodyResultResults self = new UploadInvoiceResponseBodyResultResults();
return TeaModel.build(map, self);
}
public UploadInvoiceResponseBodyResultResults setErrCode(String errCode) {
this.errCode = errCode;
return this;
}
public String getErrCode() {
return this.errCode;
}
public UploadInvoiceResponseBodyResultResults setInvoiceCode(String invoiceCode) {
this.invoiceCode = invoiceCode;
return this;
}
public String getInvoiceCode() {
return this.invoiceCode;
}
public UploadInvoiceResponseBodyResultResults setInvoiceNo(String invoiceNo) {
this.invoiceNo = invoiceNo;
return this;
}
public String getInvoiceNo() {
return this.invoiceNo;
}
public UploadInvoiceResponseBodyResultResults setReason(String reason) {
this.reason = reason;
return this;
}
public String getReason() {
return this.reason;
}
public UploadInvoiceResponseBodyResultResults setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
public static class UploadInvoiceResponseBodyResult extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("results")
public java.util.List results;
public static UploadInvoiceResponseBodyResult build(java.util.Map map) throws Exception {
UploadInvoiceResponseBodyResult self = new UploadInvoiceResponseBodyResult();
return TeaModel.build(map, self);
}
public UploadInvoiceResponseBodyResult setResults(java.util.List results) {
this.results = results;
return this;
}
public java.util.List getResults() {
return this.results;
}
}
}