|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.pricing.result.ShippingPrice
public class ShippingPrice
Contains the following information about the shipping costs of a ShippingGroup:
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
ShippingPrice()
|
Method Summary | |
---|---|
PriceAdjustment[] |
getAdjustments()
the discounts of all items in this shipping group |
double |
getAmount()
the cost to ship all items in this group |
ShippingPriceSubtotal |
getNonTaxableSubtotal()
the nontaxable subtotal of all items in this shipping group |
double |
getRawShipping()
the cost of shipping before any discounts |
java.lang.String |
getShippingGroupId()
the shipping group id |
ShippingPriceSubtotal |
getSubtotal()
the subtotal of all items in this shipping group |
TaxPrice |
getTax()
the total tax of all items in this shipping group |
ShippingPriceSubtotal |
getTaxableSubtotal()
the taxable subtotal of all items in this shipping group |
boolean |
isDiscounted()
boolean indicating if any items in this group have been discounted |
void |
setAdjustments(PriceAdjustment[] pAdjustments)
the discounts of all items in this shipping group |
void |
setAmount(double pAmount)
the cost to ship all items in this group |
void |
setDiscounted(boolean pDiscounted)
boolean indicating if any items in this group have been discounted |
void |
setNonTaxableSubtotal(ShippingPriceSubtotal pNonTaxableSubtotal)
the nontaxable subtotal of all items in this shipping group |
void |
setRawShipping(double pRawShipping)
the cost of shipping before any discounts |
void |
setShippingGroupId(java.lang.String pShippingGroupId)
the shipping group id |
void |
setSubtotal(ShippingPriceSubtotal pSubtotal)
the subtotal of all items in this shipping group |
void |
setTax(TaxPrice pTax)
the total tax of all items in this shipping group |
void |
setTaxableSubtotal(ShippingPriceSubtotal pTaxableSubtotal)
the taxable subtotal of all items in this shipping group |
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 |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public ShippingPrice()
Method Detail |
---|
public void setShippingGroupId(java.lang.String pShippingGroupId)
pShippingGroupId
- new value to setpublic java.lang.String getShippingGroupId()
public void setAmount(double pAmount)
pAmount
- new value to setpublic double getAmount()
public void setDiscounted(boolean pDiscounted)
pDiscounted
- new value to setpublic boolean isDiscounted()
public void setRawShipping(double pRawShipping)
pRawShipping
- new value to setpublic double getRawShipping()
public void setSubtotal(ShippingPriceSubtotal pSubtotal)
pSubtotal
- new value to setpublic ShippingPriceSubtotal getSubtotal()
public void setTaxableSubtotal(ShippingPriceSubtotal pTaxableSubtotal)
pTaxableSubtotal
- new value to setpublic ShippingPriceSubtotal getTaxableSubtotal()
public void setNonTaxableSubtotal(ShippingPriceSubtotal pNonTaxableSubtotal)
pNonTaxableSubtotal
- new value to setpublic ShippingPriceSubtotal getNonTaxableSubtotal()
public void setTax(TaxPrice pTax)
pTax
- new value to setpublic TaxPrice getTax()
public void setAdjustments(PriceAdjustment[] pAdjustments)
pAdjustments
- new value to setpublic PriceAdjustment[] getAdjustments()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |