Class AccountHolderNotificationRequest


  • public class AccountHolderNotificationRequest
    extends Object
    AccountHolderNotificationRequest
    • Constructor Detail

      • AccountHolderNotificationRequest

        public AccountHolderNotificationRequest()
    • Method Detail

      • environment

        public AccountHolderNotificationRequest environment​(String environment)
        The environment from which the webhook originated. Possible values: **test**, **live**.
        Parameters:
        environment -
        Returns:
        the current AccountHolderNotificationRequest instance, allowing for method chaining
      • getEnvironment

        public String getEnvironment()
        The environment from which the webhook originated. Possible values: **test**, **live**.
        Returns:
        environment
      • setEnvironment

        public void setEnvironment​(String environment)
        The environment from which the webhook originated. Possible values: **test**, **live**.
        Parameters:
        environment -
      • timestamp

        public AccountHolderNotificationRequest timestamp​(OffsetDateTime timestamp)
        When the event was queued.
        Parameters:
        timestamp -
        Returns:
        the current AccountHolderNotificationRequest instance, allowing for method chaining
      • getTimestamp

        public OffsetDateTime getTimestamp()
        When the event was queued.
        Returns:
        timestamp
      • setTimestamp

        public void setTimestamp​(OffsetDateTime timestamp)
        When the event was queued.
        Parameters:
        timestamp -
      • equals

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

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

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

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