com.aliyun.dingtalkedu_1_0.models.QueryPurchaseInfoResponseBody 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 QueryPurchaseInfoResponseBody extends TeaModel {
/**
* example:
* dingding123
*/
@NameInMap("corpId")
public String corpId;
/**
* This parameter is required.
*
* example:
* 300001
*/
@NameInMap("merchantId")
public String merchantId;
/**
* This parameter is required.
*
* example:
* 小明
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*
* example:
* 1视频通话
*/
@NameInMap("scene")
public Integer scene;
/**
* This parameter is required.
*
* example:
* 10、已订购;11、未订购(包含已过期);12、取消
*/
@NameInMap("status")
public Integer status;
/**
* This parameter is required.
*
* example:
* 200001
*/
@NameInMap("userId")
public String userId;
public static QueryPurchaseInfoResponseBody build(java.util.Map map) throws Exception {
QueryPurchaseInfoResponseBody self = new QueryPurchaseInfoResponseBody();
return TeaModel.build(map, self);
}
public QueryPurchaseInfoResponseBody setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public QueryPurchaseInfoResponseBody setMerchantId(String merchantId) {
this.merchantId = merchantId;
return this;
}
public String getMerchantId() {
return this.merchantId;
}
public QueryPurchaseInfoResponseBody setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public QueryPurchaseInfoResponseBody setScene(Integer scene) {
this.scene = scene;
return this;
}
public Integer getScene() {
return this.scene;
}
public QueryPurchaseInfoResponseBody setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
public QueryPurchaseInfoResponseBody setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}