Class Store


  • public class Store
    extends Object
    Store
    • Constructor Detail

      • Store

        public Store()
    • Method Detail

      • address

        public Store address​(Address address)
        address
        Parameters:
        address -
        Returns:
        the current Store instance, allowing for method chaining
      • getAddress

        public Address getAddress()
        address
        Returns:
        address
      • setAddress

        public void setAddress​(Address address)
        address
        Parameters:
        address -
      • description

        public Store description​(String description)
        The description of the store.
        Parameters:
        description -
        Returns:
        the current Store instance, allowing for method chaining
      • getDescription

        public String getDescription()
        The description of the store.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
        The description of the store.
        Parameters:
        description -
      • inStoreTerminals

        public Store inStoreTerminals​(List<String> inStoreTerminals)
        The list of terminals assigned to the store.
        Parameters:
        inStoreTerminals -
        Returns:
        the current Store instance, allowing for method chaining
      • addInStoreTerminalsItem

        public Store addInStoreTerminalsItem​(String inStoreTerminalsItem)
      • getInStoreTerminals

        public List<String> getInStoreTerminals()
        The list of terminals assigned to the store.
        Returns:
        inStoreTerminals
      • setInStoreTerminals

        public void setInStoreTerminals​(List<String> inStoreTerminals)
        The list of terminals assigned to the store.
        Parameters:
        inStoreTerminals -
      • merchantAccountCode

        public Store merchantAccountCode​(String merchantAccountCode)
        The code of the merchant account.
        Parameters:
        merchantAccountCode -
        Returns:
        the current Store instance, allowing for method chaining
      • getMerchantAccountCode

        public String getMerchantAccountCode()
        The code of the merchant account.
        Returns:
        merchantAccountCode
      • setMerchantAccountCode

        public void setMerchantAccountCode​(String merchantAccountCode)
        The code of the merchant account.
        Parameters:
        merchantAccountCode -
      • status

        public Store status​(String status)
        The status of the store: - `PreActive`: the store has been created, but not yet activated. - `Active`: the store has been activated. This means you can process payments for this store. - `Inactive`: the store is currently not active. - `InactiveWithModifications`: the store is currently not active, but payment modifications such as refunds are possible. - `Closed`: the store has been closed.
        Parameters:
        status -
        Returns:
        the current Store instance, allowing for method chaining
      • getStatus

        public String getStatus()
        The status of the store: - `PreActive`: the store has been created, but not yet activated. - `Active`: the store has been activated. This means you can process payments for this store. - `Inactive`: the store is currently not active. - `InactiveWithModifications`: the store is currently not active, but payment modifications such as refunds are possible. - `Closed`: the store has been closed.
        Returns:
        status
      • setStatus

        public void setStatus​(String status)
        The status of the store: - `PreActive`: the store has been created, but not yet activated. - `Active`: the store has been activated. This means you can process payments for this store. - `Inactive`: the store is currently not active. - `InactiveWithModifications`: the store is currently not active, but payment modifications such as refunds are possible. - `Closed`: the store has been closed.
        Parameters:
        status -
      • store

        public Store store​(String store)
        The code of the store.
        Parameters:
        store -
        Returns:
        the current Store instance, allowing for method chaining
      • getStore

        public String getStore()
        The code of the store.
        Returns:
        store
      • setStore

        public void setStore​(String store)
        The code of the store.
        Parameters:
        store -
      • equals

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

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

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

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