public enum ContactStatus extends Enum<ContactStatus>
Java class for Contact.Status.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Contact.Status">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNINVITED"/>
<enumeration value="INVITE_PENDNG"/>
<enumeration value="INVITE_EXPIRED"/>
<enumeration value="INVITE_CANCELED"/>
<enumeration value="USER_ACTIVE"/>
<enumeration value="USER_DISABLED"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
INVITE_CANCELED
The contact was invited to see their orders, but the invitation was
cancelled.
|
INVITE_EXPIRED
The contact has been invited to see their orders, but the invitation
has already expired.
|
INVITE_PENDNG
The contact has been invited to see their orders, but has not yet
accepted the invitation.
|
UNINVITED
The contact has not been invited to see their orders.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
USER_ACTIVE
The contact has access to login and view their orders.
|
USER_DISABLED
The contact accepted an invitation to see their orders, but their
access was later revoked.
|
| Modifier and Type | Method and Description |
|---|---|
static ContactStatus |
fromValue(String v) |
String |
value() |
static ContactStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContactStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContactStatus UNINVITED
public static final ContactStatus INVITE_PENDNG
public static final ContactStatus INVITE_EXPIRED
public static final ContactStatus INVITE_CANCELED
public static final ContactStatus USER_ACTIVE
public static final ContactStatus USER_DISABLED
public static final ContactStatus UNKNOWN
public static ContactStatus[] values()
for (ContactStatus c : ContactStatus.values()) System.out.println(c);
public static ContactStatus 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 ContactStatus fromValue(String v)
Copyright © 2018. All Rights Reserved.