com.ibm.commerce.marketing.promotion.dependency

Interface CustomerProfile

  • All Superinterfaces:
    ExternalEntity, com.ibm.commerce.marketing.promotion.dynattr.SupportDynamicAttribute


    public interface CustomerProfile
    extends ExternalEntity
    CustomerProfile is the interface which represents CustomerProfile external entity. The interfaces extends ExternalEntity interface. All the implementations for CustomerProfile entity should implement this interface.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Method Detail

      • getKey

        CustomerProfileKey getKey()
        This method returns the CustomerProfileKey of the CustomerProfile.
        Returns:
        CustomerProfileKey of the CustomerProfile.
      • isAMember

        boolean isAMember(Customer customer)
        This method checks if the customer belongs to this particular customer profile. If customer is a member of the customer profile, true will be returned, otherwise false.
        Parameters:
        customer - the customer object.
        Returns:
        true if the customer is a member of the customer profile; false otherwise.
      • getName

        java.lang.String getName()
        This method returns the name of the CustomerProfile.
        Returns:
        String name of the customer profile.