public enum PackageErrorReason extends Enum<PackageErrorReason>
Java class for PackageError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PackageError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INVAILD_PRODUCT_PACKAGE"/>
<enumeration value="INACTIVE_RATE_CARD"/>
<enumeration value="PRODUCT_PACKAGE_NOT_IN_RATE_CARD"/>
<enumeration value="HAS_NO_UNARCHIVED_PRODUCT_PACKAGE_ITEM"/>
<enumeration value="NOT_SAME_RATE_CARD"/>
<enumeration value="NOT_SAME_RATE_CARD_PRICING_MODEL"/>
<enumeration value="NOT_SAME_RATE_CARD_WORKFLOW"/>
<enumeration value="PACKAGES_NOT_ALLOWED_IN_PROGRAMMATIC_PROPOSALS"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
HAS_NO_UNARCHIVED_PRODUCT_PACKAGE_ITEM
There are no unarchived product package items in this product package.
|
INACTIVE_RATE_CARD
The rate card is inactive.
|
INVAILD_PRODUCT_PACKAGE
Package cannot be created from an inactive or archived product package.
|
NOT_SAME_RATE_CARD
The package's rate card is not the same as other packages or proposal line items
in the proposal.
|
NOT_SAME_RATE_CARD_PRICING_MODEL
The
RateCard pricing model for this Package is not the same as the pricing
models for the other proposalLineItems or packages
in the Proposal. |
NOT_SAME_RATE_CARD_WORKFLOW
The
RateCard workflow for this Package is not the same as the workflows for
the other proposalLineItems or packages in the
Proposal. |
PACKAGES_NOT_ALLOWED_IN_PROGRAMMATIC_PROPOSALS
Package cannot be created in a programmatic proposal.
|
PRODUCT_PACKAGE_NOT_IN_RATE_CARD
There is no association between the product package and the rate card.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static PackageErrorReason |
fromValue(String v) |
String |
value() |
static PackageErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PackageErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PackageErrorReason INVAILD_PRODUCT_PACKAGE
public static final PackageErrorReason INACTIVE_RATE_CARD
public static final PackageErrorReason PRODUCT_PACKAGE_NOT_IN_RATE_CARD
public static final PackageErrorReason HAS_NO_UNARCHIVED_PRODUCT_PACKAGE_ITEM
public static final PackageErrorReason NOT_SAME_RATE_CARD
public static final PackageErrorReason NOT_SAME_RATE_CARD_PRICING_MODEL
RateCard pricing model for this Package is not the same as the pricing
models for the other proposalLineItems or packages
in the Proposal.public static final PackageErrorReason NOT_SAME_RATE_CARD_WORKFLOW
RateCard workflow for this Package is not the same as the workflows for
the other proposalLineItems or packages in the
Proposal.public static final PackageErrorReason PACKAGES_NOT_ALLOWED_IN_PROGRAMMATIC_PROPOSALS
public static final PackageErrorReason UNKNOWN
public static PackageErrorReason[] values()
for (PackageErrorReason c : PackageErrorReason.values()) System.out.println(c);
public static PackageErrorReason 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 PackageErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.