com.aliyun.dingtalkfinance_1_0.models.UploadInvoiceByAuthRequest 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 UploadInvoiceByAuthRequest extends TeaModel {
@NameInMap("extension")
public UploadInvoiceByAuthRequestExtension extension;
/**
* This parameter is required.
*/
@NameInMap("invoices")
public java.util.List invoices;
public static UploadInvoiceByAuthRequest build(java.util.Map map) throws Exception {
UploadInvoiceByAuthRequest self = new UploadInvoiceByAuthRequest();
return TeaModel.build(map, self);
}
public UploadInvoiceByAuthRequest setExtension(UploadInvoiceByAuthRequestExtension extension) {
this.extension = extension;
return this;
}
public UploadInvoiceByAuthRequestExtension getExtension() {
return this.extension;
}
public UploadInvoiceByAuthRequest setInvoices(java.util.List invoices) {
this.invoices = invoices;
return this;
}
public java.util.List getInvoices() {
return this.invoices;
}
public static class UploadInvoiceByAuthRequestExtension extends TeaModel {
/**
* This parameter is required.
*
* example:
* TRIP
*/
@NameInMap("bizCode")
public String bizCode;
/**
* example:
* 111924191922
*/
@NameInMap("orderNo")
public String orderNo;
/**
* example:
* HOTEL
*/
@NameInMap("orderType")
public String orderType;
public static UploadInvoiceByAuthRequestExtension build(java.util.Map map) throws Exception {
UploadInvoiceByAuthRequestExtension self = new UploadInvoiceByAuthRequestExtension();
return TeaModel.build(map, self);
}
public UploadInvoiceByAuthRequestExtension setBizCode(String bizCode) {
this.bizCode = bizCode;
return this;
}
public String getBizCode() {
return this.bizCode;
}
public UploadInvoiceByAuthRequestExtension setOrderNo(String orderNo) {
this.orderNo = orderNo;
return this;
}
public String getOrderNo() {
return this.orderNo;
}
public UploadInvoiceByAuthRequestExtension setOrderType(String orderType) {
this.orderType = orderType;
return this;
}
public String getOrderType() {
return this.orderType;
}
}
public static class UploadInvoiceByAuthRequestInvoices 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;
/**
* This parameter is required.
*
* example:
* 0.50
*/
@NameInMap("taxAmount")
public String taxAmount;
/**
* example:
* 增值税普通发票必填,示例:52501101414266612380
*/
@NameInMap("verifyCode")
public String verifyCode;
/**
* This parameter is required.
*
* example:
* 99.50
*/
@NameInMap("withoutTaxAmount")
public String withoutTaxAmount;
public static UploadInvoiceByAuthRequestInvoices build(java.util.Map map) throws Exception {
UploadInvoiceByAuthRequestInvoices self = new UploadInvoiceByAuthRequestInvoices();
return TeaModel.build(map, self);
}
public UploadInvoiceByAuthRequestInvoices setInvoiceAmount(String invoiceAmount) {
this.invoiceAmount = invoiceAmount;
return this;
}
public String getInvoiceAmount() {
return this.invoiceAmount;
}
public UploadInvoiceByAuthRequestInvoices setInvoiceCode(String invoiceCode) {
this.invoiceCode = invoiceCode;
return this;
}
public String getInvoiceCode() {
return this.invoiceCode;
}
public UploadInvoiceByAuthRequestInvoices setInvoiceDate(String invoiceDate) {
this.invoiceDate = invoiceDate;
return this;
}
public String getInvoiceDate() {
return this.invoiceDate;
}
public UploadInvoiceByAuthRequestInvoices setInvoiceNo(String invoiceNo) {
this.invoiceNo = invoiceNo;
return this;
}
public String getInvoiceNo() {
return this.invoiceNo;
}
public UploadInvoiceByAuthRequestInvoices setInvoiceType(String invoiceType) {
this.invoiceType = invoiceType;
return this;
}
public String getInvoiceType() {
return this.invoiceType;
}
public UploadInvoiceByAuthRequestInvoices setLogoUrl(String logoUrl) {
this.logoUrl = logoUrl;
return this;
}
public String getLogoUrl() {
return this.logoUrl;
}
public UploadInvoiceByAuthRequestInvoices setPayeeName(String payeeName) {
this.payeeName = payeeName;
return this;
}
public String getPayeeName() {
return this.payeeName;
}
public UploadInvoiceByAuthRequestInvoices setPayeeTaxNo(String payeeTaxNo) {
this.payeeTaxNo = payeeTaxNo;
return this;
}
public String getPayeeTaxNo() {
return this.payeeTaxNo;
}
public UploadInvoiceByAuthRequestInvoices setPayerName(String payerName) {
this.payerName = payerName;
return this;
}
public String getPayerName() {
return this.payerName;
}
public UploadInvoiceByAuthRequestInvoices setPayerTaxNo(String payerTaxNo) {
this.payerTaxNo = payerTaxNo;
return this;
}
public String getPayerTaxNo() {
return this.payerTaxNo;
}
public UploadInvoiceByAuthRequestInvoices setPdfUrl(String pdfUrl) {
this.pdfUrl = pdfUrl;
return this;
}
public String getPdfUrl() {
return this.pdfUrl;
}
public UploadInvoiceByAuthRequestInvoices setTaxAmount(String taxAmount) {
this.taxAmount = taxAmount;
return this;
}
public String getTaxAmount() {
return this.taxAmount;
}
public UploadInvoiceByAuthRequestInvoices setVerifyCode(String verifyCode) {
this.verifyCode = verifyCode;
return this;
}
public String getVerifyCode() {
return this.verifyCode;
}
public UploadInvoiceByAuthRequestInvoices setWithoutTaxAmount(String withoutTaxAmount) {
this.withoutTaxAmount = withoutTaxAmount;
return this;
}
public String getWithoutTaxAmount() {
return this.withoutTaxAmount;
}
}
}