Interface CartFactory

All Known Subinterfaces:
B2BCartFactory, CartFactory
All Known Implementing Classes:
CommerceCartFactory, DefaultB2BCartFactory, DefaultCartFactory, DefaultSelectiveCartFactory, InMemoryCartFactory

public interface CartFactory
Factory for the cart type. Implementation should create CartModel. Default implementation for instance ( DefaultCartFactory ), creates an instance of CartModel that is supposed to be the session cart. So it populates the user and currency fields according to the current session status and persists the created model.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a new, implementation dependent CartModel instance.
  • Method Details