public enum ProposalLineItemActionErrorReason extends Enum<ProposalLineItemActionErrorReason>
Java class for ProposalLineItemActionError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ProposalLineItemActionError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="NOT_APPLICABLE"/>
<enumeration value="PROPOSAL_NOT_EDITABLE"/>
<enumeration value="CANNOT_SELECTIVELY_ARCHIVE_PROPOSAL_LINE_ITEMS_FROM_MANDATORY_PRODUCTS"/>
<enumeration value="CANNOT_SELECTIVELY_UNARCHIVE_PROPOSAL_LINE_ITEMS_FROM_MANDATORY_PRODUCTS"/>
<enumeration value="CANNOT_UNARCHIVE_SOLD_PROGRAMMATIC_PROPOSAL_LINE_ITEM"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CANNOT_SELECTIVELY_ARCHIVE_PROPOSAL_LINE_ITEMS_FROM_MANDATORY_PRODUCTS
The archive operation is not applicable because it would cause some mandatory products
to have no unarchived proposal line items in the package.
|
CANNOT_SELECTIVELY_UNARCHIVE_PROPOSAL_LINE_ITEMS_FROM_MANDATORY_PRODUCTS
The unarchive operation is not applicable because it would cause some mandatory products
to have no unarchived proposal line items in the package.
|
CANNOT_UNARCHIVE_SOLD_PROGRAMMATIC_PROPOSAL_LINE_ITEM
Sold programmatic
ProposalLineItem cannot be unarchived. |
NOT_APPLICABLE
The operation is not applicable to the current state.
|
PROPOSAL_NOT_EDITABLE
The operation is not applicable because the containing proposal is not editable.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static ProposalLineItemActionErrorReason |
fromValue(String v) |
String |
value() |
static ProposalLineItemActionErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProposalLineItemActionErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProposalLineItemActionErrorReason NOT_APPLICABLE
public static final ProposalLineItemActionErrorReason PROPOSAL_NOT_EDITABLE
public static final ProposalLineItemActionErrorReason CANNOT_SELECTIVELY_ARCHIVE_PROPOSAL_LINE_ITEMS_FROM_MANDATORY_PRODUCTS
public static final ProposalLineItemActionErrorReason CANNOT_SELECTIVELY_UNARCHIVE_PROPOSAL_LINE_ITEMS_FROM_MANDATORY_PRODUCTS
public static final ProposalLineItemActionErrorReason CANNOT_UNARCHIVE_SOLD_PROGRAMMATIC_PROPOSAL_LINE_ITEM
ProposalLineItem cannot be unarchived.public static final ProposalLineItemActionErrorReason UNKNOWN
public static ProposalLineItemActionErrorReason[] values()
for (ProposalLineItemActionErrorReason c : ProposalLineItemActionErrorReason.values()) System.out.println(c);
public static ProposalLineItemActionErrorReason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static ProposalLineItemActionErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.