Package com.adyen.model.notification
Class NotificationRequest
- java.lang.Object
-
- com.adyen.model.notification.NotificationRequest
-
public class NotificationRequest extends Object
NotificationRequest model class
-
-
Constructor Summary
Constructors Constructor Description NotificationRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NotificationRequestfromJson(String jsonString)Create an instance of NotificationRequest given an JSON stringStringgetLive()List<NotificationRequestItemContainer>getNotificationItemContainers()List<NotificationRequestItem>getNotificationItems()NotificationRequestsetLive(String live)voidsetNotificationItemContainers(List<NotificationRequestItemContainer> notificationItemContainers)voidsetNotificationItems(List<NotificationRequestItem> notificationItems)StringtoJson()Convert an instance of NotificationRequest to an JSON stringStringtoString()
-
-
-
Method Detail
-
getLive
public String getLive()
-
setLive
public NotificationRequest setLive(String live)
-
getNotificationItemContainers
public List<NotificationRequestItemContainer> getNotificationItemContainers()
-
setNotificationItemContainers
public void setNotificationItemContainers(List<NotificationRequestItemContainer> notificationItemContainers)
-
getNotificationItems
public List<NotificationRequestItem> getNotificationItems()
-
setNotificationItems
public void setNotificationItems(List<NotificationRequestItem> notificationItems)
-
fromJson
public static NotificationRequest fromJson(String jsonString) throws IOException
Create an instance of NotificationRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NotificationRequest
- Throws:
IOException- if the JSON string is invalid with respect to NotificationRequest
-
toJson
public String toJson()
Convert an instance of NotificationRequest to an JSON string- Returns:
- JSON string
-
-