NoonPaymentsPlatform class abstract
The interface that implementations of noon_payments must implement.
Platform implementations should extend this class rather than
implement it as NoonPaymentsPlatform.
- Inheritance
-
- Object
- PlatformInterface
- NoonPaymentsPlatform
- Implementers
Constructors
- NoonPaymentsPlatform()
- Constructs a NoonPaymentsPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getApplePayToken(
NoonApplePayConfig config) → Future< NoonApplePayToken?> - Presents the native Apple Pay sheet and returns the resulting token.
-
initiatePayment(
{required String orderId, required String authHeader, required NoonEnvironment environment, NoonPaymentLanguage language = NoonPaymentLanguage.english, NoonPaymentStyle? style}) → Future< NoonPaymentResult> - Initiates a payment with the Noon Payments SDK.
-
isApplePayAvailable(
) → Future< bool> - Whether the current device can make Apple Pay payments.
-
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
Static Properties
- instance ↔ NoonPaymentsPlatform
-
The default instance of NoonPaymentsPlatform to use.
getter/setter pair