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§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CustomerCreationSource
impl Debug for CustomerCreationSource
Source§impl<'de> Deserialize<'de> for CustomerCreationSource
impl<'de> Deserialize<'de> for CustomerCreationSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for CustomerCreationSource
impl PartialEq for CustomerCreationSource
Source§impl Serialize for CustomerCreationSource
impl Serialize for CustomerCreationSource
impl Eq for CustomerCreationSource
impl StructuralPartialEq for CustomerCreationSource
Auto Trait Implementations§
impl Freeze for CustomerCreationSource
impl RefUnwindSafe for CustomerCreationSource
impl Send for CustomerCreationSource
impl Sync for CustomerCreationSource
impl Unpin for CustomerCreationSource
impl UnwindSafe for CustomerCreationSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.