public enum NegotiationStatus extends Enum<NegotiationStatus>
Java class for NegotiationStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="NegotiationStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="SELLER_INITIATED"/>
<enumeration value="BUYER_INITIATED"/>
<enumeration value="AWAITING_SELLER_REVIEW"/>
<enumeration value="AWAITING_BUYER_REVIEW"/>
<enumeration value="ONLY_SELLER_ACCEPTED"/>
<enumeration value="FINALIZED"/>
<enumeration value="CANCELLED"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AWAITING_BUYER_REVIEW
Indicates that a
Proposal has been updated by the seller and is awaiting buyer
approval. |
AWAITING_SELLER_REVIEW
Indicates that a
Proposal has been updated by the buyer and is awaiting seller
approval. |
BUYER_INITIATED
Indicates that a new
Proposal has been created by the buyer and is awaiting seller
action. |
CANCELLED
Indicates that negotiations for the
Proposal have been cancelled. |
FINALIZED
Indicates that the
Proposal has been accepted by both the buyer and the seller. |
ONLY_SELLER_ACCEPTED
Indicates that the seller has accepted the
Proposal and is awaiting the buyer's
acceptance. |
SELLER_INITIATED
Indicates that a new
Proposal has been created by the seller and has not been sent to
Marketplace yet. |
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static NegotiationStatus |
fromValue(String v) |
String |
value() |
static NegotiationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NegotiationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NegotiationStatus SELLER_INITIATED
Proposal has been created by the seller and has not been sent to
Marketplace yet.public static final NegotiationStatus BUYER_INITIATED
Proposal has been created by the buyer and is awaiting seller
action.public static final NegotiationStatus AWAITING_SELLER_REVIEW
Proposal has been updated by the buyer and is awaiting seller
approval.public static final NegotiationStatus AWAITING_BUYER_REVIEW
Proposal has been updated by the seller and is awaiting buyer
approval.public static final NegotiationStatus ONLY_SELLER_ACCEPTED
Proposal and is awaiting the buyer's
acceptance.public static final NegotiationStatus FINALIZED
Proposal has been accepted by both the buyer and the seller.public static final NegotiationStatus CANCELLED
Proposal have been cancelled.public static final NegotiationStatus UNKNOWN
public static NegotiationStatus[] values()
for (NegotiationStatus c : NegotiationStatus.values()) System.out.println(c);
public static NegotiationStatus 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 NegotiationStatus fromValue(String v)
Copyright © 2018. All Rights Reserved.