Enum PrintFormat

    • Enum Constant Detail

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

      • values

        public static PrintFormat[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PrintFormat c : PrintFormat.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PrintFormat valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null