Enum DocumentQualifierType

  • All Implemented Interfaces:
    Serializable, Comparable<DocumentQualifierType>

    public enum DocumentQualifierType
    extends Enum<DocumentQualifierType>

    Java class for DocumentQualifierType.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="DocumentQualifierType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="SaleReceipt"/>
         <enumeration value="CashierReceipt"/>
         <enumeration value="CustomerReceipt"/>
         <enumeration value="Document"/>
         <enumeration value="Voucher"/>
         <enumeration value="Journal"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • SALE_RECEIPT

        public static final DocumentQualifierType SALE_RECEIPT
        Where the POI system print the Sale receipt when requested by the Sale Terminal.
      • CASHIER_RECEIPT

        public static final DocumentQualifierType CASHIER_RECEIPT
        Where the Sale system print the Cashier copy of the Payment receipt when requested by the POI Terminal.
      • CUSTOMER_RECEIPT

        public static final DocumentQualifierType CUSTOMER_RECEIPT
        Where you print the Customer Payment receipt that could be located on the Sale Terminal or in some cases a restricted Customer Sale ticket on the POI Terminal.
      • DOCUMENT

        public static final DocumentQualifierType DOCUMENT
        When the POI System wants to print specific document (check, dynamic currency conversion ...). Used by the Sale System when the printer is not located on the
      • VOUCHER

        public static final DocumentQualifierType VOUCHER
        Coupons, voucher or special ticket generated by the POI or the Sale System and to be printed.
      • JOURNAL

        public static final DocumentQualifierType JOURNAL
        When the POI or the Sale System wants to store a messageType on the journal printer or electronic journal of the Sale Terminal (it is sometimes a Sale
    • Method Detail

      • values

        public static DocumentQualifierType[] 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 (DocumentQualifierType c : DocumentQualifierType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DocumentQualifierType 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
      • value

        public String value()
        Value string.
        Returns:
        the string
      • fromValue

        public static DocumentQualifierType fromValue​(String v)
        From value document qualifier type.
        Parameters:
        v - the v
        Returns:
        the document qualifier type