com.aliyun.dingtalkbizfinance_1_0.models.DeleteReceiptRequest 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 DeleteReceiptRequest extends TeaModel {
// 单据列表,最长不超过10条
@NameInMap("receipts")
public java.util.List receipts;
public static DeleteReceiptRequest build(java.util.Map map) throws Exception {
DeleteReceiptRequest self = new DeleteReceiptRequest();
return TeaModel.build(map, self);
}
public DeleteReceiptRequest setReceipts(java.util.List receipts) {
this.receipts = receipts;
return this;
}
public java.util.List getReceipts() {
return this.receipts;
}
public static class DeleteReceiptRequestReceipts extends TeaModel {
// 单据唯一编号
@NameInMap("code")
public String code;
// 修改者工号
@NameInMap("deleteUserId")
public String deleteUserId;
// 单据类型:1付款单,2收款单
@NameInMap("receiptType")
public Long receiptType;
public static DeleteReceiptRequestReceipts build(java.util.Map map) throws Exception {
DeleteReceiptRequestReceipts self = new DeleteReceiptRequestReceipts();
return TeaModel.build(map, self);
}
public DeleteReceiptRequestReceipts setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public DeleteReceiptRequestReceipts setDeleteUserId(String deleteUserId) {
this.deleteUserId = deleteUserId;
return this;
}
public String getDeleteUserId() {
return this.deleteUserId;
}
public DeleteReceiptRequestReceipts setReceiptType(Long receiptType) {
this.receiptType = receiptType;
return this;
}
public Long getReceiptType() {
return this.receiptType;
}
}
}