Package com.adyen.model.checkout
Class RecurringDetail
- java.lang.Object
-
- com.adyen.model.checkout.RecurringDetail
-
public class RecurringDetail extends Object
RecurringDetail
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecurringDetail.FundingSourceEnumThe funding source of the payment method.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_APPSstatic StringJSON_PROPERTY_BRANDstatic StringJSON_PROPERTY_BRANDSstatic StringJSON_PROPERTY_CONFIGURATIONstatic StringJSON_PROPERTY_FUNDING_SOURCEstatic StringJSON_PROPERTY_GROUPstatic StringJSON_PROPERTY_INPUT_DETAILSstatic StringJSON_PROPERTY_ISSUERSstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_RECURRING_DETAIL_REFERENCEstatic StringJSON_PROPERTY_STORED_DETAILSstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description RecurringDetail()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RecurringDetailaddAppsItem(PaymentMethodUPIApps appsItem)RecurringDetailaddBrandsItem(String brandsItem)RecurringDetailaddInputDetailsItem(InputDetail inputDetailsItem)RecurringDetailaddIssuersItem(PaymentMethodIssuer issuersItem)RecurringDetailapps(List<PaymentMethodUPIApps> apps)A list of apps for this payment method.RecurringDetailbrand(String brand)Brand for the selected gift card.RecurringDetailbrands(List<String> brands)List of possible brands.RecurringDetailconfiguration(Map<String,String> configuration)The configuration of the payment method.booleanequals(Object o)Return true if this RecurringDetail object is equal to o.static RecurringDetailfromJson(String jsonString)Create an instance of RecurringDetail given an JSON stringRecurringDetailfundingSource(RecurringDetail.FundingSourceEnum fundingSource)The funding source of the payment method.List<PaymentMethodUPIApps>getApps()A list of apps for this payment method.StringgetBrand()Brand for the selected gift card.List<String>getBrands()List of possible brands.Map<String,String>getConfiguration()The configuration of the payment method.RecurringDetail.FundingSourceEnumgetFundingSource()The funding source of the payment method.PaymentMethodGroupgetGroup()groupList<InputDetail>getInputDetails()Deprecated.List<PaymentMethodIssuer>getIssuers()A list of issuers for this payment method.StringgetName()The displayable name of this payment method.StringgetRecurringDetailReference()The reference that uniquely identifies the recurring detail.StoredDetailsgetStoredDetails()storedDetailsStringgetType()The unique payment method code.RecurringDetailgroup(PaymentMethodGroup group)groupinthashCode()RecurringDetailinputDetails(List<InputDetail> inputDetails)Deprecated.RecurringDetailissuers(List<PaymentMethodIssuer> issuers)A list of issuers for this payment method.RecurringDetailname(String name)The displayable name of this payment method.RecurringDetailputConfigurationItem(String key, String configurationItem)RecurringDetailrecurringDetailReference(String recurringDetailReference)The reference that uniquely identifies the recurring detail.voidsetApps(List<PaymentMethodUPIApps> apps)A list of apps for this payment method.voidsetBrand(String brand)Brand for the selected gift card.voidsetBrands(List<String> brands)List of possible brands.voidsetConfiguration(Map<String,String> configuration)The configuration of the payment method.voidsetFundingSource(RecurringDetail.FundingSourceEnum fundingSource)The funding source of the payment method.voidsetGroup(PaymentMethodGroup group)groupvoidsetInputDetails(List<InputDetail> inputDetails)Deprecated.voidsetIssuers(List<PaymentMethodIssuer> issuers)A list of issuers for this payment method.voidsetName(String name)The displayable name of this payment method.voidsetRecurringDetailReference(String recurringDetailReference)The reference that uniquely identifies the recurring detail.voidsetStoredDetails(StoredDetails storedDetails)storedDetailsvoidsetType(String type)The unique payment method code.RecurringDetailstoredDetails(StoredDetails storedDetails)storedDetailsStringtoJson()Convert an instance of RecurringDetail to an JSON stringStringtoString()RecurringDetailtype(String type)The unique payment method code.
-
-
-
Field Detail
-
JSON_PROPERTY_APPS
public static final String JSON_PROPERTY_APPS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BRAND
public static final String JSON_PROPERTY_BRAND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BRANDS
public static final String JSON_PROPERTY_BRANDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONFIGURATION
public static final String JSON_PROPERTY_CONFIGURATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FUNDING_SOURCE
public static final String JSON_PROPERTY_FUNDING_SOURCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GROUP
public static final String JSON_PROPERTY_GROUP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INPUT_DETAILS
public static final String JSON_PROPERTY_INPUT_DETAILS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ISSUERS
public static final String JSON_PROPERTY_ISSUERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RECURRING_DETAIL_REFERENCE
public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORED_DETAILS
public static final String JSON_PROPERTY_STORED_DETAILS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
apps
public RecurringDetail apps(List<PaymentMethodUPIApps> apps)
A list of apps for this payment method.- Parameters:
apps-- Returns:
- the current
RecurringDetailinstance, allowing for method chaining
-
addAppsItem
public RecurringDetail addAppsItem(PaymentMethodUPIApps appsItem)
-
getApps
public List<PaymentMethodUPIApps> getApps()
A list of apps for this payment method.- Returns:
- apps
-
setApps
public void setApps(List<PaymentMethodUPIApps> apps)
A list of apps for this payment method.- Parameters:
apps-
-
brand
public RecurringDetail brand(String brand)
Brand for the selected gift card. For example: plastix, hmclub.- Parameters:
brand-- Returns:
- the current
RecurringDetailinstance, allowing for method chaining
-
getBrand
public String getBrand()
Brand for the selected gift card. For example: plastix, hmclub.- Returns:
- brand
-
setBrand
public void setBrand(String brand)
Brand for the selected gift card. For example: plastix, hmclub.- Parameters:
brand-
-
brands
public RecurringDetail brands(List<String> brands)
List of possible brands. For example: visa, mc.- Parameters:
brands-- Returns:
- the current
RecurringDetailinstance, allowing for method chaining
-
addBrandsItem
public RecurringDetail addBrandsItem(String brandsItem)
-
getBrands
public List<String> getBrands()
List of possible brands. For example: visa, mc.- Returns:
- brands
-
setBrands
public void setBrands(List<String> brands)
List of possible brands. For example: visa, mc.- Parameters:
brands-
-
configuration
public RecurringDetail configuration(Map<String,String> configuration)
The configuration of the payment method.- Parameters:
configuration-- Returns:
- the current
RecurringDetailinstance, allowing for method chaining
-
putConfigurationItem
public RecurringDetail putConfigurationItem(String key, String configurationItem)
-
getConfiguration
public Map<String,String> getConfiguration()
The configuration of the payment method.- Returns:
- configuration
-
setConfiguration
public void setConfiguration(Map<String,String> configuration)
The configuration of the payment method.- Parameters:
configuration-
-
fundingSource
public RecurringDetail fundingSource(RecurringDetail.FundingSourceEnum fundingSource)
The funding source of the payment method.- Parameters:
fundingSource-- Returns:
- the current
RecurringDetailinstance, allowing for method chaining
-
getFundingSource
public RecurringDetail.FundingSourceEnum getFundingSource()
The funding source of the payment method.- Returns:
- fundingSource
-
setFundingSource
public void setFundingSource(RecurringDetail.FundingSourceEnum fundingSource)
The funding source of the payment method.- Parameters:
fundingSource-
-
group
public RecurringDetail group(PaymentMethodGroup group)
group- Parameters:
group-- Returns:
- the current
RecurringDetailinstance, allowing for method chaining
-
getGroup
public PaymentMethodGroup getGroup()
group- Returns:
- group
-
setGroup
public void setGroup(PaymentMethodGroup group)
group- Parameters:
group-
-
inputDetails
@Deprecated public RecurringDetail inputDetails(List<InputDetail> inputDetails)
Deprecated.All input details to be provided to complete the payment with this payment method.- Parameters:
inputDetails-- Returns:
- the current
RecurringDetailinstance, allowing for method chaining
-
addInputDetailsItem
public RecurringDetail 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
@Deprecated public void setInputDetails(List<InputDetail> inputDetails)
Deprecated.All input details to be provided to complete the payment with this payment method.- Parameters:
inputDetails-
-
issuers
public RecurringDetail issuers(List<PaymentMethodIssuer> issuers)
A list of issuers for this payment method.- Parameters:
issuers-- Returns:
- the current
RecurringDetailinstance, allowing for method chaining
-
addIssuersItem
public RecurringDetail 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)
A list of issuers for this payment method.- Parameters:
issuers-
-
name
public RecurringDetail name(String name)
The displayable name of this payment method.- Parameters:
name-- Returns:
- the current
RecurringDetailinstance, allowing for method chaining
-
getName
public String getName()
The displayable name of this payment method.- Returns:
- name
-
setName
public void setName(String name)
The displayable name of this payment method.- Parameters:
name-
-
recurringDetailReference
public RecurringDetail recurringDetailReference(String recurringDetailReference)
The reference that uniquely identifies the recurring detail.- Parameters:
recurringDetailReference-- Returns:
- the current
RecurringDetailinstance, allowing for method chaining
-
getRecurringDetailReference
public String getRecurringDetailReference()
The reference that uniquely identifies the recurring detail.- Returns:
- recurringDetailReference
-
setRecurringDetailReference
public void setRecurringDetailReference(String recurringDetailReference)
The reference that uniquely identifies the recurring detail.- Parameters:
recurringDetailReference-
-
storedDetails
public RecurringDetail storedDetails(StoredDetails storedDetails)
storedDetails- Parameters:
storedDetails-- Returns:
- the current
RecurringDetailinstance, allowing for method chaining
-
getStoredDetails
public StoredDetails getStoredDetails()
storedDetails- Returns:
- storedDetails
-
setStoredDetails
public void setStoredDetails(StoredDetails storedDetails)
storedDetails- Parameters:
storedDetails-
-
type
public RecurringDetail type(String type)
The unique payment method code.- Parameters:
type-- Returns:
- the current
RecurringDetailinstance, allowing for method chaining
-
getType
public String getType()
The unique payment method code.- Returns:
- type
-
setType
public void setType(String type)
The unique payment method code.- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this RecurringDetail object is equal to o.
-
fromJson
public static RecurringDetail fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of RecurringDetail given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RecurringDetail
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to RecurringDetail
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of RecurringDetail to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-