public static enum Batch.ShipmentStatus extends Enum<Batch.ShipmentStatus>
| Enum Constant and Description |
|---|
CREATION_FAILED |
CREATION_SUCCEEDED |
PURCHASE_FAILED |
PURCHASE_SUCCEEDED |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Batch.ShipmentStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Batch.ShipmentStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Batch.ShipmentStatus PURCHASE_SUCCEEDED
public static final Batch.ShipmentStatus PURCHASE_FAILED
public static final Batch.ShipmentStatus CREATION_SUCCEEDED
public static final Batch.ShipmentStatus CREATION_FAILED
public static Batch.ShipmentStatus[] values()
for (Batch.ShipmentStatus c : Batch.ShipmentStatus.values()) System.out.println(c);
public static Batch.ShipmentStatus 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 toString()
toString in class Enum<Batch.ShipmentStatus>Copyright © 2017 Shippo. All rights reserved.