GooglePayConfiguration class

Configuration parameters for Google Pay transactions

Constructors

GooglePayConfiguration({bool productionEnvironment = true, int currencyMultiplier = 100, bool existingPaymentMethodRequired = false})
Create a new instance of this class to configure Google Pay
const

Properties

currencyMultiplier → int
Multiplier to convert the amount to the currency's smallest unit
final
existingPaymentMethodRequired → bool
Whether an existing saved payment method is required for Google Pay to be considered ready.
final
hashCode → int
The hash code for this object.
no setterinherited
productionEnvironment → bool
Whether Google Pay will use the production environment
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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