Class AccountHolderStoreStatusChangeNotification
- java.lang.Object
-
- com.adyen.model.marketpaywebhooks.AccountHolderStoreStatusChangeNotification
-
public class AccountHolderStoreStatusChangeNotification extends Object
AccountHolderStoreStatusChangeNotification
-
-
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 AccountHolderStoreStatusChangeNotification()
-
Method Summary
-
-
-
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 AccountHolderStoreStatusChangeNotification content(AccountHolderStoreStatusChangeNotificationContent content)
-
getContent
public AccountHolderStoreStatusChangeNotificationContent getContent()
Get content- Returns:
- content
-
setContent
public void setContent(AccountHolderStoreStatusChangeNotificationContent content)
-
error
public AccountHolderStoreStatusChangeNotification error(NotificationErrorContainer error)
-
getError
public NotificationErrorContainer getError()
Get error- Returns:
- error
-
setError
public void setError(NotificationErrorContainer error)
-
eventDate
public AccountHolderStoreStatusChangeNotification 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 AccountHolderStoreStatusChangeNotification eventType(String eventType)
-
getEventType
public String getEventType()
The event type of the notification.- Returns:
- eventType
-
setEventType
public void setEventType(String eventType)
-
executingUserKey
public AccountHolderStoreStatusChangeNotification 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 AccountHolderStoreStatusChangeNotification 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 AccountHolderStoreStatusChangeNotification 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 AccountHolderStoreStatusChangeNotification object is equal to o.
-
fromJson
public static AccountHolderStoreStatusChangeNotification fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AccountHolderStoreStatusChangeNotification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountHolderStoreStatusChangeNotification
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AccountHolderStoreStatusChangeNotification
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AccountHolderStoreStatusChangeNotification to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-