Class RequestActivationResponse


  • public class RequestActivationResponse
    extends Object
    RequestActivationResponse
    • Constructor Detail

      • RequestActivationResponse

        public RequestActivationResponse()
    • Method Detail

      • getCompanyId

        public String getCompanyId()
        The unique identifier of the company account.
        Returns:
        companyId
      • setCompanyId

        public void setCompanyId​(String companyId)
      • getMerchantId

        public String getMerchantId()
        The unique identifier of the merchant account you requested to activate.
        Returns:
        merchantId
      • setMerchantId

        public void setMerchantId​(String merchantId)
      • 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 RequestActivationResponse
      • fromJson

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

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