com.aliyun.dingtalkedu_1_0.models.QueryPurchaseInfoRequest 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 QueryPurchaseInfoRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 300001
*/
@NameInMap("merchantId")
public String merchantId;
/**
* This parameter is required.
*
* example:
* 1代表视频通话
*/
@NameInMap("scene")
public Integer scene;
/**
* This parameter is required.
*
* example:
* sn123
*/
@NameInMap("sn")
public String sn;
/**
* This parameter is required.
*
* example:
* 20001
*/
@NameInMap("userId")
public String userId;
public static QueryPurchaseInfoRequest build(java.util.Map map) throws Exception {
QueryPurchaseInfoRequest self = new QueryPurchaseInfoRequest();
return TeaModel.build(map, self);
}
public QueryPurchaseInfoRequest setMerchantId(String merchantId) {
this.merchantId = merchantId;
return this;
}
public String getMerchantId() {
return this.merchantId;
}
public QueryPurchaseInfoRequest setScene(Integer scene) {
this.scene = scene;
return this;
}
public Integer getScene() {
return this.scene;
}
public QueryPurchaseInfoRequest setSn(String sn) {
this.sn = sn;
return this;
}
public String getSn() {
return this.sn;
}
public QueryPurchaseInfoRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}