Class AccountEvent


  • public class AccountEvent
    extends Object
    AccountEvent
    • Constructor Detail

      • AccountEvent

        public AccountEvent()
    • Method Detail

      • getEvent

        public AccountEvent.EventEnum getEvent()
        The event. >Permitted values: `InactivateAccount`, `RefundNotPaidOutTransfers`. For more information, refer to [Verification checks](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process).
        Returns:
        event
      • getExecutionDate

        public OffsetDateTime getExecutionDate()
        The date on which the event will take place.
        Returns:
        executionDate
      • setExecutionDate

        public void setExecutionDate​(OffsetDateTime executionDate)
      • getReason

        public String getReason()
        The reason why this event has been created.
        Returns:
        reason
      • setReason

        public void setReason​(String reason)
      • equals

        public boolean equals​(Object o)
        Return true if this AccountEvent object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static AccountEvent fromJson​(String jsonString)
                                     throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of AccountEvent given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of AccountEvent
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to AccountEvent
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of AccountEvent to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException