public interface PlacedOrder
Modifier and Type | Method and Description |
---|---|
List<CommerceSession.CartEntry> |
getCartEntries()
Return the list of items from a previously-placed order.
|
String |
getCartPrice(Predicate filter)
Shortcut for getting a formatted string of the first applicable price, according to the filter.
|
List<PriceInfo> |
getCartPriceInfo(Predicate filter)
Get detailed price information.
|
Map<String,Object> |
getOrder()
Get the order details.
|
String |
getOrderId()
Get an invariant ID for the order.
|
List<PromotionInfo> |
getPromotions()
Return the list of promotions that were applied to a previously-placed order.
|
List<VoucherInfo> |
getVoucherInfos()
Return the list of vouchers from a previously-placed order.
|
String getOrderId() throws CommerceException
CommerceException
Map<String,Object> getOrder() throws CommerceException
CommerceException
List<PriceInfo> getCartPriceInfo(Predicate filter) throws CommerceException
filter
- An optional predicate used for filtering the PriceInfo
s.PriceInfo
s.CommerceException
CommerceSession.getPriceInfo(com.adobe.cq.commerce.api.Product)
String getCartPrice(Predicate filter) throws CommerceException
filter
- An optional predicate used for filtering the PriceInfo
s.CommerceException
List<CommerceSession.CartEntry> getCartEntries() throws CommerceException
CommerceException
List<PromotionInfo> getPromotions() throws CommerceException
CommerceException
List<VoucherInfo> getVoucherInfos() throws CommerceException
CommerceException
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"