public class ShippingPrice
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
ShippingPrice() |
Modifier and Type | Method and Description |
---|---|
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
|
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