Class TerminalAssignment


  • public class TerminalAssignment
    extends Object
    TerminalAssignment
    • Constructor Detail

      • TerminalAssignment

        public TerminalAssignment()
    • Method Detail

      • getCompanyId

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

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

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

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

        public TerminalReassignmentTarget getReassignmentTarget()
        Get reassignmentTarget
        Returns:
        reassignmentTarget
      • setReassignmentTarget

        public void setReassignmentTarget​(TerminalReassignmentTarget reassignmentTarget)
        reassignmentTarget
        Parameters:
        reassignmentTarget -
      • getStatus

        public TerminalAssignment.StatusEnum getStatus()
        The status of the reassignment. Possible values: * `reassignmentInProgress`: the terminal was boarded and is now scheduled to remove the configuration. Wait for the terminal to synchronize with the Adyen platform. * `deployed`: the terminal is deployed and reassigned. * `inventory`: the terminal is in inventory and cannot process transactions. * `boarded`: the terminal is boarded to a store, or a merchant account representing a store, and can process transactions.
        Returns:
        status
      • setStatus

        public void setStatus​(TerminalAssignment.StatusEnum status)
        The status of the reassignment. Possible values: * `reassignmentInProgress`: the terminal was boarded and is now scheduled to remove the configuration. Wait for the terminal to synchronize with the Adyen platform. * `deployed`: the terminal is deployed and reassigned. * `inventory`: the terminal is in inventory and cannot process transactions. * `boarded`: the terminal is boarded to a store, or a merchant account representing a store, and can process transactions.
        Parameters:
        status -
      • getStoreId

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

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

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

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

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

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