com.aliyun.dingtalkfinance_1_0.models.CreateBatchTradeOrderRequest 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 CreateBatchTradeOrderRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 2021070712440326300185114
*/
@NameInMap("accountId")
public String accountId;
/**
* This parameter is required.
*
* example:
* 13****9
*/
@NameInMap("accountNo")
public String accountNo;
/**
* example:
* 备注
*/
@NameInMap("batchRemark")
public String batchRemark;
/**
* This parameter is required.
*/
@NameInMap("batchTradeDetails")
public java.util.List batchTradeDetails;
/**
* This parameter is required.
*
* example:
* 20210901001
*/
@NameInMap("outBatchNo")
public String outBatchNo;
/**
* This parameter is required.
*
* example:
* 8476212471
*/
@NameInMap("staffId")
public String staffId;
/**
* This parameter is required.
*
* example:
* 1.00
*/
@NameInMap("totalAmount")
public String totalAmount;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("totalCount")
public Long totalCount;
/**
* This parameter is required.
*
* example:
* 工资
*/
@NameInMap("tradeTitle")
public String tradeTitle;
public static CreateBatchTradeOrderRequest build(java.util.Map map) throws Exception {
CreateBatchTradeOrderRequest self = new CreateBatchTradeOrderRequest();
return TeaModel.build(map, self);
}
public CreateBatchTradeOrderRequest setAccountId(String accountId) {
this.accountId = accountId;
return this;
}
public String getAccountId() {
return this.accountId;
}
public CreateBatchTradeOrderRequest setAccountNo(String accountNo) {
this.accountNo = accountNo;
return this;
}
public String getAccountNo() {
return this.accountNo;
}
public CreateBatchTradeOrderRequest setBatchRemark(String batchRemark) {
this.batchRemark = batchRemark;
return this;
}
public String getBatchRemark() {
return this.batchRemark;
}
public CreateBatchTradeOrderRequest setBatchTradeDetails(java.util.List batchTradeDetails) {
this.batchTradeDetails = batchTradeDetails;
return this;
}
public java.util.List getBatchTradeDetails() {
return this.batchTradeDetails;
}
public CreateBatchTradeOrderRequest setOutBatchNo(String outBatchNo) {
this.outBatchNo = outBatchNo;
return this;
}
public String getOutBatchNo() {
return this.outBatchNo;
}
public CreateBatchTradeOrderRequest setStaffId(String staffId) {
this.staffId = staffId;
return this;
}
public String getStaffId() {
return this.staffId;
}
public CreateBatchTradeOrderRequest setTotalAmount(String totalAmount) {
this.totalAmount = totalAmount;
return this;
}
public String getTotalAmount() {
return this.totalAmount;
}
public CreateBatchTradeOrderRequest setTotalCount(Long totalCount) {
this.totalCount = totalCount;
return this;
}
public Long getTotalCount() {
return this.totalCount;
}
public CreateBatchTradeOrderRequest setTradeTitle(String tradeTitle) {
this.tradeTitle = tradeTitle;
return this;
}
public String getTradeTitle() {
return this.tradeTitle;
}
public static class CreateBatchTradeOrderRequestBatchTradeDetails extends TeaModel {
/**
* This parameter is required.
*
* example:
* 1.00
*/
@NameInMap("amount")
public String amount;
/**
* example:
* 工资
*/
@NameInMap("memo")
public String memo;
/**
* This parameter is required.
*
* example:
* 测试
*/
@NameInMap("payeeAccountName")
public String payeeAccountName;
/**
* This parameter is required.
*
* example:
* 13000000000
*/
@NameInMap("payeeAccountNo")
public String payeeAccountNo;
/**
* This parameter is required.
*
* example:
* ALIPAY
*/
@NameInMap("payeeAccountType")
public String payeeAccountType;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("serialNo")
public Long serialNo;
public static CreateBatchTradeOrderRequestBatchTradeDetails build(java.util.Map map) throws Exception {
CreateBatchTradeOrderRequestBatchTradeDetails self = new CreateBatchTradeOrderRequestBatchTradeDetails();
return TeaModel.build(map, self);
}
public CreateBatchTradeOrderRequestBatchTradeDetails setAmount(String amount) {
this.amount = amount;
return this;
}
public String getAmount() {
return this.amount;
}
public CreateBatchTradeOrderRequestBatchTradeDetails setMemo(String memo) {
this.memo = memo;
return this;
}
public String getMemo() {
return this.memo;
}
public CreateBatchTradeOrderRequestBatchTradeDetails setPayeeAccountName(String payeeAccountName) {
this.payeeAccountName = payeeAccountName;
return this;
}
public String getPayeeAccountName() {
return this.payeeAccountName;
}
public CreateBatchTradeOrderRequestBatchTradeDetails setPayeeAccountNo(String payeeAccountNo) {
this.payeeAccountNo = payeeAccountNo;
return this;
}
public String getPayeeAccountNo() {
return this.payeeAccountNo;
}
public CreateBatchTradeOrderRequestBatchTradeDetails setPayeeAccountType(String payeeAccountType) {
this.payeeAccountType = payeeAccountType;
return this;
}
public String getPayeeAccountType() {
return this.payeeAccountType;
}
public CreateBatchTradeOrderRequestBatchTradeDetails setSerialNo(Long serialNo) {
this.serialNo = serialNo;
return this;
}
public Long getSerialNo() {
return this.serialNo;
}
}
}