GooglePayButton
data class GooglePayButton(val showsAsPrimaryButton: Boolean = true, val buttonType: ButtonType? = null) : Parcelable
Google Pay button configuration. Controls how the Google Pay button is displayed in the payment sheet.
Properties
Link copied to clipboard
The Google Pay button type (BUY, SUBSCRIBE, etc.). When null, defaults to BUY for one-off payments, SUBSCRIBE for recurring payments.
Link copied to clipboard
If true, Google Pay is shown as a standalone button on top of the payment sheet. If false, Google Pay appears as a regular payment method option.