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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KlarnaDetailsbillingAddress(String billingAddress)KlarnaDetailsdeliveryAddress(String deliveryAddress)booleanequals(Object o)StringgetBillingAddress()Get billingAddressStringgetDeliveryAddress()Get deliveryAddressStringgetPersonalDetails()Get personalDetailsStringgetRecurringDetailReference()This is the `recurringDetailReference` returned in the response when you created the token.StringgetStoredPaymentMethodId()This is the `recurringDetailReference` returned in the response when you created the token.StringgetType()The payment method type.inthashCode()KlarnaDetailspersonalDetails(String personalDetails)KlarnaDetailsrecurringDetailReference(String recurringDetailReference)voidsetBillingAddress(String billingAddress)voidsetDeliveryAddress(String deliveryAddress)voidsetPersonalDetails(String personalDetails)voidsetRecurringDetailReference(String recurringDetailReference)voidsetStoredPaymentMethodId(String storedPaymentMethodId)voidsetType(String type)KlarnaDetailsstoredPaymentMethodId(String storedPaymentMethodId)StringtoString()KlarnaDetailstype(String type)
-
-
-
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
-
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)
-
personalDetails
public KlarnaDetails personalDetails(String personalDetails)
-
getPersonalDetails
public String getPersonalDetails()
Get personalDetails- Returns:
- personalDetails
-
setPersonalDetails
public void setPersonalDetails(String personalDetails)
-
recurringDetailReference
public KlarnaDetails recurringDetailReference(String recurringDetailReference)
-
getRecurringDetailReference
public String getRecurringDetailReference()
This is the `recurringDetailReference` returned in the response when you created the token.- Returns:
- recurringDetailReference
-
setRecurringDetailReference
public void setRecurringDetailReference(String recurringDetailReference)
-
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)
-
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
-
-