Enum square_api_client::models::enums::PaymentSourceType
source · [−]pub enum PaymentSourceType {
Card,
BankAccount,
Wallet,
BuyNowPayLater,
Cash,
External,
}
Expand description
Sources from which [Payment]s can be taken.
For information about these payment source types, see Take Payments.
Variants
Card
A seller can charge a card (a credit/debit card or Square gift card). For more information, see Take Card Payments.
BankAccount
For more information, see ACH Bank Transfer Payment.
Wallet
A seller can receive payments via Apple or Google Wallet.
BuyNowPayLater
For more information, see Afterpay Payments.
Cash
A seller can receive cash payments from a buyer and use CreatePayment
to record the
payment. For more information, see Take Cash
Payments.
External
External payments refer to any payments processed by external entities (not by Square or the
seller). For example, a buyer places a food order through a courier service. The courier
service collects the payment and pays the seller. The seller can record these payments using
CreatePayment
. This does not change the seller’s Square Balance. For more information, see
Take External
Payments.
Trait Implementations
sourceimpl Clone for PaymentSourceType
impl Clone for PaymentSourceType
sourcefn clone(&self) -> PaymentSourceType
fn clone(&self) -> PaymentSourceType
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for PaymentSourceType
impl Debug for PaymentSourceType
sourceimpl<'de> Deserialize<'de> for PaymentSourceType
impl<'de> Deserialize<'de> for PaymentSourceType
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>,
sourceimpl PartialEq<PaymentSourceType> for PaymentSourceType
impl PartialEq<PaymentSourceType> for PaymentSourceType
sourcefn eq(&self, other: &PaymentSourceType) -> bool
fn eq(&self, other: &PaymentSourceType) -> bool
sourceimpl Serialize for PaymentSourceType
impl Serialize for PaymentSourceType
impl Eq for PaymentSourceType
impl StructuralEq for PaymentSourceType
impl StructuralPartialEq for PaymentSourceType
Auto Trait Implementations
impl RefUnwindSafe for PaymentSourceType
impl Send for PaymentSourceType
impl Sync for PaymentSourceType
impl Unpin for PaymentSourceType
impl UnwindSafe for PaymentSourceType
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
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
key
and return true
if they are equal.