LokotroEWalletService class
E-Wallet payment service for Lokotro Pay
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createPayment(
{required String customerReference, required double amount, required String currency, String? notifyUrl, String? successRedirectUrl, String? failRedirectUrl}) → Future< LokotroEWalletPaymentResponse> - Create payment transaction
-
getTransactionDetails(
{required String transactionId}) → Future< LokotroEWalletTransactionResponse> - Get transaction details
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resendOtp(
{required String transactionId}) → Future< LokotroEWalletResendResponse> - Resend OTP for e-wallet payment
-
setAuthToken(
String token) → void - Set authentication token
-
submitPaymentDetails(
{required String transactionId, required String firstName, required String lastName, required String email, required String phoneNumber, required String ewalletNumber, required String ewalletPin, bool savePaymentMethod = false}) → Future< LokotroEWalletSubmitResponse> - Submit e-wallet payment details
-
toString(
) → String -
A string representation of this object.
inherited
-
verifyOtp(
{required String transactionId, required String otpCode}) → Future< LokotroEWalletVerifyResponse> - Verify OTP for e-wallet payment
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → LokotroEWalletService
-
Get singleton instance
no setter