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)RecurringDetailbrand(String brand)RecurringDetailbrands(List<String> brands)RecurringDetailconfiguration(Map<String,String> configuration)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)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()Get 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()Get storedDetailsStringgetType()The unique payment method code.RecurringDetailgroup(PaymentMethodGroup group)inthashCode()RecurringDetailinputDetails(List<InputDetail> inputDetails)Deprecated.RecurringDetailissuers(List<PaymentMethodIssuer> issuers)RecurringDetailname(String name)RecurringDetailputConfigurationItem(String key, String configurationItem)RecurringDetailrecurringDetailReference(String recurringDetailReference)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)StringtoJson()Convert an instance of RecurringDetail to an JSON stringStringtoString()RecurringDetailtype(String type)
-
-
-
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)
-
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)
-
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)
-
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)
-
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)
-
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)
-
getGroup
public PaymentMethodGroup getGroup()
Get group- Returns:
- group
-
setGroup
public void setGroup(PaymentMethodGroup group)
group- Parameters:
group-
-
inputDetails
@Deprecated public RecurringDetail inputDetails(List<InputDetail> inputDetails)
Deprecated.
-
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)
-
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)
-
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)
-
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)
-
getStoredDetails
public StoredDetails getStoredDetails()
Get storedDetails- Returns:
- storedDetails
-
setStoredDetails
public void setStoredDetails(StoredDetails storedDetails)
storedDetails- Parameters:
storedDetails-
-
type
public RecurringDetail type(String type)
-
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
-
-