Package com.adyen.model.checkout.details
Class KlarnaDetails
- java.lang.Object
-
- com.adyen.model.checkout.details.KlarnaDetails
-
- All Implemented Interfaces:
PaymentMethodDetails
public class KlarnaDetails extends Object implements PaymentMethodDetails
KlarnaDetails
-
-
Field Summary
Fields Modifier and Type Field Description static StringKLARNAPossible typesstatic StringKLARNA_ACCOUNTstatic StringKLARNA_B2Bstatic StringKLARNA_PAY_NOWstatic StringKLARNA_PAYMENTSstatic StringKLARNA_PAYMENTS_ACCOUNTstatic StringKLARNA_PAYMENTS_B2B
-
Constructor Summary
Constructors Constructor Description KlarnaDetails()
-
Method Summary
-
-
-
Field Detail
-
KLARNA
public static final String KLARNA
Possible types- See Also:
- Constant Field Values
-
KLARNA_PAYMENTS
public static final String KLARNA_PAYMENTS
- See Also:
- Constant Field Values
-
KLARNA_PAYMENTS_ACCOUNT
public static final String KLARNA_PAYMENTS_ACCOUNT
- See Also:
- Constant Field Values
-
KLARNA_PAYMENTS_B2B
public static final String KLARNA_PAYMENTS_B2B
- See Also:
- Constant Field Values
-
KLARNA_PAY_NOW
public static final String KLARNA_PAY_NOW
- See Also:
- Constant Field Values
-
KLARNA_ACCOUNT
public static final String KLARNA_ACCOUNT
- See Also:
- Constant Field Values
-
KLARNA_B2B
public static final String KLARNA_B2B
- See Also:
- Constant Field Values
-
-
Method Detail
-
bankAccount
public KlarnaDetails bankAccount(String bankAccount)
-
getBankAccount
public String getBankAccount()
Get bankAccount- Returns:
- bankAccount
-
setBankAccount
public void setBankAccount(String bankAccount)
-
billingAddress
public KlarnaDetails billingAddress(String billingAddress)
-
getBillingAddress
public String getBillingAddress()
Get billingAddress- Returns:
- billingAddress
-
setBillingAddress
public void setBillingAddress(String billingAddress)
-
deliveryAddress
public KlarnaDetails deliveryAddress(String deliveryAddress)
-
getDeliveryAddress
public String getDeliveryAddress()
Get deliveryAddress- Returns:
- deliveryAddress
-
setDeliveryAddress
public void setDeliveryAddress(String deliveryAddress)
-
installmentConfigurationKey
public KlarnaDetails installmentConfigurationKey(String installmentConfigurationKey)
-
getInstallmentConfigurationKey
public String getInstallmentConfigurationKey()
Get installmentConfigurationKey- Returns:
- installmentConfigurationKey
-
setInstallmentConfigurationKey
public void setInstallmentConfigurationKey(String installmentConfigurationKey)
-
personalDetails
public KlarnaDetails personalDetails(String personalDetails)
-
getPersonalDetails
public String getPersonalDetails()
Get personalDetails- Returns:
- personalDetails
-
setPersonalDetails
public void setPersonalDetails(String personalDetails)
-
separateDeliveryAddress
public KlarnaDetails separateDeliveryAddress(String separateDeliveryAddress)
-
getSeparateDeliveryAddress
public String getSeparateDeliveryAddress()
Get separateDeliveryAddress- Returns:
- separateDeliveryAddress
-
setSeparateDeliveryAddress
public void setSeparateDeliveryAddress(String separateDeliveryAddress)
-
storedPaymentMethodId
public KlarnaDetails storedPaymentMethodId(String storedPaymentMethodId)
-
getStoredPaymentMethodId
public String getStoredPaymentMethodId()
This is the `recurringDetailReference` returned in the response when you created the token.- Returns:
- storedPaymentMethodId
-
setStoredPaymentMethodId
public void setStoredPaymentMethodId(String storedPaymentMethodId)
-
token
public KlarnaDetails token(String token)
-
getToken
public String getToken()
Get token- Returns:
- token
-
setToken
public void setToken(String token)
-
type
public KlarnaDetails type(String type)
-
getType
public String getType()
The payment method type.- Specified by:
getTypein interfacePaymentMethodDetails- Returns:
- type
-
setType
public void setType(String type)
- Specified by:
setTypein interfacePaymentMethodDetails
-
-