Class CustomerModel

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

public class CustomerModel extends UserModel
Generated model class for type Customer first defined at extension core.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String _TMAELIGIBILITYCONTEXT2CUSTOMER
      Generated relation code constant for relation TmaEligibilityContext2Customer defining source attribute eligibilityContexts in extension b2ctelcoservices.
      See Also:
    • CUSTOMERID

      public static final String CUSTOMERID
      Generated constant - Attribute key of Customer.customerID attribute defined at extension core.
      See Also:
    • PREVIEWCATALOGVERSIONS

      public static final String PREVIEWCATALOGVERSIONS
      Generated constant - Attribute key of Customer.previewCatalogVersions attribute defined at extension catalog.
      See Also:
    • TITLE

      public static final String TITLE
      Generated constant - Attribute key of Customer.title attribute defined at extension commerceservices.
      See Also:
    • DEFAULTPAYMENTINFO

      public static final String DEFAULTPAYMENTINFO
      Generated constant - Attribute key of Customer.defaultPaymentInfo attribute defined at extension commerceservices.
      See Also:
    • TOKEN

      public static final String TOKEN
      Generated constant - Attribute key of Customer.token attribute defined at extension commerceservices.
      See Also:
    • CONTACTEMAIL

      public static final String CONTACTEMAIL
      Generated constant - Attribute key of Customer.contactEmail attribute defined at extension commerceservices.
      See Also:
    • ORIGINALUID

      public static final String ORIGINALUID
      Generated constant - Attribute key of Customer.originalUid attribute defined at extension commerceservices.
      See Also:
    • TYPE

      public static final String TYPE
      Generated constant - Attribute key of Customer.type attribute defined at extension commerceservices.
      See Also:
    • TICKETS

      public static final String TICKETS
      Generated constant - Attribute key of Customer.tickets attribute defined at extension ticketsystem.
      See Also:
    • ELIGIBILITYCONTEXTS

      public static final String ELIGIBILITYCONTEXTS
      Generated constant - Attribute key of Customer.eligibilityContexts attribute defined at extension b2ctelcoservices.
      See Also:
  • Constructor Details

    • CustomerModel

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

      public CustomerModel(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
    • CustomerModel

      @Deprecated(since="4.1.1", forRemoval=true) public CustomerModel(boolean _loginDisabled, String _uid)
      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:
      _loginDisabled - initial attribute declared by type User at extension core
      _uid - initial attribute declared by type Principal at extension core
    • CustomerModel

      @Deprecated(since="4.1.1", forRemoval=true) public CustomerModel(Collection<CustomerReviewModel> _customerReviews, boolean _loginDisabled, ItemModel _owner, String _uid)
      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:
      _customerReviews - initial attribute declared by type User at extension customerreview
      _loginDisabled - initial attribute declared by type User at extension core
      _owner - initial attribute declared by type Item at extension core
      _uid - initial attribute declared by type Principal at extension core
  • Method Details

    • getContactEmail

      @Accessor(qualifier="contactEmail", type=GETTER) public String getContactEmail()
      Generated method - Getter of the Customer.contactEmail dynamic attribute defined at extension commerceservices.
      Returns:
      the contactEmail - Contact email is a dynamic attribute that is used to determine contact email address.
    • getCustomerID

      @Accessor(qualifier="customerID", type=GETTER) public String getCustomerID()
      Generated method - Getter of the Customer.customerID attribute defined at extension core.
      Returns:
      the customerID
    • getDefaultPaymentInfo

      @Accessor(qualifier="defaultPaymentInfo", type=GETTER) public PaymentInfoModel getDefaultPaymentInfo()
      Generated method - Getter of the Customer.defaultPaymentInfo attribute defined at extension commerceservices.
      Returns:
      the defaultPaymentInfo - It holds information about default payment that is used by the customer.
    • getEligibilityContexts

      @Accessor(qualifier="eligibilityContexts", type=GETTER) public Set<TmaEligibilityContextModel> getEligibilityContexts()
      Generated method - Getter of the Customer.eligibilityContexts attribute defined at extension b2ctelcoservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the eligibilityContexts
    • getOriginalUid

      @Accessor(qualifier="originalUid", type=GETTER) public String getOriginalUid()
      Generated method - Getter of the Customer.originalUid attribute defined at extension commerceservices.
      Returns:
      the originalUid
    • getPreviewCatalogVersions

      @Accessor(qualifier="previewCatalogVersions", type=GETTER) public Collection<CatalogVersionModel> getPreviewCatalogVersions()
      Generated method - Getter of the Customer.previewCatalogVersions attribute defined at extension catalog. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the previewCatalogVersions
    • getTickets

      @Accessor(qualifier="tickets", type=GETTER) public List<CsTicketModel> getTickets()
      Generated method - Getter of the Customer.tickets dynamic attribute defined at extension ticketsystem. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the tickets - Tickets is a dynamic attribute.
    • getTitle

      @Accessor(qualifier="title", type=GETTER) public TitleModel getTitle()
      Generated method - Getter of the Customer.title attribute defined at extension commerceservices.
      Returns:
      the title - It holds information about customer title (i.e. Mr, Dr, etc.)
    • getToken

      @Accessor(qualifier="token", type=GETTER) public String getToken()
      Generated method - Getter of the Customer.token attribute defined at extension commerceservices.
      Returns:
      the token - Attribute is used during forgotten password to ensure that the link can be used only once.
    • getType

      @Accessor(qualifier="type", type=GETTER) public CustomerType getType()
      Generated method - Getter of the Customer.type attribute defined at extension commerceservices.
      Returns:
      the type - Customer type
    • setCustomerID

      @Accessor(qualifier="customerID", type=SETTER) public void setCustomerID(String value)
      Generated method - Setter of Customer.customerID attribute defined at extension core.
      Parameters:
      value - the customerID
    • setDefaultPaymentInfo

      @Accessor(qualifier="defaultPaymentInfo", type=SETTER) public void setDefaultPaymentInfo(PaymentInfoModel value)
      Generated method - Setter of Customer.defaultPaymentInfo attribute defined at extension commerceservices.
      Parameters:
      value - the defaultPaymentInfo - It holds information about default payment that is used by the customer.
    • setEligibilityContexts

      @Accessor(qualifier="eligibilityContexts", type=SETTER) public void setEligibilityContexts(Set<TmaEligibilityContextModel> value)
      Generated method - Setter of Customer.eligibilityContexts attribute defined at extension b2ctelcoservices.
      Parameters:
      value - the eligibilityContexts
    • setOriginalUid

      @Accessor(qualifier="originalUid", type=SETTER) public void setOriginalUid(String value)
      Generated method - Setter of Customer.originalUid attribute defined at extension commerceservices.
      Parameters:
      value - the originalUid
    • setPreviewCatalogVersions

      @Accessor(qualifier="previewCatalogVersions", type=SETTER) public void setPreviewCatalogVersions(Collection<CatalogVersionModel> value)
      Generated method - Setter of Customer.previewCatalogVersions attribute defined at extension catalog.
      Parameters:
      value - the previewCatalogVersions
    • setTickets

      @Accessor(qualifier="tickets", type=SETTER) public void setTickets(List<CsTicketModel> value)
      Generated method - Setter of Customer.tickets dynamic attribute defined at extension ticketsystem.
      Parameters:
      value - the tickets - Tickets is a dynamic attribute.
    • setTitle

      @Accessor(qualifier="title", type=SETTER) public void setTitle(TitleModel value)
      Generated method - Setter of Customer.title attribute defined at extension commerceservices.
      Parameters:
      value - the title - It holds information about customer title (i.e. Mr, Dr, etc.)
    • setToken

      @Accessor(qualifier="token", type=SETTER) public void setToken(String value)
      Generated method - Setter of Customer.token attribute defined at extension commerceservices.
      Parameters:
      value - the token - Attribute is used during forgotten password to ensure that the link can be used only once.
    • setType

      @Accessor(qualifier="type", type=SETTER) public void setType(CustomerType value)
      Generated method - Setter of Customer.type attribute defined at extension commerceservices.
      Parameters:
      value - the type - Customer type