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

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

There is a newer version: 2.1.67
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 UploadInvoiceRequest extends TeaModel {
    @NameInMap("extension")
    public UploadInvoiceRequestExtension extension;

    /**
     * 

This parameter is required.

*/ @NameInMap("invoices") public java.util.List invoices; @NameInMap("userIdentity") public UploadInvoiceRequestUserIdentity userIdentity; public static UploadInvoiceRequest build(java.util.Map map) throws Exception { UploadInvoiceRequest self = new UploadInvoiceRequest(); return TeaModel.build(map, self); } public UploadInvoiceRequest setExtension(UploadInvoiceRequestExtension extension) { this.extension = extension; return this; } public UploadInvoiceRequestExtension getExtension() { return this.extension; } public UploadInvoiceRequest setInvoices(java.util.List invoices) { this.invoices = invoices; return this; } public java.util.List getInvoices() { return this.invoices; } public UploadInvoiceRequest setUserIdentity(UploadInvoiceRequestUserIdentity userIdentity) { this.userIdentity = userIdentity; return this; } public UploadInvoiceRequestUserIdentity getUserIdentity() { return this.userIdentity; } public static class UploadInvoiceRequestExtension extends TeaModel { /** *

This parameter is required.

* * example: *

TRIP

*/ @NameInMap("bizCode") public String bizCode; /** * example: *

111924191922

*/ @NameInMap("orderNo") @Deprecated public String orderNo; @NameInMap("orderNoList") public java.util.List orderNoList; /** * example: *

HOTEL

*/ @NameInMap("orderType") public String orderType; public static UploadInvoiceRequestExtension build(java.util.Map map) throws Exception { UploadInvoiceRequestExtension self = new UploadInvoiceRequestExtension(); return TeaModel.build(map, self); } public UploadInvoiceRequestExtension setBizCode(String bizCode) { this.bizCode = bizCode; return this; } public String getBizCode() { return this.bizCode; } public UploadInvoiceRequestExtension setOrderNo(String orderNo) { this.orderNo = orderNo; return this; } public String getOrderNo() { return this.orderNo; } public UploadInvoiceRequestExtension setOrderNoList(java.util.List orderNoList) { this.orderNoList = orderNoList; return this; } public java.util.List getOrderNoList() { return this.orderNoList; } public UploadInvoiceRequestExtension setOrderType(String orderType) { this.orderType = orderType; return this; } public String getOrderType() { return this.orderType; } } public static class UploadInvoiceRequestInvoices extends TeaModel { /** *

This parameter is required.

* * example: *

100.00

*/ @NameInMap("invoiceAmount") public String invoiceAmount; /** *

This parameter is required.

* * example: *

033002000712

*/ @NameInMap("invoiceCode") public String invoiceCode; /** *

This parameter is required.

* * example: *

2022-02-21

*/ @NameInMap("invoiceDate") public String invoiceDate; /** *

This parameter is required.

* * example: *

20532643

*/ @NameInMap("invoiceNo") public String invoiceNo; /** *

This parameter is required.

*/ @NameInMap("invoiceType") public String invoiceType; @NameInMap("logoUrl") public String logoUrl; /** *

This parameter is required.

* * example: *

小钉科技有限公司

*/ @NameInMap("payeeName") public String payeeName; /** *

This parameter is required.

* * example: *

91330100MA28XNB274

*/ @NameInMap("payeeTaxNo") public String payeeTaxNo; /** *

This parameter is required.

* * example: *

小钉科技有限公司

*/ @NameInMap("payerName") public String payerName; /** * example: *

91330100MA28XNB274

*/ @NameInMap("payerTaxNo") public String payerTaxNo; /** *

This parameter is required.

*/ @NameInMap("pdfUrl") public String pdfUrl; /** * example: *

0.50

*/ @NameInMap("taxAmount") public String taxAmount; /** * example: *

增值税普通发票必填,示例:52501101414266612380

*/ @NameInMap("verifyCode") public String verifyCode; /** * example: *

99.50

*/ @NameInMap("withoutTaxAmount") public String withoutTaxAmount; public static UploadInvoiceRequestInvoices build(java.util.Map map) throws Exception { UploadInvoiceRequestInvoices self = new UploadInvoiceRequestInvoices(); return TeaModel.build(map, self); } public UploadInvoiceRequestInvoices setInvoiceAmount(String invoiceAmount) { this.invoiceAmount = invoiceAmount; return this; } public String getInvoiceAmount() { return this.invoiceAmount; } public UploadInvoiceRequestInvoices setInvoiceCode(String invoiceCode) { this.invoiceCode = invoiceCode; return this; } public String getInvoiceCode() { return this.invoiceCode; } public UploadInvoiceRequestInvoices setInvoiceDate(String invoiceDate) { this.invoiceDate = invoiceDate; return this; } public String getInvoiceDate() { return this.invoiceDate; } public UploadInvoiceRequestInvoices setInvoiceNo(String invoiceNo) { this.invoiceNo = invoiceNo; return this; } public String getInvoiceNo() { return this.invoiceNo; } public UploadInvoiceRequestInvoices setInvoiceType(String invoiceType) { this.invoiceType = invoiceType; return this; } public String getInvoiceType() { return this.invoiceType; } public UploadInvoiceRequestInvoices setLogoUrl(String logoUrl) { this.logoUrl = logoUrl; return this; } public String getLogoUrl() { return this.logoUrl; } public UploadInvoiceRequestInvoices setPayeeName(String payeeName) { this.payeeName = payeeName; return this; } public String getPayeeName() { return this.payeeName; } public UploadInvoiceRequestInvoices setPayeeTaxNo(String payeeTaxNo) { this.payeeTaxNo = payeeTaxNo; return this; } public String getPayeeTaxNo() { return this.payeeTaxNo; } public UploadInvoiceRequestInvoices setPayerName(String payerName) { this.payerName = payerName; return this; } public String getPayerName() { return this.payerName; } public UploadInvoiceRequestInvoices setPayerTaxNo(String payerTaxNo) { this.payerTaxNo = payerTaxNo; return this; } public String getPayerTaxNo() { return this.payerTaxNo; } public UploadInvoiceRequestInvoices setPdfUrl(String pdfUrl) { this.pdfUrl = pdfUrl; return this; } public String getPdfUrl() { return this.pdfUrl; } public UploadInvoiceRequestInvoices setTaxAmount(String taxAmount) { this.taxAmount = taxAmount; return this; } public String getTaxAmount() { return this.taxAmount; } public UploadInvoiceRequestInvoices setVerifyCode(String verifyCode) { this.verifyCode = verifyCode; return this; } public String getVerifyCode() { return this.verifyCode; } public UploadInvoiceRequestInvoices setWithoutTaxAmount(String withoutTaxAmount) { this.withoutTaxAmount = withoutTaxAmount; return this; } public String getWithoutTaxAmount() { return this.withoutTaxAmount; } } public static class UploadInvoiceRequestUserIdentity extends TeaModel { /** * example: *

95188

*/ @NameInMap("mobile") public String mobile; /** * example: *

86

*/ @NameInMap("mobileStateCode") public String mobileStateCode; /** * example: *

dinng1123434

*/ @NameInMap("targetCorpId") public String targetCorpId; /** *

This parameter is required.

* * example: *

STAFF_ID

*/ @NameInMap("type") public String type; /** * example: *

akdfwiiw

*/ @NameInMap("unionId") public String unionId; /** * example: *

02734930

*/ @NameInMap("userId") public String userId; public static UploadInvoiceRequestUserIdentity build(java.util.Map map) throws Exception { UploadInvoiceRequestUserIdentity self = new UploadInvoiceRequestUserIdentity(); return TeaModel.build(map, self); } public UploadInvoiceRequestUserIdentity setMobile(String mobile) { this.mobile = mobile; return this; } public String getMobile() { return this.mobile; } public UploadInvoiceRequestUserIdentity setMobileStateCode(String mobileStateCode) { this.mobileStateCode = mobileStateCode; return this; } public String getMobileStateCode() { return this.mobileStateCode; } public UploadInvoiceRequestUserIdentity setTargetCorpId(String targetCorpId) { this.targetCorpId = targetCorpId; return this; } public String getTargetCorpId() { return this.targetCorpId; } public UploadInvoiceRequestUserIdentity setType(String type) { this.type = type; return this; } public String getType() { return this.type; } public UploadInvoiceRequestUserIdentity setUnionId(String unionId) { this.unionId = unionId; return this; } public String getUnionId() { return this.unionId; } public UploadInvoiceRequestUserIdentity setUserId(String userId) { this.userId = userId; return this; } public String getUserId() { return this.userId; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy