Enum Class DocumentType
java.lang.Object
java.lang.Enum<DocumentType>
de.hybris.platform.sap.sapordermgmtbol.transaction.util.interf.DocumentType
- All Implemented Interfaces:
Serializable,Comparable<DocumentType>,Constable
Enumeration representing all the different document kinds an sales document
can have.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConstant defining the document type for an opportunity.Constant defining the document type for a basket.Constant defining the common document type for billing (e.g.Constant defining the document type for complaintConstant defining the document type for service confirmationConstant defining the common document type for credit memoConstant defining the common document type for credit memo cancellationConstant defining the document type for deliveryConstant defining the common document type for invoiceConstant defining the common document type for invoice cancellationConstant defining the common document type for CRM billing invoiceConstant defining the document type for a lead.Constant defining the document type for an order.Constant defining the document type for a quotation.Constant defining the document type for returnsConstant defining the document type for an request for quotation (rfq).Constant defining the document type for service contractConstant defining the document type for service orderDocument type is undefined -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentTypeReturns the enum constant of this class with the specified name.static DocumentType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BASKET
Constant defining the document type for a basket. -
ORDER
Constant defining the document type for an order. -
QUOTATION
Constant defining the document type for a quotation. -
RFQ
Constant defining the document type for an request for quotation (rfq). -
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
Constant defining the document type for an opportunity. -
BILLING
Constant defining the common document type for billing (e.g. invoice, credit memo, ...) -
INVOICE
Constant defining the common document type for invoice -
INVOICE_CNC
Constant defining the common document type for invoice cancellation -
INVOICE_CRMBILL
Constant defining the common document type for CRM billing invoice -
CREDIT_MEMO
Constant defining the common document type for credit memo -
CREDIT_MEMO_CNC
Constant defining the common document type for credit memo cancellation -
DELIVERY
Constant defining the document type for delivery -
RETURNS
Constant defining the document type for returns -
COMPLAINT
Constant defining the document type for complaint -
SERVICECONTRACT
Constant defining the document type for service contract -
SERVICEORDER
Constant defining the document type for service order -
CONFIRMATION
Constant defining the document type for service confirmation -
UNKNOWN
Document type is undefined
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-