CustomerCreationSource enum
Indicates the method used to create the customer profile.
Constructors
- CustomerCreationSource()
-
const
Values
- other → const CustomerCreationSource
-
The default creation source. This source is typically used for backward/future compatibility when the original source of a customer profile is unrecognized. For example, when older clients do not support newer source types.
- appointments → const CustomerCreationSource
-
The customer profile was created automatically when an appointment was scheduled.
- coupon → const CustomerCreationSource
-
The customer profile was created automatically when a coupon was issued using Square Point of Sale.
- deletionRecovery → const CustomerCreationSource
-
The customer profile was restored through Square's deletion recovery process.
- directory → const CustomerCreationSource
-
The customer profile was created manually through Square Seller Dashboard or the Point of Sale application.
- egifting → const CustomerCreationSource
-
The customer profile was created automatically when a gift card was issued using Square Point of Sale. Customer profiles are created for both the buyer and the recipient of the gift card.
- emailCollection → const CustomerCreationSource
-
The customer profile was created through Square Point of Sale when signing up for marketing emails during checkout.
- feedback → const CustomerCreationSource
-
The customer profile was created automatically when importing customer data through Square Seller Dashboard
- import → const CustomerCreationSource
-
The customer profile was created automatically when a coupon was issued using Square Point of Sale.
- invoices → const CustomerCreationSource
-
The customer profile was created automatically during an invoice payment.
- loyalty → const CustomerCreationSource
-
The customer profile was created automatically when customers provide a phone number for loyalty reward programs during checkout.
- marketing → const CustomerCreationSource
-
The customer profile was created automatically when a coupon was issued using Square Point of Sale.
- merge → const CustomerCreationSource
-
The customer profile was created as the result of explicitly merging multiple customer profiles through the Square Seller Dashboard or the Point of Sale application.
- onlineStore → const CustomerCreationSource
-
The customer profile was created through Square's Online Store solution (legacy service).
- instantProfile → const CustomerCreationSource
-
The customer profile was created automatically as the result of a successful transaction that did not explicitly link to an existing customer profile.
- terminal → const CustomerCreationSource
-
The customer profile was created through Square's Virtual Terminal.
- thirdParty → const CustomerCreationSource
-
The customer profile was created through a Square API call.
- thirdPartyImport → const CustomerCreationSource
-
The customer profile was created by a third-party product and imported through an official integration.
- unmergeRecovery → const CustomerCreationSource
-
The customer profile was restored through Square's unmerge recovery process.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
CustomerCreationSource> - A constant List of the values in this enum, in order of their declaration.