Class ReportNotificationRequest


  • public class ReportNotificationRequest
    extends Object
    ReportNotificationRequest
    • Constructor Detail

      • ReportNotificationRequest

        public ReportNotificationRequest()
    • Method Detail

      • 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 -
      • equals

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

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

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

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