|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.checkout.notification.CheckoutNotification
com.google.checkout.notification.OrderStateChangeNotification
public class OrderStateChangeNotification
This class encapsulates the <order-state-change-notification> notification.
Constructor Summary | |
---|---|
OrderStateChangeNotification(org.w3c.dom.Document document)
A constructor which takes in an xml document representation of the request. |
|
OrderStateChangeNotification(java.io.InputStream inputStream)
A constructor which takes the request as an InputStream. |
|
OrderStateChangeNotification(java.lang.String requestString)
A constructor which takes the request as a String. |
Method Summary | |
---|---|
FinancialOrderState |
getNewFinancialOrderState()
Retrieves the value of the <new-financial-order-state> element. |
FulfillmentOrderState |
getNewFulfillmentOrderState()
Retrieves the value of the <new-fulfillment-order-state> element. |
FinancialOrderState |
getPreviousFinancialOrderState()
Retrieves the value of the <previous-financial-order-state> element. |
FulfillmentOrderState |
getPreviousFulfillmentOrderState()
Retrieves the value of the <previous-fulfillment-order-state> element. |
java.lang.String |
getReason()
Retrieves the value of the <reason> element if it exists; otherwise null. |
Methods inherited from class com.google.checkout.notification.CheckoutNotification |
---|
getDocument, getGoogleOrderNo, getGoogleOrderNumber, getRoot, getRootNodeName, getSerialNumber, getTimestamp, getType, getXml, getXmlPretty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrderStateChangeNotification(java.lang.String requestString) throws CheckoutException
requestString
-
CheckoutException
- if there was an
error prcessing the request stringpublic OrderStateChangeNotification(java.io.InputStream inputStream) throws CheckoutException
inputStream
-
CheckoutException
- if there was an
error prcessing the request from the InputStreampublic OrderStateChangeNotification(org.w3c.dom.Document document)
document
- Method Detail |
---|
public FulfillmentOrderState getNewFulfillmentOrderState()
FulfillmentOrderState
public FinancialOrderState getNewFinancialOrderState()
FinancialOrderState
public FulfillmentOrderState getPreviousFulfillmentOrderState()
FulfillmentOrderState
public FinancialOrderState getPreviousFinancialOrderState()
FinancialOrderState
public java.lang.String getReason()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |