@ConsumerType
public interface PlacedOrder
Modifier and Type | Method and Description |
---|---|
java.util.List<CommerceSession.CartEntry> |
getCartEntries()
Return the list of items from a previously-placed order.
|
java.lang.String |
getCartPrice(Predicate filter)
Shortcut for getting a formatted string of the first applicable price, according to the filter.
|
java.util.List<PriceInfo> |
getCartPriceInfo(Predicate filter)
Get detailed price information.
|
java.util.Map<java.lang.String,java.lang.Object> |
getOrder()
Get the order details.
|
java.lang.String |
getOrderId()
Get an invariant ID for the order.
|
java.util.List<PromotionInfo> |
getPromotions()
Return the list of promotions that were applied to a previously-placed order.
|
java.util.List<VoucherInfo> |
getVoucherInfos()
Return the list of vouchers from a previously-placed order.
|
java.lang.String getOrderId() throws CommerceException
CommerceException
java.util.Map<java.lang.String,java.lang.Object> getOrder() throws CommerceException
CommerceException
java.util.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)
java.lang.String getCartPrice(Predicate filter) throws CommerceException
filter
- An optional predicate used for filtering the PriceInfo
s.CommerceException
java.util.List<CommerceSession.CartEntry> getCartEntries() throws CommerceException
CommerceException
java.util.List<PromotionInfo> getPromotions() throws CommerceException
CommerceException
java.util.List<VoucherInfo> getVoucherInfos() throws CommerceException
CommerceException
Copyright © 2010 - 2020 Adobe. All Rights Reserved