Package com.adyen.model.checkout
Class StoredPaymentMethod
- java.lang.Object
-
- com.adyen.model.checkout.StoredPaymentMethod
-
public class StoredPaymentMethod extends Object
-
-
Constructor Summary
Constructors Constructor Description StoredPaymentMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StoredPaymentMethodbrand(String brand)booleanequals(Object o)StoredPaymentMethodexpiryMonth(String expiryMonth)StoredPaymentMethodexpiryYear(String expiryYear)StringgetBrand()The brand of the card.StringgetExpiryMonth()The month the card expires.StringgetExpiryYear()The year the card expires.StringgetHolderName()The unique payment method code.StringgetIban()The IBAN of the bank account.StringgetId()A unique identifier of this stored payment method.StringgetLastFour()The last four digits of the PAN.StringgetName()The display name of the stored payment method.StringgetOwnerName()The name of the bank account holder.StringgetShopperEmail()The shopper’s email address.List<String>getSupportedShopperInteractions()The supported shopper interactions for this stored payment method.StringgetType()The type of payment method.inthashCode()StoredPaymentMethodholderName(String holderName)StoredPaymentMethodiban(String iban)StoredPaymentMethodid(String id)StoredPaymentMethodlastFour(String lastFour)StoredPaymentMethodname(String name)StoredPaymentMethodownerName(String ownerName)voidsetBrand(String brand)voidsetExpiryMonth(String expiryMonth)voidsetExpiryYear(String expiryYear)voidsetHolderName(String holderName)voidsetIban(String iban)voidsetId(String id)voidsetLastFour(String lastFour)voidsetName(String name)voidsetOwnerName(String ownerName)voidsetShopperEmail(String shopperEmail)voidsetSupportedShopperInteractions(List<String> supportedShopperInteractions)voidsetType(String type)StoredPaymentMethodshopperEmail(String shopperEmail)StoredPaymentMethodsupportedShopperInteractions(List<String> supportedShopperInteractions)StringtoString()StoredPaymentMethodtype(String type)
-
-
-
Method Detail
-
getId
public String getId()
A unique identifier of this stored payment method.- Returns:
- id
-
setId
public void setId(String id)
-
id
public StoredPaymentMethod id(String id)
-
getName
public String getName()
The display name of the stored payment method.- Returns:
- name
-
setName
public void setName(String name)
-
name
public StoredPaymentMethod name(String name)
-
getType
public String getType()
The type of payment method.- Returns:
- type
-
setType
public void setType(String type)
-
type
public StoredPaymentMethod type(String type)
-
getBrand
public String getBrand()
The brand of the card.- Returns:
- brand
-
setBrand
public void setBrand(String brand)
-
brand
public StoredPaymentMethod brand(String brand)
-
getLastFour
public String getLastFour()
The last four digits of the PAN.- Returns:
- lastFour
-
setLastFour
public void setLastFour(String lastFour)
-
lastFour
public StoredPaymentMethod lastFour(String lastFour)
-
getExpiryMonth
public String getExpiryMonth()
The month the card expires.- Returns:
- expiryMonth
-
setExpiryMonth
public void setExpiryMonth(String expiryMonth)
-
expiryMonth
public StoredPaymentMethod expiryMonth(String expiryMonth)
-
getExpiryYear
public String getExpiryYear()
The year the card expires.- Returns:
- expiryYear
-
setExpiryYear
public void setExpiryYear(String expiryYear)
-
expiryYear
public StoredPaymentMethod expiryYear(String expiryYear)
-
getHolderName
public String getHolderName()
The unique payment method code.- Returns:
- holderName
-
setHolderName
public void setHolderName(String holderName)
-
holderName
public StoredPaymentMethod holderName(String holderName)
-
getSupportedShopperInteractions
public List<String> getSupportedShopperInteractions()
The supported shopper interactions for this stored payment method.- Returns:
- supportedShopperInteractions
-
setSupportedShopperInteractions
public void setSupportedShopperInteractions(List<String> supportedShopperInteractions)
-
supportedShopperInteractions
public StoredPaymentMethod supportedShopperInteractions(List<String> supportedShopperInteractions)
-
getShopperEmail
public String getShopperEmail()
The shopper’s email address.- Returns:
- shopperEmail
-
setShopperEmail
public void setShopperEmail(String shopperEmail)
-
shopperEmail
public StoredPaymentMethod shopperEmail(String shopperEmail)
-
getIban
public String getIban()
The IBAN of the bank account.- Returns:
- iban
-
setIban
public void setIban(String iban)
-
iban
public StoredPaymentMethod iban(String iban)
-
getOwnerName
public String getOwnerName()
The name of the bank account holder.- Returns:
- ownerName
-
setOwnerName
public void setOwnerName(String ownerName)
-
ownerName
public StoredPaymentMethod ownerName(String ownerName)
-
-