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 -
        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
      • setAssignedToAccount

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

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

        public String getAssignedToStore()
        The unique identifier of the store to which the terminal is assigned.
        Returns:
        assignedToStore
      • setAssignedToStore

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

        public TerminalAssignmentNotificationRequest eventDate​(String eventDate)
        The date and time when an event has been completed.
        Parameters:
        eventDate -
        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
      • setEventDate

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

        public TerminalAssignmentNotificationRequest pspReference​(String pspReference)
        The PSP reference of the request from which the notification originates.
        Parameters:
        pspReference -
        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
      • setPspReference

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

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

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

        public void setUniqueTerminalId​(String uniqueTerminalId)
        The unique identifier of the terminal.
        Parameters:
        uniqueTerminalId -
      • 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