Package com.adyen.model.checkout
Class PaymentMethod
- java.lang.Object
-
- com.adyen.model.checkout.PaymentMethod
-
public class PaymentMethod extends Object
PaymentMethod
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentMethod.FundingSourceEnumThe funding source of the payment method.
-
Constructor Summary
Constructors Constructor Description PaymentMethod()
-
Method Summary
-
-
-
Method Detail
-
brand
public PaymentMethod brand(String brand)
-
getBrand
public String getBrand()
Brand for the selected gift card. For example: plastix, hmclub.- Returns:
- brand
-
setBrand
public void setBrand(String brand)
-
brands
public PaymentMethod brands(List<String> brands)
-
addBrandsItem
public PaymentMethod addBrandsItem(String brandsItem)
-
getBrands
public List<String> getBrands()
List of possible brands. For example: visa, mc.- Returns:
- brands
-
configuration
public PaymentMethod configuration(Map<String,String> configuration)
-
putConfigurationItem
public PaymentMethod putConfigurationItem(String key, String configurationItem)
-
getConfiguration
public Map<String,String> getConfiguration()
The configuration of the payment method.- Returns:
- configuration
-
getFundingSource
public PaymentMethod.FundingSourceEnum getFundingSource()
The funding source of the payment method.- Returns:
- fundingSource
-
setFundingSource
public void setFundingSource(PaymentMethod.FundingSourceEnum fundingSource)
-
group
public PaymentMethod group(PaymentMethodGroup group)
-
getGroup
public PaymentMethodGroup getGroup()
Get group- Returns:
- group
-
setGroup
public void setGroup(PaymentMethodGroup group)
-
inputDetails
public PaymentMethod inputDetails(List<InputDetail> inputDetails)
-
addInputDetailsItem
public PaymentMethod addInputDetailsItem(InputDetail inputDetailsItem)
-
getInputDetails
@Deprecated public List<InputDetail> getInputDetails()
Deprecated.All input details to be provided to complete the payment with this payment method.- Returns:
- inputDetails
-
setInputDetails
public void setInputDetails(List<InputDetail> inputDetails)
-
name
public PaymentMethod name(String name)
-
getName
public String getName()
The displayable name of this payment method.- Returns:
- name
-
setName
public void setName(String name)
-
supportsRecurring
public PaymentMethod supportsRecurring(Boolean supportsRecurring)
-
type
public PaymentMethod type(String type)
-
issuers
public PaymentMethod issuers(List<PaymentMethodIssuer> issuers)
-
addIssuersItem
public PaymentMethod addIssuersItem(PaymentMethodIssuer issuersItem)
-
getIssuers
public List<PaymentMethodIssuer> getIssuers()
A list of issuers for this payment method.- Returns:
- issuers
-
setIssuers
public void setIssuers(List<PaymentMethodIssuer> issuers)
-
getType
public String getType()
The unique payment method code.- Returns:
- type
-
setType
public void setType(String type)
-
-