Package com.adyen.model.checkout
Class PaymentSessionRequest
- java.lang.Object
-
- com.adyen.model.checkout.PaymentSessionRequest
-
public class PaymentSessionRequest extends Object
PaymentSessionRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentSessionRequest.ChannelEnumThe platform where a payment transaction takes place.static classPaymentSessionRequest.EntityTypeEnumThe type of the entity the payment is processed for.static classPaymentSessionRequest.RecurringProcessingModelEnumDefines a recurring payment type.static classPaymentSessionRequest.ShopperInteractionEnumSpecifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer.
-
Constructor Summary
Constructors Constructor Description PaymentSessionRequest()
-
Method Summary
-
-
-
Method Detail
-
accountInfo
public PaymentSessionRequest accountInfo(AccountInfo accountInfo)
-
getAccountInfo
public AccountInfo getAccountInfo()
-
setAccountInfo
public void setAccountInfo(AccountInfo accountInfo)
-
additionalAmount
public PaymentSessionRequest additionalAmount(Amount additionalAmount)
-
getAdditionalAmount
public Amount getAdditionalAmount()
-
setAdditionalAmount
public void setAdditionalAmount(Amount additionalAmount)
-
additionalData
public PaymentSessionRequest additionalData(Object additionalData)
-
getAdditionalData
public Object getAdditionalData()
-
setAdditionalData
public void setAdditionalData(Object additionalData)
-
allowedPaymentMethods
public PaymentSessionRequest allowedPaymentMethods(List<String> allowedPaymentMethods)
-
addAllowedPaymentMethodsItem
public PaymentSessionRequest addAllowedPaymentMethodsItem(String allowedPaymentMethodsItem)
-
amount
public PaymentSessionRequest amount(Amount amount)
-
getAmount
public Amount getAmount()
-
setAmount
public void setAmount(Amount amount)
-
applicationInfo
public PaymentSessionRequest applicationInfo(ApplicationInfo applicationInfo)
-
getApplicationInfo
public ApplicationInfo getApplicationInfo()
-
setApplicationInfo
public void setApplicationInfo(ApplicationInfo applicationInfo)
-
bankAccount
public PaymentSessionRequest bankAccount(BankAccount bankAccount)
-
getBankAccount
public BankAccount getBankAccount()
-
setBankAccount
public void setBankAccount(BankAccount bankAccount)
-
billingAddress
public PaymentSessionRequest billingAddress(Address billingAddress)
-
getBillingAddress
public Address getBillingAddress()
-
setBillingAddress
public void setBillingAddress(Address billingAddress)
-
blockedPaymentMethods
public PaymentSessionRequest blockedPaymentMethods(List<String> blockedPaymentMethods)
-
addBlockedPaymentMethodsItem
public PaymentSessionRequest addBlockedPaymentMethodsItem(String blockedPaymentMethodsItem)
-
browserInfo
public PaymentSessionRequest browserInfo(BrowserInfo browserInfo)
-
getBrowserInfo
public BrowserInfo getBrowserInfo()
-
setBrowserInfo
public void setBrowserInfo(BrowserInfo browserInfo)
-
captureDelayHours
public PaymentSessionRequest captureDelayHours(Integer captureDelayHours)
-
getCaptureDelayHours
public Integer getCaptureDelayHours()
-
setCaptureDelayHours
public void setCaptureDelayHours(Integer captureDelayHours)
-
card
public PaymentSessionRequest card(Card card)
-
getCard
public Card getCard()
-
setCard
public void setCard(Card card)
-
channel
public PaymentSessionRequest channel(PaymentSessionRequest.ChannelEnum channel)
-
getChannel
public PaymentSessionRequest.ChannelEnum getChannel()
-
setChannel
public void setChannel(PaymentSessionRequest.ChannelEnum channel)
-
company
public PaymentSessionRequest company(Company company)
-
getCompany
public Company getCompany()
-
setCompany
public void setCompany(Company company)
-
configId
public PaymentSessionRequest configId(String configId)
-
getConfigId
public String getConfigId()
-
setConfigId
public void setConfigId(String configId)
-
configuration
public PaymentSessionRequest configuration(ModelConfiguration configuration)
-
getConfiguration
public ModelConfiguration getConfiguration()
-
setConfiguration
public void setConfiguration(ModelConfiguration configuration)
-
countryCode
public PaymentSessionRequest countryCode(String countryCode)
-
getCountryCode
public String getCountryCode()
-
setCountryCode
public void setCountryCode(String countryCode)
-
dateOfBirth
public PaymentSessionRequest dateOfBirth(Date dateOfBirth)
-
getDateOfBirth
public Date getDateOfBirth()
-
setDateOfBirth
public void setDateOfBirth(Date dateOfBirth)
-
dccQuote
public PaymentSessionRequest dccQuote(ForexQuote dccQuote)
-
getDccQuote
public ForexQuote getDccQuote()
-
setDccQuote
public void setDccQuote(ForexQuote dccQuote)
-
deliveryAddress
public PaymentSessionRequest deliveryAddress(Address deliveryAddress)
-
getDeliveryAddress
public Address getDeliveryAddress()
-
setDeliveryAddress
public void setDeliveryAddress(Address deliveryAddress)
-
deliveryDate
public PaymentSessionRequest deliveryDate(Date deliveryDate)
-
getDeliveryDate
public Date getDeliveryDate()
-
setDeliveryDate
public void setDeliveryDate(Date deliveryDate)
-
deviceFingerprint
public PaymentSessionRequest deviceFingerprint(String deviceFingerprint)
-
getDeviceFingerprint
public String getDeviceFingerprint()
-
setDeviceFingerprint
public void setDeviceFingerprint(String deviceFingerprint)
-
enableOneClick
public PaymentSessionRequest enableOneClick(Boolean enableOneClick)
-
isEnableOneClick
public Boolean isEnableOneClick()
-
setEnableOneClick
public void setEnableOneClick(Boolean enableOneClick)
-
enablePayOut
public PaymentSessionRequest enablePayOut(Boolean enablePayOut)
-
isEnablePayOut
public Boolean isEnablePayOut()
-
setEnablePayOut
public void setEnablePayOut(Boolean enablePayOut)
-
enableRealTimeUpdate
public PaymentSessionRequest enableRealTimeUpdate(Boolean enableRealTimeUpdate)
-
isEnableRealTimeUpdate
public Boolean isEnableRealTimeUpdate()
Choose if a specific transaction should use the Real-time Account Updater, regardless of other settings.- Returns:
- enableRealTimeUpdate
-
setEnableRealTimeUpdate
public void setEnableRealTimeUpdate(Boolean enableRealTimeUpdate)
-
enableRecurring
public PaymentSessionRequest enableRecurring(Boolean enableRecurring)
-
isEnableRecurring
public Boolean isEnableRecurring()
-
setEnableRecurring
public void setEnableRecurring(Boolean enableRecurring)
-
entityType
public PaymentSessionRequest entityType(PaymentSessionRequest.EntityTypeEnum entityType)
-
getEntityType
public PaymentSessionRequest.EntityTypeEnum getEntityType()
-
setEntityType
public void setEntityType(PaymentSessionRequest.EntityTypeEnum entityType)
-
fraudOffset
public PaymentSessionRequest fraudOffset(Integer fraudOffset)
-
getFraudOffset
public Integer getFraudOffset()
-
setFraudOffset
public void setFraudOffset(Integer fraudOffset)
-
html
public PaymentSessionRequest html(Boolean html)
-
isHtml
public Boolean isHtml()
-
setHtml
public void setHtml(Boolean html)
-
installments
public PaymentSessionRequest installments(Installments installments)
-
getInstallments
public Installments getInstallments()
-
setInstallments
public void setInstallments(Installments installments)
-
lineItems
public PaymentSessionRequest lineItems(List<LineItem> lineItems)
-
addLineItemsItem
public PaymentSessionRequest addLineItemsItem(LineItem lineItemsItem)
-
mcc
public PaymentSessionRequest mcc(String mcc)
-
getMcc
public String getMcc()
-
setMcc
public void setMcc(String mcc)
-
merchantAccount
public PaymentSessionRequest merchantAccount(String merchantAccount)
-
getMerchantAccount
public String getMerchantAccount()
-
setMerchantAccount
public void setMerchantAccount(String merchantAccount)
-
merchantOrderReference
public PaymentSessionRequest merchantOrderReference(String merchantOrderReference)
-
getMerchantOrderReference
public String getMerchantOrderReference()
-
setMerchantOrderReference
public void setMerchantOrderReference(String merchantOrderReference)
-
merchantRiskIndicator
public PaymentSessionRequest merchantRiskIndicator(MerchantRiskIndicator merchantRiskIndicator)
-
getMerchantRiskIndicator
public MerchantRiskIndicator getMerchantRiskIndicator()
-
setMerchantRiskIndicator
public void setMerchantRiskIndicator(MerchantRiskIndicator merchantRiskIndicator)
-
metadata
public PaymentSessionRequest metadata(Object metadata)
-
getMetadata
public Object getMetadata()
-
setMetadata
public void setMetadata(Object metadata)
-
mpiData
public PaymentSessionRequest mpiData(ThreeDSecureData mpiData)
-
getMpiData
public ThreeDSecureData getMpiData()
-
setMpiData
public void setMpiData(ThreeDSecureData mpiData)
-
nationality
public PaymentSessionRequest nationality(String nationality)
-
getNationality
public String getNationality()
-
setNationality
public void setNationality(String nationality)
-
orderReference
public PaymentSessionRequest orderReference(String orderReference)
-
getOrderReference
public String getOrderReference()
-
setOrderReference
public void setOrderReference(String orderReference)
-
origin
public PaymentSessionRequest origin(String origin)
-
getOrigin
public String getOrigin()
-
setOrigin
public void setOrigin(String origin)
-
recurring
public PaymentSessionRequest recurring(Recurring recurring)
-
getRecurring
public Recurring getRecurring()
-
setRecurring
public void setRecurring(Recurring recurring)
-
recurringExpiry
public PaymentSessionRequest recurringExpiry(String recurringExpiry)
-
getRecurringExpiry
public String getRecurringExpiry()
Date after which no further authorisations shall be performed. Only for 3D Secure 2.- Returns:
- recurringExpiry
-
setRecurringExpiry
public void setRecurringExpiry(String recurringExpiry)
-
recurringFrequency
public PaymentSessionRequest recurringFrequency(String recurringFrequency)
-
getRecurringFrequency
public String getRecurringFrequency()
Minimum number of days between authorisations. Only for 3D Secure 2.- Returns:
- recurringFrequency
-
setRecurringFrequency
public void setRecurringFrequency(String recurringFrequency)
-
recurringProcessingModel
public PaymentSessionRequest recurringProcessingModel(PaymentSessionRequest.RecurringProcessingModelEnum recurringProcessingModel)
-
getRecurringProcessingModel
public PaymentSessionRequest.RecurringProcessingModelEnum getRecurringProcessingModel()
-
setRecurringProcessingModel
public void setRecurringProcessingModel(PaymentSessionRequest.RecurringProcessingModelEnum recurringProcessingModel)
-
reference
public PaymentSessionRequest reference(String reference)
-
getReference
public String getReference()
-
setReference
public void setReference(String reference)
-
returnUrl
public PaymentSessionRequest returnUrl(String returnUrl)
-
getReturnUrl
public String getReturnUrl()
-
setReturnUrl
public void setReturnUrl(String returnUrl)
-
sdkVersion
public PaymentSessionRequest sdkVersion(String sdkVersion)
-
getSdkVersion
public String getSdkVersion()
-
setSdkVersion
public void setSdkVersion(String sdkVersion)
-
selectedBrand
public PaymentSessionRequest selectedBrand(String selectedBrand)
-
getSelectedBrand
public String getSelectedBrand()
-
setSelectedBrand
public void setSelectedBrand(String selectedBrand)
-
selectedRecurringDetailReference
public PaymentSessionRequest selectedRecurringDetailReference(String selectedRecurringDetailReference)
-
getSelectedRecurringDetailReference
public String getSelectedRecurringDetailReference()
-
setSelectedRecurringDetailReference
public void setSelectedRecurringDetailReference(String selectedRecurringDetailReference)
-
sessionId
public PaymentSessionRequest sessionId(String sessionId)
-
getSessionId
public String getSessionId()
-
setSessionId
public void setSessionId(String sessionId)
-
sessionValidity
public PaymentSessionRequest sessionValidity(String sessionValidity)
-
getSessionValidity
public String getSessionValidity()
-
setSessionValidity
public void setSessionValidity(String sessionValidity)
-
shopperEmail
public PaymentSessionRequest shopperEmail(String shopperEmail)
-
getShopperEmail
public String getShopperEmail()
-
setShopperEmail
public void setShopperEmail(String shopperEmail)
-
shopperIP
public PaymentSessionRequest shopperIP(String shopperIP)
-
getShopperIP
public String getShopperIP()
-
setShopperIP
public void setShopperIP(String shopperIP)
-
shopperInteraction
public PaymentSessionRequest shopperInteraction(PaymentSessionRequest.ShopperInteractionEnum shopperInteraction)
-
getShopperInteraction
public PaymentSessionRequest.ShopperInteractionEnum getShopperInteraction()
-
setShopperInteraction
public void setShopperInteraction(PaymentSessionRequest.ShopperInteractionEnum shopperInteraction)
-
shopperLocale
public PaymentSessionRequest shopperLocale(String shopperLocale)
-
getShopperLocale
public String getShopperLocale()
-
setShopperLocale
public void setShopperLocale(String shopperLocale)
-
shopperName
public PaymentSessionRequest shopperName(Name shopperName)
-
getShopperName
public Name getShopperName()
-
setShopperName
public void setShopperName(Name shopperName)
-
shopperReference
public PaymentSessionRequest shopperReference(String shopperReference)
-
getShopperReference
public String getShopperReference()
-
setShopperReference
public void setShopperReference(String shopperReference)
-
shopperStatement
public PaymentSessionRequest shopperStatement(String shopperStatement)
-
getShopperStatement
public String getShopperStatement()
-
setShopperStatement
public void setShopperStatement(String shopperStatement)
-
socialSecurityNumber
public PaymentSessionRequest socialSecurityNumber(String socialSecurityNumber)
-
getSocialSecurityNumber
public String getSocialSecurityNumber()
-
setSocialSecurityNumber
public void setSocialSecurityNumber(String socialSecurityNumber)
-
splits
public PaymentSessionRequest splits(List<Split> splits)
-
addSplitsItem
public PaymentSessionRequest addSplitsItem(Split splitsItem)
-
storePaymentMethod
public PaymentSessionRequest storePaymentMethod(Boolean storePaymentMethod)
-
getStorePaymentMethod
public Boolean getStorePaymentMethod()
-
setStorePaymentMethod
public void setStorePaymentMethod(Boolean storePaymentMethod)
-
store
public PaymentSessionRequest store(String store)
-
getStore
public String getStore()
-
setStore
public void setStore(String store)
-
telephoneNumber
public PaymentSessionRequest telephoneNumber(String telephoneNumber)
-
getTelephoneNumber
public String getTelephoneNumber()
-
setTelephoneNumber
public void setTelephoneNumber(String telephoneNumber)
-
threeDSAuthenticationOnly
public PaymentSessionRequest threeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly)
-
isThreeDSAuthenticationOnly
public 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.- Returns:
- threeDSAuthenticationOnly
-
setThreeDSAuthenticationOnly
public void setThreeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly)
-
threeDS2RequestData
public PaymentSessionRequest threeDS2RequestData(ThreeDS2RequestData threeDS2RequestData)
-
getThreeDS2RequestData
public ThreeDS2RequestData getThreeDS2RequestData()
-
setThreeDS2RequestData
public void setThreeDS2RequestData(ThreeDS2RequestData threeDS2RequestData)
-
token
public PaymentSessionRequest token(String token)
-
getToken
public String getToken()
-
setToken
public void setToken(String token)
-
totalsGroup
public PaymentSessionRequest totalsGroup(String totalsGroup)
-
setTotalsGroup
public void setTotalsGroup(String totalsGroup)
-
trustedShopper
public PaymentSessionRequest trustedShopper(Boolean trustedShopper)
-
isTrustedShopper
public Boolean isTrustedShopper()
-
setTrustedShopper
public void setTrustedShopper(Boolean trustedShopper)
-
uniqueTerminalId
public PaymentSessionRequest uniqueTerminalId(String uniqueTerminalId)
-
getUniqueTerminalId
public String getUniqueTerminalId()
-
setUniqueTerminalId
public void setUniqueTerminalId(String uniqueTerminalId)
-
-