Class BeneficiarySetupNotification
- java.lang.Object
-
- com.adyen.model.marketpaywebhooks.BeneficiarySetupNotification
-
public class BeneficiarySetupNotification extends Object
BeneficiarySetupNotification
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CONTENTstatic StringJSON_PROPERTY_ERRORstatic StringJSON_PROPERTY_EVENT_DATEstatic StringJSON_PROPERTY_EVENT_TYPEstatic StringJSON_PROPERTY_EXECUTING_USER_KEYstatic StringJSON_PROPERTY_LIVEstatic StringJSON_PROPERTY_PSP_REFERENCE
-
Constructor Summary
Constructors Constructor Description BeneficiarySetupNotification()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BeneficiarySetupNotificationcontent(BeneficiarySetupNotificationContent content)booleanequals(Object o)Return true if this BeneficiarySetupNotification object is equal to o.BeneficiarySetupNotificationerror(NotificationErrorContainer error)BeneficiarySetupNotificationeventDate(OffsetDateTime eventDate)BeneficiarySetupNotificationeventType(String eventType)BeneficiarySetupNotificationexecutingUserKey(String executingUserKey)static BeneficiarySetupNotificationfromJson(String jsonString)Create an instance of BeneficiarySetupNotification given an JSON stringBeneficiarySetupNotificationContentgetContent()Get contentNotificationErrorContainergetError()Get errorOffsetDateTimegetEventDate()The date and time when an event has been completed.StringgetEventType()The event type of the notification.StringgetExecutingUserKey()The user or process that has triggered the notification.BooleangetLive()Indicates whether the notification originated from the live environment or the test environment.StringgetPspReference()The PSP reference of the request from which the notification originates.inthashCode()BeneficiarySetupNotificationlive(Boolean live)BeneficiarySetupNotificationpspReference(String pspReference)voidsetContent(BeneficiarySetupNotificationContent content)voidsetError(NotificationErrorContainer error)voidsetEventDate(OffsetDateTime eventDate)voidsetEventType(String eventType)voidsetExecutingUserKey(String executingUserKey)voidsetLive(Boolean live)voidsetPspReference(String pspReference)StringtoJson()Convert an instance of BeneficiarySetupNotification to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CONTENT
public static final String JSON_PROPERTY_CONTENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ERROR
public static final String JSON_PROPERTY_ERROR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EVENT_DATE
public static final String JSON_PROPERTY_EVENT_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EVENT_TYPE
public static final String JSON_PROPERTY_EVENT_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXECUTING_USER_KEY
public static final String JSON_PROPERTY_EXECUTING_USER_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LIVE
public static final String JSON_PROPERTY_LIVE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PSP_REFERENCE
public static final String JSON_PROPERTY_PSP_REFERENCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
content
public BeneficiarySetupNotification content(BeneficiarySetupNotificationContent content)
-
getContent
public BeneficiarySetupNotificationContent getContent()
Get content- Returns:
- content
-
setContent
public void setContent(BeneficiarySetupNotificationContent content)
-
error
public BeneficiarySetupNotification error(NotificationErrorContainer error)
-
getError
public NotificationErrorContainer getError()
Get error- Returns:
- error
-
setError
public void setError(NotificationErrorContainer error)
-
eventDate
public BeneficiarySetupNotification eventDate(OffsetDateTime eventDate)
-
getEventDate
public OffsetDateTime getEventDate()
The date and time when an event has been completed.- Returns:
- eventDate
-
setEventDate
public void setEventDate(OffsetDateTime eventDate)
-
eventType
public BeneficiarySetupNotification eventType(String eventType)
-
getEventType
public String getEventType()
The event type of the notification.- Returns:
- eventType
-
setEventType
public void setEventType(String eventType)
-
executingUserKey
public BeneficiarySetupNotification executingUserKey(String executingUserKey)
-
getExecutingUserKey
public String getExecutingUserKey()
The user or process that has triggered the notification.- Returns:
- executingUserKey
-
setExecutingUserKey
public void setExecutingUserKey(String executingUserKey)
-
live
public BeneficiarySetupNotification live(Boolean live)
-
getLive
public Boolean getLive()
Indicates whether the notification originated from the live environment or the test environment. If true, the notification originated from the live environment. If false, the notification originated from the test environment.- Returns:
- live
-
setLive
public void setLive(Boolean live)
-
pspReference
public BeneficiarySetupNotification pspReference(String pspReference)
-
getPspReference
public String getPspReference()
The PSP reference of the request from which the notification originates.- Returns:
- pspReference
-
setPspReference
public void setPspReference(String pspReference)
-
equals
public boolean equals(Object o)
Return true if this BeneficiarySetupNotification object is equal to o.
-
fromJson
public static BeneficiarySetupNotification fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of BeneficiarySetupNotification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BeneficiarySetupNotification
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to BeneficiarySetupNotification
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of BeneficiarySetupNotification to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-