Class GetTerminalsUnderAccountResponse


  • public class GetTerminalsUnderAccountResponse
    extends Object
    GetTerminalsUnderAccountResponse
    • Constructor Detail

      • GetTerminalsUnderAccountResponse

        public GetTerminalsUnderAccountResponse()
    • Method Detail

      • getCompanyAccount

        public String getCompanyAccount()
        Your company account.
        Returns:
        companyAccount
      • setCompanyAccount

        public void setCompanyAccount​(String companyAccount)
      • getInventoryTerminals

        public List<String> getInventoryTerminals()
        Array that returns a list of all terminals that are in the inventory of the company account.
        Returns:
        inventoryTerminals
      • setInventoryTerminals

        public void setInventoryTerminals​(List<String> inventoryTerminals)
      • getMerchantAccounts

        public List<MerchantAccount> getMerchantAccounts()
        Array that returns a list of all merchant accounts belonging to the company account.
        Returns:
        merchantAccounts
      • setMerchantAccounts

        public void setMerchantAccounts​(List<MerchantAccount> merchantAccounts)
      • 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 GetTerminalsUnderAccountResponse
      • fromJson

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

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