Class MerchantAccount


  • public class MerchantAccount
    extends Object
    MerchantAccount
    • Constructor Detail

      • MerchantAccount

        public MerchantAccount()
    • Method Detail

      • addInStoreTerminalsItem

        public MerchantAccount addInStoreTerminalsItem​(String inStoreTerminalsItem)
      • getInStoreTerminals

        public List<String> getInStoreTerminals()
        List of terminals assigned to this merchant account as in-store terminals. This means that the terminal is ready to be boarded, or is already boarded.
        Returns:
        inStoreTerminals
      • setInStoreTerminals

        public void setInStoreTerminals​(List<String> inStoreTerminals)
        List of terminals assigned to this merchant account as in-store terminals. This means that the terminal is ready to be boarded, or is already boarded.
        Parameters:
        inStoreTerminals -
      • addInventoryTerminalsItem

        public MerchantAccount addInventoryTerminalsItem​(String inventoryTerminalsItem)
      • getInventoryTerminals

        public List<String> getInventoryTerminals()
        List of terminals assigned to the inventory of this merchant account.
        Returns:
        inventoryTerminals
      • setInventoryTerminals

        public void setInventoryTerminals​(List<String> inventoryTerminals)
        List of terminals assigned to the inventory of this merchant account.
        Parameters:
        inventoryTerminals -
      • getMerchantAccount

        public String getMerchantAccount()
        The merchant account.
        Returns:
        merchantAccount
      • setMerchantAccount

        public void setMerchantAccount​(String merchantAccount)
        The merchant account.
        Parameters:
        merchantAccount -
      • getStores

        public List<Store> getStores()
        Array of stores under this merchant account.
        Returns:
        stores
      • setStores

        public void setStores​(List<Store> stores)
        Array of stores under this merchant account.
        Parameters:
        stores -
      • equals

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

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

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

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