dw.customer
Class OrderHistory

dw.customer.OrderHistory
The class provides access to past orders of the customer.
Note: this class allows access to sensitive financial and card holder data.
Pay special attention to PCI DSS v3. requirements 1, 3, 7, and 9.
It also allows access to sensitive personal and private information.
Pay attention to appropriate legal and regulatory requirements related to this data.
orderCount
:
Number
(Read Only)The number of orders the customer has placed in the store. If the
customer is anonymous, this method always returns zero. If an active data
record is available for this customer, the orders count will be retrieved
from this, otherwise a real-time query will be used to get the count.
This class does not have a constructor, so you cannot create it directly.
getOrderCount
Returns the number of orders the customer has placed in the store. If the
customer is anonymous, this method always returns zero. If an active data
record is available for this customer, the orders count will be retrieved
from this, otherwise a real-time query will be used to get the count.
Returns:
the number of orders the customer has placed in the store.
© Copyright 2000-2020, salesforce.com inc. All rights reserved. Various trademarks held by their respective owners.