All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkfinance_1_0.models.UploadInvoiceByAuthResponseBody Maven / Gradle / Ivy

There is a newer version: 2.1.30
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkfinance_1_0.models;

import com.aliyun.tea.*;

public class UploadInvoiceByAuthResponseBody extends TeaModel {
    // 结果
    @NameInMap("result")
    public UploadInvoiceByAuthResponseBodyResult result;

    public static UploadInvoiceByAuthResponseBody build(java.util.Map map) throws Exception {
        UploadInvoiceByAuthResponseBody self = new UploadInvoiceByAuthResponseBody();
        return TeaModel.build(map, self);
    }

    public UploadInvoiceByAuthResponseBody setResult(UploadInvoiceByAuthResponseBodyResult result) {
        this.result = result;
        return this;
    }
    public UploadInvoiceByAuthResponseBodyResult getResult() {
        return this.result;
    }

    public static class UploadInvoiceByAuthResponseBodyResultResults extends TeaModel {
        // 业务错误码
        @NameInMap("errCode")
        public String errCode;

        // 发票代码
        @NameInMap("invoiceCode")
        public String invoiceCode;

        // 发票号码
        @NameInMap("invoiceNo")
        public String invoiceNo;

        // 失败原因
        @NameInMap("reason")
        public String reason;

        // 是否成功
        @NameInMap("success")
        public Boolean success;

        public static UploadInvoiceByAuthResponseBodyResultResults build(java.util.Map map) throws Exception {
            UploadInvoiceByAuthResponseBodyResultResults self = new UploadInvoiceByAuthResponseBodyResultResults();
            return TeaModel.build(map, self);
        }

        public UploadInvoiceByAuthResponseBodyResultResults setErrCode(String errCode) {
            this.errCode = errCode;
            return this;
        }
        public String getErrCode() {
            return this.errCode;
        }

        public UploadInvoiceByAuthResponseBodyResultResults setInvoiceCode(String invoiceCode) {
            this.invoiceCode = invoiceCode;
            return this;
        }
        public String getInvoiceCode() {
            return this.invoiceCode;
        }

        public UploadInvoiceByAuthResponseBodyResultResults setInvoiceNo(String invoiceNo) {
            this.invoiceNo = invoiceNo;
            return this;
        }
        public String getInvoiceNo() {
            return this.invoiceNo;
        }

        public UploadInvoiceByAuthResponseBodyResultResults setReason(String reason) {
            this.reason = reason;
            return this;
        }
        public String getReason() {
            return this.reason;
        }

        public UploadInvoiceByAuthResponseBodyResultResults setSuccess(Boolean success) {
            this.success = success;
            return this;
        }
        public Boolean getSuccess() {
            return this.success;
        }

    }

    public static class UploadInvoiceByAuthResponseBodyResult extends TeaModel {
        // 上传结果
        @NameInMap("results")
        public java.util.List results;

        public static UploadInvoiceByAuthResponseBodyResult build(java.util.Map map) throws Exception {
            UploadInvoiceByAuthResponseBodyResult self = new UploadInvoiceByAuthResponseBodyResult();
            return TeaModel.build(map, self);
        }

        public UploadInvoiceByAuthResponseBodyResult setResults(java.util.List results) {
            this.results = results;
            return this;
        }
        public java.util.List getResults() {
            return this.results;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy