Class ClearpayInfo


  • public class ClearpayInfo
    extends Object
    ClearpayInfo
    • Constructor Detail

      • ClearpayInfo

        public ClearpayInfo()
    • Method Detail

      • getSupportUrl

        public String getSupportUrl()
        Support Url
        Returns:
        supportUrl
      • setSupportUrl

        public void setSupportUrl​(String supportUrl)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to ClearpayInfo
      • fromJson

        public static ClearpayInfo fromJson​(String jsonString)
                                     throws IOException
        Create an instance of ClearpayInfo given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of ClearpayInfo
        Throws:
        IOException - if the JSON string is invalid with respect to ClearpayInfo
      • toJson

        public String toJson()
        Convert an instance of ClearpayInfo to an JSON string
        Returns:
        JSON string