PaymentSheetFeatures class final
Optional content and actions exposed by the native payment sheet.
Constructors
- PaymentSheetFeatures({bool showLineItems = false, bool showInvoiceDownload = false, bool showReceiptDownload = false, bool allowPaymentMethodChange = true})
-
const
Properties
- allowPaymentMethodChange → bool
-
Lets the payer replace an attached payment method. Defaults to
true.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showInvoiceDownload → bool
-
Offers the invoice after payment succeeds. Defaults to
false.final - showLineItems → bool
-
Shows the Order's line items before payment. Defaults to
false.final - showReceiptDownload → bool
-
Offers the receipt after payment succeeds. Defaults to
false.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited