pub enum TransactionProduct {
Register,
ExternalApi,
Billing,
Appointments,
Invoices,
OnlineStore,
Payroll,
Other,
}
Expand description
Indicates the Square product used to process a transaction.
Variants§
Register
Square Point of Sale.
ExternalApi
The Square Connect API.
Billing
A Square subscription for one of multiple products.
Appointments
Square Appointments.
Invoices
Square Invoices.
OnlineStore
Square Online Store.
Payroll
Square Payroll.
Other
A Square product that does not match any other value.
Trait Implementations§
Source§impl Clone for TransactionProduct
impl Clone for TransactionProduct
Source§fn clone(&self) -> TransactionProduct
fn clone(&self) -> TransactionProduct
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TransactionProduct
impl Debug for TransactionProduct
Source§impl<'de> Deserialize<'de> for TransactionProduct
impl<'de> Deserialize<'de> for TransactionProduct
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TransactionProduct
impl PartialEq for TransactionProduct
Source§impl Serialize for TransactionProduct
impl Serialize for TransactionProduct
impl Eq for TransactionProduct
impl StructuralPartialEq for TransactionProduct
Auto Trait Implementations§
impl Freeze for TransactionProduct
impl RefUnwindSafe for TransactionProduct
impl Send for TransactionProduct
impl Sync for TransactionProduct
impl Unpin for TransactionProduct
impl UnwindSafe for TransactionProduct
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
Mutably borrows from an owned value. Read more
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
Compare self to
key
and return true
if they are equal.