Package com.adyen.model.tapi
Class InputUpdate
- java.lang.Object
-
- com.adyen.model.tapi.InputUpdate
-
public class InputUpdate extends Object
Definition: Content of the Input Update message. : It conveys update of the display of an Input request in progress.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MAX_DECIMAL_LENGTHstatic StringJSON_PROPERTY_MAX_LENGTHstatic StringJSON_PROPERTY_MENU_ENTRYstatic StringJSON_PROPERTY_MESSAGE_REFERENCEstatic StringJSON_PROPERTY_MIN_LENGTHstatic StringJSON_PROPERTY_OUTPUT_CONTENTstatic StringJSON_PROPERTY_OUTPUT_SIGNATURE
-
Constructor Summary
Constructors Constructor Description InputUpdate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InputUpdateaddMenuEntryItem(MenuEntry menuEntryItem)booleanequals(Object o)Return true if this InputUpdate object is equal to o.static InputUpdatefromJson(String jsonString)Create an instance of InputUpdate given an JSON stringMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.IntegergetMaxDecimalLength()Get maxDecimalLengthIntegergetMaxLength()Get maxLengthList<MenuEntry>getMenuEntry()Get menuEntryMessageReferencegetMessageReference()Get messageReferenceIntegergetMinLength()Get minLengthOutputContentgetOutputContent()Get outputContentbyte[]getOutputSignature()Get outputSignatureinthashCode()InputUpdateincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.InputUpdatemaxDecimalLength(Integer maxDecimalLength)maxDecimalLengthInputUpdatemaxLength(Integer maxLength)maxLengthInputUpdatemenuEntry(List<MenuEntry> menuEntry)menuEntryInputUpdatemessageReference(MessageReference messageReference)messageReferenceInputUpdateminLength(Integer minLength)minLengthInputUpdateoutputContent(OutputContent outputContent)outputContentInputUpdateoutputSignature(byte[] outputSignature)outputSignaturevoidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetMaxDecimalLength(Integer maxDecimalLength)maxDecimalLengthvoidsetMaxLength(Integer maxLength)maxLengthvoidsetMenuEntry(List<MenuEntry> menuEntry)menuEntryvoidsetMessageReference(MessageReference messageReference)messageReferencevoidsetMinLength(Integer minLength)minLengthvoidsetOutputContent(OutputContent outputContent)outputContentvoidsetOutputSignature(byte[] outputSignature)outputSignatureStringtoJson()Convert an instance of InputUpdate to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_MESSAGE_REFERENCE
public static final String JSON_PROPERTY_MESSAGE_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OUTPUT_CONTENT
public static final String JSON_PROPERTY_OUTPUT_CONTENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MENU_ENTRY
public static final String JSON_PROPERTY_MENU_ENTRY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OUTPUT_SIGNATURE
public static final String JSON_PROPERTY_OUTPUT_SIGNATURE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MIN_LENGTH
public static final String JSON_PROPERTY_MIN_LENGTH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_LENGTH
public static final String JSON_PROPERTY_MAX_LENGTH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_DECIMAL_LENGTH
public static final String JSON_PROPERTY_MAX_DECIMAL_LENGTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
messageReference
public InputUpdate messageReference(MessageReference messageReference)
messageReference- Parameters:
messageReference-- Returns:
- the current
InputUpdateinstance, allowing for method chaining
-
getMessageReference
public MessageReference getMessageReference()
Get messageReference- Returns:
- messageReference
-
setMessageReference
public void setMessageReference(MessageReference messageReference)
messageReference- Parameters:
messageReference-
-
outputContent
public InputUpdate outputContent(OutputContent outputContent)
outputContent- Parameters:
outputContent-- Returns:
- the current
InputUpdateinstance, allowing for method chaining
-
getOutputContent
public OutputContent getOutputContent()
Get outputContent- Returns:
- outputContent
-
setOutputContent
public void setOutputContent(OutputContent outputContent)
outputContent- Parameters:
outputContent-
-
menuEntry
public InputUpdate menuEntry(List<MenuEntry> menuEntry)
menuEntry- Parameters:
menuEntry-- Returns:
- the current
InputUpdateinstance, allowing for method chaining
-
addMenuEntryItem
public InputUpdate addMenuEntryItem(MenuEntry menuEntryItem)
-
outputSignature
public InputUpdate outputSignature(byte[] outputSignature)
outputSignature- Parameters:
outputSignature-- Returns:
- the current
InputUpdateinstance, allowing for method chaining
-
getOutputSignature
public byte[] getOutputSignature()
Get outputSignature- Returns:
- outputSignature
-
setOutputSignature
public void setOutputSignature(byte[] outputSignature)
outputSignature- Parameters:
outputSignature-
-
minLength
public InputUpdate minLength(Integer minLength)
minLength- Parameters:
minLength-- Returns:
- the current
InputUpdateinstance, allowing for method chaining
-
getMinLength
public Integer getMinLength()
Get minLength- Returns:
- minLength
-
setMinLength
public void setMinLength(Integer minLength)
minLength- Parameters:
minLength-
-
maxLength
public InputUpdate maxLength(Integer maxLength)
maxLength- Parameters:
maxLength-- Returns:
- the current
InputUpdateinstance, allowing for method chaining
-
getMaxLength
public Integer getMaxLength()
Get maxLength- Returns:
- maxLength
-
setMaxLength
public void setMaxLength(Integer maxLength)
maxLength- Parameters:
maxLength-
-
maxDecimalLength
public InputUpdate maxDecimalLength(Integer maxDecimalLength)
maxDecimalLength- Parameters:
maxDecimalLength-- Returns:
- the current
InputUpdateinstance, allowing for method chaining
-
getMaxDecimalLength
public Integer getMaxDecimalLength()
Get maxDecimalLength- Returns:
- maxDecimalLength
-
setMaxDecimalLength
public void setMaxDecimalLength(Integer maxDecimalLength)
maxDecimalLength- Parameters:
maxDecimalLength-
-
includeNullValues
public InputUpdate includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this InputUpdate object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
fromJson
public static InputUpdate fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of InputUpdate given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InputUpdate
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to InputUpdate
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of InputUpdate to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-