pub enum CustomerCreationSource {
Show 19 variants
Other,
Appointments,
Coupon,
DeletionRecovery,
Directory,
Egifting,
EmailCollection,
Feedback,
Import,
Invoices,
Loyalty,
Marketing,
Merge,
OnlineStore,
InstantProfile,
Terminal,
ThirdParty,
ThirdPartyImport,
UnmergeRecovery,
}
Expand description
Indicates the method used to create the customer profile.
Variants§
Other
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
The customer profile was created automatically when an appointment was scheduled.
Coupon
The customer profile was created automatically when a coupon was issued using Square Point of Sale.
DeletionRecovery
The customer profile was restored through Square’s deletion recovery process.
Directory
The customer profile was created manually through Square Seller Dashboard or the Point of Sale application.
Egifting
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
The customer profile was created through Square Point of Sale when signing up for marketing emails during checkout.
Feedback
The customer profile was created automatically when providing feedback through a digital receipt.
Import
The customer profile was created automatically when importing customer data through Square Seller Dashboard.
Invoices
The customer profile was created automatically during an invoice payment.
Loyalty
The customer profile was created automatically when customers provide a phone number for loyalty reward programs during checkout.
Marketing
The customer profile was created as the result of a campaign managed through Square’s Facebook integration.
Merge
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
The customer profile was created through Square’s Online Store solution (legacy service).
InstantProfile
The customer profile was created automatically as the result of a successful transaction that did not explicitly link to an existing customer profile.
Terminal
The customer profile was created through Square’s Virtual Terminal.
ThirdParty
The customer profile was created through a Square API call.
ThirdPartyImport
The customer profile was created by a third-party product and imported through an official integration.
UnmergeRecovery
The customer profile was restored through Square’s unmerge recovery process.
Trait Implementations§
Source§impl Clone for CustomerCreationSource
impl Clone for CustomerCreationSource
Source§fn clone(&self) -> CustomerCreationSource
fn clone(&self) -> CustomerCreationSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more