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