Represents the active data for a Customer in Commerce Cloud Digital.
Note: this class allows access to sensitive personal and private information.
Pay attention to appropriate legal and regulatory requirements when developing.
Returns the discount value resulting from coupons, that has been applied to orders of the customer, or null if none has been set or the value is no longer valid.
Returns the discount value resulting from promotions other than coupons, that has been applied to orders of the customer, or null if none has been set or the value is no longer valid.
Returns the number of orders for the Customer that contained at least one product unit marked as a gift, or null if none has been set or the value is no longer valid.
Returns the number of product units in orders for the customer that were marked as a gift, or null if none has been set or the value is no longer valid.
Returns an array containing the master product SKUs of variation products in orders for the customer, or an empty collection if no SKUs have been set or the collection of SKUs is no longer valid.
Returns an array containing the SKUs of products in baskets abandoned by the customer in the last 30 days, or an empty collection if no SKUs have been set or the collection is no longer valid.
Returns an array containing the SKUs of products in orders for the customer, or an empty collection if no SKUs have been set or the collection of SKUs is no longer valid.
Returns an array containing the SKUs of products viewed by the customer in the last 30 days, or an empty collection if no SKUs have been set or the collection is no longer valid.
Returns an array containing the IDs of up to the top 20 categories for customer orders, or an empty list if no categories have been set or the list of categories is no longer valid.
Returns the discount value resulting from coupons, that has been applied to orders of the customer, or null if none has been set or the value is no longer valid.
Returns the discount value resulting from promotions other than coupons, that has been applied to orders of the customer, or null if none has been set or the value is no longer valid.
Returns the number of orders for the Customer that contained at least one product unit marked as a gift, or null if none has been set or the value is no longer valid.
Returns the number of product units in orders for the customer that were marked as a gift, or null if none has been set or the value is no longer valid.
Returns an array containing the master product SKUs of variation products in orders for the customer, or an empty collection if no SKUs have been set or the collection of SKUs is no longer valid.
Returns an array containing the SKUs of products in baskets abandoned by the customer in the last 30 days, or an empty collection if no SKUs have been set or the collection is no longer valid.
Returns an array containing the SKUs of products in orders for the customer, or an empty collection if no SKUs have been set or the collection of SKUs is no longer valid.
Returns an array containing the SKUs of products viewed by the customer in the last 30 days, or an empty collection if no SKUs have been set or the collection is no longer valid.
Returns an array containing the IDs of up to the top 20 categories for customer orders, or an empty list if no categories have been set or the list of categories is no longer valid.
Returns the discount value resulting from coupons, that has been applied
to orders of the customer, or null if none has been set or
the value is no longer valid.
Returns the discount value resulting from promotions other than coupons,
that has been applied to orders of the customer, or null
if none has been set or the value is no longer valid.
Returns the number of orders for the Customer that contained at least
one product unit marked as a gift, or null if none has been
set or the value is no longer valid.
Returns the number of product units in orders for the customer
that were marked as a gift, or null if none has been set
or the value is no longer valid.
Returns an array containing the master product SKUs of variation products
in orders for the customer, or an empty collection if no SKUs have been
set or the collection of SKUs is no longer valid. There is no specific
limit on the number of SKUs that will be returned in the collection, but
there is also no guarantee that it will contain the SKUs for all products
ordered by the customer.
Returns an array containing the SKUs of products in baskets abandoned
by the customer in the last 30 days, or an empty collection if no SKUs
have been set or the collection is no longer valid. There is no specific
limit on the number of SKUs that will be returned in the collection, but
there is also no guarantee that it will contain the SKUs for all products
in baskets abandoned by the customer.
Returns an array containing the SKUs of products in orders
for the customer, or an empty collection if no SKUs have been set or the
collection of SKUs is no longer valid. There is no specific limit on the
number of SKUs that will be returned in the collection, but there is also
no guarantee that it will contain the SKUs for all products ordered by
the customer.
Returns an array containing the SKUs of products viewed by the
customer in the last 30 days, or an empty collection if no SKUs have been
set or the collection is no longer valid. There is no specific limit on
the number of SKUs that will be returned in the collection, but there is
also no guarantee that it will contain the SKUs for all products viewed
by the customer.
Returns an array containing the IDs of up to the top 20 categories for
customer orders, or an empty list if no categories have been set or the
list of categories is no longer valid. The top category is the one for
which the most orders for the customer contained at least one product
found in that category.
Returns the discount value resulting from coupons, that has been applied
to orders of the customer, or null if none has been set or
the value is no longer valid.
Returns the discount value resulting from promotions other than coupons,
that has been applied to orders of the customer, or null
if none has been set or the value is no longer valid.
Returns:
the discount value resulting from promotions other than coupons.
Returns the number of orders for the Customer that contained at least
one product unit marked as a gift, or null if none has been
set or the value is no longer valid.
Returns the number of product units in orders for the customer
that were marked as a gift, or null if none has been set
or the value is no longer valid.
Returns an array containing the master product SKUs of variation products
in orders for the customer, or an empty collection if no SKUs have been
set or the collection of SKUs is no longer valid. There is no specific
limit on the number of SKUs that will be returned in the collection, but
there is also no guarantee that it will contain the SKUs for all products
ordered by the customer.
Returns:
a collection containing the master product SKUs of variation
products that were ordered.
Returns an array containing the SKUs of products in baskets abandoned
by the customer in the last 30 days, or an empty collection if no SKUs
have been set or the collection is no longer valid. There is no specific
limit on the number of SKUs that will be returned in the collection, but
there is also no guarantee that it will contain the SKUs for all products
in baskets abandoned by the customer.
Returns:
a collection containing the SKUs of products that were abandoned.
Returns an array containing the SKUs of products in orders
for the customer, or an empty collection if no SKUs have been set or the
collection of SKUs is no longer valid. There is no specific limit on the
number of SKUs that will be returned in the collection, but there is also
no guarantee that it will contain the SKUs for all products ordered by
the customer.
Returns:
a collection containing the SKUs of products that were ordered.
Returns an array containing the SKUs of products viewed by the
customer in the last 30 days, or an empty collection if no SKUs have been
set or the collection is no longer valid. There is no specific limit on
the number of SKUs that will be returned in the collection, but there is
also no guarantee that it will contain the SKUs for all products viewed
by the customer.
Returns:
a collection containing the SKUs of products that were ordered.
Returns an array containing the IDs of up to the top 20 categories for
customer orders, or an empty list if no categories have been set or the
list of categories is no longer valid. The top category is the one for
which the most orders for the customer contained at least one product
found in that category.