Class OrderModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ReturnOrderModel

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

    • _TYPECODE

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

      public static final String VERSIONID
      Generated constant - Attribute key of Order.versionID attribute defined at extension basecommerce.
      See Also:
    • ORIGINALVERSION

      public static final String ORIGINALVERSION
      Generated constant - Attribute key of Order.originalVersion attribute defined at extension basecommerce.
      See Also:
    • FRAUDULENT

      public static final String FRAUDULENT
      Generated constant - Attribute key of Order.fraudulent attribute defined at extension basecommerce.
      See Also:
    • POTENTIALLYFRAUDULENT

      public static final String POTENTIALLYFRAUDULENT
      Generated constant - Attribute key of Order.potentiallyFraudulent attribute defined at extension basecommerce.
      See Also:
    • STATUSDISPLAY

      public static final String STATUSDISPLAY
      Generated constant - Attribute key of Order.statusDisplay attribute defined at extension basecommerce.
      See Also:
    • FRAUDREPORTS

      public static final String FRAUDREPORTS
      Generated constant - Attribute key of Order.fraudReports attribute defined at extension basecommerce.
      See Also:
    • HISTORYENTRIES

      public static final String HISTORYENTRIES
      Generated constant - Attribute key of Order.historyEntries attribute defined at extension basecommerce.
      See Also:
    • ORDERTEMPLATECRONJOB

      public static final String ORDERTEMPLATECRONJOB
      Generated constant - Attribute key of Order.orderTemplateCronJob attribute defined at extension basecommerce.
      See Also:
    • ORDERSCHEDULECRONJOB

      public static final String ORDERSCHEDULECRONJOB
      Generated constant - Attribute key of Order.orderScheduleCronJob attribute defined at extension basecommerce.
      See Also:
    • MODIFICATIONRECORDS

      public static final String MODIFICATIONRECORDS
      Generated constant - Attribute key of Order.modificationRecords attribute defined at extension basecommerce.
      See Also:
    • RETURNREQUESTS

      public static final String RETURNREQUESTS
      Generated constant - Attribute key of Order.returnRequests attribute defined at extension basecommerce.
      See Also:
    • ORDERPROCESS

      public static final String ORDERPROCESS
      Generated constant - Attribute key of Order.orderProcess attribute defined at extension basecommerce.
      See Also:
    • SALESAPPLICATION

      public static final String SALESAPPLICATION
      Generated constant - Attribute key of Order.salesApplication attribute defined at extension commerceservices.
      See Also:
    • LANGUAGE

      public static final String LANGUAGE
      Generated constant - Attribute key of Order.language attribute defined at extension commerceservices.
      See Also:
    • PLACEDBY

      public static final String PLACEDBY
      Generated constant - Attribute key of Order.placedBy attribute defined at extension commerceservices.
      See Also:
    • QUOTEREFERENCE

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

      public static final String EXHAUSTEDAPPROVERS
      Generated constant - Attribute key of Order.exhaustedApprovers attribute defined at extension b2bapprovalprocess.
      See Also:
  • Constructor Details

    • OrderModel

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

      public OrderModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • OrderModel

      @Deprecated(since="4.1.1", forRemoval=true) public OrderModel(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 Order at extension core
    • OrderModel

      @Deprecated(since="4.1.1", forRemoval=true) public OrderModel(CurrencyModel _currency, Date _date, OrderModel _originalVersion, ItemModel _owner, UserModel _user, String _versionID)
      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
      _originalVersion - initial attribute declared by type Order at extension basecommerce
      _owner - initial attribute declared by type Item at extension core
      _user - initial attribute declared by type Order at extension core
      _versionID - initial attribute declared by type Order at extension basecommerce
  • Method Details

    • getExhaustedApprovers

      @Accessor(qualifier="exhaustedApprovers", type=GETTER) public Set<B2BCustomerModel> getExhaustedApprovers()
      Generated method - Getter of the Order.exhaustedApprovers attribute defined at extension b2bapprovalprocess. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the exhaustedApprovers
    • getFraudReports

      @Accessor(qualifier="fraudReports", type=GETTER) public Set<FraudReportModel> getFraudReports()
      Generated method - Getter of the Order.fraudReports attribute defined at extension basecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the fraudReports
    • getFraudulent

      @Accessor(qualifier="fraudulent", type=GETTER) public Boolean getFraudulent()
      Generated method - Getter of the Order.fraudulent attribute defined at extension basecommerce.
      Returns:
      the fraudulent
    • getHistoryEntries

      @Accessor(qualifier="historyEntries", type=GETTER) public List<OrderHistoryEntryModel> getHistoryEntries()
      Generated method - Getter of the Order.historyEntries attribute defined at extension basecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the historyEntries
    • getLanguage

      @Accessor(qualifier="language", type=GETTER) public LanguageModel getLanguage()
      Generated method - Getter of the Order.language attribute defined at extension commerceservices.
      Returns:
      the language - The language used when the order is placed.
    • getModificationRecords

      @Accessor(qualifier="modificationRecords", type=GETTER) public Set<OrderModificationRecordModel> getModificationRecords()
      Generated method - Getter of the Order.modificationRecords attribute defined at extension basecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the modificationRecords
    • getOrderProcess

      @Accessor(qualifier="orderProcess", type=GETTER) public Collection<OrderProcessModel> getOrderProcess()
      Generated method - Getter of the Order.orderProcess attribute defined at extension basecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the orderProcess
    • getOrderScheduleCronJob

      @Accessor(qualifier="orderScheduleCronJob", type=GETTER) public Collection<OrderScheduleCronJobModel> getOrderScheduleCronJob()
      Generated method - Getter of the Order.orderScheduleCronJob attribute defined at extension basecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the orderScheduleCronJob
    • getOrderTemplateCronJob

      @Accessor(qualifier="orderTemplateCronJob", type=GETTER) public Collection<OrderTemplateToOrderCronJobModel> getOrderTemplateCronJob()
      Generated method - Getter of the Order.orderTemplateCronJob attribute defined at extension basecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the orderTemplateCronJob
    • getOriginalVersion

      @Accessor(qualifier="originalVersion", type=GETTER) public OrderModel getOriginalVersion()
      Generated method - Getter of the Order.originalVersion attribute defined at extension basecommerce.
      Returns:
      the originalVersion
    • getPlacedBy

      @Accessor(qualifier="placedBy", type=GETTER) public UserModel getPlacedBy()
      Generated method - Getter of the Order.placedBy attribute defined at extension commerceservices.
      Returns:
      the placedBy - The sales agent which the order was placed by.
    • getPotentiallyFraudulent

      @Accessor(qualifier="potentiallyFraudulent", type=GETTER) public Boolean getPotentiallyFraudulent()
      Generated method - Getter of the Order.potentiallyFraudulent attribute defined at extension basecommerce.
      Returns:
      the potentiallyFraudulent
    • getQuoteReference

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

      @Accessor(qualifier="returnRequests", type=GETTER) public List<ReturnRequestModel> getReturnRequests()
      Generated method - Getter of the Order.returnRequests attribute defined at extension basecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the returnRequests
    • getSalesApplication

      @Accessor(qualifier="salesApplication", type=GETTER) public SalesApplication getSalesApplication()
      Generated method - Getter of the Order.salesApplication attribute defined at extension commerceservices.
      Returns:
      the salesApplication - The sales application for which the order was placed.
    • getStatusDisplay

      @Accessor(qualifier="statusDisplay", type=GETTER) public String getStatusDisplay()
      Generated method - Getter of the Order.statusDisplay dynamic attribute defined at extension basecommerce.
      Returns:
      the statusDisplay
    • getVersionID

      @Accessor(qualifier="versionID", type=GETTER) public String getVersionID()
      Generated method - Getter of the Order.versionID attribute defined at extension basecommerce.
      Returns:
      the versionID
    • setExhaustedApprovers

      @Accessor(qualifier="exhaustedApprovers", type=SETTER) public void setExhaustedApprovers(Set<B2BCustomerModel> value)
      Generated method - Setter of Order.exhaustedApprovers attribute defined at extension b2bapprovalprocess.
      Parameters:
      value - the exhaustedApprovers
    • setFraudReports

      @Accessor(qualifier="fraudReports", type=SETTER) public void setFraudReports(Set<FraudReportModel> value)
      Generated method - Setter of Order.fraudReports attribute defined at extension basecommerce.
      Parameters:
      value - the fraudReports
    • setFraudulent

      @Accessor(qualifier="fraudulent", type=SETTER) public void setFraudulent(Boolean value)
      Generated method - Setter of Order.fraudulent attribute defined at extension basecommerce.
      Parameters:
      value - the fraudulent
    • setHistoryEntries

      @Accessor(qualifier="historyEntries", type=SETTER) public void setHistoryEntries(List<OrderHistoryEntryModel> value)
      Generated method - Setter of Order.historyEntries attribute defined at extension basecommerce.
      Parameters:
      value - the historyEntries
    • setLanguage

      @Accessor(qualifier="language", type=SETTER) public void setLanguage(LanguageModel value)
      Generated method - Setter of Order.language attribute defined at extension commerceservices.
      Parameters:
      value - the language - The language used when the order is placed.
    • setModificationRecords

      @Accessor(qualifier="modificationRecords", type=SETTER) public void setModificationRecords(Set<OrderModificationRecordModel> value)
      Generated method - Setter of Order.modificationRecords attribute defined at extension basecommerce.
      Parameters:
      value - the modificationRecords
    • setOrderProcess

      @Accessor(qualifier="orderProcess", type=SETTER) public void setOrderProcess(Collection<OrderProcessModel> value)
      Generated method - Setter of Order.orderProcess attribute defined at extension basecommerce.
      Parameters:
      value - the orderProcess
    • setOrderScheduleCronJob

      @Accessor(qualifier="orderScheduleCronJob", type=SETTER) public void setOrderScheduleCronJob(Collection<OrderScheduleCronJobModel> value)
      Generated method - Setter of Order.orderScheduleCronJob attribute defined at extension basecommerce.
      Parameters:
      value - the orderScheduleCronJob
    • setOrderTemplateCronJob

      @Accessor(qualifier="orderTemplateCronJob", type=SETTER) public void setOrderTemplateCronJob(Collection<OrderTemplateToOrderCronJobModel> value)
      Generated method - Setter of Order.orderTemplateCronJob attribute defined at extension basecommerce.
      Parameters:
      value - the orderTemplateCronJob
    • setOriginalVersion

      @Accessor(qualifier="originalVersion", type=SETTER) public void setOriginalVersion(OrderModel value)
      Generated method - Initial setter of Order.originalVersion attribute defined at extension basecommerce. Can only be used at creation of model - before first save.
      Parameters:
      value - the originalVersion
    • setPlacedBy

      @Accessor(qualifier="placedBy", type=SETTER) public void setPlacedBy(UserModel value)
      Generated method - Setter of Order.placedBy attribute defined at extension commerceservices.
      Parameters:
      value - the placedBy - The sales agent which the order was placed by.
    • setPotentiallyFraudulent

      @Accessor(qualifier="potentiallyFraudulent", type=SETTER) public void setPotentiallyFraudulent(Boolean value)
      Generated method - Setter of Order.potentiallyFraudulent attribute defined at extension basecommerce.
      Parameters:
      value - the potentiallyFraudulent
    • setQuoteReference

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

      @Accessor(qualifier="returnRequests", type=SETTER) public void setReturnRequests(List<ReturnRequestModel> value)
      Generated method - Setter of Order.returnRequests attribute defined at extension basecommerce.
      Parameters:
      value - the returnRequests
    • setSalesApplication

      @Accessor(qualifier="salesApplication", type=SETTER) public void setSalesApplication(SalesApplication value)
      Generated method - Setter of Order.salesApplication attribute defined at extension commerceservices.
      Parameters:
      value - the salesApplication - The sales application for which the order was placed.
    • setVersionID

      @Accessor(qualifier="versionID", type=SETTER) public void setVersionID(String value)
      Generated method - Initial setter of Order.versionID attribute defined at extension basecommerce. Can only be used at creation of model - before first save.
      Parameters:
      value - the versionID