Class GetTerminalsUnderAccountRequest


  • public class GetTerminalsUnderAccountRequest
    extends Object
    GetTerminalsUnderAccountRequest
    • Constructor Detail

      • GetTerminalsUnderAccountRequest

        public GetTerminalsUnderAccountRequest()
    • Method Detail

      • getCompanyAccount

        public String getCompanyAccount()
        Your company account. If you only specify this parameter, the response includes all terminals at all account levels.
        Returns:
        companyAccount
      • setCompanyAccount

        public void setCompanyAccount​(String companyAccount)
        Your company account. If you only specify this parameter, the response includes all terminals at all account levels.
        Parameters:
        companyAccount -
      • getMerchantAccount

        public String getMerchantAccount()
        The merchant account. This is required if you are retrieving the terminals assigned to a store.If you don't specify a `store` the response includes the terminals assigned to the specified merchant account and the terminals assigned to the stores under this merchant account.
        Returns:
        merchantAccount
      • setMerchantAccount

        public void setMerchantAccount​(String merchantAccount)
        The merchant account. This is required if you are retrieving the terminals assigned to a store.If you don't specify a `store` the response includes the terminals assigned to the specified merchant account and the terminals assigned to the stores under this merchant account.
        Parameters:
        merchantAccount -
      • getStore

        public String getStore()
        The store code of the store. With this parameter, the response only includes the terminals assigned to the specified store.
        Returns:
        store
      • setStore

        public void setStore​(String store)
        The store code of the store. With this parameter, the response only includes the terminals assigned to the specified store.
        Parameters:
        store -
      • equals

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

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

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

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