Class PrintOutput


  • public class PrintOutput
    extends Object
    PrintOutput
    • Constructor Detail

      • PrintOutput

        public PrintOutput()
    • Method Detail

      • documentQualifier

        public PrintOutput documentQualifier​(DocumentQualifier documentQualifier)
        documentQualifier
        Parameters:
        documentQualifier -
        Returns:
        the current PrintOutput instance, allowing for method chaining
      • getDocumentQualifier

        public DocumentQualifier getDocumentQualifier()
        Get documentQualifier
        Returns:
        documentQualifier
      • setDocumentQualifier

        public void setDocumentQualifier​(DocumentQualifier documentQualifier)
        documentQualifier
        Parameters:
        documentQualifier -
      • responseMode

        public PrintOutput responseMode​(ResponseMode responseMode)
        responseMode
        Parameters:
        responseMode -
        Returns:
        the current PrintOutput instance, allowing for method chaining
      • getResponseMode

        public ResponseMode getResponseMode()
        Get responseMode
        Returns:
        responseMode
      • setResponseMode

        public void setResponseMode​(ResponseMode responseMode)
        responseMode
        Parameters:
        responseMode -
      • integratedPrintFlag

        public PrintOutput integratedPrintFlag​(Boolean integratedPrintFlag)
        Type of the print integrated in other prints. Allows a separated printing (paper cut if available), or integration with the sale receipt or other print. If the printing is integrated, the response is always immediate, even if the `ResponseMode` is set to `PrintEnd`.
        Parameters:
        integratedPrintFlag - Type of the print integrated in other prints. Allows a separated printing (paper cut if available), or integration with the sale receipt or other print. If the printing is integrated, the response is always immediate, even if the `ResponseMode` is set to `PrintEnd`.
        Returns:
        the current PrintOutput instance, allowing for method chaining
      • getIntegratedPrintFlag

        public Boolean getIntegratedPrintFlag()
        Type of the print integrated in other prints. Allows a separated printing (paper cut if available), or integration with the sale receipt or other print. If the printing is integrated, the response is always immediate, even if the `ResponseMode` is set to `PrintEnd`.
        Returns:
        integratedPrintFlag Type of the print integrated in other prints. Allows a separated printing (paper cut if available), or integration with the sale receipt or other print. If the printing is integrated, the response is always immediate, even if the `ResponseMode` is set to `PrintEnd`.
      • setIntegratedPrintFlag

        public void setIntegratedPrintFlag​(Boolean integratedPrintFlag)
        Type of the print integrated in other prints. Allows a separated printing (paper cut if available), or integration with the sale receipt or other print. If the printing is integrated, the response is always immediate, even if the `ResponseMode` is set to `PrintEnd`.
        Parameters:
        integratedPrintFlag - Type of the print integrated in other prints. Allows a separated printing (paper cut if available), or integration with the sale receipt or other print. If the printing is integrated, the response is always immediate, even if the `ResponseMode` is set to `PrintEnd`.
      • requiredSignatureFlag

        public PrintOutput requiredSignatureFlag​(Boolean requiredSignatureFlag)
        Indicates that the cardholder payment receipt requires a physical signature by the Customer.
        Parameters:
        requiredSignatureFlag - Indicates that the cardholder payment receipt requires a physical signature by the Customer.
        Returns:
        the current PrintOutput instance, allowing for method chaining
      • getRequiredSignatureFlag

        public Boolean getRequiredSignatureFlag()
        Indicates that the cardholder payment receipt requires a physical signature by the Customer.
        Returns:
        requiredSignatureFlag Indicates that the cardholder payment receipt requires a physical signature by the Customer.
      • setRequiredSignatureFlag

        public void setRequiredSignatureFlag​(Boolean requiredSignatureFlag)
        Indicates that the cardholder payment receipt requires a physical signature by the Customer.
        Parameters:
        requiredSignatureFlag - Indicates that the cardholder payment receipt requires a physical signature by the Customer.
      • outputContent

        public PrintOutput outputContent​(OutputContent outputContent)
        outputContent
        Parameters:
        outputContent -
        Returns:
        the current PrintOutput instance, allowing for method chaining
      • getOutputContent

        public OutputContent getOutputContent()
        Get outputContent
        Returns:
        outputContent
      • setOutputContent

        public void setOutputContent​(OutputContent outputContent)
        outputContent
        Parameters:
        outputContent -
      • includeNullValues

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

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