public enum EntityStatusEnum extends Enum<EntityStatusEnum>
Java class for EntityStatusEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="EntityStatusEnum">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Deleted"/>
<enumeration value="Voided"/>
<enumeration value="Draft"/>
<enumeration value="Pending"/>
<enumeration value="InTransit"/>
<enumeration value="Synchronized"/>
<enumeration value="SyncError"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DELETED
Object has been deleted but not yet purged from database
|
DRAFT
Object has been voided from an accounting perspective
|
IN_TRANSIT
Object is currently being written to QuickBooks during an active synchronization, cloud will not permit writes to the entity
|
PENDING
Object has been written to the cloud but is pending sync to QuickBooks Desktop
|
SYNC_ERROR
Object failed to sync to QuickBooks
|
SYNCHRONIZED
Object is synchronized with QuickBooks data, this is the normal state in QBO as there is no synchronization needed in QBO
|
VOIDED
Object has been voided from an accounting perspective
|
| Modifier and Type | Method and Description |
|---|---|
static EntityStatusEnum |
fromValue(String v) |
String |
value() |
static EntityStatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityStatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityStatusEnum DELETED
public static final EntityStatusEnum VOIDED
public static final EntityStatusEnum DRAFT
public static final EntityStatusEnum PENDING
public static final EntityStatusEnum IN_TRANSIT
public static final EntityStatusEnum SYNCHRONIZED
public static final EntityStatusEnum SYNC_ERROR
public static EntityStatusEnum[] values()
for (EntityStatusEnum c : EntityStatusEnum.values()) System.out.println(c);
public static EntityStatusEnum 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 EntityStatusEnum fromValue(String v)
Copyright © 2017. All rights reserved.