public static enum Offer.OfferStatus extends Enum<Offer.OfferStatus> implements BmcEnum
A substate for lifeCycleStatus to give a more human readable version of the offer
Enum Constant and Description |
---|
Accepted |
Active |
Draft |
Ended |
Expired |
FailedAccept |
FailedSend |
PendingBuyer |
PendingMarketplace |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static Offer.OfferStatus |
create(String key) |
String |
getValue() |
static Offer.OfferStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Offer.OfferStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Offer.OfferStatus Draft
public static final Offer.OfferStatus PendingMarketplace
public static final Offer.OfferStatus PendingBuyer
public static final Offer.OfferStatus Expired
public static final Offer.OfferStatus Accepted
public static final Offer.OfferStatus Active
public static final Offer.OfferStatus Ended
public static final Offer.OfferStatus FailedSend
public static final Offer.OfferStatus FailedAccept
public static final Offer.OfferStatus UnknownEnumValue
public static Offer.OfferStatus[] values()
for (Offer.OfferStatus c : Offer.OfferStatus.values()) System.out.println(c);
public static Offer.OfferStatus 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 static Offer.OfferStatus create(String key)
Copyright © 2016–2024. All rights reserved.