public static enum Estimate.State extends Enum<Estimate.State>
In the mean time you should be able to use the estimate's sent_at, accepted_at, and declined_at fields to determine the estimate's state.
| Modifier and Type | Method and Description |
|---|---|
static Estimate.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Estimate.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Estimate.State DRAFT
public static final Estimate.State OPEN
public static final Estimate.State ACCEPTED
public static final Estimate.State DECLINED
public static Estimate.State[] values()
for (Estimate.State c : Estimate.State.values()) System.out.println(c);
public static Estimate.State 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 null