public interface Customer extends ExternalEntity
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static int | CUSTOMER_TYPE_GUEST
Indicates Guest customer
|
static int | CUSTOMER_TYPE_REGISTERED
Indicates Registered customer.
|
Modifier and Type | Method and Description |
---|---|
CustomerProfileKey[] | getCustomerProfilesBelongsTo()
This method returns the list of keys corresponding to all the customer profile to which the customer belongs to.
|
int | getCustomerType()
This method returns the type of the customer.
|
CustomerKey | getKey()
This method returns the CustomerKey of the Customer.
|
java.util.Date | getLastOrderDate()
This method returns the date of the last order placed by the customer.
|
java.util.Date | getLastVisitDate()
This method returns the date, when the customer last visited the site.
|
java.math.BigDecimal | getLifeTimeTotal()
This method returns the total price of all the orders placed by the customer in his life time.
|
com.ibm.commerce.marketing.promotion.coupon.Coupon[] | getPossessedCoupons()
This method returns the coupons possessed by the customer.
|
java.lang.String | getPreferredCurrency()
This method returns the preferred currency of the customer.
|
java.lang.String | getPreferredLanguage()
This method returns the preferred language of the customer.
|
OrderKey[] | getPurchaseHistory()
This method gets the purchase history of the customer.
|
java.util.Date | getRegistrationDate()
This method returns the date when the customer registered.
|
static final java.lang.String COPYRIGHT
static final int CUSTOMER_TYPE_REGISTERED
static final int CUSTOMER_TYPE_GUEST
CustomerKey getKey()
int getCustomerType()
java.util.Date getLastOrderDate()
java.util.Date getLastVisitDate()
java.util.Date getRegistrationDate()
java.lang.String getPreferredCurrency()
java.lang.String getPreferredLanguage()
java.math.BigDecimal getLifeTimeTotal()
OrderKey[] getPurchaseHistory()
CustomerProfileKey[] getCustomerProfilesBelongsTo()
com.ibm.commerce.marketing.promotion.coupon.Coupon[] getPossessedCoupons()