Class CartModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DefaultProductConfigCloneAbstractOrderHookTest.CartModelSubClass, InMemoryCartModel

public class CartModel extends AbstractOrderModel
Generated model class for type Cart first defined at extension core.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • SESSIONID

      public static final String SESSIONID
      Generated constant - Attribute key of Cart.sessionId attribute defined at extension core.
      See Also:
    • CARTTOORDERCRONJOB

      public static final String CARTTOORDERCRONJOB
      Generated constant - Attribute key of Cart.cartToOrderCronJob attribute defined at extension basecommerce.
      See Also:
    • SAVETIME

      public static final String SAVETIME
      Generated constant - Attribute key of Cart.saveTime attribute defined at extension commerceservices.
      See Also:
    • SAVEDBY

      public static final String SAVEDBY
      Generated constant - Attribute key of Cart.savedBy attribute defined at extension commerceservices.
      See Also:
    • QUOTEREFERENCE

      public static final String QUOTEREFERENCE
      Generated constant - Attribute key of Cart.quoteReference attribute defined at extension commerceservices.
      See Also:
    • LASTMODIFIEDENTRIES

      public static final String LASTMODIFIEDENTRIES
      Generated constant - Attribute key of Cart.lastModifiedEntries attribute defined at extension configurablebundleservices.
      See Also:
    • IMPORTSTATUS

      public static final String IMPORTSTATUS
      Generated constant - Attribute key of Cart.importStatus attribute defined at extension acceleratorservices.
      See Also:
    • PROCESSINGFLASHBUYORDER

      public static final String PROCESSINGFLASHBUYORDER
      Generated constant - Attribute key of Cart.processingFlashBuyOrder attribute defined at extension timedaccesspromotionengineservices.
      See Also:
    • VISIBLE

      public static final String VISIBLE
      Generated constant - Attribute key of Cart.visible attribute defined at extension selectivecartservices.
      See Also:
  • Constructor Details

    • CartModel

      public CartModel()
      Generated constructor - Default constructor for generic creation.
    • CartModel

      public CartModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • CartModel

      @Deprecated(since="4.1.1", forRemoval=true) public CartModel(CurrencyModel _currency, Date _date, UserModel _user)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _currency - initial attribute declared by type AbstractOrder at extension core
      _date - initial attribute declared by type AbstractOrder at extension core
      _user - initial attribute declared by type Cart at extension core
    • CartModel

      @Deprecated(since="4.1.1", forRemoval=true) public CartModel(CurrencyModel _currency, Date _date, ItemModel _owner, UserModel _user)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _currency - initial attribute declared by type AbstractOrder at extension core
      _date - initial attribute declared by type AbstractOrder at extension core
      _owner - initial attribute declared by type Item at extension core
      _user - initial attribute declared by type Cart at extension core
  • Method Details

    • getCartToOrderCronJob

      @Accessor(qualifier="cartToOrderCronJob", type=GETTER) public Collection<CartToOrderCronJobModel> getCartToOrderCronJob()
      Generated method - Getter of the Cart.cartToOrderCronJob attribute defined at extension basecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the cartToOrderCronJob
    • getImportStatus

      @Accessor(qualifier="importStatus", type=GETTER) public ImportStatus getImportStatus()
      Generated method - Getter of the Cart.importStatus attribute defined at extension acceleratorservices.
      Returns:
      the importStatus - set the status of the import cart process
    • getLastModifiedEntries

      @Accessor(qualifier="lastModifiedEntries", type=GETTER) public Collection<CartEntryModel> getLastModifiedEntries()
      Generated method - Getter of the Cart.lastModifiedEntries attribute defined at extension configurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the lastModifiedEntries
    • getQuoteReference

      @Accessor(qualifier="quoteReference", type=GETTER) public QuoteModel getQuoteReference()
      Generated method - Getter of the Cart.quoteReference attribute defined at extension commerceservices.
      Returns:
      the quoteReference - The reference to quote from which the cart was created.
    • getSavedBy

      @Accessor(qualifier="savedBy", type=GETTER) public UserModel getSavedBy()
      Generated method - Getter of the Cart.savedBy attribute defined at extension commerceservices.
      Returns:
      the savedBy - The user who saved the cart.
    • getSaveTime

      @Accessor(qualifier="saveTime", type=GETTER) public Date getSaveTime()
      Generated method - Getter of the Cart.saveTime attribute defined at extension commerceservices.
      Returns:
      the saveTime - The date/time when the cart was saved.
    • getSessionId

      @Accessor(qualifier="sessionId", type=GETTER) public String getSessionId()
      Generated method - Getter of the Cart.sessionId attribute defined at extension core.
      Returns:
      the sessionId
    • getVisible

      @Accessor(qualifier="visible", type=GETTER) public Boolean getVisible()
      Generated method - Getter of the Cart.visible attribute defined at extension selectivecartservices.
      Returns:
      the visible - set the status of the cart visible
    • isProcessingFlashBuyOrder

      @Accessor(qualifier="processingFlashBuyOrder", type=GETTER) public boolean isProcessingFlashBuyOrder()
      Generated method - Getter of the Cart.processingFlashBuyOrder attribute defined at extension timedaccesspromotionengineservices.
      Returns:
      the processingFlashBuyOrder - set the status for the flashbuy
    • setCartToOrderCronJob

      @Accessor(qualifier="cartToOrderCronJob", type=SETTER) public void setCartToOrderCronJob(Collection<CartToOrderCronJobModel> value)
      Generated method - Setter of Cart.cartToOrderCronJob attribute defined at extension basecommerce.
      Parameters:
      value - the cartToOrderCronJob
    • setImportStatus

      @Accessor(qualifier="importStatus", type=SETTER) public void setImportStatus(ImportStatus value)
      Generated method - Setter of Cart.importStatus attribute defined at extension acceleratorservices.
      Parameters:
      value - the importStatus - set the status of the import cart process
    • setLastModifiedEntries

      @Accessor(qualifier="lastModifiedEntries", type=SETTER) public void setLastModifiedEntries(Collection<CartEntryModel> value)
      Generated method - Setter of Cart.lastModifiedEntries attribute defined at extension configurablebundleservices.
      Parameters:
      value - the lastModifiedEntries
    • setProcessingFlashBuyOrder

      @Accessor(qualifier="processingFlashBuyOrder", type=SETTER) public void setProcessingFlashBuyOrder(boolean value)
      Generated method - Setter of Cart.processingFlashBuyOrder attribute defined at extension timedaccesspromotionengineservices.
      Parameters:
      value - the processingFlashBuyOrder - set the status for the flashbuy
    • setQuoteReference

      @Accessor(qualifier="quoteReference", type=SETTER) public void setQuoteReference(QuoteModel value)
      Generated method - Setter of Cart.quoteReference attribute defined at extension commerceservices.
      Parameters:
      value - the quoteReference - The reference to quote from which the cart was created.
    • setSavedBy

      @Accessor(qualifier="savedBy", type=SETTER) public void setSavedBy(UserModel value)
      Generated method - Setter of Cart.savedBy attribute defined at extension commerceservices.
      Parameters:
      value - the savedBy - The user who saved the cart.
    • setSaveTime

      @Accessor(qualifier="saveTime", type=SETTER) public void setSaveTime(Date value)
      Generated method - Setter of Cart.saveTime attribute defined at extension commerceservices.
      Parameters:
      value - the saveTime - The date/time when the cart was saved.
    • setSessionId

      @Accessor(qualifier="sessionId", type=SETTER) public void setSessionId(String value)
      Generated method - Setter of Cart.sessionId attribute defined at extension core.
      Parameters:
      value - the sessionId
    • setVisible

      @Accessor(qualifier="visible", type=SETTER) public void setVisible(Boolean value)
      Generated method - Setter of Cart.visible attribute defined at extension selectivecartservices.
      Parameters:
      value - the visible - set the status of the cart visible