public class PLDonateCashSetRequest extends PLBaseRequest
频道现金打赏设置请求对象类
| 限定符和类型 | 字段和说明 |
|---|---|
protected Integer |
channelId
字段名:频道ID
变量名:channelId
是否必填:是
类型:Integer
示例值:10001
描述:直播账号下的频道号
|
protected PLDonateCashBody |
requestBody
字段名:现金打赏请求体对象
变量名:requestBody
是否必填:是
类型:PLDonateCashBody
示例值:
描述:现金打赏请求体对象
|
appId, appSecret, sign, timestamp| 构造器和说明 |
|---|
PLDonateCashSetRequest(String appId,
String appSecret,
Integer channelId,
List<Double> cashes,
Double cashMin)
带参数的打赏的构造函数
|
PLDonateCashSetRequest(String appId,
String appSecret,
Integer channelId,
List<Double> cashes,
Double cashMin,
String enabled)
带参数的打赏的构造函数
|
PLDonateCashSetRequest(String appId,
String appSecret,
List<Double> cashes,
Double cashMin)
带参数的打赏的构造函数
|
PLDonateCashSetRequest(String appId,
String appSecret,
List<Double> cashes,
Double cashMin,
String enabled)
带参数的打赏的构造函数
|
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
getChannelId() |
PLDonateCashBody |
getRequestBody() |
void |
setChannelId(Integer channelId) |
void |
setRequestBody(PLDonateCashBody requestBody) |
String |
toString() |
getAppId, getAppSecret, getParams, getSign, getTimestamp, setAppId, setAppSecret, setSign, setTimestampprotected Integer channelId
字段名:频道ID 变量名:channelId 是否必填:是 类型:Integer 示例值:10001 描述:直播账号下的频道号
protected PLDonateCashBody requestBody
字段名:现金打赏请求体对象 变量名:requestBody 是否必填:是 类型:PLDonateCashBody 示例值: 描述:现金打赏请求体对象
public PLDonateCashSetRequest(String appId, String appSecret, Integer channelId, List<Double> cashes, Double cashMin)
channelId - 频道IDcashes - 现金打赏金额列表cashMin - 最新金额appId - 应用IDappSecret - 应用secretpublic PLDonateCashSetRequest(String appId, String appSecret, Integer channelId, List<Double> cashes, Double cashMin, String enabled)
channelId - 频道IDcashes - 现金打赏金额列表cashMin - 最新金额enabled - 开关appId - 应用IDappSecret - 应用secretpublic PLDonateCashSetRequest(String appId, String appSecret, List<Double> cashes, Double cashMin)
cashes - 现金打赏金额列表cashMin - 最新金额appId - 应用IDappSecret - 应用secretpublic Integer getChannelId()
public void setChannelId(Integer channelId)
public PLDonateCashBody getRequestBody()
public void setRequestBody(PLDonateCashBody requestBody)
public String toString()
toString 在类中 PLBaseRequestCopyright © 2019. All rights reserved.