Class CheckoutCart
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware
,com.broadleafcommerce.money.CurrencyConsumer
,Serializable
,javax.money.CurrencySupplier
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
List<com.broadleafcommerce.order.common.domain.Adjustment>
Adjustments to order pricing that should be applied toCartPricing.getSubtotal()
.The time this cart was submitted for approval.The cart approver's email address.The email of the assigned sales rep.The id of the assigned sales rep.Attribute choices for this cart driven by its items' product options, where each key is theattributeName
from an attribute choice.Miscellaneous attributes for this cart.List<com.broadleafcommerce.order.common.domain.CampaignRef>
A list of campaign references that are attached to this cart.getCart()
The list of the alerts for thisCart
.Items that are contained within this cart.Embedded container for all pricing information on this cart.The checkout submissions made for this cart where each key is the request ID of a checkout and the value is anInstant
timestamp of when the checkout was made.com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState
A subset ofTracking
information to expose the context state for this object.The date that this cart was first created.javax.money.CurrencyUnit
com.broadleafcommerce.order.common.domain.CustomerRef
A reference to the customer that owns this cart.The customer's email address.The expiration date of the cart.List<com.broadleafcommerce.order.common.domain.Adjustment>
A list of fulfillment groupAdjustments
.A list of fulfillment information for this cart.List<com.broadleafcommerce.order.common.domain.Adjustment>
A list of fulfillment itemAdjustments
.getId()
The context ID of the cart.Miscellaneous internal attributes for this item.List<com.broadleafcommerce.order.common.domain.Adjustment>
A list of cart itemAdjustments
.The last time the cart was fully repriced with the most updated catalog pricing.The id of this cart's most recent audit.getLinks()
A map ofCartLink
by a link key.The locale for this cart.getName()
A unique name for the cart, used for retrieval.A list of offer codes that a user has added to their cart.The unique number associated with thisCart
.int
Returns the sum of the quantities of all theCart.cartItems
.The estimated recurring adjustments total for the first period discounted for all items grouped by their recurring period type.The estimated recurring subtotal for the first period discounted for all items grouped by their recurring period type.The estimated recurring total for the first period discounted for all items grouped by their recurring period type.The status of this cart.The date that this cart was submitted.getType()
The type of cart.The version of this cart.List<com.broadleafcommerce.order.common.domain.Voucher>
A list ofVouchers
that thisCart
is qualifier for.int
hashCode()
boolean
Returns whether or not the cart is for an anonymous user.boolean
isPriced()
Flag to indicate whether this cart has been fully priced.boolean
Flag to indicate whether the taxes on the cart are estimates.void
setAdjustments
(List<com.broadleafcommerce.order.common.domain.Adjustment> adjustments) Adjustments to order pricing that should be applied toCartPricing.getSubtotal()
.void
setApprovalRequestedDate
(Instant approvalRequestedDate) The time this cart was submitted for approval.void
setApproverEmail
(String approverEmail) The cart approver's email address.void
setAssignedSalesRepEmail
(String assignedSalesRepEmail) The email of the assigned sales rep.void
setAssignedSalesRepId
(String assignedSalesRepId) The id of the assigned sales rep.void
setAttributeChoices
(Map<String, com.broadleafcommerce.order.common.domain.AttributeChoiceValue> attributeChoices) Attribute choices for this cart driven by its items' product options, where each key is theattributeName
from an attribute choice.void
setAttributes
(Map<String, Object> attributes) Miscellaneous attributes for this cart.void
setCampaignRefs
(List<com.broadleafcommerce.order.common.domain.CampaignRef> campaignRefs) A list of campaign references that are attached to this cart.void
void
setCartAlerts
(List<CartAlert> cartAlerts) The list of the alerts for thisCart
.void
setCartItems
(List<CartItem> cartItems) Items that are contained within this cart.void
setCartPricing
(CartPricing cartPricing) Embedded container for all pricing information on this cart.void
setCheckoutSubmissions
(Map<String, Instant> checkoutSubmissions) The checkout submissions made for this cart where each key is the request ID of a checkout and the value is anInstant
timestamp of when the checkout was made.void
setContextState
(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTracking
information to expose the context state for this object.void
setCreateDate
(Instant createDate) The date that this cart was first created.void
setCurrency
(javax.money.CurrencyUnit currencyUnit) void
setCustomerRef
(com.broadleafcommerce.order.common.domain.CustomerRef customerRef) A reference to the customer that owns this cart.void
setEmailAddress
(String emailAddress) The customer's email address.void
setExpirationDate
(Instant expirationDate) The expiration date of the cart.void
setFulfillmentGroupAdjustments
(List<com.broadleafcommerce.order.common.domain.Adjustment> fulfillmentGroupAdjustments) A list of fulfillment groupAdjustments
.void
setFulfillmentGroups
(List<FulfillmentGroup> fulfillmentGroups) A list of fulfillment information for this cart.void
setFulfillmentItemAdjustments
(List<com.broadleafcommerce.order.common.domain.Adjustment> fulfillmentItemAdjustments) A list of fulfillment itemAdjustments
.void
The context ID of the cart.void
setInternalAttributes
(Map<String, Object> internalAttributes) Miscellaneous internal attributes for this item.void
setItemAdjustments
(List<com.broadleafcommerce.order.common.domain.Adjustment> itemAdjustments) A list of cart itemAdjustments
.void
setLastCatalogReprice
(Instant lastCatalogReprice) The last time the cart was fully repriced with the most updated catalog pricing.void
setLastUpdatedAudit
(CartActionAudit lastUpdatedAudit) The id of this cart's most recent audit.void
A map ofCartLink
by a link key.void
The locale for this cart.void
A unique name for the cart, used for retrieval.void
setOfferCodes
(List<String> offerCodes) A list of offer codes that a user has added to their cart.void
setOrderNumber
(String orderNumber) The unique number associated with thisCart
.void
setPriced
(boolean isPriced) Flag to indicate whether this cart has been fully priced.void
The status of this cart.void
setSubmitDate
(Instant submitDate) The date that this cart was submitted.void
setTaxEstimated
(boolean isTaxEstimated) Flag to indicate whether the taxes on the cart are estimates.void
The type of cart.void
setVersion
(Integer version) The version of this cart.void
setVouchers
(List<com.broadleafcommerce.order.common.domain.Voucher> vouchers) A list ofVouchers
that thisCart
is qualifier for.toString()
-
Field Details
-
CART_ITEM_LINK_KEY
- See Also:
-
FULFILLMENT_GROUP_LINK_KEY
- See Also:
-
-
Constructor Details
-
CheckoutCart
public CheckoutCart()
-
-
Method Details
-
getLinks
A map ofCartLink
by a link key. -
getItemAdjustments
A list of cart itemAdjustments
. -
getFulfillmentGroupAdjustments
A list of fulfillment groupAdjustments
. -
getFulfillmentItemAdjustments
A list of fulfillment itemAdjustments
. -
getCart
-
setLinks
A map ofCartLink
by a link key. -
setItemAdjustments
public void setItemAdjustments(List<com.broadleafcommerce.order.common.domain.Adjustment> itemAdjustments) A list of cart itemAdjustments
. -
setFulfillmentGroupAdjustments
public void setFulfillmentGroupAdjustments(List<com.broadleafcommerce.order.common.domain.Adjustment> fulfillmentGroupAdjustments) A list of fulfillment groupAdjustments
. -
setFulfillmentItemAdjustments
public void setFulfillmentItemAdjustments(List<com.broadleafcommerce.order.common.domain.Adjustment> fulfillmentItemAdjustments) A list of fulfillment itemAdjustments
. -
setCart
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getQuantity
public int getQuantity()Description copied from class:Cart
Returns the sum of the quantities of all theCart.cartItems
.- Overrides:
getQuantity
in classCart
- Returns:
- the sum of the quantities of all the
Cart.cartItems
.
-
isAnonymous
public boolean isAnonymous()Description copied from class:Cart
Returns whether or not the cart is for an anonymous user.- Overrides:
isAnonymous
in classCart
- Returns:
- whether or not the cart is for an anonymous user.
-
setCurrency
public void setCurrency(javax.money.CurrencyUnit currencyUnit) - Specified by:
setCurrency
in interfacecom.broadleafcommerce.money.CurrencyConsumer
- Overrides:
setCurrency
in classCart
-
getCurrency
public javax.money.CurrencyUnit getCurrency()- Specified by:
getCurrency
in interfacejavax.money.CurrencySupplier
- Overrides:
getCurrency
in classCart
-
getCartItemsWithDependentItems
- Overrides:
getCartItemsWithDependentItems
in classCart
-
getRecurringSubtotals
Description copied from class:Cart
The estimated recurring subtotal for the first period discounted for all items grouped by their recurring period type.- Overrides:
getRecurringSubtotals
in classCart
-
getRecurringAdjustmentsTotals
Description copied from class:Cart
The estimated recurring adjustments total for the first period discounted for all items grouped by their recurring period type.- Overrides:
getRecurringAdjustmentsTotals
in classCart
-
getRecurringTotals
Description copied from class:Cart
The estimated recurring total for the first period discounted for all items grouped by their recurring period type.- Overrides:
getRecurringTotals
in classCart
-
getId
Description copied from class:Cart
The context ID of the cart. -
getName
Description copied from class:Cart
A unique name for the cart, used for retrieval. This field is not displayed anywhere. -
getType
Description copied from class:Cart
The type of cart. -
getStatus
Description copied from class:Cart
The status of this cart. -
getCustomerRef
public com.broadleafcommerce.order.common.domain.CustomerRef getCustomerRef()Description copied from class:Cart
A reference to the customer that owns this cart.- Overrides:
getCustomerRef
in classCart
- Returns:
- A reference to the customer that owns this cart.
-
getApprovalRequestedDate
Description copied from class:Cart
The time this cart was submitted for approval.This field is only needed for B2B carts to represent the cart approval process. For B2C carts, we don't expect a value to be provided for this field.
- Overrides:
getApprovalRequestedDate
in classCart
-
getApproverEmail
Description copied from class:Cart
The cart approver's email address.This field is only needed for B2B carts to represent the cart approver's email address. For B2C carts, we don't expect a value to be provided for this field.
- Overrides:
getApproverEmail
in classCart
- Returns:
- The cart approver's email address.
-
getEmailAddress
Description copied from class:Cart
The customer's email address.- Overrides:
getEmailAddress
in classCart
- Returns:
- The customer's email address.
-
getOrderNumber
Description copied from class:Cart
The unique number associated with thisCart
. Typically, this is generated and set on cart submission. Used for record keeping and communicating with the customer instead of just usingCart.getId()
since that exposes unwanted information about your database.- Overrides:
getOrderNumber
in classCart
- Returns:
- The unique number associated with this
Cart
.
-
getCreateDate
Description copied from class:Cart
The date that this cart was first created.- Overrides:
getCreateDate
in classCart
- Returns:
- The date that this cart was first created.
-
getSubmitDate
Description copied from class:Cart
The date that this cart was submitted. Only set if thecart status
isDefaultCartStatuses.SUBMITTED
, otherwise null.- Overrides:
getSubmitDate
in classCart
- Returns:
- The date that this cart was submitted.
- See Also:
-
getLocale
Description copied from class:Cart
The locale for this cart. Used to determine what locale this cart was in for translations and other location-based functionality. -
getCartPricing
Description copied from class:Cart
Embedded container for all pricing information on this cart.- Overrides:
getCartPricing
in classCart
- Returns:
- Embedded container for all pricing information on this cart.
-
getCartItems
Description copied from class:Cart
Items that are contained within this cart. Typically represents a good or service that the customer is purchasing.- Overrides:
getCartItems
in classCart
- Returns:
- Items for purchase that are contained within this cart.
-
getFulfillmentGroups
Description copied from class:Cart
A list of fulfillment information for this cart. A cart can have many fulfillment groups associated with it in order to support multi-address and multi-type shipping.- Overrides:
getFulfillmentGroups
in classCart
- Returns:
- A list of fulfillment information for this cart.
-
getAdjustments
Description copied from class:Cart
Adjustments to order pricing that should be applied toCartPricing.getSubtotal()
.- Overrides:
getAdjustments
in classCart
- Returns:
- Adjustments to order pricing that should be applied to
CartPricing.getSubtotal()
.
-
getOfferCodes
Description copied from class:Cart
A list of offer codes that a user has added to their cart. Can be used to applyAdjustments
to different aspects of the order.- Overrides:
getOfferCodes
in classCart
- Returns:
- A list of offer codes that a user has added to their cart.
-
getVouchers
Description copied from class:Cart
A list ofVouchers
that thisCart
is qualifier for.This mainly serves as a temporary storage and for UI display, the
Vouchers
will not be processed until the order is completed.- Overrides:
getVouchers
in classCart
-
getCampaignRefs
Description copied from class:Cart
A list of campaign references that are attached to this cart. Similar toCart.getOfferCodes()
, theCampaignRef.getCampaignTrackingId()
can be used to applyAdjustments
to different aspects of the order. The difference is that these items need to be validated against a valid "Campaign" before being added to this list.- Overrides:
getCampaignRefs
in classCart
- Returns:
- A list of campaign references that are attached to this cart.
-
getAssignedSalesRepId
Description copied from class:Cart
The id of the assigned sales rep.This is field is only used for
quotes
for the sales rep review process.- Overrides:
getAssignedSalesRepId
in classCart
-
getAssignedSalesRepEmail
Description copied from class:Cart
The email of the assigned sales rep.This is field is only used for
quotes
for the sales rep review process.- Overrides:
getAssignedSalesRepEmail
in classCart
-
getAttributes
Description copied from class:Cart
Miscellaneous attributes for this cart.- Overrides:
getAttributes
in classCart
- Returns:
- Miscellaneous attributes for this cart.
-
getInternalAttributes
Description copied from class:Cart
Miscellaneous internal attributes for this item. Distinguished fromCart.getAttributes()
in that this map is used for attributes that assist in the internal working of Broadleaf MicroServices. For example, attributes to help with processing the cart's checkout.- Overrides:
getInternalAttributes
in classCart
- Returns:
- Miscellaneous internal attributes for this item.
-
getAttributeChoices
public Map<String,com.broadleafcommerce.order.common.domain.AttributeChoiceValue> getAttributeChoices()Description copied from class:Cart
Attribute choices for this cart driven by its items' product options, where each key is theattributeName
from an attribute choice.- Overrides:
getAttributeChoices
in classCart
- Returns:
- Attribute choices for this cart driven by its items' product options, where each key
is the
attributeName
from an attribute choice.
-
getCheckoutSubmissions
Description copied from class:Cart
The checkout submissions made for this cart where each key is the request ID of a checkout and the value is anInstant
timestamp of when the checkout was made.- Overrides:
getCheckoutSubmissions
in classCart
- Returns:
- The checkout submissions made for this cart where each key is the request ID and the
value is an
Instant
timestamp of when the checkout was made.
-
isPriced
public boolean isPriced()Description copied from class:Cart
Flag to indicate whether this cart has been fully priced. This means totalling of items, adjustments, shipping and tax. -
isTaxEstimated
public boolean isTaxEstimated()Description copied from class:Cart
Flag to indicate whether the taxes on the cart are estimates.- Overrides:
isTaxEstimated
in classCart
- Returns:
- Flag to indicate whether the taxes on the cart are estimates.
-
getVersion
Description copied from class:Cart
The version of this cart. Used for checking that the requested version of the cart is up-to-date before saving changes. Required for any request which results in an update being made to the cart. This should never be manually incremented/decremented.- Overrides:
getVersion
in classCart
-
getCartAlerts
Description copied from class:Cart
The list of the alerts for thisCart
. NOTE: This is a transient property that is not persisted in the database.- Overrides:
getCartAlerts
in classCart
- Returns:
- the list of the cart alerts
-
getLastCatalogReprice
Description copied from class:Cart
The last time the cart was fully repriced with the most updated catalog pricing.- Overrides:
getLastCatalogReprice
in classCart
- Returns:
- The last time the cart was fully repriced with the most updated catalog pricing.
-
getExpirationDate
Description copied from class:Cart
The expiration date of the cart. This is typically only used forDefaultCartTypes.QUOTE
-typed carts.- Overrides:
getExpirationDate
in classCart
-
getLastUpdatedAudit
Description copied from class:Cart
The id of this cart's most recent audit.- Overrides:
getLastUpdatedAudit
in classCart
-
getContextState
public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()Description copied from class:Cart
A subset ofTracking
information to expose the context state for this object.- Specified by:
getContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
- Overrides:
getContextState
in classCart
- Returns:
- a subset of
Tracking
information to expose the context state for this object
-
setId
Description copied from class:Cart
The context ID of the cart. -
setName
Description copied from class:Cart
A unique name for the cart, used for retrieval. This field is not displayed anywhere. -
setType
Description copied from class:Cart
The type of cart. -
setStatus
Description copied from class:Cart
The status of this cart. -
setCustomerRef
public void setCustomerRef(com.broadleafcommerce.order.common.domain.CustomerRef customerRef) Description copied from class:Cart
A reference to the customer that owns this cart.- Overrides:
setCustomerRef
in classCart
- Parameters:
customerRef
- A reference to the customer that owns this cart.
-
setApprovalRequestedDate
Description copied from class:Cart
The time this cart was submitted for approval.This field is only needed for B2B carts to represent the cart approval process. For B2C carts, we don't expect a value to be provided for this field.
- Overrides:
setApprovalRequestedDate
in classCart
-
setApproverEmail
Description copied from class:Cart
The cart approver's email address.This field is only needed for B2B carts to represent the cart approver's email address. For B2C carts, we don't expect a value to be provided for this field.
- Overrides:
setApproverEmail
in classCart
- Parameters:
approverEmail
- The cart approver's email address.
-
setEmailAddress
Description copied from class:Cart
The customer's email address.- Overrides:
setEmailAddress
in classCart
- Parameters:
emailAddress
- The customer's email address.
-
setOrderNumber
Description copied from class:Cart
The unique number associated with thisCart
. Typically, this is generated and set on cart submission. Used for record keeping and communicating with the customer instead of just usingCart.getId()
since that exposes unwanted information about your database.- Overrides:
setOrderNumber
in classCart
- Parameters:
orderNumber
- The unique number associated with thisCart
.
-
setCreateDate
Description copied from class:Cart
The date that this cart was first created.- Overrides:
setCreateDate
in classCart
- Parameters:
createDate
- The date that this cart was first created.
-
setSubmitDate
Description copied from class:Cart
The date that this cart was submitted. Only set if thecart status
isDefaultCartStatuses.SUBMITTED
, otherwise null.- Overrides:
setSubmitDate
in classCart
- Parameters:
submitDate
- The date that this cart was submitted.- See Also:
-
setLocale
Description copied from class:Cart
The locale for this cart. Used to determine what locale this cart was in for translations and other location-based functionality. -
setCartPricing
Description copied from class:Cart
Embedded container for all pricing information on this cart.- Overrides:
setCartPricing
in classCart
- Parameters:
cartPricing
- Embedded container for all pricing information on this cart.
-
setCartItems
Description copied from class:Cart
Items that are contained within this cart. Typically represents a good or service that the customer is purchasing.- Overrides:
setCartItems
in classCart
- Parameters:
cartItems
- Items for purchase that are contained within this cart.
-
setFulfillmentGroups
Description copied from class:Cart
A list of fulfillment information for this cart. A cart can have many fulfillment groups associated with it in order to support multi-address and multi-type shipping.- Overrides:
setFulfillmentGroups
in classCart
- Parameters:
fulfillmentGroups
- A list of fulfillment information for this cart.
-
setAdjustments
Description copied from class:Cart
Adjustments to order pricing that should be applied toCartPricing.getSubtotal()
.- Overrides:
setAdjustments
in classCart
- Parameters:
adjustments
- Adjustments to order pricing that should be applied toCartPricing.getSubtotal()
.
-
setOfferCodes
Description copied from class:Cart
A list of offer codes that a user has added to their cart. Can be used to applyAdjustments
to different aspects of the order.- Overrides:
setOfferCodes
in classCart
- Parameters:
offerCodes
- A list of offer codes that a user has added to their cart.
-
setVouchers
Description copied from class:Cart
A list ofVouchers
that thisCart
is qualifier for.This mainly serves as a temporary storage and for UI display, the
Vouchers
will not be processed until the order is completed.- Overrides:
setVouchers
in classCart
-
setCampaignRefs
public void setCampaignRefs(List<com.broadleafcommerce.order.common.domain.CampaignRef> campaignRefs) Description copied from class:Cart
A list of campaign references that are attached to this cart. Similar toCart.getOfferCodes()
, theCampaignRef.getCampaignTrackingId()
can be used to applyAdjustments
to different aspects of the order. The difference is that these items need to be validated against a valid "Campaign" before being added to this list.- Overrides:
setCampaignRefs
in classCart
- Parameters:
campaignRefs
- A list of campaign references that are attached to this cart.
-
setAssignedSalesRepId
Description copied from class:Cart
The id of the assigned sales rep.This is field is only used for
quotes
for the sales rep review process.- Overrides:
setAssignedSalesRepId
in classCart
-
setAssignedSalesRepEmail
Description copied from class:Cart
The email of the assigned sales rep.This is field is only used for
quotes
for the sales rep review process.- Overrides:
setAssignedSalesRepEmail
in classCart
-
setAttributes
Description copied from class:Cart
Miscellaneous attributes for this cart.- Overrides:
setAttributes
in classCart
- Parameters:
attributes
- Miscellaneous attributes for this cart.
-
setInternalAttributes
Description copied from class:Cart
Miscellaneous internal attributes for this item. Distinguished fromCart.getAttributes()
in that this map is used for attributes that assist in the internal working of Broadleaf MicroServices. For example, attributes to help with processing the cart's checkout.- Overrides:
setInternalAttributes
in classCart
- Parameters:
internalAttributes
- Miscellaneous internal attributes for this item.
-
setAttributeChoices
public void setAttributeChoices(Map<String, com.broadleafcommerce.order.common.domain.AttributeChoiceValue> attributeChoices) Description copied from class:Cart
Attribute choices for this cart driven by its items' product options, where each key is theattributeName
from an attribute choice.- Overrides:
setAttributeChoices
in classCart
- Parameters:
attributeChoices
- Attribute choices for this cart driven by its items' product options, where each key is theattributeName
from an attribute choice.
-
setCheckoutSubmissions
Description copied from class:Cart
The checkout submissions made for this cart where each key is the request ID of a checkout and the value is anInstant
timestamp of when the checkout was made.- Overrides:
setCheckoutSubmissions
in classCart
- Parameters:
checkoutSubmissions
- The checkout submissions made for this cart where each key is the request ID of a checkout and the value is anInstant
timestamp of when the checkout was made.
-
setPriced
public void setPriced(boolean isPriced) Description copied from class:Cart
Flag to indicate whether this cart has been fully priced. This means totalling of items, adjustments, shipping and tax. -
setTaxEstimated
public void setTaxEstimated(boolean isTaxEstimated) Description copied from class:Cart
Flag to indicate whether the taxes on the cart are estimates.- Overrides:
setTaxEstimated
in classCart
- Parameters:
isTaxEstimated
- Flag to indicate whether the taxes on the cart are estimates.
-
setVersion
Description copied from class:Cart
The version of this cart. Used for checking that the requested version of the cart is up-to-date before saving changes. Required for any request which results in an update being made to the cart. This should never be manually incremented/decremented.- Overrides:
setVersion
in classCart
-
setCartAlerts
Description copied from class:Cart
The list of the alerts for thisCart
. NOTE: This is a transient property that is not persisted in the database.- Overrides:
setCartAlerts
in classCart
- Parameters:
cartAlerts
- the list of the cart alerts
-
setLastCatalogReprice
Description copied from class:Cart
The last time the cart was fully repriced with the most updated catalog pricing.- Overrides:
setLastCatalogReprice
in classCart
- Parameters:
lastCatalogReprice
- The last time the cart was fully repriced with the most updated catalog pricing.
-
setExpirationDate
Description copied from class:Cart
The expiration date of the cart. This is typically only used forDefaultCartTypes.QUOTE
-typed carts.- Overrides:
setExpirationDate
in classCart
-
setLastUpdatedAudit
Description copied from class:Cart
The id of this cart's most recent audit.- Overrides:
setLastUpdatedAudit
in classCart
-
setContextState
public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) Description copied from class:Cart
A subset ofTracking
information to expose the context state for this object.- Specified by:
setContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
- Overrides:
setContextState
in classCart
- Parameters:
contextState
- a subset ofTracking
information to expose the context state for this object
-