Enum Class PrintFormat

java.lang.Object
java.lang.Enum<PrintFormat>
com.six.timapi.constants.PrintFormat
All Implemented Interfaces:
Serializable, Comparable<PrintFormat>, java.lang.constant.Constable

public enum PrintFormat extends Enum<PrintFormat>

Constants for PrintFormat tag.

Specification: retail.

  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Only fields are returned for printing, not a generated receipt.
    Do not generate any receipts.
    Receipts are generated, formatted and sent to the ECR.
    Receipts are generated and printed on the printer attached to the EFT terminal but not returned to the ECR.
    Receipts are generated and printed on the printer attached to the EFT terminal and receipt fields are returned to the ECR, not generated receipts.
    Receipts are generated and printed on the printer attached to the EFT terminal and generated receipts are returned to the ECR.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    static PrintFormat[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • NO_PRINT

      public static final PrintFormat NO_PRINT

      Do not generate any receipts.

      Specification: retail.

    • NORMAL

      public static final PrintFormat NORMAL

      Receipts are generated, formatted and sent to the ECR. (default)

      Specification: retail.

    • ON_DEVICE

      public static final PrintFormat ON_DEVICE

      Receipts are generated and printed on the printer attached to the EFT terminal but not returned to the ECR.

      Specification: retail.

    • FIELDS_ONLY

      public static final PrintFormat FIELDS_ONLY

      Only fields are returned for printing, not a generated receipt.

      Specification: retail.

    • ON_DEVICE_WITH_RECEIPT

      public static final PrintFormat ON_DEVICE_WITH_RECEIPT

      Receipts are generated and printed on the printer attached to the EFT terminal and generated receipts are returned to the ECR.

      Specification: retail.

    • ON_DEVICE_WITH_FIELDS

      public static final PrintFormat ON_DEVICE_WITH_FIELDS

      Receipts are generated and printed on the printer attached to the EFT terminal and receipt fields are returned to the ECR, not generated receipts.

      Specification: retail.

  • Method Details

    • values

      public static PrintFormat[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PrintFormat valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null