zypay_flutter_sdk library
Zypay Flutter SDK - A comprehensive Flutter SDK for blockchain payment processing
Classes
- AccountWallet
- Account wallet information
- ApiError
- API error
-
ApiResponse<
T> - Response wrapper
- BlockchainResponse
- Blockchain response
- DebugConfig
- Debug configuration options
- DebugLogger
- Debug logger class for Zypay SDK
- DebugUtils
- Debug utility functions
- LoadingWidget
- Simple loading widget with optional message
- OptionSelectionWidget
- Widget for selecting blockchain and package options
- Package
- Package information
-
PaginatedResponse<
T> - Paginated response
- PaymentAccount
- Payment account information
- PaymentAuth
- Authentication credentials for Zypay SDK
- PaymentClient
- PaymentClient handles all communication with the Zypay payment service
- PaymentDetailsWidget
- Widget for displaying payment details and QR code
- PaymentError
- Payment error interface
- PaymentErrorWidget
- Widget for displaying payment errors
- PaymentState
- Main payment state interface
- PaymentWidget
- Main payment widget that manages the payment flow
- PerformanceTimer
- Performance timer for measuring operation duration
- SelectBlockchain
- Select blockchain request
- Transaction
- Transaction information
- TransactionAccount
- Transaction to information
- TransactionUser
- Transaction from information
- UserWallet
- User wallet information
- Wallet
- Wallet information
- ZypayConfig
- Configuration interface for Zypay SDK
- ZypayConsumer
- Consumer widget for ZypayProvider
- ZypayNotifier
- Notifier for managing Zypay state
- ZypayPaymentButton
- A button widget that initializes and manages the payment flow
- ZypayProvider
- Zypay provider for managing payment state
-
ZypaySelector<
T> - Selector widget for ZypayProvider
- ZypayService
- Main service class for Zypay payment operations
Enums
- BlockchainType
- Blockchain types supported by Zypay
- DebugLevel
- Debug log levels
- PackageName
- Available package names
- PackageType
- Package types for payment processing
- PaymentStatus
- Payment processing status
- TransactionStatus
- Transaction status
- TransactionType
- Transaction type
Constants
- kDefaultDebugConfig → const DebugConfig
- Default debug configuration
Functions
-
createDebugLogger(
DebugConfig config, [String componentName = 'ZypaySDK']) → DebugLogger - Create a debug logger instance
-
createDefaultConfig(
String token) → ZypayConfig - Default configuration for Zypay SDK
-
getGlobalDebugLogger(
) → DebugLogger? - Get the global debug logger
-
setGlobalDebugLogger(
DebugConfig config, [String componentName = 'ZypaySDK']) → void - Set the global debug logger
Typedefs
- CustomLogger = void Function(DebugLevel level, String message, dynamic data)
- Custom logger function type