pub enum PaymentSourceType {
Card,
BankAccount,
Wallet,
BuyNowPayLater,
SquareAccount,
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.
SquareAccount
Square account
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§
Source§impl Clone for PaymentSourceType
impl Clone for PaymentSourceType
Source§fn clone(&self) -> PaymentSourceType
fn clone(&self) -> PaymentSourceType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more