Package com.adyen.model.checkout
Class InputDetail
- java.lang.Object
-
- com.adyen.model.checkout.InputDetail
-
public class InputDetail extends Object
InputDetail
-
-
Constructor Summary
Constructors Constructor Description InputDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputDetailaddDetailsItem(SubInputDetail detailsItem)InputDetailaddItemsItem(Item itemsItem)InputDetailconfiguration(Map<String,String> configuration)InputDetaildetails(List<SubInputDetail> details)booleanequals(Object o)Map<String,String>getConfiguration()Configuration parameters for the required input.List<SubInputDetail>getDetails()Input details can also be provided recursively.List<Item>getItems()In case of a select, the items to choose from.StringgetItemSearchUrl()In case of a select, the URL from which to query the items.StringgetKey()The value to provide in the result.StringgetType()The type of the required input.StringgetValue()The value can be pre-filled, if available.inthashCode()BooleanisOptional()True if this input is optional to provide.InputDetailitems(List<Item> items)InputDetailitemSearchUrl(String itemSearchUrl)InputDetailkey(String key)InputDetailoptional(Boolean optional)InputDetailputConfigurationItem(String key, String configurationItem)voidsetConfiguration(Map<String,String> configuration)voidsetDetails(List<SubInputDetail> details)voidsetItems(List<Item> items)voidsetItemSearchUrl(String itemSearchUrl)voidsetKey(String key)voidsetOptional(Boolean optional)voidsetType(String type)voidsetValue(String value)StringtoString()InputDetailtype(String type)InputDetailvalue(String value)
-
-
-
Method Detail
-
configuration
public InputDetail configuration(Map<String,String> configuration)
-
putConfigurationItem
public InputDetail putConfigurationItem(String key, String configurationItem)
-
getConfiguration
public Map<String,String> getConfiguration()
Configuration parameters for the required input.- Returns:
- configuration
-
details
public InputDetail details(List<SubInputDetail> details)
-
addDetailsItem
public InputDetail addDetailsItem(SubInputDetail detailsItem)
-
getDetails
public List<SubInputDetail> getDetails()
Input details can also be provided recursively.- Returns:
- details
-
setDetails
public void setDetails(List<SubInputDetail> details)
-
itemSearchUrl
public InputDetail itemSearchUrl(String itemSearchUrl)
-
getItemSearchUrl
public String getItemSearchUrl()
In case of a select, the URL from which to query the items.- Returns:
- itemSearchUrl
-
setItemSearchUrl
public void setItemSearchUrl(String itemSearchUrl)
-
items
public InputDetail items(List<Item> items)
-
addItemsItem
public InputDetail addItemsItem(Item itemsItem)
-
key
public InputDetail key(String key)
-
getKey
public String getKey()
The value to provide in the result.- Returns:
- key
-
setKey
public void setKey(String key)
-
optional
public InputDetail optional(Boolean optional)
-
isOptional
public Boolean isOptional()
True if this input is optional to provide.- Returns:
- optional
-
setOptional
public void setOptional(Boolean optional)
-
type
public InputDetail type(String type)
-
getType
public String getType()
The type of the required input.- Returns:
- type
-
setType
public void setType(String type)
-
value
public InputDetail value(String value)
-
getValue
public String getValue()
The value can be pre-filled, if available.- Returns:
- value
-
setValue
public void setValue(String value)
-
-