Class QuoteModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.core.model.order.AbstractOrderModel
de.hybris.platform.core.model.order.QuoteModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DefaultProductConfigCloneAbstractOrderHookTest.QuoteModelSubClass
Generated model class for type Quote first defined at extension core.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationAssignee2Quotesdefining source attributeassigneein extensioncommerceservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofQuote.assigneeattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofQuote.cartReferenceattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofQuote.generatedNotificationsattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofQuote.previousEstimatedTotalattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofQuote.stateattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofQuote.versionattribute defined at extensioncore.Fields inherited from class de.hybris.platform.core.model.order.AbstractOrderModel
_ABSTRACTMASTERORDER2ABSTRACTCHILDORDERRELATION, _B2BDOCUMENT2ABSTRACTORDER, _B2BUNIT2ABSTRACTORDERS, _CONSIGNMENTORDERRELATION, ALLPROMOTIONRESULTS, APPLIEDCOUPONCODES, APPLIEDVOUCHERCODES, B2BCOMMENTS, BILLINGTIME, CALCULATED, CARTIDREFERENCE, CHILDREN, CHINESEPAYMENTINFO, CODE, CONSENTREFERENCE, CONSIGNMENTS, CURRENCY, DATE, DELIVERYADDRESS, DELIVERYCOST, DELIVERYMODE, DELIVERYSTATUS, DELIVERYTIMESLOT, DESCRIPTION, DISCOUNTS, DISCOUNTSINCLUDEDELIVERYCOST, DISCOUNTSINCLUDEPAYMENTCOST, DOCUMENT, ENTRIES, ENTRYGROUPS, EUROPE1PRICEFACTORY_UDG, EUROPE1PRICEFACTORY_UPG, EUROPE1PRICEFACTORY_UTG, EXPIRATIONTIME, EXPORTSTATUS, GLOBALDISCOUNTVALUES, GLOBALDISCOUNTVALUESINTERNAL, GUID, LOCALE, NAME, NET, PARENT, PAYMENTADDRESS, PAYMENTCOST, PAYMENTINFO, PAYMENTMODE, PAYMENTSTATUS, PAYMENTTRANSACTIONS, PAYMENTTYPE, PERMISSIONRESULTS, PREVIOUSDELIVERYMODE, PROMOTIONORDERRESTRICTIONS, PUNCHOUTORDER, PURCHASEORDERNUMBER, QUOTEDISCOUNTVALUESINTERNAL, QUOTEEXPIRATIONDATE, SITE, STATUS, STATUSINFO, STORE, SUBTOTAL, TAXINVOICE, TOTALDISCOUNTS, TOTALPRICE, TOTALTAX, TOTALTAXVALUES, TOTALTAXVALUESINTERNAL, UNIT, USER, WORKFLOWFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.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 parametersQuoteModel(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 parametersGenerated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theQuote.assigneeattribute defined at extensioncommerceservices.Generated method - Getter of theQuote.cartReferenceattribute defined at extensioncommerceservices.Generated method - Getter of theQuote.generatedNotificationsattribute defined at extensioncommerceservices.Generated method - Getter of theQuote.previousEstimatedTotalattribute defined at extensioncommerceservices.getState()Generated method - Getter of theQuote.stateattribute defined at extensioncore.Generated method - Getter of theQuote.versionattribute defined at extensioncore.voidsetAssignee(UserModel value) Generated method - Setter ofQuote.assigneeattribute defined at extensioncommerceservices.voidsetCartReference(CartModel value) Generated method - Setter ofQuote.cartReferenceattribute defined at extensioncommerceservices.voidGenerated method - Setter ofQuote.generatedNotificationsattribute defined at extensioncommerceservices.voidsetPreviousEstimatedTotal(Double value) Generated method - Setter ofQuote.previousEstimatedTotalattribute defined at extensioncommerceservices.voidsetState(QuoteState value) Generated method - Setter ofQuote.stateattribute defined at extensioncore.voidsetVersion(Integer value) Generated method - Initial setter ofQuote.versionattribute defined at extensioncore.Methods inherited from class de.hybris.platform.core.model.order.AbstractOrderModel
getAllPromotionResults, getAppliedCouponCodes, getB2bcomments, getBillingTime, getCalculated, getCartIdReference, getChildren, getChinesePaymentInfo, getCode, getConsentReference, getConsignments, getCurrency, getDate, getDeliveryAddress, getDeliveryCost, getDeliveryMode, getDeliveryStatus, getDeliveryTimeSlot, getDescription, getDiscounts, getDocument, getEntries, getEntryGroups, getEurope1PriceFactory_UDG, getEurope1PriceFactory_UPG, getEurope1PriceFactory_UTG, getExpirationTime, getExportStatus, getGlobalDiscountValues, getGlobalDiscountValuesInternal, getGuid, getLocale, getName, getNet, getParent, getPaymentAddress, getPaymentCost, getPaymentInfo, getPaymentMode, getPaymentStatus, getPaymentTransactions, getPaymentType, getPermissionResults, getPreviousDeliveryMode, getPromotionOrderRestrictions, getPunchOutOrder, getPurchaseOrderNumber, getQuoteDiscountValuesInternal, getQuoteExpirationDate, getSite, getStatus, getStatusInfo, getStore, getSubtotal, getTaxInvoice, getTotalDiscounts, getTotalPrice, getTotalTax, getTotalTaxValues, getTotalTaxValuesInternal, getUnit, getUser, getWorkflow, isDiscountsIncludeDeliveryCost, isDiscountsIncludePaymentCost, setAllPromotionResults, setAppliedCouponCodes, setB2bcomments, setBillingTime, setCalculated, setCartIdReference, setChildren, setChinesePaymentInfo, setCode, setConsentReference, setConsignments, setCurrency, setDate, setDeliveryAddress, setDeliveryCost, setDeliveryMode, setDeliveryStatus, setDeliveryTimeSlot, setDescription, setDiscounts, setDiscountsIncludeDeliveryCost, setDiscountsIncludePaymentCost, setDocument, setEntries, setEntryGroups, setEurope1PriceFactory_UDG, setEurope1PriceFactory_UPG, setEurope1PriceFactory_UTG, setExpirationTime, setExportStatus, setGlobalDiscountValues, setGlobalDiscountValuesInternal, setGuid, setLocale, setName, setNet, setParent, setPaymentAddress, setPaymentCost, setPaymentInfo, setPaymentMode, setPaymentStatus, setPaymentTransactions, setPaymentType, setPermissionResults, setPreviousDeliveryMode, setPromotionOrderRestrictions, setPunchOutOrder, setPurchaseOrderNumber, setQuoteDiscountValuesInternal, setQuoteExpirationDate, setSite, setStatus, setStatusInfo, setStore, setSubtotal, setTaxInvoice, setTotalDiscounts, setTotalPrice, setTotalTax, setTotalTaxValues, setTotalTaxValuesInternal, setUnit, setUser, setWorkflowMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_ASSIGNEE2QUOTES
Generated relation code constant for relationAssignee2Quotesdefining source attributeassigneein extensioncommerceservices.- See Also:
-
VERSION
Generated constant - Attribute key ofQuote.versionattribute defined at extensioncore.- See Also:
-
STATE
Generated constant - Attribute key ofQuote.stateattribute defined at extensioncore.- See Also:
-
CARTREFERENCE
Generated constant - Attribute key ofQuote.cartReferenceattribute defined at extensioncommerceservices.- See Also:
-
PREVIOUSESTIMATEDTOTAL
Generated constant - Attribute key ofQuote.previousEstimatedTotalattribute defined at extensioncommerceservices.- See Also:
-
ASSIGNEE
Generated constant - Attribute key ofQuote.assigneeattribute defined at extensioncommerceservices.- See Also:
-
GENERATEDNOTIFICATIONS
Generated constant - Attribute key ofQuote.generatedNotificationsattribute defined at extensioncommerceservices.- See Also:
-
-
Constructor Details
-
QuoteModel
public QuoteModel()Generated constructor - Default constructor for generic creation. -
QuoteModel
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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_currency- initial attribute declared by typeAbstractOrderat extensioncore_date- initial attribute declared by typeAbstractOrderat extensioncore_state- initial attribute declared by typeQuoteat extensioncore_user- initial attribute declared by typeQuoteat extensioncore_version- initial attribute declared by typeQuoteat extensioncore
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_currency- initial attribute declared by typeAbstractOrderat extensioncore_date- initial attribute declared by typeAbstractOrderat extensioncore_owner- initial attribute declared by typeItemat extensioncore_state- initial attribute declared by typeQuoteat extensioncore_user- initial attribute declared by typeQuoteat extensioncore_version- initial attribute declared by typeQuoteat extensioncore
-
-
Method Details
-
getAssignee
Generated method - Getter of theQuote.assigneeattribute defined at extensioncommerceservices.- Returns:
- the assignee
-
getCartReference
Generated method - Getter of theQuote.cartReferenceattribute defined at extensioncommerceservices.- 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 theQuote.generatedNotificationsattribute defined at extensioncommerceservices. 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 theQuote.previousEstimatedTotalattribute defined at extensioncommerceservices.- Returns:
- the previousEstimatedTotal - Previously estimated total
-
getState
Generated method - Getter of theQuote.stateattribute defined at extensioncore.- Returns:
- the state - Current state of the quote
-
getVersion
Generated method - Getter of theQuote.versionattribute defined at extensioncore.- Returns:
- the version - The version of the quote. Along with code it makes a quote instance unique.
-
setAssignee
Generated method - Setter ofQuote.assigneeattribute defined at extensioncommerceservices.- Parameters:
value- the assignee
-
setCartReference
Generated method - Setter ofQuote.cartReferenceattribute defined at extensioncommerceservices.- 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 ofQuote.generatedNotificationsattribute defined at extensioncommerceservices.- Parameters:
value- the generatedNotifications
-
setPreviousEstimatedTotal
@Accessor(qualifier="previousEstimatedTotal", type=SETTER) public void setPreviousEstimatedTotal(Double value) Generated method - Setter ofQuote.previousEstimatedTotalattribute defined at extensioncommerceservices.- Parameters:
value- the previousEstimatedTotal - Previously estimated total
-
setState
Generated method - Setter ofQuote.stateattribute defined at extensioncore.- Parameters:
value- the state - Current state of the quote
-
setVersion
Generated method - Initial setter ofQuote.versionattribute defined at extensioncore. 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.
-