Class QuoteModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DefaultProductConfigCloneAbstractOrderHookTest.QuoteModelSubClass

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

    • _TYPECODE

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

      public static final String _ASSIGNEE2QUOTES
      Generated relation code constant for relation Assignee2Quotes defining source attribute assignee in extension commerceservices.
      See Also:
    • VERSION

      public static final String VERSION
      Generated constant - Attribute key of Quote.version attribute defined at extension core.
      See Also:
    • STATE

      public static final String STATE
      Generated constant - Attribute key of Quote.state attribute defined at extension core.
      See Also:
    • CARTREFERENCE

      public static final String CARTREFERENCE
      Generated constant - Attribute key of Quote.cartReference attribute defined at extension commerceservices.
      See Also:
    • PREVIOUSESTIMATEDTOTAL

      public static final String PREVIOUSESTIMATEDTOTAL
      Generated constant - Attribute key of Quote.previousEstimatedTotal attribute defined at extension commerceservices.
      See Also:
    • ASSIGNEE

      public static final String ASSIGNEE
      Generated constant - Attribute key of Quote.assignee attribute defined at extension commerceservices.
      See Also:
    • GENERATEDNOTIFICATIONS

      public static final String GENERATEDNOTIFICATIONS
      Generated constant - Attribute key of Quote.generatedNotifications attribute defined at extension commerceservices.
      See Also:
  • Constructor Details

    • QuoteModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public QuoteModel(CurrencyModel _currency, Date _date, QuoteState _state, UserModel _user, Integer _version)
      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
      _state - initial attribute declared by type Quote at extension core
      _user - initial attribute declared by type Quote at extension core
      _version - initial attribute declared by type Quote at extension core
    • QuoteModel

      @Deprecated(since="4.1.1", forRemoval=true) public QuoteModel(CurrencyModel _currency, Date _date, ItemModel _owner, QuoteState _state, UserModel _user, Integer _version)
      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
      _state - initial attribute declared by type Quote at extension core
      _user - initial attribute declared by type Quote at extension core
      _version - initial attribute declared by type Quote at extension core
  • Method Details

    • getAssignee

      @Accessor(qualifier="assignee", type=GETTER) public UserModel getAssignee()
      Generated method - Getter of the Quote.assignee attribute defined at extension commerceservices.
      Returns:
      the assignee
    • getCartReference

      @Accessor(qualifier="cartReference", type=GETTER) public CartModel getCartReference()
      Generated method - Getter of the Quote.cartReference attribute defined at extension commerceservices.
      Returns:
      the cartReference - The reference to cart used to manipulate the quote.
    • getGeneratedNotifications

      @Accessor(qualifier="generatedNotifications", type=GETTER) public Set<QuoteNotificationType> getGeneratedNotifications()
      Generated method - Getter of the Quote.generatedNotifications attribute defined at extension commerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the generatedNotifications
    • getPreviousEstimatedTotal

      @Accessor(qualifier="previousEstimatedTotal", type=GETTER) public Double getPreviousEstimatedTotal()
      Generated method - Getter of the Quote.previousEstimatedTotal attribute defined at extension commerceservices.
      Returns:
      the previousEstimatedTotal - Previously estimated total
    • getState

      @Accessor(qualifier="state", type=GETTER) public QuoteState getState()
      Generated method - Getter of the Quote.state attribute defined at extension core.
      Returns:
      the state - Current state of the quote
    • getVersion

      @Accessor(qualifier="version", type=GETTER) public Integer getVersion()
      Generated method - Getter of the Quote.version attribute defined at extension core.
      Returns:
      the version - The version of the quote. Along with code it makes a quote instance unique.
    • setAssignee

      @Accessor(qualifier="assignee", type=SETTER) public void setAssignee(UserModel value)
      Generated method - Setter of Quote.assignee attribute defined at extension commerceservices.
      Parameters:
      value - the assignee
    • setCartReference

      @Accessor(qualifier="cartReference", type=SETTER) public void setCartReference(CartModel value)
      Generated method - Setter of Quote.cartReference attribute defined at extension commerceservices.
      Parameters:
      value - the cartReference - The reference to cart used to manipulate the quote.
    • setGeneratedNotifications

      @Accessor(qualifier="generatedNotifications", type=SETTER) public void setGeneratedNotifications(Set<QuoteNotificationType> value)
      Generated method - Setter of Quote.generatedNotifications attribute defined at extension commerceservices.
      Parameters:
      value - the generatedNotifications
    • setPreviousEstimatedTotal

      @Accessor(qualifier="previousEstimatedTotal", type=SETTER) public void setPreviousEstimatedTotal(Double value)
      Generated method - Setter of Quote.previousEstimatedTotal attribute defined at extension commerceservices.
      Parameters:
      value - the previousEstimatedTotal - Previously estimated total
    • setState

      @Accessor(qualifier="state", type=SETTER) public void setState(QuoteState value)
      Generated method - Setter of Quote.state attribute defined at extension core.
      Parameters:
      value - the state - Current state of the quote
    • setVersion

      @Accessor(qualifier="version", type=SETTER) public void setVersion(Integer value)
      Generated method - Initial setter of Quote.version attribute defined at extension core. Can only be used at creation of model - before first save.
      Parameters:
      value - the version - The version of the quote. Along with code it makes a quote instance unique.