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
-
createToken(
CreateTokenRequest request) → Future< CreateTokenResponse> - Create a token from card
-
createTokenWithTransactionId(
CreateTokenWithTransactionIdRequest request) → Future< CreateTokenWithTransactionIdResponse> - Create a token from an existing transaction ID
-
deinitialize(
) → Future< void> - Deinitialize the SDK
-
deleteStoredTransaction(
String tpId) → Future< bool> - Delete a stored transaction
-
getAllStoredTransactions(
) → Future< GetStoredTransactionsResponse> - Get all stored (offline) transactions
-
getDeviceInfo(
) → Future< DeviceInfo?> - Get connected device information
-
getPlatformVersion(
) → Future< String?> - Get platform version
-
getSdkVersion(
) → Future< String?> - Get SDK version
-
getStoredTransactionByTpId(
String tpId) → Future< StoredTransactionRecord?> - Get a stored transaction by tpId
-
getStoredTransactionsWithState(
StoredTransactionState state) → Future< GetStoredTransactionsWithStateResponse> - Get stored transactions filtered by state
-
initialize(
TriposConfiguration configuration) → Future< bool> - Initialize the SDK with configuration
-
isInitialized(
) → Future< bool> - Check if SDK is initialized
-
manuallyForwardTransaction(
ManuallyForwardRequest request) → Future< ManuallyForwardResponse> - Manually forward (upload) a stored transaction
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processAuthorization(
AuthorizationRequest request) → Future< AuthorizationResponse> - Process an authorization transaction
-
processAuthorizationCompletion(
AuthorizationCompletionRequest request) → Future< AuthorizationCompletionResponse> - Complete a pre-authorization (capture the hold)
-
processAuthorizationWithToken(
AuthorizationWithTokenRequest request) → Future< AuthorizationWithTokenResponse> - Process authorization using a token
-
processIncrementalAuthorization(
IncrementalAuthorizationRequest request) → Future< IncrementalAuthorizationResponse> - Add to an existing pre-authorization amount
-
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
-
processRefundWithToken(
RefundWithTokenRequest request) → Future< RefundWithTokenResponse> - Process a refund using a token
-
processReversal(
ReversalRequest request) → Future< ReversalResponse> - Reverse/cancel a transaction
-
processSale(
SaleRequest request) → Future< SaleResponse> - Process a sale transaction
-
processSaleWithToken(
SaleWithTokenRequest request) → Future< SaleWithTokenResponse> - Process a sale using a token
-
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