InvoiceAutomaticPaymentSource enum
Constructors
- InvoiceAutomaticPaymentSource()
-
const
Values
- none → const InvoiceAutomaticPaymentSource
-
An automatic payment is not configured for the payment request.
- cardOnFile → const InvoiceAutomaticPaymentSource
-
Use a card on file as the automatic payment method. On the due date, Square charges the card for the amount of the payment request.
For
CARD_ON_FILE
payments, the invoice delivery method must beEMAIL
andcard_id
must be specified for the payment request before the invoice can be published. - bankOnFile → const InvoiceAutomaticPaymentSource
-
Use a bank account on file as the automatic payment method. On the due date, Square charges the bank account for the amount of the payment request.
This payment method applies only to recurring invoices that sellers create in the Seller Dashboard or other Square first-party applications. The bank account is provided by the customer during the payment flow.
You cannot set BANK_ON_FILE as a payment method using the Invoices API, but you can change a
BANK_ON_FILE
payment method toNONE
orCARD_ON_FILE
. ForBANK_ON_FILE
payments, the invoice delivery method must beEMAIL
.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
InvoiceAutomaticPaymentSource> - A constant List of the values in this enum, in order of their declaration.