StripeApplePay class Null safety

Properties

countryKey String
read / write
currencyKey String
read / write
hashCode int
The hash code for this object.
read-onlyinherited
merchantIdentifier String
read / write
nativePayReady bool
read-only
publishableKey String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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 non-existent 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
read-only