com.aliyun.dingtalkbizfinance_1_0.models.UpdateReceiptRequest 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.dingtalkbizfinance_1_0.models;
import com.aliyun.tea.*;
public class UpdateReceiptRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("receipts")
public java.util.List receipts;
public static UpdateReceiptRequest build(java.util.Map map) throws Exception {
UpdateReceiptRequest self = new UpdateReceiptRequest();
return TeaModel.build(map, self);
}
public UpdateReceiptRequest setReceipts(java.util.List receipts) {
this.receipts = receipts;
return this;
}
public java.util.List getReceipts() {
return this.receipts;
}
public static class UpdateReceiptRequestReceipts extends TeaModel {
/**
* example:
* 2.44
*/
@NameInMap("amount")
public String amount;
/**
* example:
* INC_XXX
*/
@NameInMap("categoryCode")
public String categoryCode;
/**
* This parameter is required.
*
* example:
* abcd_efgh
*/
@NameInMap("code")
public String code;
/**
* example:
* CUS_XXX
*/
@NameInMap("customerCode")
public String customerCode;
/**
* example:
* ACC_XXX
*/
@NameInMap("enterpriseAcountCode")
public String enterpriseAcountCode;
/**
* example:
* 1636445218000
*/
@NameInMap("occurDate")
public Long occurDate;
/**
* example:
* emp_xxx
*/
@NameInMap("principalId")
public String principalId;
/**
* example:
* PROJ_XXX
*/
@NameInMap("projectCode")
public String projectCode;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("receiptType")
public Long receiptType;
/**
* example:
* 测试单据
*/
@NameInMap("remark")
public String remark;
/**
* example:
* SUP_XXX
*/
@NameInMap("supplierCode")
public String supplierCode;
/**
* example:
* 付款单
*/
@NameInMap("title")
public String title;
/**
* This parameter is required.
*
* example:
* 1636445218000
*/
@NameInMap("updateTime")
public Long updateTime;
/**
* This parameter is required.
*
* example:
* emp_xxx
*/
@NameInMap("updateUserId")
public String updateUserId;
public static UpdateReceiptRequestReceipts build(java.util.Map map) throws Exception {
UpdateReceiptRequestReceipts self = new UpdateReceiptRequestReceipts();
return TeaModel.build(map, self);
}
public UpdateReceiptRequestReceipts setAmount(String amount) {
this.amount = amount;
return this;
}
public String getAmount() {
return this.amount;
}
public UpdateReceiptRequestReceipts setCategoryCode(String categoryCode) {
this.categoryCode = categoryCode;
return this;
}
public String getCategoryCode() {
return this.categoryCode;
}
public UpdateReceiptRequestReceipts setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public UpdateReceiptRequestReceipts setCustomerCode(String customerCode) {
this.customerCode = customerCode;
return this;
}
public String getCustomerCode() {
return this.customerCode;
}
public UpdateReceiptRequestReceipts setEnterpriseAcountCode(String enterpriseAcountCode) {
this.enterpriseAcountCode = enterpriseAcountCode;
return this;
}
public String getEnterpriseAcountCode() {
return this.enterpriseAcountCode;
}
public UpdateReceiptRequestReceipts setOccurDate(Long occurDate) {
this.occurDate = occurDate;
return this;
}
public Long getOccurDate() {
return this.occurDate;
}
public UpdateReceiptRequestReceipts setPrincipalId(String principalId) {
this.principalId = principalId;
return this;
}
public String getPrincipalId() {
return this.principalId;
}
public UpdateReceiptRequestReceipts setProjectCode(String projectCode) {
this.projectCode = projectCode;
return this;
}
public String getProjectCode() {
return this.projectCode;
}
public UpdateReceiptRequestReceipts setReceiptType(Long receiptType) {
this.receiptType = receiptType;
return this;
}
public Long getReceiptType() {
return this.receiptType;
}
public UpdateReceiptRequestReceipts setRemark(String remark) {
this.remark = remark;
return this;
}
public String getRemark() {
return this.remark;
}
public UpdateReceiptRequestReceipts setSupplierCode(String supplierCode) {
this.supplierCode = supplierCode;
return this;
}
public String getSupplierCode() {
return this.supplierCode;
}
public UpdateReceiptRequestReceipts setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public UpdateReceiptRequestReceipts setUpdateTime(Long updateTime) {
this.updateTime = updateTime;
return this;
}
public Long getUpdateTime() {
return this.updateTime;
}
public UpdateReceiptRequestReceipts setUpdateUserId(String updateUserId) {
this.updateUserId = updateUserId;
return this;
}
public String getUpdateUserId() {
return this.updateUserId;
}
}
}