com.aliyun.dingtalkfinance_1_0.models.PreCreateGroupBillOrderRequest 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
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkfinance_1_0.models;
import com.aliyun.tea.*;
public class PreCreateGroupBillOrderRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("billItemList")
public java.util.List billItemList;
@NameInMap("extParams")
public java.util.Map extParams;
/**
* This parameter is required.
*
* example:
* 2
*/
@NameInMap("headCount")
public Long headCount;
/**
* This parameter is required.
*
* example:
* 0
*/
@NameInMap("isAverageAmount")
public Integer isAverageAmount;
/**
* This parameter is required.
*
* example:
* dhqhadsnkj2qweqsw2
*/
@NameInMap("merchantId")
public String merchantId;
/**
* example:
* opemcesdjuwqw2uwnedj==
*/
@NameInMap("openCid")
public String openCid;
/**
* This parameter is required.
*
* example:
* 20230918291921929193911
*/
@NameInMap("outBizNo")
public String outBizNo;
/**
* example:
* ding32fff839a3e0105d
*/
@NameInMap("payeeCorpId")
public String payeeCorpId;
/**
* This parameter is required.
*
* example:
* ECEjwiiwenwnw2q2sdd
*/
@NameInMap("payeeUnionId")
public String payeeUnionId;
/**
* example:
* 饿了么拼单-测试
*/
@NameInMap("remark")
public String remark;
/**
* This parameter is required.
*
* example:
* 10.24
*/
@NameInMap("totalAmount")
public String totalAmount;
public static PreCreateGroupBillOrderRequest build(java.util.Map map) throws Exception {
PreCreateGroupBillOrderRequest self = new PreCreateGroupBillOrderRequest();
return TeaModel.build(map, self);
}
public PreCreateGroupBillOrderRequest setBillItemList(java.util.List billItemList) {
this.billItemList = billItemList;
return this;
}
public java.util.List getBillItemList() {
return this.billItemList;
}
public PreCreateGroupBillOrderRequest setExtParams(java.util.Map extParams) {
this.extParams = extParams;
return this;
}
public java.util.Map getExtParams() {
return this.extParams;
}
public PreCreateGroupBillOrderRequest setHeadCount(Long headCount) {
this.headCount = headCount;
return this;
}
public Long getHeadCount() {
return this.headCount;
}
public PreCreateGroupBillOrderRequest setIsAverageAmount(Integer isAverageAmount) {
this.isAverageAmount = isAverageAmount;
return this;
}
public Integer getIsAverageAmount() {
return this.isAverageAmount;
}
public PreCreateGroupBillOrderRequest setMerchantId(String merchantId) {
this.merchantId = merchantId;
return this;
}
public String getMerchantId() {
return this.merchantId;
}
public PreCreateGroupBillOrderRequest setOpenCid(String openCid) {
this.openCid = openCid;
return this;
}
public String getOpenCid() {
return this.openCid;
}
public PreCreateGroupBillOrderRequest setOutBizNo(String outBizNo) {
this.outBizNo = outBizNo;
return this;
}
public String getOutBizNo() {
return this.outBizNo;
}
public PreCreateGroupBillOrderRequest setPayeeCorpId(String payeeCorpId) {
this.payeeCorpId = payeeCorpId;
return this;
}
public String getPayeeCorpId() {
return this.payeeCorpId;
}
public PreCreateGroupBillOrderRequest setPayeeUnionId(String payeeUnionId) {
this.payeeUnionId = payeeUnionId;
return this;
}
public String getPayeeUnionId() {
return this.payeeUnionId;
}
public PreCreateGroupBillOrderRequest setRemark(String remark) {
this.remark = remark;
return this;
}
public String getRemark() {
return this.remark;
}
public PreCreateGroupBillOrderRequest setTotalAmount(String totalAmount) {
this.totalAmount = totalAmount;
return this;
}
public String getTotalAmount() {
return this.totalAmount;
}
public static class PreCreateGroupBillOrderRequestBillItemList extends TeaModel {
/**
* This parameter is required.
*
* example:
* 5.12
*/
@NameInMap("amount")
public String amount;
/**
* This parameter is required.
*
* example:
* cshadbikahdksnajhada
*/
@NameInMap("payerUnionId")
public String payerUnionId;
public static PreCreateGroupBillOrderRequestBillItemList build(java.util.Map map) throws Exception {
PreCreateGroupBillOrderRequestBillItemList self = new PreCreateGroupBillOrderRequestBillItemList();
return TeaModel.build(map, self);
}
public PreCreateGroupBillOrderRequestBillItemList setAmount(String amount) {
this.amount = amount;
return this;
}
public String getAmount() {
return this.amount;
}
public PreCreateGroupBillOrderRequestBillItemList setPayerUnionId(String payerUnionId) {
this.payerUnionId = payerUnionId;
return this;
}
public String getPayerUnionId() {
return this.payerUnionId;
}
}
}