DigitalWalletPaymentParameters class
Parameters used to create a digital wallet payment method
Important: Some properties are platform-specific, but it is safe to pass them to both platforms. Refer to each property to ensure these parameters are set up properly for your use case.
Constructors
- DigitalWalletPaymentParameters({required double amount, String currencyCode = "USD", int currencyMultiplier = 100, String countryCode = "US"})
-
Create digital wallet payment parameters
const
Properties
- amount → double
-
The amount to be charged
final
- countryCode → String
-
(iOS Only) A two character country code representing the country of the vendor
final
- currencyCode → String
-
A three character currency code for the transaction (e.g. "USD")
final
- currencyMultiplier → int
-
(Android Only) Multiplier to convert the amount to the currency's smallest unit
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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