Serializable
PricingReply is used to maintain the results of a PriceService pricing operation. Not all fields are populated by all pricing operations, see the Price service documentation for details.
Related Topics
PriceService
PricingRequest
Money
Serializable
Method Summary |
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
Method Detail |
public Money
getActualShipping()
Retrieves the actual shipping cost after discounting.
Related Topics
publicRetrieves the value of a reply attribute by name. The semantics of this method are the same as the get() method in the java.util.Map interface. Attributes allow for customization of the PricingReply without changing the interface.Serializable
getAttribute(String
name)
Related Topics
public Money
getBaseShipping()
Retrieves the base shipping cost before discounting.
Related Topics
public Set
getGlobalDiscounts()
Returns the Set of QualificationDiscountId objects
corresponding to the global discounts applied during
the pricing operation.
Related Topics
QualificationDiscountId
QualificationDiscountDef
public Line
[] getLines()
Retrieves the Line items for this pricing operation.
Line items that have been adjusted will have one(1) to
many DiscountPresentation objects attached to the Line.
Related Topics
public List
getOrderDiscounts()
Retrieves a List of OrderAdjustment objects corresponding
to the order discounts applied to the subtotal.
The value returned may be null if no order discounts
exist.
Related Topics
public Quote
getQuote()
Returns the Quote object for the pricing operation.
Available after calling computeTotal() on the PriceService. Null
will be returned otherwise.
Related Topics
public List
getShippingDiscounts()
Retrieves a List of OrderAdjustment objects corresponding
to shipping adjustments (base shipping and any shipping discounts).
This value will always be populated with at least the base shipping
cost.
Related Topics
public Money
getSubtotal()
Retrieves the subtotal for the pricing request. More
precisely the sum of the Line item costs.
Related Topics
public Money
getTotal()
Retrieves the total for the pricing request. More
precisely, subtotal plus any order adjustments
(including shipping). Tax is not included.
Related Topics
public Set
getUserDiscounts()
Returns the Set of QualificationDiscountId objects
corresponding to the user discounts applied during
the pricing operation.
Related Topics