Package com.adyen.model.checkout.details
Class PayPalDetails
- java.lang.Object
-
- com.adyen.model.checkout.details.PayPalDetails
-
- All Implemented Interfaces:
PaymentMethodDetails
public class PayPalDetails extends Object implements PaymentMethodDetails
PayPalDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPayPalDetails.SubtypeEnum
-
Constructor Summary
Constructors Constructor Description PayPalDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetOrderID()Get orderIDStringgetPayerID()Get payerIDStringgetRecurringDetailReference()This is the `recurringDetailReference` returned in the response when you created the token.StringgetStoredPaymentMethodId()PayPalDetails.SubtypeEnumgetSubtype()StringgetType()**paypal**inthashCode()PayPalDetailsorderID(String orderID)PayPalDetailspayerID(String payerID)PayPalDetailsrecurringDetailReference(String recurringDetailReference)voidsetOrderID(String orderID)voidsetPayerID(String payerID)voidsetRecurringDetailReference(String recurringDetailReference)voidsetStoredPaymentMethodId(String storedPaymentMethodId)voidsetSubtype(PayPalDetails.SubtypeEnum subtype)voidsetType(String type)PayPalDetailssubtype(PayPalDetails.SubtypeEnum subtype)StringtoString()PayPalDetailstype(String type)
-
-
-
Field Detail
-
PAYPAL
public static final String PAYPAL
Possible types- See Also:
- Constant Field Values
-
-
Method Detail
-
orderID
public PayPalDetails orderID(String orderID)
-
getOrderID
public String getOrderID()
Get orderID- Returns:
- orderID
-
setOrderID
public void setOrderID(String orderID)
-
payerID
public PayPalDetails payerID(String payerID)
-
getPayerID
public String getPayerID()
Get payerID- Returns:
- payerID
-
setPayerID
public void setPayerID(String payerID)
-
recurringDetailReference
public PayPalDetails 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)
-
type
public PayPalDetails type(String type)
-
getType
public String getType()
**paypal**- Specified by:
getTypein interfacePaymentMethodDetails- Returns:
- type
-
setType
public void setType(String type)
- Specified by:
setTypein interfacePaymentMethodDetails
-
subtype
public PayPalDetails subtype(PayPalDetails.SubtypeEnum subtype)
-
getSubtype
public PayPalDetails.SubtypeEnum getSubtype()
-
setSubtype
public void setSubtype(PayPalDetails.SubtypeEnum subtype)
-
getStoredPaymentMethodId
public String getStoredPaymentMethodId()
-
setStoredPaymentMethodId
public void setStoredPaymentMethodId(String storedPaymentMethodId)
-
-