| Modifier and Type | Field and Description |
|---|---|
protected boolean |
closeOnFinish
Optional parameter for clients to close the transport when done.
|
protected org.apache.logging.log4j.Logger |
logger
Logger.
|
protected Map<String,String> |
params
Map containing data that will be sent to RIS.
|
| Constructor and Description |
|---|
Request()
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getParams()
Fetch the map of data parameters to send to RIS.
|
protected boolean |
isSetKhashPaymentEncoding()
Check if KHASH payment encoding has been set.
|
Request |
setAuthorizationStatus(AuthorizationStatus authorizationStatus)
Set the Authorization Status.
|
Request |
setAvsAddressReply(BankcardReply avsAddressReply)
Set the Bankcard AVS street addres reply.
|
Request |
setAvsZipReply(BankcardReply avsZipReply)
Set the Bankcard AVS zip code reply.
|
Request |
setCloseOnFinish(boolean cof)
Set a flag for the request transport.
|
Request |
setCvvReply(BankcardReply cvvReply)
Set the Bankcard CVV/CVC/CVV2 reply.
|
Request |
setKcCustomerId(String id)
Set the Kount Central Customer ID.
|
Request |
setKhashPaymentEncoding()
Deprecated.
Version 5.0.0. Use method
com.kount.ris.Request.setKhashPaymentEncoding(boolean) :
Request
|
Request |
setKhashPaymentEncoding(boolean enabled)
Set KHASH payment encoding.
|
Request |
setMerchantAcknowledgment(MerchantAcknowledgment merchantAcknowledgment)
Set the merchant acknowledgment.
|
Request |
setMerchantId(int merchantId)
Set the merchant ID assigned by Kount.
|
Request |
setOrderNumber(String orderNumber)
Set the order number.
|
Request |
setParm(String key,
String value)
Set a parm for the request.
|
Request |
setPayment(Payment p)
Set a payment.
|
Request |
setPayment(String ptyp,
String ptok)
Set a payment by payment type and payment token.
|
Request |
setPaymentMasked(Payment p)
Sets a card payment and masks the card number in the following way:
|
Request |
setSessionId(String sessionId)
Set the session id.
|
Request |
setVersion(String version)
Set the version number.
|
String |
toString()
To String.
|
protected org.apache.logging.log4j.Logger logger
protected boolean closeOnFinish
public Request()
RisExceptionpublic Request setParm(String key, String value)
key - The key for the parmvalue - The value for the parmpublic Request setVersion(String version)
version - The SDK versionpublic Request setSessionId(String sessionId)
sessionId - Id of the current sessionpublic Request setMerchantId(int merchantId)
merchantId - Merchant IDpublic Request setKcCustomerId(String id)
id - KC Customer IDpublic Request setOrderNumber(String orderNumber)
orderNumber - Merchant unique order numberpublic Request setMerchantAcknowledgment(MerchantAcknowledgment merchantAcknowledgment)
merchantAcknowledgment - Merchant acknowledgmentpublic Request setAuthorizationStatus(AuthorizationStatus authorizationStatus)
authorizationStatus - Auth status by issuerpublic Request setAvsZipReply(BankcardReply avsZipReply)
avsZipReply - Bankcard AVS zip code replypublic Request setAvsAddressReply(BankcardReply avsAddressReply)
avsAddressReply - Bankcard AVS street addres replypublic Request setCvvReply(BankcardReply cvvReply)
cvvReply - Bankcard CVV/CVC/CVV2 replypublic Request setPayment(Payment p)
p - Paymentpublic Request setPaymentMasked(Payment p)
p - Payment -- card paymentpublic Request setPayment(String ptyp, String ptok)
ptyp - See SDK documentation for a list of accepted payment typesptok - The payment tokenpublic Map<String,String> getParams()
public Request setKhashPaymentEncoding()
public Request setKhashPaymentEncoding(boolean enabled)
enabled - TRUE when enabled.protected boolean isSetKhashPaymentEncoding()
public Request setCloseOnFinish(boolean cof)
cof - Sets the closeOnFinish flagCopyright © 2022. All rights reserved.