Class TerminalAssignmentNotificationRequest


  • public class TerminalAssignmentNotificationRequest
    extends Object
    TerminalAssignmentNotificationRequest
    • Constructor Detail

      • TerminalAssignmentNotificationRequest

        public TerminalAssignmentNotificationRequest()
    • Method Detail

      • assignedToAccount

        public TerminalAssignmentNotificationRequest assignedToAccount​(String assignedToAccount)
        The unique identifier of the merchant/company account to which the terminal is assigned.
        Parameters:
        assignedToAccount - The unique identifier of the merchant/company account to which the terminal is assigned.
        Returns:
        the current TerminalAssignmentNotificationRequest instance, allowing for method chaining
      • getAssignedToAccount

        public String getAssignedToAccount()
        The unique identifier of the merchant/company account to which the terminal is assigned.
        Returns:
        assignedToAccount The unique identifier of the merchant/company account to which the terminal is assigned.
      • setAssignedToAccount

        public void setAssignedToAccount​(String assignedToAccount)
        The unique identifier of the merchant/company account to which the terminal is assigned.
        Parameters:
        assignedToAccount - The unique identifier of the merchant/company account to which the terminal is assigned.
      • assignedToStore

        public TerminalAssignmentNotificationRequest assignedToStore​(String assignedToStore)
        The store that the terminal is assigned to, identified by the store reference (also known as store code).
        Parameters:
        assignedToStore - The store that the terminal is assigned to, identified by the store reference (also known as store code).
        Returns:
        the current TerminalAssignmentNotificationRequest instance, allowing for method chaining
      • getAssignedToStore

        public String getAssignedToStore()
        The store that the terminal is assigned to, identified by the store reference (also known as store code).
        Returns:
        assignedToStore The store that the terminal is assigned to, identified by the store reference (also known as store code).
      • setAssignedToStore

        public void setAssignedToStore​(String assignedToStore)
        The store that the terminal is assigned to, identified by the store reference (also known as store code).
        Parameters:
        assignedToStore - The store that the terminal is assigned to, identified by the store reference (also known as store code).
      • assignedToStoreId

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

        public String getAssignedToStoreId()
        The unique identifier of the store to which the terminal is assigned.
        Returns:
        assignedToStoreId The unique identifier of the store to which the terminal is assigned.
      • setAssignedToStoreId

        public void setAssignedToStoreId​(String assignedToStoreId)
        The unique identifier of the store to which the terminal is assigned.
        Parameters:
        assignedToStoreId - The unique identifier of the store to which the terminal is assigned.
      • eventDate

        public TerminalAssignmentNotificationRequest eventDate​(String eventDate)
        The date and time when an event has been completed.
        Parameters:
        eventDate - The date and time when an event has been completed.
        Returns:
        the current TerminalAssignmentNotificationRequest instance, allowing for method chaining
      • getEventDate

        public String getEventDate()
        The date and time when an event has been completed.
        Returns:
        eventDate The date and time when an event has been completed.
      • setEventDate

        public void setEventDate​(String eventDate)
        The date and time when an event has been completed.
        Parameters:
        eventDate - The date and time when an event has been completed.
      • pspReference

        public TerminalAssignmentNotificationRequest pspReference​(String pspReference)
        The PSP reference of the request from which the notification originates.
        Parameters:
        pspReference - The PSP reference of the request from which the notification originates.
        Returns:
        the current TerminalAssignmentNotificationRequest instance, allowing for method chaining
      • getPspReference

        public String getPspReference()
        The PSP reference of the request from which the notification originates.
        Returns:
        pspReference The PSP reference of the request from which the notification originates.
      • setPspReference

        public void setPspReference​(String pspReference)
        The PSP reference of the request from which the notification originates.
        Parameters:
        pspReference - The PSP reference of the request from which the notification originates.
      • uniqueTerminalId

        public TerminalAssignmentNotificationRequest uniqueTerminalId​(String uniqueTerminalId)
        The unique identifier of the terminal.
        Parameters:
        uniqueTerminalId - The unique identifier of the terminal.
        Returns:
        the current TerminalAssignmentNotificationRequest instance, allowing for method chaining
      • getUniqueTerminalId

        public String getUniqueTerminalId()
        The unique identifier of the terminal.
        Returns:
        uniqueTerminalId The unique identifier of the terminal.
      • setUniqueTerminalId

        public void setUniqueTerminalId​(String uniqueTerminalId)
        The unique identifier of the terminal.
        Parameters:
        uniqueTerminalId - The unique identifier of the terminal.
      • equals

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

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

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

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