Class TerminalAssignment


  • public class TerminalAssignment
    extends Object
    TerminalAssignment
    • Constructor Detail

      • TerminalAssignment

        public TerminalAssignment()
    • Method Detail

      • companyId

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

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

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

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

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

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

        public TerminalAssignment reassignmentTarget​(TerminalReassignmentTarget reassignmentTarget)
        reassignmentTarget
        Parameters:
        reassignmentTarget -
        Returns:
        the current TerminalAssignment instance, allowing for method chaining
      • getReassignmentTarget

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

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

        public TerminalAssignment status​(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 - 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:
        the current TerminalAssignment instance, allowing for method chaining
      • 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 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.
      • 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 - 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.
      • storeId

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

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

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

        public TerminalAssignment includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • 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
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • 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