MethodChannelSquareMobilePaymentsSdk class
An implementation of SquareMobilePaymentsSdkPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- SquareMobilePaymentsSdkPlatform
- MethodChannelSquareMobilePaymentsSdk
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
-
override
-
blink(
String id) → Future< void> -
override
-
override
-
forget(
String id) → Future< void> -
override
-
getAuthorizationState(
) → Future< AuthorizationState> -
override
-
getAuthorizedLocation(
) → Future< Location?> -
override
-
getEnvironment(
) → Future< Environment> -
override
-
getOfflineTotalStoredAmountLimit(
) → Future< Money?> -
override
-
getOfflineTransactionAmountLimit(
) → Future< Money?> -
override
-
getPayments(
) → Future< List< OfflinePayment> > -
override
-
getPlatformVersion(
) → Future< String> -
override
-
getReader(
String id) → Future< ReaderInfo?> -
override
-
getReaders(
) → Future< List< ReaderInfo> > -
override
-
getSdkVersion(
) → Future< String> -
override
-
getTotalStoredPaymentAmount(
) → Future< Money?> -
override
-
hideMockReaderUI(
) → Future< void> -
override
-
isAppleAccountLinked(
) → Future< bool> -
New Methods for Tap to Pay Support
override
-
isDeviceCapable(
) → Future< bool> -
override
-
isOfflineProcessingAllowed(
) → Future< bool> -
override
-
isPairingInProgress(
) → Future< bool> -
override
-
isTapToPaySupported(
) → Future< bool> -
New Methods for Tap to Pay Support
inherited
-
linkAppleAccount(
) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pairReader(
void callback(bool, String?)) → PairingHandle -
override
-
relinkAppleAccount(
) → Future< void> -
override
-
removeReaderChangedCallback(
String refId) → void -
setReaderChangedCallback(
FutureOr< void> callback(ReaderChangedEvent event)) → ReaderCallbackReference -
override
-
showMockReaderUI(
) → Future< void> -
override
-
showSettings(
) → Future< void> -
override
-
startPayment(
PaymentParameters paymentParameters, PromptParameters promptParameters) → Future< Payment> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited