MethodChannelBanxaPayments class

Default BanxaPaymentsPlatform backed by Pigeon HostApi / FlutterApi.

Inheritance

Constructors

MethodChannelBanxaPayments({BanxaPaymentsHostApi? api})

Properties

checkoutEvents Stream<BanxaCheckoutEvent>
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

configureCheckout({String? applePayMerchantIdentifier, String? applePayMerchantName}) Future<void>
Only the Apple Pay settings reach native; credentials stay in Dart.
override
isNativePaymentMethodAvailable(String paymentMethodId) Future<bool>
Whether paymentMethodId can be presented natively on this device. False for Apple Pay on Android, on the iOS simulator, and without a merchant identifier; false for Google Pay when Play services are missing.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onCheckoutEvent(CheckoutEventMessage event) → void
presentPrimerCheckout({required String clientToken, required String paymentMethodId}) Future<void>
Presents Primer for an order that returned a nativeToken. Outcomes arrive on checkoutEvents.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited