Class TransactionIDType


  • public class TransactionIDType
    extends Object
    Identification of a transaction for the Sale System or the POI System.
    • Constructor Detail

      • TransactionIDType

        public TransactionIDType()
    • Method Detail

      • transactionID

        public TransactionIDType transactionID​(String transactionID)
        Unique identification of a transaction to identify the transaction on the Sale System (e.g. ticket number), or the POI System.
        Parameters:
        transactionID - Unique identification of a transaction to identify the transaction on the Sale System (e.g. ticket number), or the POI System.
        Returns:
        the current TransactionIDType instance, allowing for method chaining
      • getTransactionID

        public String getTransactionID()
        Unique identification of a transaction to identify the transaction on the Sale System (e.g. ticket number), or the POI System.
        Returns:
        transactionID Unique identification of a transaction to identify the transaction on the Sale System (e.g. ticket number), or the POI System.
      • setTransactionID

        public void setTransactionID​(String transactionID)
        Unique identification of a transaction to identify the transaction on the Sale System (e.g. ticket number), or the POI System.
        Parameters:
        transactionID - Unique identification of a transaction to identify the transaction on the Sale System (e.g. ticket number), or the POI System.
      • timeStamp

        public TransactionIDType timeStamp​(OffsetDateTime timeStamp)
        Date and time of a transaction for the Sale System, the POI System or the Acquirer. Ensures the uniqueness of a transaction and indicates the time when the event occurs in the EventNotification message.
        Parameters:
        timeStamp - Date and time of a transaction for the Sale System, the POI System or the Acquirer. Ensures the uniqueness of a transaction and indicates the time when the event occurs in the EventNotification message.
        Returns:
        the current TransactionIDType instance, allowing for method chaining
      • getTimeStamp

        public OffsetDateTime getTimeStamp()
        Date and time of a transaction for the Sale System, the POI System or the Acquirer. Ensures the uniqueness of a transaction and indicates the time when the event occurs in the EventNotification message.
        Returns:
        timeStamp Date and time of a transaction for the Sale System, the POI System or the Acquirer. Ensures the uniqueness of a transaction and indicates the time when the event occurs in the EventNotification message.
      • setTimeStamp

        public void setTimeStamp​(OffsetDateTime timeStamp)
        Date and time of a transaction for the Sale System, the POI System or the Acquirer. Ensures the uniqueness of a transaction and indicates the time when the event occurs in the EventNotification message.
        Parameters:
        timeStamp - Date and time of a transaction for the Sale System, the POI System or the Acquirer. Ensures the uniqueness of a transaction and indicates the time when the event occurs in the EventNotification message.
      • includeNullValues

        public TransactionIDType 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 TransactionIDType 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 TransactionIDType fromJson​(String jsonString)
                                          throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of TransactionIDType given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of TransactionIDType
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to TransactionIDType
      • toJson

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