Class CustomerCDPData
dw.customer
Class CustomerCDPData
Object
dw.customer.CustomerCDPData
Represents the read-only Customer's Salesforce CDP (Customer Data Platform) data for a Customer in Commerce Cloud. Please see Salesforce CDP enablement documentation
Properties
empty  :  boolean  (Read Only)
Return true if the CDPData is empty (has no meaningful data)
segments  :  String[]  (Read Only)
An array containing the CDP segments for the customer, or an empty array if no segments found
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getSegments() : String[]
Returns an array containing the CDP segments for the customer, or an empty array if no segments found
isEmpty() : boolean
Return true if the CDPData is empty (has no meaningful data)
Method Detail
getSegments
getSegments() : String[]
Returns an array containing the CDP segments for the customer, or an empty array if no segments found
Returns:
a collection containing the CDP segments for the customer

isEmpty
isEmpty() : boolean
Return true if the CDPData is empty (has no meaningful data)
Returns:
true if CDPData is empty, false otherwise