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