Class TerminalReassignmentTarget


  • public class TerminalReassignmentTarget
    extends Object
    TerminalReassignmentTarget
    • Constructor Detail

      • TerminalReassignmentTarget

        public TerminalReassignmentTarget()
    • Method Detail

      • companyId

        public TerminalReassignmentTarget companyId​(String companyId)
        The unique identifier of the company account to which the terminal is reassigned.
        Parameters:
        companyId -
        Returns:
        the current TerminalReassignmentTarget instance, allowing for method chaining
      • getCompanyId

        public String getCompanyId()
        The unique identifier of the company account to which the terminal is reassigned.
        Returns:
        companyId
      • setCompanyId

        public void setCompanyId​(String companyId)
        The unique identifier of the company account to which the terminal is reassigned.
        Parameters:
        companyId -
      • inventory

        public TerminalReassignmentTarget inventory​(Boolean inventory)
        Indicates if the terminal is reassigned to the inventory of the merchant account. - If **true**, the terminal is in the inventory of the merchant account and cannot process transactions. - If **false**, the terminal is reassigned directly to the merchant account and can process transactions.
        Parameters:
        inventory -
        Returns:
        the current TerminalReassignmentTarget instance, allowing for method chaining
      • getInventory

        public Boolean getInventory()
        Indicates if the terminal is reassigned to the inventory of the merchant account. - If **true**, the terminal is in the inventory of the merchant account and cannot process transactions. - If **false**, the terminal is reassigned directly to the merchant account and can process transactions.
        Returns:
        inventory
      • setInventory

        public void setInventory​(Boolean inventory)
        Indicates if the terminal is reassigned to the inventory of the merchant account. - If **true**, the terminal is in the inventory of the merchant account and cannot process transactions. - If **false**, the terminal is reassigned directly to the merchant account and can process transactions.
        Parameters:
        inventory -
      • merchantId

        public TerminalReassignmentTarget merchantId​(String merchantId)
        The unique identifier of the merchant account to which the terminal is reassigned.
        Parameters:
        merchantId -
        Returns:
        the current TerminalReassignmentTarget instance, allowing for method chaining
      • getMerchantId

        public String getMerchantId()
        The unique identifier of the merchant account to which the terminal is reassigned.
        Returns:
        merchantId
      • setMerchantId

        public void setMerchantId​(String merchantId)
        The unique identifier of the merchant account to which the terminal is reassigned.
        Parameters:
        merchantId -
      • storeId

        public TerminalReassignmentTarget storeId​(String storeId)
        The unique identifier of the store to which the terminal is reassigned.
        Parameters:
        storeId -
        Returns:
        the current TerminalReassignmentTarget instance, allowing for method chaining
      • getStoreId

        public String getStoreId()
        The unique identifier of the store to which the terminal is reassigned.
        Returns:
        storeId
      • setStoreId

        public void setStoreId​(String storeId)
        The unique identifier of the store to which the terminal is reassigned.
        Parameters:
        storeId -
      • equals

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

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

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

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