MethodChannelBraintreeNativeUi class
An implementation of BraintreeNativeUiPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- BraintreeNativeUiPlatform
- MethodChannelBraintreeNativeUi
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cacheAuthorization(
{required String authorization, String tag = 'default'}) → Future< bool> -
override
-
clearCachedAuthorization(
{String tag = 'default'}) → Future< bool> -
override
-
clearCachedCards(
) → Future< bool> -
override
-
collectDeviceData(
{required String authorization, bool forCard = false}) → Future< String?> -
override
-
getCachedAuthorization(
{String tag = 'default'}) → Future< String?> -
override
-
getCachedCards(
) → Future< List< Map< >String, dynamic> > -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performThreeDSecure(
{required String authorization, required String nonce, required String amount, String? email, Map< String, String> ? billingAddress}) → Future<String?> -
override
-
requestApplePayPayment(
{required String authorization, required String merchantIdentifier, required String countryCode, required String currencyCode, required String amount}) → Future< String?> -
override
-
requestGooglePayPayment(
{required String authorization, required String amount, required String currencyCode}) → Future< String?> -
override
-
requestPayPalCheckout(
{required String authorization, required String amount, required String currencyCode}) → Future< String?> -
override
-
requestPayPalVault(
{required String authorization}) → Future< String?> -
override
-
tokenizeCard(
{required String authorization, required String number, required String expirationMonth, required String expirationYear, String? cvv}) → Future< String?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited