public class PaymentSessionRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaymentSessionRequest.ChannelEnum
The platform where a payment transaction takes place.
|
static class |
PaymentSessionRequest.EntityTypeEnum
The type of the entity the payment is processed for.
|
static class |
PaymentSessionRequest.ShopperInteractionEnum
Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer.
|
| Constructor and Description |
|---|
PaymentSessionRequest() |
| Modifier and Type | Method and Description |
|---|---|
PaymentSessionRequest |
additionalData(Map<String,String> additionalData) |
PaymentSessionRequest |
addLineItemsItem(LineItem lineItemsItem) |
PaymentSessionRequest |
amount(Amount amount) |
PaymentSessionRequest |
billingAddress(Address billingAddress) |
PaymentSessionRequest |
captureDelayHours(Integer captureDelayHours) |
PaymentSessionRequest |
channel(PaymentSessionRequest.ChannelEnum channel) |
PaymentSessionRequest |
company(Company company) |
PaymentSessionRequest |
configuration(ModelConfiguration configuration) |
PaymentSessionRequest |
countryCode(String countryCode) |
PaymentSessionRequest |
dateOfBirth(Date dateOfBirth) |
PaymentSessionRequest |
dccQuote(ForexQuote dccQuote) |
PaymentSessionRequest |
deliveryAddress(Address deliveryAddress) |
PaymentSessionRequest |
deliveryDate(Date deliveryDate) |
PaymentSessionRequest |
enableOneClick(Boolean enableOneClick) |
PaymentSessionRequest |
enablePayOut(Boolean enablePayOut) |
PaymentSessionRequest |
enableRecurring(Boolean enableRecurring) |
PaymentSessionRequest |
entityType(PaymentSessionRequest.EntityTypeEnum entityType) |
boolean |
equals(Object o) |
PaymentSessionRequest |
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
|
Integer |
getCaptureDelayHours()
The delay between the authorisation and scheduled auto-capture, specified in hours.
|
PaymentSessionRequest.ChannelEnum |
getChannel()
The platform where a payment transaction takes place.
|
Company |
getCompany()
Get company
|
ModelConfiguration |
getConfiguration()
Get configuration
|
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.
|
PaymentSessionRequest.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.
|
String |
getOrigin()
Required for the Web integration.
|
String |
getReference()
The reference to uniquely identify a payment.
|
String |
getReturnUrl()
The URL to return to.
|
String |
getSdkVersion()
The version of the Web SDK you are using (for web integrations only).
|
String |
getSessionValidity()
The maximum validity of the session.
|
String |
getShopperEmail()
The shopper's email address.
|
PaymentSessionRequest.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.
|
String |
getToken()
The token obtained when initializing the SDK.
|
int |
hashCode() |
PaymentSessionRequest |
html(Boolean html) |
PaymentSessionRequest |
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.
|
Boolean |
isHtml()
Required for the Web integration.
|
PaymentSessionRequest |
lineItems(List<LineItem> lineItems) |
PaymentSessionRequest |
mcc(String mcc) |
PaymentSessionRequest |
merchantAccount(String merchantAccount) |
PaymentSessionRequest |
merchantOrderReference(String merchantOrderReference) |
PaymentSessionRequest |
metadata(Map<String,String> metadata) |
PaymentSessionRequest |
orderReference(String orderReference) |
PaymentSessionRequest |
origin(String origin) |
PaymentSessionRequest |
putAdditionalDataItem(String key,
String additionalDataItem) |
PaymentSessionRequest |
putMetadataItem(String key,
String metadataItem) |
PaymentSessionRequest |
reference(String reference) |
PaymentSessionRequest |
returnUrl(String returnUrl) |
PaymentSessionRequest |
sdkVersion(String sdkVersion) |
PaymentSessionRequest |
sessionValidity(String sessionValidity) |
void |
setAdditionalData(Map<String,String> additionalData) |
void |
setAmount(Amount amount) |
void |
setBillingAddress(Address billingAddress) |
void |
setCaptureDelayHours(Integer captureDelayHours) |
void |
setChannel(PaymentSessionRequest.ChannelEnum channel) |
void |
setCompany(Company company) |
void |
setConfiguration(ModelConfiguration configuration) |
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(PaymentSessionRequest.EntityTypeEnum entityType) |
void |
setFraudOffset(Integer fraudOffset) |
void |
setHtml(Boolean html) |
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 |
setOrigin(String origin) |
void |
setReference(String reference) |
void |
setReturnUrl(String returnUrl) |
void |
setSdkVersion(String sdkVersion) |
void |
setSessionValidity(String sessionValidity) |
void |
setShopperEmail(String shopperEmail) |
void |
setShopperInteraction(PaymentSessionRequest.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) |
void |
setToken(String token) |
PaymentSessionRequest |
shopperEmail(String shopperEmail) |
PaymentSessionRequest |
shopperInteraction(PaymentSessionRequest.ShopperInteractionEnum shopperInteraction) |
PaymentSessionRequest |
shopperIP(String shopperIP) |
PaymentSessionRequest |
shopperLocale(String shopperLocale) |
PaymentSessionRequest |
shopperName(Name shopperName) |
PaymentSessionRequest |
shopperReference(String shopperReference) |
PaymentSessionRequest |
shopperStatement(String shopperStatement) |
PaymentSessionRequest |
socialSecurityNumber(String socialSecurityNumber) |
PaymentSessionRequest |
telephoneNumber(String telephoneNumber) |
PaymentSessionRequest |
token(String token) |
String |
toString() |
public PaymentSessionRequest additionalData(Map<String,String> additionalData)
public PaymentSessionRequest putAdditionalDataItem(String key, String additionalDataItem)
public Map<String,String> getAdditionalData()
public PaymentSessionRequest amount(Amount amount)
public Amount getAmount()
public void setAmount(Amount amount)
public PaymentSessionRequest billingAddress(Address billingAddress)
public Address getBillingAddress()
public void setBillingAddress(Address billingAddress)
public PaymentSessionRequest captureDelayHours(Integer captureDelayHours)
public Integer getCaptureDelayHours()
public void setCaptureDelayHours(Integer captureDelayHours)
public PaymentSessionRequest channel(PaymentSessionRequest.ChannelEnum channel)
public PaymentSessionRequest.ChannelEnum getChannel()
public void setChannel(PaymentSessionRequest.ChannelEnum channel)
public PaymentSessionRequest company(Company company)
public Company getCompany()
public void setCompany(Company company)
public PaymentSessionRequest configuration(ModelConfiguration configuration)
public ModelConfiguration getConfiguration()
public void setConfiguration(ModelConfiguration configuration)
public PaymentSessionRequest countryCode(String countryCode)
public String getCountryCode()
public void setCountryCode(String countryCode)
public PaymentSessionRequest dateOfBirth(Date dateOfBirth)
public Date getDateOfBirth()
public void setDateOfBirth(Date dateOfBirth)
public PaymentSessionRequest dccQuote(ForexQuote dccQuote)
public ForexQuote getDccQuote()
public void setDccQuote(ForexQuote dccQuote)
public PaymentSessionRequest deliveryAddress(Address deliveryAddress)
public Address getDeliveryAddress()
public void setDeliveryAddress(Address deliveryAddress)
public PaymentSessionRequest deliveryDate(Date deliveryDate)
public Date getDeliveryDate()
public void setDeliveryDate(Date deliveryDate)
public PaymentSessionRequest enableOneClick(Boolean enableOneClick)
public Boolean isEnableOneClick()
public void setEnableOneClick(Boolean enableOneClick)
public PaymentSessionRequest enablePayOut(Boolean enablePayOut)
public Boolean isEnablePayOut()
public void setEnablePayOut(Boolean enablePayOut)
public PaymentSessionRequest enableRecurring(Boolean enableRecurring)
public Boolean isEnableRecurring()
public void setEnableRecurring(Boolean enableRecurring)
public PaymentSessionRequest entityType(PaymentSessionRequest.EntityTypeEnum entityType)
public PaymentSessionRequest.EntityTypeEnum getEntityType()
public void setEntityType(PaymentSessionRequest.EntityTypeEnum entityType)
public PaymentSessionRequest fraudOffset(Integer fraudOffset)
public Integer getFraudOffset()
public void setFraudOffset(Integer fraudOffset)
public PaymentSessionRequest html(Boolean html)
public Boolean isHtml()
public void setHtml(Boolean html)
public PaymentSessionRequest installments(Installments installments)
public Installments getInstallments()
public void setInstallments(Installments installments)
public PaymentSessionRequest lineItems(List<LineItem> lineItems)
public PaymentSessionRequest addLineItemsItem(LineItem lineItemsItem)
public List<LineItem> getLineItems()
public PaymentSessionRequest mcc(String mcc)
public String getMcc()
public void setMcc(String mcc)
public PaymentSessionRequest merchantAccount(String merchantAccount)
public String getMerchantAccount()
public void setMerchantAccount(String merchantAccount)
public PaymentSessionRequest merchantOrderReference(String merchantOrderReference)
public String getMerchantOrderReference()
public void setMerchantOrderReference(String merchantOrderReference)
public PaymentSessionRequest metadata(Map<String,String> metadata)
public PaymentSessionRequest putMetadataItem(String key, String metadataItem)
public Map<String,String> getMetadata()
public PaymentSessionRequest orderReference(String orderReference)
public String getOrderReference()
public void setOrderReference(String orderReference)
public PaymentSessionRequest origin(String origin)
public String getOrigin()
public void setOrigin(String origin)
public PaymentSessionRequest reference(String reference)
public String getReference()
public void setReference(String reference)
public PaymentSessionRequest returnUrl(String returnUrl)
public String getReturnUrl()
public void setReturnUrl(String returnUrl)
public PaymentSessionRequest sdkVersion(String sdkVersion)
public String getSdkVersion()
public void setSdkVersion(String sdkVersion)
public PaymentSessionRequest sessionValidity(String sessionValidity)
public String getSessionValidity()
public void setSessionValidity(String sessionValidity)
public PaymentSessionRequest shopperEmail(String shopperEmail)
public String getShopperEmail()
public void setShopperEmail(String shopperEmail)
public PaymentSessionRequest shopperIP(String shopperIP)
public String getShopperIP()
public void setShopperIP(String shopperIP)
public PaymentSessionRequest shopperInteraction(PaymentSessionRequest.ShopperInteractionEnum shopperInteraction)
public PaymentSessionRequest.ShopperInteractionEnum getShopperInteraction()
public void setShopperInteraction(PaymentSessionRequest.ShopperInteractionEnum shopperInteraction)
public PaymentSessionRequest shopperLocale(String shopperLocale)
public String getShopperLocale()
public void setShopperLocale(String shopperLocale)
public PaymentSessionRequest shopperName(Name shopperName)
public Name getShopperName()
public void setShopperName(Name shopperName)
public PaymentSessionRequest shopperReference(String shopperReference)
public String getShopperReference()
public void setShopperReference(String shopperReference)
public PaymentSessionRequest shopperStatement(String shopperStatement)
public String getShopperStatement()
public void setShopperStatement(String shopperStatement)
public PaymentSessionRequest socialSecurityNumber(String socialSecurityNumber)
public String getSocialSecurityNumber()
public void setSocialSecurityNumber(String socialSecurityNumber)
public PaymentSessionRequest telephoneNumber(String telephoneNumber)
public String getTelephoneNumber()
public void setTelephoneNumber(String telephoneNumber)
public PaymentSessionRequest token(String token)
public String getToken()
public void setToken(String token)
Copyright © 2018. All rights reserved.