Class AccountHolderUpcomingDeadlineNotificationContent
- java.lang.Object
-
- com.adyen.model.marketpaywebhooks.AccountHolderUpcomingDeadlineNotificationContent
-
public class AccountHolderUpcomingDeadlineNotificationContent extends Object
AccountHolderUpcomingDeadlineNotificationContent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccountHolderUpcomingDeadlineNotificationContent.EventEnumThe event name that will be trigger if no action is taken.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_HOLDER_CODEstatic StringJSON_PROPERTY_EVENTstatic StringJSON_PROPERTY_EXECUTION_DATEstatic StringJSON_PROPERTY_REASON
-
Constructor Summary
Constructors Constructor Description AccountHolderUpcomingDeadlineNotificationContent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountHolderUpcomingDeadlineNotificationContentaccountHolderCode(String accountHolderCode)booleanequals(Object o)Return true if this AccountHolderUpcomingDeadlineNotificationContent object is equal to o.AccountHolderUpcomingDeadlineNotificationContentevent(AccountHolderUpcomingDeadlineNotificationContent.EventEnum event)AccountHolderUpcomingDeadlineNotificationContentexecutionDate(OffsetDateTime executionDate)static AccountHolderUpcomingDeadlineNotificationContentfromJson(String jsonString)Create an instance of AccountHolderUpcomingDeadlineNotificationContent given an JSON stringStringgetAccountHolderCode()The code of the account holder whom the event refers to.AccountHolderUpcomingDeadlineNotificationContent.EventEnumgetEvent()The event name that will be trigger if no action is taken.OffsetDateTimegetExecutionDate()The execution date scheduled for the event.StringgetReason()The reason that leads to scheduling of the event.inthashCode()AccountHolderUpcomingDeadlineNotificationContentreason(String reason)voidsetAccountHolderCode(String accountHolderCode)voidsetEvent(AccountHolderUpcomingDeadlineNotificationContent.EventEnum event)voidsetExecutionDate(OffsetDateTime executionDate)voidsetReason(String reason)StringtoJson()Convert an instance of AccountHolderUpcomingDeadlineNotificationContent to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_HOLDER_CODE
public static final String JSON_PROPERTY_ACCOUNT_HOLDER_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EVENT
public static final String JSON_PROPERTY_EVENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXECUTION_DATE
public static final String JSON_PROPERTY_EXECUTION_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REASON
public static final String JSON_PROPERTY_REASON
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountHolderCode
public AccountHolderUpcomingDeadlineNotificationContent accountHolderCode(String accountHolderCode)
-
getAccountHolderCode
public String getAccountHolderCode()
The code of the account holder whom the event refers to.- Returns:
- accountHolderCode
-
setAccountHolderCode
public void setAccountHolderCode(String accountHolderCode)
-
event
public AccountHolderUpcomingDeadlineNotificationContent event(AccountHolderUpcomingDeadlineNotificationContent.EventEnum event)
-
getEvent
public AccountHolderUpcomingDeadlineNotificationContent.EventEnum getEvent()
The event name that will be trigger if no action is taken.- Returns:
- event
-
setEvent
public void setEvent(AccountHolderUpcomingDeadlineNotificationContent.EventEnum event)
-
executionDate
public AccountHolderUpcomingDeadlineNotificationContent executionDate(OffsetDateTime executionDate)
-
getExecutionDate
public OffsetDateTime getExecutionDate()
The execution date scheduled for the event.- Returns:
- executionDate
-
setExecutionDate
public void setExecutionDate(OffsetDateTime executionDate)
-
reason
public AccountHolderUpcomingDeadlineNotificationContent reason(String reason)
-
getReason
public String getReason()
The reason that leads to scheduling of the event.- Returns:
- reason
-
setReason
public void setReason(String reason)
-
equals
public boolean equals(Object o)
Return true if this AccountHolderUpcomingDeadlineNotificationContent object is equal to o.
-
fromJson
public static AccountHolderUpcomingDeadlineNotificationContent fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AccountHolderUpcomingDeadlineNotificationContent given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountHolderUpcomingDeadlineNotificationContent
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AccountHolderUpcomingDeadlineNotificationContent
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AccountHolderUpcomingDeadlineNotificationContent to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-