Enum DocumentType
- java.lang.Object
-
- java.lang.Enum<DocumentType>
-
- de.hybris.platform.sap.sapordermgmtbol.transaction.util.interf.DocumentType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DocumentType>
public enum DocumentType extends java.lang.Enum<DocumentType>
Enumeration representing all the different document kinds an sales document can have.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVITYConstant defining the document type for an opportunity.BASKETConstant defining the document type for a basket.BILLINGConstant defining the common document type for billing (e.g.COMPLAINTConstant defining the document type for complaintCONFIRMATIONConstant defining the document type for service confirmationCREDIT_MEMOConstant defining the common document type for credit memoCREDIT_MEMO_CNCConstant defining the common document type for credit memo cancellationDELIVERYConstant defining the document type for deliveryINVOICEConstant defining the common document type for invoiceINVOICE_CNCConstant defining the common document type for invoice cancellationINVOICE_CRMBILLConstant defining the common document type for CRM billing invoiceLEADConstant defining the document type for a lead.ORDERConstant defining the document type for an order.QUOTATIONConstant defining the document type for a quotation.RETURNSConstant defining the document type for returnsRFQConstant defining the document type for an request for quotation (rfq).SERVICECONTRACTConstant defining the document type for service contractSERVICEORDERConstant defining the document type for service orderUNKNOWNDocument type is undefined
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocumentTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DocumentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASKET
public static final DocumentType BASKET
Constant defining the document type for a basket.
-
ORDER
public static final DocumentType ORDER
Constant defining the document type for an order.
-
QUOTATION
public static final DocumentType QUOTATION
Constant defining the document type for a quotation.
-
RFQ
public static final DocumentType RFQ
Constant defining the document type for an request for quotation (rfq).
-
LEAD
public static final DocumentType LEAD
Constant defining the document type for a lead. There exists no Business Object right now, to represent a lead. This Constant is only used, for the predecessor document type
-
ACTIVITY
public static final DocumentType ACTIVITY
Constant defining the document type for an opportunity.
-
BILLING
public static final DocumentType BILLING
Constant defining the common document type for billing (e.g. invoice, credit memo, ...)
-
INVOICE
public static final DocumentType INVOICE
Constant defining the common document type for invoice
-
INVOICE_CNC
public static final DocumentType INVOICE_CNC
Constant defining the common document type for invoice cancellation
-
INVOICE_CRMBILL
public static final DocumentType INVOICE_CRMBILL
Constant defining the common document type for CRM billing invoice
-
CREDIT_MEMO
public static final DocumentType CREDIT_MEMO
Constant defining the common document type for credit memo
-
CREDIT_MEMO_CNC
public static final DocumentType CREDIT_MEMO_CNC
Constant defining the common document type for credit memo cancellation
-
DELIVERY
public static final DocumentType DELIVERY
Constant defining the document type for delivery
-
RETURNS
public static final DocumentType RETURNS
Constant defining the document type for returns
-
COMPLAINT
public static final DocumentType COMPLAINT
Constant defining the document type for complaint
-
SERVICECONTRACT
public static final DocumentType SERVICECONTRACT
Constant defining the document type for service contract
-
SERVICEORDER
public static final DocumentType SERVICEORDER
Constant defining the document type for service order
-
CONFIRMATION
public static final DocumentType CONFIRMATION
Constant defining the document type for service confirmation
-
UNKNOWN
public static final DocumentType UNKNOWN
Document type is undefined
-
-
Method Detail
-
values
public static DocumentType[] 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 (DocumentType c : DocumentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-