com.google.checkout.notification
Class FulfillmentOrderState

java.lang.Object
  extended by com.google.checkout.notification.FulfillmentOrderState

public class FulfillmentOrderState
extends java.lang.Object

This class represents the fulfillment status of an order. The valid states are: NEW - The order has been received but not prepared for shipping. PROCESSING - The order is being prepared for shipping. DELIVERED - The seller has shipped the order. WILL_NOT_DELIVER - The seller will not ship the order; this status is used for canceled orders.

Author:
simonjsmith

Field Summary
static FulfillmentOrderState DELIVERED
          An instance of the FulfillmentOrderState class representing DELIVERED.
static FulfillmentOrderState NEW
          An instance of the FulfillmentOrderState class representing NEW.
static FulfillmentOrderState PROCESSING
          An instance of the FulfillmentOrderState class representing PROCESSING.
static FulfillmentOrderState WILL_NOT_DELIVER
          An instance of the FulfillmentOrderState class representing WILL_NOT_DELIVER.
 
Method Summary
static FulfillmentOrderState getState(java.lang.String state)
          Get an instance of the FulfillmentOrderState based on the string value passed in.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DELIVERED

public static final FulfillmentOrderState DELIVERED
An instance of the FulfillmentOrderState class representing DELIVERED.


NEW

public static final FulfillmentOrderState NEW
An instance of the FulfillmentOrderState class representing NEW.


PROCESSING

public static final FulfillmentOrderState PROCESSING
An instance of the FulfillmentOrderState class representing PROCESSING.


WILL_NOT_DELIVER

public static final FulfillmentOrderState WILL_NOT_DELIVER
An instance of the FulfillmentOrderState class representing WILL_NOT_DELIVER.

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getState

public static FulfillmentOrderState getState(java.lang.String state)
Get an instance of the FulfillmentOrderState based on the string value passed in.

Parameters:
state - The string value of the state.
Returns:
The FulfillmentOrderState instance or null if no matching state could be found.