public class AlipayMobileCodeCreateRequest extends Object implements AlipayRequest<AlipayMobileCodeCreateResponse>
| Constructor and Description |
|---|
AlipayMobileCodeCreateRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiMethodName()
获取TOP的API名称。
|
String |
getApiVersion()
得到当前接口的版本
|
String |
getBizLinkedId()
Gets biz linked id.
|
AlipayObject |
getBizModel()
Gets biz model.
|
String |
getBizType()
Gets biz type.
|
String |
getContextStr()
Gets context str.
|
Boolean |
getIsDirect()
Gets is direct.
|
String |
getMemo()
Gets memo.
|
String |
getNotifyUrl()
返回通知地址
|
String |
getProdCode()
获取产品码
|
Class<AlipayMobileCodeCreateResponse> |
getResponseClass()
得到当前API的响应结果类型
|
String |
getReturnUrl()
返回回跳地址
|
String |
getSourceId()
Gets source id.
|
Date |
getStartDate()
Gets start date.
|
String |
getTerminalInfo()
获取终端信息
|
String |
getTerminalType()
获取终端类型
|
Map<String,String> |
getTextParams()
获取所有的Key-Value形式的文本请求参数集合。其中:
Key: 请求参数名
Value: 请求参数值
|
Long |
getTimeout()
Gets timeout.
|
String |
getUserId()
Gets user id.
|
boolean |
isNeedEncrypt()
判断是否需要加密
|
void |
putOtherTextParam(String key,
String value)
Put other text param.
|
void |
setApiVersion(String apiVersion)
设置当前API的版本信息
|
void |
setBizLinkedId(String bizLinkedId)
Sets biz linked id.
|
void |
setBizModel(AlipayObject bizModel)
设置业务实体,如需使用此方法,请勿直接设置biz_content
|
void |
setBizType(String bizType)
Sets biz type.
|
void |
setContextStr(String contextStr)
Sets context str.
|
void |
setIsDirect(Boolean isDirect)
Sets is direct.
|
void |
setMemo(String memo)
Sets memo.
|
void |
setNeedEncrypt(boolean needEncrypt)
设置请求是否需要加密
|
void |
setNotifyUrl(String notifyUrl)
设置通知地址
|
void |
setProdCode(String prodCode)
设置产品码
|
void |
setReturnUrl(String returnUrl)
设置回跳地址
|
void |
setSourceId(String sourceId)
Sets source id.
|
void |
setStartDate(Date startDate)
Sets start date.
|
void |
setTerminalInfo(String terminalInfo)
设置终端信息
|
void |
setTerminalType(String terminalType)
设置终端类型
|
void |
setTimeout(Long timeout)
Sets timeout.
|
void |
setUserId(String userId)
Sets user id.
|
public void setBizLinkedId(String bizLinkedId)
bizLinkedId - the biz linked idpublic String getBizLinkedId()
public void setBizType(String bizType)
bizType - the biz typepublic String getBizType()
public void setContextStr(String contextStr)
contextStr - the context strpublic String getContextStr()
public void setIsDirect(Boolean isDirect)
isDirect - the is directpublic Boolean getIsDirect()
public void setMemo(String memo)
memo - the memopublic String getMemo()
public void setSourceId(String sourceId)
sourceId - the source idpublic String getSourceId()
public void setStartDate(Date startDate)
startDate - the start datepublic Date getStartDate()
public void setTimeout(Long timeout)
timeout - the timeoutpublic Long getTimeout()
public void setUserId(String userId)
userId - the user idpublic String getUserId()
public String getNotifyUrl()
AlipayRequestgetNotifyUrl in interface AlipayRequest<AlipayMobileCodeCreateResponse>public void setNotifyUrl(String notifyUrl)
AlipayRequestsetNotifyUrl in interface AlipayRequest<AlipayMobileCodeCreateResponse>notifyUrl - the notify urlpublic String getReturnUrl()
AlipayRequestgetReturnUrl in interface AlipayRequest<AlipayMobileCodeCreateResponse>public void setReturnUrl(String returnUrl)
AlipayRequestsetReturnUrl in interface AlipayRequest<AlipayMobileCodeCreateResponse>returnUrl - the return urlpublic String getApiVersion()
AlipayRequestgetApiVersion in interface AlipayRequest<AlipayMobileCodeCreateResponse>public void setApiVersion(String apiVersion)
AlipayRequestsetApiVersion in interface AlipayRequest<AlipayMobileCodeCreateResponse>apiVersion - API版本public void setTerminalType(String terminalType)
AlipayRequestsetTerminalType in interface AlipayRequest<AlipayMobileCodeCreateResponse>terminalType - 终端类型public String getTerminalType()
AlipayRequestgetTerminalType in interface AlipayRequest<AlipayMobileCodeCreateResponse>public void setTerminalInfo(String terminalInfo)
AlipayRequestsetTerminalInfo in interface AlipayRequest<AlipayMobileCodeCreateResponse>terminalInfo - 终端信息public String getTerminalInfo()
AlipayRequestgetTerminalInfo in interface AlipayRequest<AlipayMobileCodeCreateResponse>public void setProdCode(String prodCode)
AlipayRequestsetProdCode in interface AlipayRequest<AlipayMobileCodeCreateResponse>prodCode - 产品码public String getProdCode()
AlipayRequestgetProdCode in interface AlipayRequest<AlipayMobileCodeCreateResponse>public String getApiMethodName()
AlipayRequestgetApiMethodName in interface AlipayRequest<AlipayMobileCodeCreateResponse>public Map<String,String> getTextParams()
AlipayRequestgetTextParams in interface AlipayRequest<AlipayMobileCodeCreateResponse>public void putOtherTextParam(String key, String value)
key - the keyvalue - the valuepublic Class<AlipayMobileCodeCreateResponse> getResponseClass()
AlipayRequestgetResponseClass in interface AlipayRequest<AlipayMobileCodeCreateResponse>public boolean isNeedEncrypt()
AlipayRequestisNeedEncrypt in interface AlipayRequest<AlipayMobileCodeCreateResponse>public void setNeedEncrypt(boolean needEncrypt)
AlipayRequestsetNeedEncrypt in interface AlipayRequest<AlipayMobileCodeCreateResponse>needEncrypt - the need encryptpublic AlipayObject getBizModel()
AlipayRequestgetBizModel in interface AlipayRequest<AlipayMobileCodeCreateResponse>public void setBizModel(AlipayObject bizModel)
AlipayRequestsetBizModel in interface AlipayRequest<AlipayMobileCodeCreateResponse>bizModel - the biz modelCopyright © 2018. All rights reserved.