atg.payment.tax
Interface ShippingDestination

All Known Implementing Classes:
ShippingDestinationImpl

public interface ShippingDestination

An object which represents the address to which items are being shipped


Field Summary
static java.lang.String CLASS_VERSION
           
 
Method Summary
 java.lang.String getCurrencyCode()
          Returns the currency code
 Address getShippingAddress()
          Returns the shipping address of the purchaser
 double getShippingAmount()
          Returns the shipping and handling cost amount for the order Some states might impose taxes on the shipping amount
 TaxableItem getTaxableItem(int i)
          Return a single item which was purchased.
 double getTaxableItemAmount()
          Returns the total taxable amount for all the items, excluding the shipping.
 TaxableItem[] getTaxableItems()
          Returns the items that were purchased All items will be represented as TaxableItem objects.
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values
Method Detail

getCurrencyCode

java.lang.String getCurrencyCode()
Returns the currency code


getShippingAmount

double getShippingAmount()
Returns the shipping and handling cost amount for the order Some states might impose taxes on the shipping amount


getShippingAddress

Address getShippingAddress()
Returns the shipping address of the purchaser


getTaxableItemAmount

double getTaxableItemAmount()
Returns the total taxable amount for all the items, excluding the shipping.


getTaxableItems

TaxableItem[] getTaxableItems()
Returns the items that were purchased All items will be represented as TaxableItem objects. If a particular item is not taxable, it's amount field will be set to 0


getTaxableItem

TaxableItem getTaxableItem(int i)
Return a single item which was purchased.