Enum square_api_client::models::enums::TenderType
source · [−]pub enum TenderType {
Card,
Cash,
ThirdPartyCard,
SquareGiftCard,
NoSale,
Wallet,
Other,
}
Expand description
Indicates a tender’s type.
Variants
Card
A credit card.
Cash
Cash.
ThirdPartyCard
A credit card processed with a card processor other than Square.
This value applies only to merchants in countries where Square does not yet provide card processing.
SquareGiftCard
A Square gift card.
NoSale
This tender represents the register being opened for a “no sale” event.
Wallet
A payment from a digital wallet, e.g. Cash App.
Note: Some “digital wallets”, including Google Pay and Apple Pay, facilitate card payments.
Those payments have the CARD
type.
Other
A form of tender that does not match any other value.
Trait Implementations
sourceimpl Clone for TenderType
impl Clone for TenderType
sourcefn clone(&self) -> TenderType
fn clone(&self) -> TenderType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TenderType
impl Debug for TenderType
sourceimpl<'de> Deserialize<'de> for TenderType
impl<'de> Deserialize<'de> for TenderType
sourcefn 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
sourceimpl PartialEq<TenderType> for TenderType
impl PartialEq<TenderType> for TenderType
sourcefn eq(&self, other: &TenderType) -> bool
fn eq(&self, other: &TenderType) -> bool
sourceimpl Serialize for TenderType
impl Serialize for TenderType
impl Eq for TenderType
impl StructuralEq for TenderType
impl StructuralPartialEq for TenderType
Auto Trait Implementations
impl RefUnwindSafe for TenderType
impl Send for TenderType
impl Sync for TenderType
impl Unpin for TenderType
impl UnwindSafe for TenderType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.