public class AlipayAcquirePrecreateRequest extends Object implements AlipayRequest<AlipayAcquirePrecreateResponse>
Constructor and Description |
---|
AlipayAcquirePrecreateRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getApiMethodName()
获取TOP的API名称。
|
String |
getApiVersion()
得到当前接口的版本
|
AlipayObject |
getBizModel()
Gets biz model.
|
String |
getBody()
Gets body.
|
String |
getChannelParameters()
Gets channel parameters.
|
String |
getCurrency()
Gets currency.
|
String |
getExtendParams()
Gets extend params.
|
String |
getGoodsDetail()
Gets goods detail.
|
String |
getItBPay()
Gets it b pay.
|
String |
getNotifyUrl()
返回通知地址
|
String |
getOperatorCode()
Gets operator code.
|
String |
getOperatorId()
Gets operator id.
|
String |
getOutTradeNo()
Gets out trade no.
|
String |
getPrice()
Gets price.
|
String |
getProdCode()
获取产品码
|
String |
getQuantity()
Gets quantity.
|
Class<AlipayAcquirePrecreateResponse> |
getResponseClass()
得到当前API的响应结果类型
|
String |
getReturnUrl()
返回回跳地址
|
String |
getRoyaltyParameters()
Gets royalty parameters.
|
String |
getRoyaltyType()
Gets royalty type.
|
String |
getSellerEmail()
Gets seller email.
|
String |
getSellerId()
Gets seller id.
|
String |
getShowUrl()
Gets show url.
|
String |
getSubject()
Gets subject.
|
String |
getTerminalInfo()
获取终端信息
|
String |
getTerminalType()
获取终端类型
|
Map<String,String> |
getTextParams()
获取所有的Key-Value形式的文本请求参数集合。其中:
Key: 请求参数名
Value: 请求参数值
|
String |
getTotalFee()
Gets total fee.
|
boolean |
isNeedEncrypt()
判断是否需要加密
|
void |
putOtherTextParam(String key,
String value)
Put other text param.
|
void |
setApiVersion(String apiVersion)
设置当前API的版本信息
|
void |
setBizModel(AlipayObject bizModel)
设置业务实体,如需使用此方法,请勿直接设置biz_content
|
void |
setBody(String body)
Sets body.
|
void |
setChannelParameters(String channelParameters)
Sets channel parameters.
|
void |
setCurrency(String currency)
Sets currency.
|
void |
setExtendParams(String extendParams)
Sets extend params.
|
void |
setGoodsDetail(String goodsDetail)
Sets goods detail.
|
void |
setItBPay(String itBPay)
Sets it b pay.
|
void |
setNeedEncrypt(boolean needEncrypt)
设置请求是否需要加密
|
void |
setNotifyUrl(String notifyUrl)
设置通知地址
|
void |
setOperatorCode(String operatorCode)
Sets operator code.
|
void |
setOperatorId(String operatorId)
Sets operator id.
|
void |
setOutTradeNo(String outTradeNo)
Sets out trade no.
|
void |
setPrice(String price)
Sets price.
|
void |
setProdCode(String prodCode)
设置产品码
|
void |
setQuantity(String quantity)
Sets quantity.
|
void |
setReturnUrl(String returnUrl)
设置回跳地址
|
void |
setRoyaltyParameters(String royaltyParameters)
Sets royalty parameters.
|
void |
setRoyaltyType(String royaltyType)
Sets royalty type.
|
void |
setSellerEmail(String sellerEmail)
Sets seller email.
|
void |
setSellerId(String sellerId)
Sets seller id.
|
void |
setShowUrl(String showUrl)
Sets show url.
|
void |
setSubject(String subject)
Sets subject.
|
void |
setTerminalInfo(String terminalInfo)
设置终端信息
|
void |
setTerminalType(String terminalType)
设置终端类型
|
void |
setTotalFee(String totalFee)
Sets total fee.
|
public void setBody(String body)
body
- the bodypublic String getBody()
public void setChannelParameters(String channelParameters)
channelParameters
- the channel parameterspublic String getChannelParameters()
public void setCurrency(String currency)
currency
- the currencypublic String getCurrency()
public void setExtendParams(String extendParams)
extendParams
- the extend paramspublic String getExtendParams()
public void setGoodsDetail(String goodsDetail)
goodsDetail
- the goods detailpublic String getGoodsDetail()
public void setItBPay(String itBPay)
itBPay
- the it b paypublic String getItBPay()
public void setOperatorCode(String operatorCode)
operatorCode
- the operator codepublic String getOperatorCode()
public void setOperatorId(String operatorId)
operatorId
- the operator idpublic String getOperatorId()
public void setOutTradeNo(String outTradeNo)
outTradeNo
- the out trade nopublic String getOutTradeNo()
public void setPrice(String price)
price
- the pricepublic String getPrice()
public void setQuantity(String quantity)
quantity
- the quantitypublic String getQuantity()
public void setRoyaltyParameters(String royaltyParameters)
royaltyParameters
- the royalty parameterspublic String getRoyaltyParameters()
public void setRoyaltyType(String royaltyType)
royaltyType
- the royalty typepublic String getRoyaltyType()
public void setSellerEmail(String sellerEmail)
sellerEmail
- the seller emailpublic String getSellerEmail()
public void setSellerId(String sellerId)
sellerId
- the seller idpublic String getSellerId()
public void setShowUrl(String showUrl)
showUrl
- the show urlpublic String getShowUrl()
public void setSubject(String subject)
subject
- the subjectpublic String getSubject()
public void setTotalFee(String totalFee)
totalFee
- the total feepublic String getTotalFee()
public String getNotifyUrl()
AlipayRequest
getNotifyUrl
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
public void setNotifyUrl(String notifyUrl)
AlipayRequest
setNotifyUrl
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
notifyUrl
- the notify urlpublic String getReturnUrl()
AlipayRequest
getReturnUrl
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
public void setReturnUrl(String returnUrl)
AlipayRequest
setReturnUrl
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
returnUrl
- the return urlpublic String getApiVersion()
AlipayRequest
getApiVersion
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
public void setApiVersion(String apiVersion)
AlipayRequest
setApiVersion
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
apiVersion
- API版本public void setTerminalType(String terminalType)
AlipayRequest
setTerminalType
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
terminalType
- 终端类型public String getTerminalType()
AlipayRequest
getTerminalType
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
public void setTerminalInfo(String terminalInfo)
AlipayRequest
setTerminalInfo
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
terminalInfo
- 终端信息public String getTerminalInfo()
AlipayRequest
getTerminalInfo
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
public void setProdCode(String prodCode)
AlipayRequest
setProdCode
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
prodCode
- 产品码public String getProdCode()
AlipayRequest
getProdCode
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
public String getApiMethodName()
AlipayRequest
getApiMethodName
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
public Map<String,String> getTextParams()
AlipayRequest
getTextParams
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
public void putOtherTextParam(String key, String value)
key
- the keyvalue
- the valuepublic Class<AlipayAcquirePrecreateResponse> getResponseClass()
AlipayRequest
getResponseClass
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
public boolean isNeedEncrypt()
AlipayRequest
isNeedEncrypt
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
public void setNeedEncrypt(boolean needEncrypt)
AlipayRequest
setNeedEncrypt
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
needEncrypt
- the need encryptpublic AlipayObject getBizModel()
AlipayRequest
getBizModel
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
public void setBizModel(AlipayObject bizModel)
AlipayRequest
setBizModel
in interface AlipayRequest<AlipayAcquirePrecreateResponse>
bizModel
- the biz modelCopyright © 2018. All rights reserved.