public class AlipayOpenPublicLifeMsgSendRequest extends Object implements AlipayUploadRequest<AlipayOpenPublicLifeMsgSendResponse>
| Constructor and Description |
|---|
AlipayOpenPublicLifeMsgSendRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiMethodName()
获取TOP的API名称。
|
String |
getApiVersion()
得到当前接口的版本
|
AlipayObject |
getBizModel()
Gets biz model.
|
String |
getCategory()
Gets category.
|
String |
getContent()
Gets content.
|
FileItem |
getCover()
Gets cover.
|
String |
getDesc()
Gets desc.
|
Map<String,FileItem> |
getFileParams()
获取所有的Key-Value形式的文件请求参数集合。其中:
Key: 请求参数名
Value: 请求参数文件元数据
|
String |
getMsgType()
Gets msg type.
|
String |
getNotifyUrl()
返回通知地址
|
String |
getProdCode()
获取产品码
|
Class<AlipayOpenPublicLifeMsgSendResponse> |
getResponseClass()
得到当前API的响应结果类型
|
String |
getReturnUrl()
返回回跳地址
|
String |
getSourceExtInfo()
Gets source ext info.
|
String |
getTerminalInfo()
获取终端信息
|
String |
getTerminalType()
获取终端类型
|
Map<String,String> |
getTextParams()
获取所有的Key-Value形式的文本请求参数集合。其中:
Key: 请求参数名
Value: 请求参数值
|
String |
getTitle()
Gets title.
|
String |
getUniqueMsgId()
Gets unique msg id.
|
String |
getVideoLength()
Gets video length.
|
List<String> |
getVideoSamples()
Gets video samples.
|
String |
getVideoSize()
Gets video size.
|
String |
getVideoSource()
Gets video source.
|
String |
getVideoTemporaryUrl()
Gets video temporary url.
|
String |
getVideoUrl()
Gets video url.
|
boolean |
isNeedEncrypt()
判断是否需要加密
|
void |
putOtherTextParam(String key,
String value)
Put other text param.
|
void |
setApiVersion(String apiVersion)
设置当前API的版本信息
|
void |
setBizModel(AlipayObject bizModel)
设置业务实体,如需使用此方法,请勿直接设置biz_content
|
void |
setCategory(String category)
Sets category.
|
void |
setContent(String content)
Sets content.
|
void |
setCover(FileItem cover)
Sets cover.
|
void |
setDesc(String desc)
Sets desc.
|
void |
setMsgType(String msgType)
Sets msg type.
|
void |
setNeedEncrypt(boolean needEncrypt)
设置请求是否需要加密
|
void |
setNotifyUrl(String notifyUrl)
设置通知地址
|
void |
setProdCode(String prodCode)
设置产品码
|
void |
setReturnUrl(String returnUrl)
设置回跳地址
|
void |
setSourceExtInfo(String sourceExtInfo)
Sets source ext info.
|
void |
setTerminalInfo(String terminalInfo)
设置终端信息
|
void |
setTerminalType(String terminalType)
设置终端类型
|
void |
setTitle(String title)
Sets title.
|
void |
setUniqueMsgId(String uniqueMsgId)
Sets unique msg id.
|
void |
setVideoLength(String videoLength)
Sets video length.
|
void |
setVideoSamples(List<String> videoSamples)
Sets video samples.
|
void |
setVideoSize(String videoSize)
Sets video size.
|
void |
setVideoSource(String videoSource)
Sets video source.
|
void |
setVideoTemporaryUrl(String videoTemporaryUrl)
Sets video temporary url.
|
void |
setVideoUrl(String videoUrl)
Sets video url.
|
public void setCategory(String category)
category - the categorypublic String getCategory()
public void setContent(String content)
content - the contentpublic String getContent()
public void setCover(FileItem cover)
cover - the coverpublic FileItem getCover()
public void setDesc(String desc)
desc - the descpublic String getDesc()
public void setMsgType(String msgType)
msgType - the msg typepublic String getMsgType()
public void setSourceExtInfo(String sourceExtInfo)
sourceExtInfo - the source ext infopublic String getSourceExtInfo()
public void setTitle(String title)
title - the titlepublic String getTitle()
public void setUniqueMsgId(String uniqueMsgId)
uniqueMsgId - the unique msg idpublic String getUniqueMsgId()
public void setVideoLength(String videoLength)
videoLength - the video lengthpublic String getVideoLength()
public void setVideoSamples(List<String> videoSamples)
videoSamples - the video samplespublic List<String> getVideoSamples()
public void setVideoSize(String videoSize)
videoSize - the video sizepublic String getVideoSize()
public void setVideoSource(String videoSource)
videoSource - the video sourcepublic String getVideoSource()
public void setVideoTemporaryUrl(String videoTemporaryUrl)
videoTemporaryUrl - the video temporary urlpublic String getVideoTemporaryUrl()
public void setVideoUrl(String videoUrl)
videoUrl - the video urlpublic String getVideoUrl()
public String getNotifyUrl()
AlipayRequestgetNotifyUrl in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>public void setNotifyUrl(String notifyUrl)
AlipayRequestsetNotifyUrl in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>notifyUrl - the notify urlpublic String getReturnUrl()
AlipayRequestgetReturnUrl in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>public void setReturnUrl(String returnUrl)
AlipayRequestsetReturnUrl in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>returnUrl - the return urlpublic String getApiVersion()
AlipayRequestgetApiVersion in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>public void setApiVersion(String apiVersion)
AlipayRequestsetApiVersion in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>apiVersion - API版本public void setTerminalType(String terminalType)
AlipayRequestsetTerminalType in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>terminalType - 终端类型public String getTerminalType()
AlipayRequestgetTerminalType in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>public void setTerminalInfo(String terminalInfo)
AlipayRequestsetTerminalInfo in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>terminalInfo - 终端信息public String getTerminalInfo()
AlipayRequestgetTerminalInfo in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>public String getProdCode()
AlipayRequestgetProdCode in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>public void setProdCode(String prodCode)
AlipayRequestsetProdCode in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>prodCode - 产品码public String getApiMethodName()
AlipayRequestgetApiMethodName in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>public Map<String,String> getTextParams()
AlipayRequestgetTextParams in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>public void putOtherTextParam(String key, String value)
key - the keyvalue - the valuepublic Map<String,FileItem> getFileParams()
AlipayUploadRequestgetFileParams in interface AlipayUploadRequest<AlipayOpenPublicLifeMsgSendResponse>public Class<AlipayOpenPublicLifeMsgSendResponse> getResponseClass()
AlipayRequestgetResponseClass in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>public boolean isNeedEncrypt()
AlipayRequestisNeedEncrypt in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>public void setNeedEncrypt(boolean needEncrypt)
AlipayRequestsetNeedEncrypt in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>needEncrypt - the need encryptpublic AlipayObject getBizModel()
AlipayRequestgetBizModel in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>public void setBizModel(AlipayObject bizModel)
AlipayRequestsetBizModel in interface AlipayRequest<AlipayOpenPublicLifeMsgSendResponse>bizModel - the biz modelCopyright © 2018. All rights reserved.