|
|||||||||
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.ChargeAmountNotification
public class ChargeAmountNotification
This class encapsulates the <charge-amount-notification> notification.
Constructor Summary | |
---|---|
ChargeAmountNotification(org.w3c.dom.Document document)
A constructor which takes in an xml document representation of the request. |
|
ChargeAmountNotification(java.io.InputStream inputStream)
A constructor which takes the request as an InputStream. |
|
ChargeAmountNotification(java.lang.String requestString)
A constructor which takes the request as a String. |
Method Summary | |
---|---|
java.lang.String |
getCurrencyCode()
Retrieves the currency code. |
float |
getLatestChargeAmount()
Retrieves the value of the <latest-charge-amount> tag. |
float |
getLatestPromotionChargeAmount()
Retrieves the value of the <latest-promotion-charge-amount> tag |
float |
getTotalChargeAmount()
Retrieves the value of the <total-charge-amount> tag. |
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 ChargeAmountNotification(java.lang.String requestString) throws CheckoutException
requestString
-
CheckoutException
- if there was an
error prcessing the request stringpublic ChargeAmountNotification(java.io.InputStream inputStream) throws CheckoutException
inputStream
-
CheckoutException
- if there was an
error prcessing the request from the InputStreampublic ChargeAmountNotification(org.w3c.dom.Document document)
document
- Method Detail |
---|
public float getLatestChargeAmount()
public float getLatestPromotionChargeAmount()
public float getTotalChargeAmount()
public java.lang.String getCurrencyCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |