com.aliyun.dingtalkedu_1_0.models.CreateSnsAppOrderRequest 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 CreateSnsAppOrderRequest 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:
* 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 CreateSnsAppOrderRequest build(java.util.Map map) throws Exception {
CreateSnsAppOrderRequest self = new CreateSnsAppOrderRequest();
return TeaModel.build(map, self);
}
public CreateSnsAppOrderRequest setActualAmount(Long actualAmount) {
this.actualAmount = actualAmount;
return this;
}
public Long getActualAmount() {
return this.actualAmount;
}
public CreateSnsAppOrderRequest setAlipayAppId(String alipayAppId) {
this.alipayAppId = alipayAppId;
return this;
}
public String getAlipayAppId() {
return this.alipayAppId;
}
public CreateSnsAppOrderRequest setBizCode(Integer bizCode) {
this.bizCode = bizCode;
return this;
}
public Integer getBizCode() {
return this.bizCode;
}
public CreateSnsAppOrderRequest setDetailList(java.util.List detailList) {
this.detailList = detailList;
return this;
}
public java.util.List getDetailList() {
return this.detailList;
}
public CreateSnsAppOrderRequest setLabelAmount(Long labelAmount) {
this.labelAmount = labelAmount;
return this;
}
public Long getLabelAmount() {
return this.labelAmount;
}
public CreateSnsAppOrderRequest setMerchantId(String merchantId) {
this.merchantId = merchantId;
return this;
}
public String getMerchantId() {
return this.merchantId;
}
public CreateSnsAppOrderRequest setMerchantOrderNo(String merchantOrderNo) {
this.merchantOrderNo = merchantOrderNo;
return this;
}
public String getMerchantOrderNo() {
return this.merchantOrderNo;
}
public CreateSnsAppOrderRequest setSignature(String signature) {
this.signature = signature;
return this;
}
public String getSignature() {
return this.signature;
}
public CreateSnsAppOrderRequest setSubject(String subject) {
this.subject = subject;
return this;
}
public String getSubject() {
return this.subject;
}
public CreateSnsAppOrderRequest setTimestamp(Long timestamp) {
this.timestamp = timestamp;
return this;
}
public Long getTimestamp() {
return this.timestamp;
}
public static class CreateSnsAppOrderRequestDetailList 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 CreateSnsAppOrderRequestDetailList build(java.util.Map map) throws Exception {
CreateSnsAppOrderRequestDetailList self = new CreateSnsAppOrderRequestDetailList();
return TeaModel.build(map, self);
}
public CreateSnsAppOrderRequestDetailList setGoodsId(String goodsId) {
this.goodsId = goodsId;
return this;
}
public String getGoodsId() {
return this.goodsId;
}
public CreateSnsAppOrderRequestDetailList setGoodsName(String goodsName) {
this.goodsName = goodsName;
return this;
}
public String getGoodsName() {
return this.goodsName;
}
public CreateSnsAppOrderRequestDetailList setGoodsPrice(Long goodsPrice) {
this.goodsPrice = goodsPrice;
return this;
}
public Long getGoodsPrice() {
return this.goodsPrice;
}
public CreateSnsAppOrderRequestDetailList setGoodsQuantity(Integer goodsQuantity) {
this.goodsQuantity = goodsQuantity;
return this;
}
public Integer getGoodsQuantity() {
return this.goodsQuantity;
}
}
}