Class CartModel

    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • SESSIONID

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

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

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

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

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

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

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

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

        public static final java.lang.String VISIBLE
        Generated constant - Attribute key of Cart.visible attribute defined at extension selectivecartservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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,
                         java.util.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,
                         java.util.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 Detail

      • getCartToOrderCronJob

        @Accessor(qualifier="cartToOrderCronJob",
                  type=GETTER)
        public java.util.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 java.util.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 java.util.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 java.lang.String getSessionId()
        Generated method - Getter of the Cart.sessionId attribute defined at extension core.
        Returns:
        the sessionId
      • getVisible

        @Accessor(qualifier="visible",
                  type=GETTER)
        public java.lang.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​(java.util.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​(java.util.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​(java.util.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​(java.lang.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​(java.lang.Boolean value)
        Generated method - Setter of Cart.visible attribute defined at extension selectivecartservices.
        Parameters:
        value - the visible - set the status of the cart visible