public abstract class AbstractPaymentRequest<T extends AbstractPaymentRequest<T>> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractPaymentRequest.FundingSourceEnum
How to process a combo card (for some Brazilian cards only).
|
static class |
AbstractPaymentRequest.ShopperInteractionEnum
how the shopper interacts with the system
|
| Constructor and Description |
|---|
AbstractPaymentRequest() |
| Modifier and Type | Method and Description |
|---|---|
T |
additionalAmount(Amount additionalAmount) |
T |
additionalData(Map<String,String> additionalData) |
T |
billingAddress(Address billingAddress) |
T |
browserInfo(BrowserInfo browserInfo) |
T |
captureDelayHours(Integer captureDelayHours) |
T |
dateOfBirth(Date dateOfBirth) |
T |
dccQuote(ForexQuote dccQuote) |
T |
deliveryAddress(Address deliveryAddress) |
T |
deliveryDate(Date deliveryDate) |
T |
deviceFingerprint(String deviceFingerprint) |
T |
enableRealTimeUpdate(Boolean enableRealTimeUpdate) |
boolean |
equals(Object o) |
T |
fraudOffset(Integer fraudOffset) |
T |
fundingSource(AbstractPaymentRequest.FundingSourceEnum fundingSource) |
Amount |
getAdditionalAmount()
the portion of the \"amount\" which is additional/surcharged.
|
Map<String,String> |
getAdditionalData()
a map of name/value pairs for passing in additional/industry-specific data
|
Amount |
getAmount()
the amount to charge
|
ApplicationInfo |
getApplicationInfo() |
Address |
getBillingAddress()
the address where to send the invoice
|
BrowserInfo |
getBrowserInfo()
the browser info data
|
Integer |
getCaptureDelayHours()
the number of hours delay between the authorisation and scheduled auto-capture
|
Date |
getDateOfBirth()
the shopper's date of birth
|
ForexQuote |
getDccQuote()
the forex quote as returned in the response of the forex service
|
Address |
getDeliveryAddress()
the address where to deliver
|
Date |
getDeliveryDate()
the expected date of delivery or fulfillment
|
String |
getDeviceFingerprint()
Get deviceFingerprint
|
Integer |
getFraudOffset()
the offset that is added to the normal fraud score (positive or negative)
|
AbstractPaymentRequest.FundingSourceEnum |
getFundingSource()
How to process a combo card (for some Brazilian cards only).
|
Installments |
getInstallments()
the installment properties of the payment
|
String |
getMcc()
the mcc value that is required to process this payment
|
String |
getMerchantAccount()
the merchant account which will be used to process the payment
|
String |
getMerchantOrderReference()
the reference to link multiple transactions to each other
|
Map<String,String> |
getMetadata()
a map of key/value pairs of metadata sent by merchant
|
Map<String,String> |
getOrCreateAdditionalData()
get additionalData map Create the map if doesn't exists
|
String |
getOrderReference()
the order reference to link multiple partial payments
|
Recurring |
getRecurring()
the recurring properties of the payment
|
String |
getReference()
the reference assigned to the payment
|
String |
getSelectedBrand()
the selected brand how to process the payment for dual branded cards
|
String |
getSelectedRecurringDetailReference()
the recurringDetailReference you want to use for this payment
|
String |
getSessionId()
Get sessionId
|
String |
getShopperEmail()
the email address of the shopper / customer
|
AbstractPaymentRequest.ShopperInteractionEnum |
getShopperInteraction()
how the shopper interacts with the system
|
String |
getShopperIP()
the IP address of the shopper
|
String |
getShopperLocale()
the combination of language code and country code to specify the language to be used in the payment
|
Name |
getShopperName()
the name of the shopper
|
String |
getShopperReference()
a reference used to uniquely identify the shopper (e.g.
|
String |
getShopperStatement()
the text to appear on the shopper's statement
|
String |
getSocialSecurityNumber()
the shopper's social security number
|
String |
getTelephoneNumber()
the shopper's telephone number
|
int |
hashCode() |
T |
installments(Installments installments) |
Boolean |
isEnableRealTimeUpdate()
Choose if a specific transaction should use the Real-time Account Updater, regardless of other settings.
|
Boolean |
isThreeDSAuthenticationOnly()
If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/checkout/3d-secure/native-3ds2/authentication-only), and not the payment authorisation.
|
T |
mcc(String mcc) |
T |
merchantAccount(String merchantAccount) |
T |
merchantOrderReference(String merchantOrderReference) |
T |
metadata(Map<String,String> metadata) |
T |
orderReference(String orderReference) |
T |
recurring(Recurring recurring) |
T |
reference(String reference) |
T |
selectedBrand(String selectedBrand) |
T |
selectedRecurringDetailReference(String selectedRecurringDetailReference) |
T |
sessionId(String sessionId) |
void |
setAdditionalAmount(Amount additionalAmount) |
void |
setAdditionalData(Map<String,String> additionalData) |
void |
setAmount(Amount amount) |
void |
setBillingAddress(Address billingAddress) |
void |
setBrowserInfo(BrowserInfo browserInfo) |
T |
setBrowserInfoData(String userAgent,
String acceptHeader)
Set browser data
|
void |
setCaptureDelayHours(Integer captureDelayHours) |
void |
setDateOfBirth(Date dateOfBirth) |
void |
setDccQuote(ForexQuote dccQuote) |
void |
setDeliveryAddress(Address deliveryAddress) |
void |
setDeliveryDate(Date deliveryDate) |
void |
setDeviceFingerprint(String deviceFingerprint) |
void |
setEnableRealTimeUpdate(Boolean enableRealTimeUpdate) |
void |
setFraudOffset(Integer fraudOffset) |
void |
setFundingSource(AbstractPaymentRequest.FundingSourceEnum fundingSource) |
void |
setInstallments(Installments installments) |
void |
setMcc(String mcc) |
void |
setMerchantAccount(String merchantAccount) |
void |
setMerchantOrderReference(String merchantOrderReference) |
void |
setMetadata(Map<String,String> metadata) |
void |
setOrderReference(String orderReference) |
void |
setRecurring(Recurring recurring) |
void |
setReference(String reference) |
void |
setSelectedBrand(String selectedBrand) |
void |
setSelectedRecurringDetailReference(String selectedRecurringDetailReference) |
void |
setSessionId(String sessionId) |
void |
setShopperEmail(String shopperEmail) |
void |
setShopperInteraction(AbstractPaymentRequest.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 |
setThreeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) |
T |
shopperEmail(String shopperEmail) |
T |
shopperInteraction(AbstractPaymentRequest.ShopperInteractionEnum shopperInteraction) |
T |
shopperIP(String shopperIP) |
T |
shopperLocale(String shopperLocale) |
T |
shopperName(Name shopperName) |
T |
shopperReference(String shopperReference) |
T |
shopperStatement(String shopperStatement) |
T |
socialSecurityNumber(String socialSecurityNumber) |
T |
telephoneNumber(String telephoneNumber) |
T |
threeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) |
String |
toString() |
public T setBrowserInfoData(String userAgent, String acceptHeader)
userAgent - http headeracceptHeader - http headerpublic Map<String,String> getOrCreateAdditionalData()
public Amount getAmount()
public void setAmount(Amount amount)
public String getReference()
public void setReference(String reference)
public Address getBillingAddress()
public void setBillingAddress(Address billingAddress)
public String getShopperIP()
public void setShopperIP(String shopperIP)
public String getMerchantAccount()
public void setMerchantAccount(String merchantAccount)
public T browserInfo(BrowserInfo browserInfo)
public BrowserInfo getBrowserInfo()
public void setBrowserInfo(BrowserInfo browserInfo)
public T shopperInteraction(AbstractPaymentRequest.ShopperInteractionEnum shopperInteraction)
public AbstractPaymentRequest.ShopperInteractionEnum getShopperInteraction()
public void setShopperInteraction(AbstractPaymentRequest.ShopperInteractionEnum shopperInteraction)
public String getShopperEmail()
public void setShopperEmail(String shopperEmail)
public String getShopperReference()
public void setShopperReference(String shopperReference)
public Recurring getRecurring()
public void setRecurring(Recurring recurring)
public String getShopperStatement()
public void setShopperStatement(String shopperStatement)
public Integer getFraudOffset()
public void setFraudOffset(Integer fraudOffset)
public T fundingSource(AbstractPaymentRequest.FundingSourceEnum fundingSource)
public AbstractPaymentRequest.FundingSourceEnum getFundingSource()
public void setFundingSource(AbstractPaymentRequest.FundingSourceEnum fundingSource)
public String getSessionId()
public void setSessionId(String sessionId)
public Amount getAdditionalAmount()
public void setAdditionalAmount(Amount additionalAmount)
public T selectedRecurringDetailReference(String selectedRecurringDetailReference)
public String getSelectedRecurringDetailReference()
public void setSelectedRecurringDetailReference(String selectedRecurringDetailReference)
public String getOrderReference()
public void setOrderReference(String orderReference)
public String getMerchantOrderReference()
public void setMerchantOrderReference(String merchantOrderReference)
public T dccQuote(ForexQuote dccQuote)
public ForexQuote getDccQuote()
public void setDccQuote(ForexQuote dccQuote)
public Map<String,String> getAdditionalData()
public Name getShopperName()
public void setShopperName(Name shopperName)
public String getShopperLocale()
public void setShopperLocale(String shopperLocale)
public String getSelectedBrand()
public void setSelectedBrand(String selectedBrand)
public Address getDeliveryAddress()
public void setDeliveryAddress(Address deliveryAddress)
public Date getDeliveryDate()
public void setDeliveryDate(Date deliveryDate)
public String getDeviceFingerprint()
public void setDeviceFingerprint(String deviceFingerprint)
public T installments(Installments installments)
public Installments getInstallments()
public void setInstallments(Installments installments)
public String getSocialSecurityNumber()
public void setSocialSecurityNumber(String socialSecurityNumber)
public Integer getCaptureDelayHours()
public void setCaptureDelayHours(Integer captureDelayHours)
public Date getDateOfBirth()
public void setDateOfBirth(Date dateOfBirth)
public String getTelephoneNumber()
public void setTelephoneNumber(String telephoneNumber)
public String getMcc()
public void setMcc(String mcc)
public ApplicationInfo getApplicationInfo()
public Map<String,String> getMetadata()
public Boolean isEnableRealTimeUpdate()
public void setEnableRealTimeUpdate(Boolean enableRealTimeUpdate)
public Boolean isThreeDSAuthenticationOnly()
public void setThreeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly)
Copyright © 2022. All rights reserved.