Features
data class Features(val showLineItems: Boolean = false, val showInvoiceDownload: Boolean = false, val showReceiptDownload: Boolean = false, val allowPaymentMethodChange: Boolean = true)(source)
Optional content and actions exposed by the payment sheet.
These settings change presentation only. They cannot modify the Order, shipping details, commercial terms, or the customer that owns an attached payment method.
Constructors
Properties
Link copied to clipboard
Let the payer replace an attached payment method. Collection remains available when no method is attached.
Link copied to clipboard
Offer an invoice after successful payment when Checkout returns one.
Link copied to clipboard
Offer a collapsed, expandable Order summary. Opening it promotes the sheet to its full-height state before showing Checkout-provided line items.
Link copied to clipboard
Offer a receipt after successful payment when Checkout returns one.