Class MerchantUpdatedNotificationRequest


  • public class MerchantUpdatedNotificationRequest
    extends Object
    MerchantUpdatedNotificationRequest
    • Constructor Detail

      • MerchantUpdatedNotificationRequest

        public MerchantUpdatedNotificationRequest()
    • Method Detail

      • createdAt

        public MerchantUpdatedNotificationRequest createdAt​(OffsetDateTime createdAt)
        Timestamp for when the webhook was created.
        Parameters:
        createdAt - Timestamp for when the webhook was created.
        Returns:
        the current MerchantUpdatedNotificationRequest instance, allowing for method chaining
      • getCreatedAt

        public OffsetDateTime getCreatedAt()
        Timestamp for when the webhook was created.
        Returns:
        createdAt Timestamp for when the webhook was created.
      • setCreatedAt

        public void setCreatedAt​(OffsetDateTime createdAt)
        Timestamp for when the webhook was created.
        Parameters:
        createdAt - Timestamp for when the webhook was created.
      • environment

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

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

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

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

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

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

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