Package com.adyen.model.management
Class Notification
- java.lang.Object
-
- com.adyen.model.management.Notification
-
public class Notification extends Object
Notification
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_SHOW_BUTTON
-
Constructor Summary
Constructors Constructor Description Notification()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this Notification object is equal to o.static NotificationfromJson(String jsonString)Create an instance of Notification given an JSON stringBooleangetShowButton()Shows or hides the event notification button on the terminal screen.inthashCode()voidsetShowButton(Boolean showButton)NotificationshowButton(Boolean showButton)StringtoJson()Convert an instance of Notification to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_SHOW_BUTTON
public static final String JSON_PROPERTY_SHOW_BUTTON
- See Also:
- Constant Field Values
-
-
Method Detail
-
showButton
public Notification showButton(Boolean showButton)
-
getShowButton
public Boolean getShowButton()
Shows or hides the event notification button on the terminal screen.- Returns:
- showButton
-
setShowButton
public void setShowButton(Boolean showButton)
-
equals
public boolean equals(Object o)
Return true if this Notification object is equal to o.
-
fromJson
public static Notification fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of Notification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Notification
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to Notification
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of Notification to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-