com.aliyun.dingtalktrip_1_0.models.SyncInvoiceRequest 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.dingtalktrip_1_0.models;
import com.aliyun.tea.*;
public class SyncInvoiceRequest extends TeaModel {
@NameInMap("address")
public String address;
/**
* example:
* xxx银行
*/
@NameInMap("bankName")
public String bankName;
@NameInMap("bankNo")
public String bankNo;
/**
* This parameter is required.
*
* example:
* ding89233847892ndkas
*/
@NameInMap("channelCorpId")
public String channelCorpId;
@NameInMap("deleteFlag")
public Boolean deleteFlag;
/**
* This parameter is required.
*
* example:
* 2022-02-21 11:11:11
*/
@NameInMap("gmtAction")
public String gmtAction;
/**
* This parameter is required.
*
* example:
* 123456
*/
@NameInMap("invoiceId")
public String invoiceId;
@NameInMap("projectIds")
public java.util.List projectIds;
/**
* example:
* 1
*/
@NameInMap("scope")
public Integer scope;
@NameInMap("source")
public String source;
@NameInMap("taxNo")
public String taxNo;
@NameInMap("tel")
public String tel;
/**
* example:
* 123456
*/
@NameInMap("thirdPartId")
public String thirdPartId;
/**
* This parameter is required.
*
* example:
* 默认发票抬头
*/
@NameInMap("title")
public String title;
@NameInMap("type")
public Integer type;
@NameInMap("unitType")
public Integer unitType;
/**
* This parameter is required.
*
* example:
* 20881001829000
*/
@NameInMap("userId")
public String userId;
public static SyncInvoiceRequest build(java.util.Map map) throws Exception {
SyncInvoiceRequest self = new SyncInvoiceRequest();
return TeaModel.build(map, self);
}
public SyncInvoiceRequest setAddress(String address) {
this.address = address;
return this;
}
public String getAddress() {
return this.address;
}
public SyncInvoiceRequest setBankName(String bankName) {
this.bankName = bankName;
return this;
}
public String getBankName() {
return this.bankName;
}
public SyncInvoiceRequest setBankNo(String bankNo) {
this.bankNo = bankNo;
return this;
}
public String getBankNo() {
return this.bankNo;
}
public SyncInvoiceRequest setChannelCorpId(String channelCorpId) {
this.channelCorpId = channelCorpId;
return this;
}
public String getChannelCorpId() {
return this.channelCorpId;
}
public SyncInvoiceRequest setDeleteFlag(Boolean deleteFlag) {
this.deleteFlag = deleteFlag;
return this;
}
public Boolean getDeleteFlag() {
return this.deleteFlag;
}
public SyncInvoiceRequest setGmtAction(String gmtAction) {
this.gmtAction = gmtAction;
return this;
}
public String getGmtAction() {
return this.gmtAction;
}
public SyncInvoiceRequest setInvoiceId(String invoiceId) {
this.invoiceId = invoiceId;
return this;
}
public String getInvoiceId() {
return this.invoiceId;
}
public SyncInvoiceRequest setProjectIds(java.util.List projectIds) {
this.projectIds = projectIds;
return this;
}
public java.util.List getProjectIds() {
return this.projectIds;
}
public SyncInvoiceRequest setScope(Integer scope) {
this.scope = scope;
return this;
}
public Integer getScope() {
return this.scope;
}
public SyncInvoiceRequest setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
public SyncInvoiceRequest setTaxNo(String taxNo) {
this.taxNo = taxNo;
return this;
}
public String getTaxNo() {
return this.taxNo;
}
public SyncInvoiceRequest setTel(String tel) {
this.tel = tel;
return this;
}
public String getTel() {
return this.tel;
}
public SyncInvoiceRequest setThirdPartId(String thirdPartId) {
this.thirdPartId = thirdPartId;
return this;
}
public String getThirdPartId() {
return this.thirdPartId;
}
public SyncInvoiceRequest setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public SyncInvoiceRequest setType(Integer type) {
this.type = type;
return this;
}
public Integer getType() {
return this.type;
}
public SyncInvoiceRequest setUnitType(Integer unitType) {
this.unitType = unitType;
return this;
}
public Integer getUnitType() {
return this.unitType;
}
public SyncInvoiceRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}