Package com.adyen.model.checkout
Class PaymentMethodsRequest
- java.lang.Object
-
- com.adyen.model.checkout.PaymentMethodsRequest
-
public class PaymentMethodsRequest extends Object
PaymentMethodsRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentMethodsRequest.ChannelEnumThe platform where a payment transaction takes place.
-
Constructor Summary
Constructors Constructor Description PaymentMethodsRequest()
-
Method Summary
-
-
-
Method Detail
-
getAdditionalData
public Object getAdditionalData()
-
setAdditionalData
public void setAdditionalData(Object additionalData)
-
getAccountInfo
public AccountInfo getAccountInfo()
-
setAccountInfo
public void setAccountInfo(AccountInfo accountInfo)
-
amount
public PaymentMethodsRequest amount(Amount amount)
-
getConfigId
public String getConfigId()
-
setConfigId
public void setConfigId(String configId)
-
getMerchantRiskIndicator
public MerchantRiskIndicator getMerchantRiskIndicator()
-
setMerchantRiskIndicator
public void setMerchantRiskIndicator(MerchantRiskIndicator merchantRiskIndicator)
-
getThreeDS2RequestData
public ThreeDS2RequestData getThreeDS2RequestData()
-
setThreeDS2RequestData
public void setThreeDS2RequestData(ThreeDS2RequestData threeDS2RequestData)
-
getTrustedShopper
public Boolean getTrustedShopper()
-
setTrustedShopper
public void setTrustedShopper(Boolean trustedShopper)
-
getAmount
public Amount getAmount()
Get amount- Returns:
- amount
-
setAmount
public void setAmount(Amount amount)
-
channel
public PaymentMethodsRequest channel(PaymentMethodsRequest.ChannelEnum channel)
-
getChannel
public PaymentMethodsRequest.ChannelEnum getChannel()
The platform where a payment transaction takes place. This field can be used for filtering out payment methods that are only available on specific platforms. Possible values: * iOS * Android * Web- Returns:
- channel
-
setChannel
public void setChannel(PaymentMethodsRequest.ChannelEnum channel)
-
countryCode
public PaymentMethodsRequest countryCode(String countryCode)
-
getCountryCode
public String getCountryCode()
The shopper's country code.- Returns:
- countryCode
-
setCountryCode
public void setCountryCode(String countryCode)
-
merchantAccount
public PaymentMethodsRequest merchantAccount(String merchantAccount)
-
getMerchantAccount
public String getMerchantAccount()
The merchant account identifier, with which you want to process the transaction.- Returns:
- merchantAccount
-
setMerchantAccount
public void setMerchantAccount(String merchantAccount)
-
shopperLocale
public PaymentMethodsRequest shopperLocale(String shopperLocale)
-
getShopperLocale
public String getShopperLocale()
The combination of a language code and a country code to specify the language to be used in the payment.- Returns:
- shopperLocale
-
setShopperLocale
public void setShopperLocale(String shopperLocale)
-
shopperReference
public PaymentMethodsRequest shopperReference(String shopperReference)
-
getShopperReference
public String getShopperReference()
The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). > This field is required for recurring payments.- Returns:
- shopperReference
-
setShopperReference
public void setShopperReference(String shopperReference)
-
getStore
public String getStore()
-
setStore
public void setStore(String store)
-
store
public PaymentMethodsRequest store(String store)
-
threeDSAuthenticationOnly
public PaymentMethodsRequest 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)
-
order
public PaymentMethodsRequest order(CheckoutOrder order)
-
getOrder
public CheckoutOrder getOrder()
-
setOrder
public void setOrder(CheckoutOrder order)
-
splitCardFundingSources
public PaymentMethodsRequest splitCardFundingSources(Boolean splitCardFundingSources)
-
isSplitCardFundingSources
public Boolean isSplitCardFundingSources()
-
setSplitCardFundingSources
public void setSplitCardFundingSources(Boolean splitCardFundingSources)
-
-