Package com.adyen.model.management
Class PaymentMethodSetupInfo
- java.lang.Object
-
- com.adyen.model.management.PaymentMethodSetupInfo
-
public class PaymentMethodSetupInfo extends Object
PaymentMethodSetupInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentMethodSetupInfo.CustomTypeAdapterFactorystatic classPaymentMethodSetupInfo.ShopperInteractionEnumThe sales channel.static classPaymentMethodSetupInfo.TypeEnumPayment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_APPLE_PAYstatic StringSERIALIZED_NAME_BCMCstatic StringSERIALIZED_NAME_BUSINESS_LINE_IDstatic StringSERIALIZED_NAME_CARTES_BANCAIRESstatic StringSERIALIZED_NAME_COUNTRIESstatic StringSERIALIZED_NAME_CURRENCIESstatic StringSERIALIZED_NAME_CUSTOM_ROUTING_FLAGSstatic StringSERIALIZED_NAME_GIRO_PAYstatic StringSERIALIZED_NAME_GOOGLE_PAYstatic StringSERIALIZED_NAME_KLARNAstatic StringSERIALIZED_NAME_MEAL_VOUCHER_F_Rstatic StringSERIALIZED_NAME_PAYPALstatic StringSERIALIZED_NAME_REFERENCEstatic StringSERIALIZED_NAME_SHOPPER_INTERACTIONstatic StringSERIALIZED_NAME_SOFORTstatic StringSERIALIZED_NAME_STORE_IDstatic StringSERIALIZED_NAME_SWISHstatic StringSERIALIZED_NAME_TYPEstatic StringSERIALIZED_NAME_VIPPS
-
Constructor Summary
Constructors Constructor Description PaymentMethodSetupInfo()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_APPLE_PAY
public static final String SERIALIZED_NAME_APPLE_PAY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BCMC
public static final String SERIALIZED_NAME_BCMC
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BUSINESS_LINE_ID
public static final String SERIALIZED_NAME_BUSINESS_LINE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CARTES_BANCAIRES
public static final String SERIALIZED_NAME_CARTES_BANCAIRES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COUNTRIES
public static final String SERIALIZED_NAME_COUNTRIES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CURRENCIES
public static final String SERIALIZED_NAME_CURRENCIES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CUSTOM_ROUTING_FLAGS
public static final String SERIALIZED_NAME_CUSTOM_ROUTING_FLAGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GIRO_PAY
public static final String SERIALIZED_NAME_GIRO_PAY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GOOGLE_PAY
public static final String SERIALIZED_NAME_GOOGLE_PAY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_KLARNA
public static final String SERIALIZED_NAME_KLARNA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MEAL_VOUCHER_F_R
public static final String SERIALIZED_NAME_MEAL_VOUCHER_F_R
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAYPAL
public static final String SERIALIZED_NAME_PAYPAL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REFERENCE
public static final String SERIALIZED_NAME_REFERENCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHOPPER_INTERACTION
public static final String SERIALIZED_NAME_SHOPPER_INTERACTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SOFORT
public static final String SERIALIZED_NAME_SOFORT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STORE_ID
public static final String SERIALIZED_NAME_STORE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SWISH
public static final String SERIALIZED_NAME_SWISH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VIPPS
public static final String SERIALIZED_NAME_VIPPS
- See Also:
- Constant Field Values
-
-
Method Detail
-
applePay
public PaymentMethodSetupInfo applePay(ApplePayInfo applePay)
-
getApplePay
public ApplePayInfo getApplePay()
Get applePay- Returns:
- applePay
-
setApplePay
public void setApplePay(ApplePayInfo applePay)
-
bcmc
public PaymentMethodSetupInfo bcmc(BcmcInfo bcmc)
-
getBcmc
public BcmcInfo getBcmc()
Get bcmc- Returns:
- bcmc
-
setBcmc
public void setBcmc(BcmcInfo bcmc)
-
businessLineId
public PaymentMethodSetupInfo businessLineId(String businessLineId)
-
getBusinessLineId
public String getBusinessLineId()
The unique identifier of the business line.- Returns:
- businessLineId
-
setBusinessLineId
public void setBusinessLineId(String businessLineId)
-
cartesBancaires
public PaymentMethodSetupInfo cartesBancaires(CartesBancairesInfo cartesBancaires)
-
getCartesBancaires
public CartesBancairesInfo getCartesBancaires()
Get cartesBancaires- Returns:
- cartesBancaires
-
setCartesBancaires
public void setCartesBancaires(CartesBancairesInfo cartesBancaires)
-
countries
public PaymentMethodSetupInfo countries(List<String> countries)
-
addCountriesItem
public PaymentMethodSetupInfo addCountriesItem(String countriesItem)
-
getCountries
public List<String> getCountries()
The list of countries where a payment method is available. By default, all countries supported by the payment method.- Returns:
- countries
-
currencies
public PaymentMethodSetupInfo currencies(List<String> currencies)
-
addCurrenciesItem
public PaymentMethodSetupInfo addCurrenciesItem(String currenciesItem)
-
getCurrencies
public List<String> getCurrencies()
The list of currencies that a payment method supports. By default, all currencies supported by the payment method.- Returns:
- currencies
-
customRoutingFlags
public PaymentMethodSetupInfo customRoutingFlags(List<String> customRoutingFlags)
-
addCustomRoutingFlagsItem
public PaymentMethodSetupInfo addCustomRoutingFlagsItem(String customRoutingFlagsItem)
-
getCustomRoutingFlags
public List<String> getCustomRoutingFlags()
The list of custom routing flags to route payment to the intended acquirer.- Returns:
- customRoutingFlags
-
giroPay
public PaymentMethodSetupInfo giroPay(GiroPayInfo giroPay)
-
getGiroPay
public GiroPayInfo getGiroPay()
Get giroPay- Returns:
- giroPay
-
setGiroPay
public void setGiroPay(GiroPayInfo giroPay)
-
googlePay
public PaymentMethodSetupInfo googlePay(GooglePayInfo googlePay)
-
getGooglePay
public GooglePayInfo getGooglePay()
Get googlePay- Returns:
- googlePay
-
setGooglePay
public void setGooglePay(GooglePayInfo googlePay)
-
klarna
public PaymentMethodSetupInfo klarna(KlarnaInfo klarna)
-
getKlarna
public KlarnaInfo getKlarna()
Get klarna- Returns:
- klarna
-
setKlarna
public void setKlarna(KlarnaInfo klarna)
-
mealVoucherFR
public PaymentMethodSetupInfo mealVoucherFR(MealVoucherFRInfo mealVoucherFR)
-
getMealVoucherFR
public MealVoucherFRInfo getMealVoucherFR()
Get mealVoucherFR- Returns:
- mealVoucherFR
-
setMealVoucherFR
public void setMealVoucherFR(MealVoucherFRInfo mealVoucherFR)
-
paypal
public PaymentMethodSetupInfo paypal(PayPalInfo paypal)
-
getPaypal
public PayPalInfo getPaypal()
Get paypal- Returns:
- paypal
-
setPaypal
public void setPaypal(PayPalInfo paypal)
-
reference
public PaymentMethodSetupInfo reference(String reference)
-
getReference
public String getReference()
Your reference for the payment method. Supported characters a-z, A-Z, 0-9.- Returns:
- reference
-
setReference
public void setReference(String reference)
-
shopperInteraction
public PaymentMethodSetupInfo shopperInteraction(PaymentMethodSetupInfo.ShopperInteractionEnum shopperInteraction)
-
getShopperInteraction
public PaymentMethodSetupInfo.ShopperInteractionEnum getShopperInteraction()
The sales channel. Required if the merchant account does not have a sales channel. When you provide this field, it overrides the default sales channel set on the merchant account. Possible values: **eCommerce**, **pos**, **contAuth**, and **moto**.- Returns:
- shopperInteraction
-
setShopperInteraction
public void setShopperInteraction(PaymentMethodSetupInfo.ShopperInteractionEnum shopperInteraction)
-
sofort
public PaymentMethodSetupInfo sofort(SofortInfo sofort)
-
getSofort
public SofortInfo getSofort()
Get sofort- Returns:
- sofort
-
setSofort
public void setSofort(SofortInfo sofort)
-
storeId
public PaymentMethodSetupInfo storeId(String storeId)
-
getStoreId
public String getStoreId()
The ID of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/post/stores__resParam_id), if any.- Returns:
- storeId
-
setStoreId
public void setStoreId(String storeId)
-
swish
public PaymentMethodSetupInfo swish(SwishInfo swish)
-
getSwish
public SwishInfo getSwish()
Get swish- Returns:
- swish
-
setSwish
public void setSwish(SwishInfo swish)
-
type
public PaymentMethodSetupInfo type(PaymentMethodSetupInfo.TypeEnum type)
-
getType
public PaymentMethodSetupInfo.TypeEnum getType()
Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).- Returns:
- type
-
setType
public void setType(PaymentMethodSetupInfo.TypeEnum type)
-
vipps
public PaymentMethodSetupInfo vipps(VippsInfo vipps)
-
getVipps
public VippsInfo getVipps()
Get vipps- Returns:
- vipps
-
setVipps
public void setVipps(VippsInfo vipps)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to PaymentMethodSetupInfo
-
fromJson
public static PaymentMethodSetupInfo fromJson(String jsonString) throws IOException
Create an instance of PaymentMethodSetupInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentMethodSetupInfo
- Throws:
IOException- if the JSON string is invalid with respect to PaymentMethodSetupInfo
-
toJson
public String toJson()
Convert an instance of PaymentMethodSetupInfo to an JSON string- Returns:
- JSON string
-
-