atg.commerce.pricing.result
Class OrderPriceSummary

java.lang.Object
  extended by atg.commerce.pricing.result.OrderPriceSummary

public class OrderPriceSummary
extends java.lang.Object

Contains the following information about the price of an Order:


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
OrderPriceSummary()
           
 
Method Summary
 java.lang.String getCurrencyCode()
          the currency code
 ItemPriceSummary[] getItemPrices()
          an array of the item costs
 java.lang.String getOrderId()
          the order id
 double getShipping()
          the shipping cost of the order
 ShippingPriceSummary[] getShippingPrices()
          an array of the shipping costs
 double getTax()
          the tax on the order
 double getTotalPrice()
          the current working total, including all discounts
 void setCurrencyCode(java.lang.String pCurrencyCode)
          the currency code
 void setItemPrices(ItemPriceSummary[] pItemPrices)
          an array of the item costs
 void setOrderId(java.lang.String pOrderId)
          the order id
 void setShipping(double pShipping)
          the shipping cost of the order
 void setShippingPrices(ShippingPriceSummary[] pShippingPrices)
          an array of the shipping costs
 void setTax(double pTax)
          the tax on the order
 void setTotalPrice(double pTotalPrice)
          the current working total, including all discounts
 java.lang.String toString()
          Returns a string form of this price information
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

OrderPriceSummary

public OrderPriceSummary()
Method Detail

setOrderId

public void setOrderId(java.lang.String pOrderId)
the order id

Parameters:
pOrderId - new value to set

getOrderId

public java.lang.String getOrderId()
the order id

Returns:
property OrderId

setCurrencyCode

public void setCurrencyCode(java.lang.String pCurrencyCode)
the currency code

Parameters:
pCurrencyCode - new value to set

getCurrencyCode

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

Returns:
property CurrencyCode

setTax

public void setTax(double pTax)
the tax on the order

Parameters:
pTax - new value to set

getTax

public double getTax()
the tax on the order

Returns:
property Tax

setShipping

public void setShipping(double pShipping)
the shipping cost of the order

Parameters:
pShipping - new value to set

getShipping

public double getShipping()
the shipping cost of the order

Returns:
property Shipping

setTotalPrice

public void setTotalPrice(double pTotalPrice)
the current working total, including all discounts

Parameters:
pTotalPrice - new value to set

getTotalPrice

public double getTotalPrice()
the current working total, including all discounts

Returns:
property TotalPrice

setShippingPrices

public void setShippingPrices(ShippingPriceSummary[] pShippingPrices)
an array of the shipping costs

Parameters:
pShippingPrices - new value to set

getShippingPrices

public ShippingPriceSummary[] getShippingPrices()
an array of the shipping costs

Returns:
property ShippingPrices

setItemPrices

public void setItemPrices(ItemPriceSummary[] pItemPrices)
an array of the item costs

Parameters:
pItemPrices - new value to set

getItemPrices

public ItemPriceSummary[] getItemPrices()
an array of the item costs

Returns:
property ItemPrices

toString

public java.lang.String toString()
Returns a string form of this price information

Overrides:
toString in class java.lang.Object