Class TransactionStatusRequest


  • public class TransactionStatusRequest
    extends Object
    Content of the TransactionStatus Request message. It conveys Information requested for status of the last or current Payment, Loyalty or Reversal transaction.
    • Constructor Detail

      • TransactionStatusRequest

        public TransactionStatusRequest()
    • Method Detail

      • messageReference

        public TransactionStatusRequest messageReference​(MessageReference messageReference)
        messageReference
        Parameters:
        messageReference -
        Returns:
        the current TransactionStatusRequest instance, allowing for method chaining
      • getMessageReference

        public MessageReference getMessageReference()
        Get messageReference
        Returns:
        messageReference
      • setMessageReference

        public void setMessageReference​(MessageReference messageReference)
        messageReference
        Parameters:
        messageReference -
      • receiptReprintFlag

        public TransactionStatusRequest receiptReprintFlag​(Boolean receiptReprintFlag)
        Request to reprint the POI receipt(s). Allows reprinting a receipt with a `TransactionStatus` message
        Parameters:
        receiptReprintFlag - Request to reprint the POI receipt(s). Allows reprinting a receipt with a `TransactionStatus` message
        Returns:
        the current TransactionStatusRequest instance, allowing for method chaining
      • getReceiptReprintFlag

        public Boolean getReceiptReprintFlag()
        Request to reprint the POI receipt(s). Allows reprinting a receipt with a `TransactionStatus` message
        Returns:
        receiptReprintFlag Request to reprint the POI receipt(s). Allows reprinting a receipt with a `TransactionStatus` message
      • setReceiptReprintFlag

        public void setReceiptReprintFlag​(Boolean receiptReprintFlag)
        Request to reprint the POI receipt(s). Allows reprinting a receipt with a `TransactionStatus` message
        Parameters:
        receiptReprintFlag - Request to reprint the POI receipt(s). Allows reprinting a receipt with a `TransactionStatus` message
      • documentQualifier

        public TransactionStatusRequest documentQualifier​(List<DocumentQualifier> documentQualifier)
        Qualification of the document to print to the Cashier or the Customer. Allows the manager of the printer, Sale or POI Terminal, to send the information to a particular physical printer or to use the paper type accordingly. Possible values: * **CashierReceipt** * **CustomerReceipt** * **Document** * **Journal** * **SaleReceipt** * **Voucher**
        Parameters:
        documentQualifier - Qualification of the document to print to the Cashier or the Customer. Allows the manager of the printer, Sale or POI Terminal, to send the information to a particular physical printer or to use the paper type accordingly. Possible values: * **CashierReceipt** * **CustomerReceipt** * **Document** * **Journal** * **SaleReceipt** * **Voucher**
        Returns:
        the current TransactionStatusRequest instance, allowing for method chaining
      • getDocumentQualifier

        public List<DocumentQualifier> getDocumentQualifier()
        Qualification of the document to print to the Cashier or the Customer. Allows the manager of the printer, Sale or POI Terminal, to send the information to a particular physical printer or to use the paper type accordingly. Possible values: * **CashierReceipt** * **CustomerReceipt** * **Document** * **Journal** * **SaleReceipt** * **Voucher**
        Returns:
        documentQualifier Qualification of the document to print to the Cashier or the Customer. Allows the manager of the printer, Sale or POI Terminal, to send the information to a particular physical printer or to use the paper type accordingly. Possible values: * **CashierReceipt** * **CustomerReceipt** * **Document** * **Journal** * **SaleReceipt** * **Voucher**
      • setDocumentQualifier

        public void setDocumentQualifier​(List<DocumentQualifier> documentQualifier)
        Qualification of the document to print to the Cashier or the Customer. Allows the manager of the printer, Sale or POI Terminal, to send the information to a particular physical printer or to use the paper type accordingly. Possible values: * **CashierReceipt** * **CustomerReceipt** * **Document** * **Journal** * **SaleReceipt** * **Voucher**
        Parameters:
        documentQualifier - Qualification of the document to print to the Cashier or the Customer. Allows the manager of the printer, Sale or POI Terminal, to send the information to a particular physical printer or to use the paper type accordingly. Possible values: * **CashierReceipt** * **CustomerReceipt** * **Document** * **Journal** * **SaleReceipt** * **Voucher**
      • includeNullValues

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

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