Package com.adyen.model.checkout
Class SubInputDetail
- java.lang.Object
-
- com.adyen.model.checkout.SubInputDetail
-
public class SubInputDetail extends Object
SubInputDetail
-
-
Constructor Summary
Constructors Constructor Description SubInputDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubInputDetailaddItemsItem(Item itemsItem)booleanequals(Object o)Map<String,String>getConfiguration()The value can be pre-filled, if available.List<Item>getItems()In case of a select, the items to choose from.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.SubInputDetailitems(List<Item> items)SubInputDetailkey(String key)SubInputDetailoptional(Boolean optional)voidsetConfiguration(Map<String,String> configuration)voidsetItems(List<Item> items)voidsetKey(String key)voidsetOptional(Boolean optional)voidsetType(String type)voidsetValue(String value)StringtoString()SubInputDetailtype(String type)SubInputDetailvalue(String value)
-
-
-
Method Detail
-
items
public SubInputDetail items(List<Item> items)
-
addItemsItem
public SubInputDetail addItemsItem(Item itemsItem)
-
key
public SubInputDetail key(String key)
-
getKey
public String getKey()
The value to provide in the result.- Returns:
- key
-
setKey
public void setKey(String key)
-
optional
public SubInputDetail 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 SubInputDetail type(String type)
-
getType
public String getType()
The type of the required input.- Returns:
- type
-
setType
public void setType(String type)
-
value
public SubInputDetail value(String value)
-
getValue
public String getValue()
The value can be pre-filled, if available.- Returns:
- value
-
setValue
public void setValue(String value)
-
getConfiguration
public Map<String,String> getConfiguration()
The value can be pre-filled, if available.- Returns:
- value
-
-