public class PaymentsRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaymentsRequest.ChannelEnum
The platform where a payment transaction takes place.
|
static class |
PaymentsRequest.EntityTypeEnum
The type of the entity the payment is processed for.
|
static class |
PaymentsRequest.ShopperInteractionEnum
Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer.
|
| Constructor and Description |
|---|
PaymentsRequest() |
| Modifier and Type | Method and Description |
|---|---|
PaymentsRequest |
addBrowserInfoData(String userAgent,
String acceptHeader) |
PaymentsRequest |
addEncryptedCardData(String encryptedCardNumber,
String encryptedExpiryMonth,
String encryptedExpiryYear,
String encryptedSecurityCode,
String holderName) |
PaymentsRequest |
additionalData(Map<String,String> additionalData) |
PaymentsRequest |
addLineItemsItem(LineItem lineItemsItem) |
PaymentsRequest |
addOneClickData(String recurringDetailReference,
String encryptedSecurityCode) |
PaymentsRequest |
amount(Amount amount) |
PaymentsRequest |
billingAddress(Address billingAddress) |
PaymentsRequest |
browserInfo(BrowserInfo browserInfo) |
PaymentsRequest |
captureDelayHours(Integer captureDelayHours) |
PaymentsRequest |
channel(PaymentsRequest.ChannelEnum channel) |
PaymentsRequest |
company(Company company) |
PaymentsRequest |
countryCode(String countryCode) |
PaymentsRequest |
dateOfBirth(Date dateOfBirth) |
PaymentsRequest |
dccQuote(ForexQuote dccQuote) |
PaymentsRequest |
deliveryAddress(Address deliveryAddress) |
PaymentsRequest |
deliveryDate(Date deliveryDate) |
PaymentsRequest |
enableOneClick(Boolean enableOneClick) |
PaymentsRequest |
enablePayOut(Boolean enablePayOut) |
PaymentsRequest |
enableRecurring(Boolean enableRecurring) |
PaymentsRequest |
entityType(PaymentsRequest.EntityTypeEnum entityType) |
boolean |
equals(Object o) |
PaymentsRequest |
fraudOffset(Integer fraudOffset) |
Map<String,String> |
getAdditionalData()
This field contains additional data, which may be required for a particular payment request.
|
Amount |
getAmount()
Get amount
|
Address |
getBillingAddress()
Get billingAddress
|
BrowserInfo |
getBrowserInfo() |
Integer |
getCaptureDelayHours()
The delay between the authorisation and scheduled auto-capture, specified in hours.
|
PaymentsRequest.ChannelEnum |
getChannel()
The platform where a payment transaction takes place.
|
Company |
getCompany()
Get company
|
String |
getCountryCode()
The shopper country.
|
Date |
getDateOfBirth()
The shopper's date of birth.
|
ForexQuote |
getDccQuote()
Get dccQuote
|
Address |
getDeliveryAddress()
Get deliveryAddress
|
Date |
getDeliveryDate()
The date and time the purchased goods should be delivered.
|
PaymentsRequest.EntityTypeEnum |
getEntityType()
The type of the entity the payment is processed for.
|
Integer |
getFraudOffset()
An integer value that is added to the normal fraud score.
|
Installments |
getInstallments()
Get installments
|
List<LineItem> |
getLineItems()
Line items regarding the payment.
|
String |
getMcc()
The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment.
|
String |
getMerchantAccount()
The merchant account identifier, with which you want to process the transaction.
|
String |
getMerchantOrderReference()
This reference allows linking multiple transactions to each other.
|
Map<String,String> |
getMetadata()
Metadata consists of entries, each of which includes a key and a value.
|
String |
getOrderReference()
The order reference to link multiple partial payments.
|
Map<String,String> |
getPaymentMethod()
The collection that contains the type of the payment method and its specific information (e.g.
|
String |
getReference()
The reference to uniquely identify a payment.
|
String |
getReturnUrl()
The URL to return to.
|
String |
getSessionValidity()
The maximum validity of the session.
|
String |
getShopperEmail()
The shopper's email address.
|
PaymentsRequest.ShopperInteractionEnum |
getShopperInteraction()
Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer.
|
String |
getShopperIP()
The shopper's IP address.
|
String |
getShopperLocale()
The combination of a language code and a country code to specify the language to be used in the payment.
|
Name |
getShopperName()
Get shopperName
|
String |
getShopperReference()
The shopper's reference to uniquely identify this shopper (e.g.
|
String |
getShopperStatement()
The text to appear on the shopper's bank statement.
|
String |
getSocialSecurityNumber()
The shopper's social security number.
|
String |
getTelephoneNumber()
The shopper's telephone number.
|
int |
hashCode() |
PaymentsRequest |
installments(Installments installments) |
Boolean |
isEnableOneClick()
When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments.
|
Boolean |
isEnablePayOut()
When true and `shopperReference` is provided, the payment details will be tokenized for payouts.
|
Boolean |
isEnableRecurring()
When true and `shopperReference` is provided, the payment details will be tokenized for recurring payments.
|
PaymentsRequest |
lineItems(List<LineItem> lineItems) |
PaymentsRequest |
mcc(String mcc) |
PaymentsRequest |
merchantAccount(String merchantAccount) |
PaymentsRequest |
merchantOrderReference(String merchantOrderReference) |
PaymentsRequest |
metadata(Map<String,String> metadata) |
PaymentsRequest |
orderReference(String orderReference) |
PaymentsRequest |
paymentMethod(Map<String,String> paymentMethod) |
PaymentsRequest |
putAdditionalDataItem(String key,
String additionalDataItem) |
PaymentsRequest |
putMetadataItem(String key,
String metadataItem) |
PaymentsRequest |
putPaymentMethodItem(String key,
String paymentMethodItem) |
PaymentsRequest |
reference(String reference) |
PaymentsRequest |
returnUrl(String returnUrl) |
PaymentsRequest |
sessionValidity(String sessionValidity) |
void |
setAdditionalData(Map<String,String> additionalData) |
void |
setAmount(Amount amount) |
PaymentsRequest |
setAmountData(String amount,
String currency) |
void |
setBillingAddress(Address billingAddress) |
void |
setBrowserInfo(BrowserInfo browserInfo) |
void |
setCaptureDelayHours(Integer captureDelayHours) |
void |
setChannel(PaymentsRequest.ChannelEnum channel) |
void |
setCompany(Company company) |
void |
setCountryCode(String countryCode) |
void |
setDateOfBirth(Date dateOfBirth) |
void |
setDccQuote(ForexQuote dccQuote) |
void |
setDeliveryAddress(Address deliveryAddress) |
void |
setDeliveryDate(Date deliveryDate) |
void |
setEnableOneClick(Boolean enableOneClick) |
void |
setEnablePayOut(Boolean enablePayOut) |
void |
setEnableRecurring(Boolean enableRecurring) |
void |
setEntityType(PaymentsRequest.EntityTypeEnum entityType) |
void |
setFraudOffset(Integer fraudOffset) |
void |
setInstallments(Installments installments) |
void |
setLineItems(List<LineItem> lineItems) |
void |
setMcc(String mcc) |
void |
setMerchantAccount(String merchantAccount) |
void |
setMerchantOrderReference(String merchantOrderReference) |
void |
setMetadata(Map<String,String> metadata) |
void |
setOrderReference(String orderReference) |
void |
setPaymentMethod(Map<String,String> paymentMethod) |
void |
setReference(String reference) |
void |
setReturnUrl(String returnUrl) |
void |
setSessionValidity(String sessionValidity) |
void |
setShopperEmail(String shopperEmail) |
void |
setShopperInteraction(PaymentsRequest.ShopperInteractionEnum shopperInteraction) |
void |
setShopperIP(String shopperIP) |
void |
setShopperLocale(String shopperLocale) |
void |
setShopperName(Name shopperName) |
void |
setShopperReference(String shopperReference) |
void |
setShopperStatement(String shopperStatement) |
void |
setSocialSecurityNumber(String socialSecurityNumber) |
void |
setTelephoneNumber(String telephoneNumber) |
PaymentsRequest |
shopperEmail(String shopperEmail) |
PaymentsRequest |
shopperInteraction(PaymentsRequest.ShopperInteractionEnum shopperInteraction) |
PaymentsRequest |
shopperIP(String shopperIP) |
PaymentsRequest |
shopperLocale(String shopperLocale) |
PaymentsRequest |
shopperName(Name shopperName) |
PaymentsRequest |
shopperReference(String shopperReference) |
PaymentsRequest |
shopperStatement(String shopperStatement) |
PaymentsRequest |
socialSecurityNumber(String socialSecurityNumber) |
PaymentsRequest |
telephoneNumber(String telephoneNumber) |
String |
toString() |
public PaymentsRequest additionalData(Map<String,String> additionalData)
public PaymentsRequest putAdditionalDataItem(String key, String additionalDataItem)
public Map<String,String> getAdditionalData()
public PaymentsRequest amount(Amount amount)
public Amount getAmount()
public void setAmount(Amount amount)
public PaymentsRequest setAmountData(String amount, String currency)
public PaymentsRequest billingAddress(Address billingAddress)
public Address getBillingAddress()
public void setBillingAddress(Address billingAddress)
public PaymentsRequest captureDelayHours(Integer captureDelayHours)
public Integer getCaptureDelayHours()
public void setCaptureDelayHours(Integer captureDelayHours)
public PaymentsRequest channel(PaymentsRequest.ChannelEnum channel)
public PaymentsRequest.ChannelEnum getChannel()
public void setChannel(PaymentsRequest.ChannelEnum channel)
public PaymentsRequest company(Company company)
public Company getCompany()
public void setCompany(Company company)
public PaymentsRequest countryCode(String countryCode)
public String getCountryCode()
public void setCountryCode(String countryCode)
public PaymentsRequest dateOfBirth(Date dateOfBirth)
public Date getDateOfBirth()
public void setDateOfBirth(Date dateOfBirth)
public PaymentsRequest dccQuote(ForexQuote dccQuote)
public ForexQuote getDccQuote()
public void setDccQuote(ForexQuote dccQuote)
public PaymentsRequest deliveryAddress(Address deliveryAddress)
public Address getDeliveryAddress()
public void setDeliveryAddress(Address deliveryAddress)
public PaymentsRequest deliveryDate(Date deliveryDate)
public Date getDeliveryDate()
public void setDeliveryDate(Date deliveryDate)
public PaymentsRequest enableOneClick(Boolean enableOneClick)
public Boolean isEnableOneClick()
public void setEnableOneClick(Boolean enableOneClick)
public PaymentsRequest enablePayOut(Boolean enablePayOut)
public Boolean isEnablePayOut()
public void setEnablePayOut(Boolean enablePayOut)
public PaymentsRequest enableRecurring(Boolean enableRecurring)
public Boolean isEnableRecurring()
public void setEnableRecurring(Boolean enableRecurring)
public PaymentsRequest entityType(PaymentsRequest.EntityTypeEnum entityType)
public PaymentsRequest.EntityTypeEnum getEntityType()
public void setEntityType(PaymentsRequest.EntityTypeEnum entityType)
public PaymentsRequest fraudOffset(Integer fraudOffset)
public Integer getFraudOffset()
public void setFraudOffset(Integer fraudOffset)
public PaymentsRequest installments(Installments installments)
public Installments getInstallments()
public void setInstallments(Installments installments)
public PaymentsRequest lineItems(List<LineItem> lineItems)
public PaymentsRequest addLineItemsItem(LineItem lineItemsItem)
public List<LineItem> getLineItems()
public PaymentsRequest mcc(String mcc)
public String getMcc()
public void setMcc(String mcc)
public PaymentsRequest merchantAccount(String merchantAccount)
public String getMerchantAccount()
public void setMerchantAccount(String merchantAccount)
public PaymentsRequest merchantOrderReference(String merchantOrderReference)
public String getMerchantOrderReference()
public void setMerchantOrderReference(String merchantOrderReference)
public PaymentsRequest metadata(Map<String,String> metadata)
public PaymentsRequest putMetadataItem(String key, String metadataItem)
public Map<String,String> getMetadata()
public PaymentsRequest orderReference(String orderReference)
public String getOrderReference()
public void setOrderReference(String orderReference)
public PaymentsRequest paymentMethod(Map<String,String> paymentMethod)
public PaymentsRequest putPaymentMethodItem(String key, String paymentMethodItem)
public Map<String,String> getPaymentMethod()
public PaymentsRequest addEncryptedCardData(String encryptedCardNumber, String encryptedExpiryMonth, String encryptedExpiryYear, String encryptedSecurityCode, String holderName)
public PaymentsRequest addOneClickData(String recurringDetailReference, String encryptedSecurityCode)
public PaymentsRequest reference(String reference)
public String getReference()
public void setReference(String reference)
public PaymentsRequest returnUrl(String returnUrl)
public String getReturnUrl()
public void setReturnUrl(String returnUrl)
public PaymentsRequest sessionValidity(String sessionValidity)
public String getSessionValidity()
public void setSessionValidity(String sessionValidity)
public PaymentsRequest shopperEmail(String shopperEmail)
public String getShopperEmail()
public void setShopperEmail(String shopperEmail)
public PaymentsRequest shopperIP(String shopperIP)
public String getShopperIP()
public void setShopperIP(String shopperIP)
public PaymentsRequest shopperInteraction(PaymentsRequest.ShopperInteractionEnum shopperInteraction)
public PaymentsRequest.ShopperInteractionEnum getShopperInteraction()
public void setShopperInteraction(PaymentsRequest.ShopperInteractionEnum shopperInteraction)
public PaymentsRequest shopperLocale(String shopperLocale)
public String getShopperLocale()
public void setShopperLocale(String shopperLocale)
public PaymentsRequest shopperName(Name shopperName)
public Name getShopperName()
public void setShopperName(Name shopperName)
public PaymentsRequest shopperReference(String shopperReference)
public String getShopperReference()
public void setShopperReference(String shopperReference)
public PaymentsRequest shopperStatement(String shopperStatement)
public String getShopperStatement()
public void setShopperStatement(String shopperStatement)
public PaymentsRequest socialSecurityNumber(String socialSecurityNumber)
public String getSocialSecurityNumber()
public void setSocialSecurityNumber(String socialSecurityNumber)
public PaymentsRequest telephoneNumber(String telephoneNumber)
public String getTelephoneNumber()
public void setTelephoneNumber(String telephoneNumber)
public BrowserInfo getBrowserInfo()
public void setBrowserInfo(BrowserInfo browserInfo)
public PaymentsRequest browserInfo(BrowserInfo browserInfo)
public PaymentsRequest addBrowserInfoData(String userAgent, String acceptHeader)
Copyright © 2018. All rights reserved.