digetspos_softpos_sdk library

Classes

AdditionalData
Additional data for BNPL checkout.
DigetSposCredentials
Credentials for SDK initialization. Matches: DigetSposCredentials in native SDK.
DigetSposPlugin
Main DigetSpos SDK entry point.
Hook
Webhook configuration builder for DigetSposPlugin.configureHook.
Invoice
Invoice details for BNPL checkout.
InvoiceLineItem
Line item in BNPL invoice.
InvoicePaymentRequest
InvoiceRefundRequest
Invoice request. Mirrors native InvoiceRefundRequest,InvoicePaymentRequest class.
LocalNetworkBuilder
Builder returned by RemoteAccess.LocalNetwork(...). Call .open() to start.
Location
Device location. Matches: Location in native SDK.
Pagination
Pagination parameters. Matches: Pagination in native SDK.
PluginExtension
DigetSposPlugin.Extension — advanced methods for custom integrations. Matches: DigetSposPlugin.Extension in native SDK.
PluginUtils
DigetSposPlugin.Utils — device and location utilities. Matches: DigetSposPlugin.Utils in native SDK.
RemoteAccess
DigetSposPlugin.RemoteChannel — local network remote access. Matches: DigetSposPlugin.RemoteChannel in native SDK.
SdkTheme
Chainable theme builder. Access via DigetSposPlugin.theme(). Matches: SdkTheme in native SDK.
Terminal
Terminal available for binding. Mirrors native Terminal class.
TerminalBindingTask
Task for binding a terminal. Mirrors native TerminalBindingTask.
Transaction
Lightweight transaction reference used for reverse/void/capture/refund. Matches: Transaction.withRRN(...) / Transaction.withTxnNumber(...) in native SDK.
TxnParams
Transaction parameters. Matches: TxnParams in native SDK.
UserInfo
User information returned by Extension.getUserInfo(). Mirrors native UserInfo class.
UserProfile
A single user/merchant profile returned by Extension.verifyOtp when a phone number is associated with multiple profiles (multi-profile login).

Enums

Env
FlowType
FunctionCode
PaymentMethod
Presentation
PurchaseSecondaryAction
ReceiptType
Selects which online receipt to generate/open. Mirrors native DigetSposPlugin.Extension.ReceiptType.
SortField
SortOrder
TransactionType

Extensions

PresentationModifiers on Presentation
Extension to match the native SDK builder syntax: Presentation.DIALOG_BOTTOM_FILL.cornerRadius(16).setShufflePinPad(true)

Typedefs

CancelByUserCallBack = void Function()
OnErrorCallBack = void Function(Map<String, dynamic> error)
OnProfileSelection = void Function(List<UserProfile> profiles)
OnSuccessCallback = void Function(Map<String, dynamic> error)
OnTerminalBindingTask = void Function(TerminalBindingTask task)
ProcessCompleteCallback = void Function(bool status, String? code, Map<String, dynamic>? transaction, bool isFlowComplete)
TimeOutCallBack = void Function()