com.aliyun.dingtalkedu_1_0.models.CreateAppOrderRequest 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.dingtalkedu_1_0.models;
import com.aliyun.tea.*;
public class CreateAppOrderRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("actualAmount")
public Long actualAmount;
/**
* This parameter is required.
*
* example:
* 1234
*/
@NameInMap("alipayAppId")
public String alipayAppId;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("bizCode")
public Integer bizCode;
/**
* This parameter is required.
*/
@NameInMap("detailList")
public java.util.List detailList;
/**
* example:
* 1
*/
@NameInMap("labelAmount")
public Long labelAmount;
/**
* This parameter is required.
*
* example:
* 10000
*/
@NameInMap("merchantId")
public String merchantId;
/**
* This parameter is required.
*
* example:
* M00001
*/
@NameInMap("merchantOrderNo")
public String merchantOrderNo;
/**
* This parameter is required.
*
* example:
* 10000
*/
@NameInMap("outerUserId")
public String outerUserId;
/**
* This parameter is required.
*
* example:
* WWrhziOLF/XuRd3IyKwLkLeSFgKnUfeg2yLEVD9Bw+8
*/
@NameInMap("signature")
public String signature;
/**
* This parameter is required.
*
* example:
* 数字图书
*/
@NameInMap("subject")
public String subject;
/**
* This parameter is required.
*
* example:
* 100000
*/
@NameInMap("timestamp")
public Long timestamp;
public static CreateAppOrderRequest build(java.util.Map map) throws Exception {
CreateAppOrderRequest self = new CreateAppOrderRequest();
return TeaModel.build(map, self);
}
public CreateAppOrderRequest setActualAmount(Long actualAmount) {
this.actualAmount = actualAmount;
return this;
}
public Long getActualAmount() {
return this.actualAmount;
}
public CreateAppOrderRequest setAlipayAppId(String alipayAppId) {
this.alipayAppId = alipayAppId;
return this;
}
public String getAlipayAppId() {
return this.alipayAppId;
}
public CreateAppOrderRequest setBizCode(Integer bizCode) {
this.bizCode = bizCode;
return this;
}
public Integer getBizCode() {
return this.bizCode;
}
public CreateAppOrderRequest setDetailList(java.util.List detailList) {
this.detailList = detailList;
return this;
}
public java.util.List getDetailList() {
return this.detailList;
}
public CreateAppOrderRequest setLabelAmount(Long labelAmount) {
this.labelAmount = labelAmount;
return this;
}
public Long getLabelAmount() {
return this.labelAmount;
}
public CreateAppOrderRequest setMerchantId(String merchantId) {
this.merchantId = merchantId;
return this;
}
public String getMerchantId() {
return this.merchantId;
}
public CreateAppOrderRequest setMerchantOrderNo(String merchantOrderNo) {
this.merchantOrderNo = merchantOrderNo;
return this;
}
public String getMerchantOrderNo() {
return this.merchantOrderNo;
}
public CreateAppOrderRequest setOuterUserId(String outerUserId) {
this.outerUserId = outerUserId;
return this;
}
public String getOuterUserId() {
return this.outerUserId;
}
public CreateAppOrderRequest setSignature(String signature) {
this.signature = signature;
return this;
}
public String getSignature() {
return this.signature;
}
public CreateAppOrderRequest setSubject(String subject) {
this.subject = subject;
return this;
}
public String getSubject() {
return this.subject;
}
public CreateAppOrderRequest setTimestamp(Long timestamp) {
this.timestamp = timestamp;
return this;
}
public Long getTimestamp() {
return this.timestamp;
}
public static class CreateAppOrderRequestDetailList extends TeaModel {
/**
* This parameter is required.
*
* example:
* 1234000
*/
@NameInMap("goodsId")
public String goodsId;
/**
* This parameter is required.
*
* example:
* 绘画图书
*/
@NameInMap("goodsName")
public String goodsName;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("goodsPrice")
public Long goodsPrice;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("goodsQuantity")
public Integer goodsQuantity;
public static CreateAppOrderRequestDetailList build(java.util.Map map) throws Exception {
CreateAppOrderRequestDetailList self = new CreateAppOrderRequestDetailList();
return TeaModel.build(map, self);
}
public CreateAppOrderRequestDetailList setGoodsId(String goodsId) {
this.goodsId = goodsId;
return this;
}
public String getGoodsId() {
return this.goodsId;
}
public CreateAppOrderRequestDetailList setGoodsName(String goodsName) {
this.goodsName = goodsName;
return this;
}
public String getGoodsName() {
return this.goodsName;
}
public CreateAppOrderRequestDetailList setGoodsPrice(Long goodsPrice) {
this.goodsPrice = goodsPrice;
return this;
}
public Long getGoodsPrice() {
return this.goodsPrice;
}
public CreateAppOrderRequestDetailList setGoodsQuantity(Integer goodsQuantity) {
this.goodsQuantity = goodsQuantity;
return this;
}
public Integer getGoodsQuantity() {
return this.goodsQuantity;
}
}
}