com.google.checkout.notification
Class Shipping

java.lang.Object
  extended by com.google.checkout.notification.Shipping
Direct Known Subclasses:
CarrierCalculatedShippingAdjustment, FlatRateShippingAdjustment, MerchantCalculatedShippingAdjustment, PickupShippingAdjustment

public class Shipping
extends java.lang.Object

This class is the parent class of the shipping classes.

Author:
simonjsmith

Field Summary
protected  org.w3c.dom.Document document
           
protected  org.w3c.dom.Element element
           
 
Constructor Summary
Shipping()
           
 
Method Summary
 float getShippingCost()
          Retrieves the value of the <shipping-cost> element.
 java.lang.String getShippingName()
          Retrieves the value of the <shipping-name> element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

document

protected org.w3c.dom.Document document

element

protected org.w3c.dom.Element element
Constructor Detail

Shipping

public Shipping()
Method Detail

getShippingCost

public float getShippingCost()
Retrieves the value of the <shipping-cost> element.

Returns:
The shipping cost.

getShippingName

public java.lang.String getShippingName()
Retrieves the value of the <shipping-name> element.

Returns:
The shipping name.