StripeApplePay class
Properties
- countryKey ↔ String
-
getter/setter pair
- currencyKey ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- merchantIdentifier ↔ String
-
getter/setter pair
- nativePayReady → bool
-
no setter
- publishableKey ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
confirmPayment(
bool isSuccess) → void - Indicates to the user if the payment was successful on the payment sheet Pass true to indicate a successful payment, false otherwise
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
presentApplePay(
ApplePayOrder order) → Future< String> - Presents a native payment sheet to the user and returns a token that can be sent to Stripe to complete a payment
-
setCountryKey(
String key) → void -
setCurrencyKey(
String key) → void -
setMerchantIdentifier(
String identifier) → void - Call this method before using the library. Sets the Apple Pay merchant identifier
-
setPublishableKey(
String key) → void - Call this method before using the library. Sets the Stripe publishable key for your project
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → StripeApplePay
-
no setter