TriposMobilePlatform class abstract
Platform interface for triPOS Mobile SDK
- Inheritance
-
- Object
- PlatformInterface
- TriposMobilePlatform
- Implementers
Constructors
- TriposMobilePlatform()
- Constructs a TriposMobilePlatform.
Properties
-
deviceEventStream
→ Stream<
DeviceEvent> -
Stream of device connection events
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
statusStream
→ Stream<
VtpStatus> -
Stream of transaction status updates
no setter
Methods
-
cancelTransaction(
) → Future< void> - Cancel the current transaction
-
deinitialize(
) → Future< void> - Deinitialize the SDK
-
getDeviceInfo(
) → Future< DeviceInfo?> - Get connected device information
-
getPlatformVersion(
) → Future< String?> - Get platform version
-
getSdkVersion(
) → Future< String?> - Get SDK version
-
initialize(
TriposConfiguration configuration) → Future< bool> - Initialize the SDK with configuration
-
isInitialized(
) → Future< bool> - Check if SDK is initialized
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processAuthorization(
AuthorizationRequest request) → Future< AuthorizationResponse> - Process an authorization transaction
-
processLinkedRefund(
LinkedRefundRequest request) → Future< RefundResponse> - Process a linked refund (using original transaction ID, no card required)
-
processRefund(
RefundRequest request) → Future< RefundResponse> - Process a refund transaction
-
processSale(
SaleRequest request) → Future< SaleResponse> - Process a sale transaction
-
processVoid(
VoidRequest request) → Future< VoidResponse> - Process a void transaction
-
scanBluetoothDevices(
TriposConfiguration configuration) → Future< List< String> > - Scan for Bluetooth devices
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ TriposMobilePlatform
-
The default instance of TriposMobilePlatform to use.
getter/setter pair