public enum RateCardErrorReason extends Enum<RateCardErrorReason>
Java class for RateCardError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RateCardError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INVALID_CURRENCY_CODE"/>
<enumeration value="INVALID_PRICING_MODEL"/>
<enumeration value="PRODUCT_PACKAGE_NOT_APPLICABLE_ON_MARKETPLACE_RATE_CARD"/>
<enumeration value="UNSUPPORTED_CURRENCY_CODE"/>
<enumeration value="UNCHANGEABLE_CURRENCY_CODE"/>
<enumeration value="UNCHANGEABLE_PRICING_MODEL"/>
<enumeration value="MARKETPLACE_RATE_CARD_NOT_UNIQUE"/>
<enumeration value="NOT_ACCEPT_DEALS_SALES_ON_LEGAL_AGREEMENT"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
INVALID_CURRENCY_CODE
The currency code is invalid and does not follow ISO 4217.
|
INVALID_PRICING_MODEL
The
PricingModel is invalid. |
MARKETPLACE_RATE_CARD_NOT_UNIQUE
|
NOT_ACCEPT_DEALS_SALES_ON_LEGAL_AGREEMENT
Legal agreement must be accepted before activating the Marketplace
RateCard. |
PRODUCT_PACKAGE_NOT_APPLICABLE_ON_MARKETPLACE_RATE_CARD
Marketplace
RateCard cannot have ProductPackage association. |
UNCHANGEABLE_CURRENCY_CODE
The currency code is unchangeable as long as there is any proposal line item created
with the rate card.
|
UNCHANGEABLE_PRICING_MODEL
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
UNSUPPORTED_CURRENCY_CODE
The currency code is not supported by current network.
|
| Modifier and Type | Method and Description |
|---|---|
static RateCardErrorReason |
fromValue(String v) |
String |
value() |
static RateCardErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RateCardErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RateCardErrorReason INVALID_CURRENCY_CODE
public static final RateCardErrorReason INVALID_PRICING_MODEL
PricingModel is invalid.public static final RateCardErrorReason PRODUCT_PACKAGE_NOT_APPLICABLE_ON_MARKETPLACE_RATE_CARD
RateCard cannot have ProductPackage association.public static final RateCardErrorReason UNSUPPORTED_CURRENCY_CODE
Network.currencyCode or one of Network.secondaryCurrencyCodes.public static final RateCardErrorReason UNCHANGEABLE_CURRENCY_CODE
public static final RateCardErrorReason UNCHANGEABLE_PRICING_MODEL
public static final RateCardErrorReason MARKETPLACE_RATE_CARD_NOT_UNIQUE
public static final RateCardErrorReason NOT_ACCEPT_DEALS_SALES_ON_LEGAL_AGREEMENT
RateCard.public static final RateCardErrorReason UNKNOWN
public static RateCardErrorReason[] values()
for (RateCardErrorReason c : RateCardErrorReason.values()) System.out.println(c);
public static RateCardErrorReason 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 RateCardErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.