LokotroPaymentRequest class
Payment request models that match the new Lokotro Gateway API
Constructors
-
LokotroPaymentRequest({required String customerReference, required String amount, required String currency, required String notifyUrl, String paymentMethod = 'wallet', String userInfo = 'none', String paymentMethodInfo = 'none', String feeCoveredBy = 'buyer', String deliveryBehaviour = 'direct_delivery', String? successRedirectUrl, String? failRedirectUrl, LokotroMerchantInfo? merchant, String? cfgSystemCountryId, String? phoneNumber, String? email, String? firstName, String? lastName, String? walletNumber, String? walletPin, String? flashNumber, String? flashPin, String? cardNumber, String? cardExpiryDate, String? cardCvv, String? cardHolderName, String? mobileMoneyPhoneNumber, String? mastercardPaymentMethod, Map<
String, dynamic> ? metadata}) -
const
-
LokotroPaymentRequest.fromJson(Map<
String, dynamic> json) -
factory
Properties
- amount → String
-
final
- cardCvv → String?
-
final
- cardExpiryDate → String?
-
final
- cardHolderName → String?
-
final
- cardNumber → String?
-
final
- cfgSystemCountryId → String?
-
final
- currency → String
-
final
- customerReference → String
-
final
- deliveryBehaviour → String
-
final
- email → String?
-
final
- failRedirectUrl → String?
-
final
- feeCoveredBy → String
-
final
- firstName → String?
-
final
- flashNumber → String?
-
final
- flashPin → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastName → String?
-
final
- mastercardPaymentMethod → String?
-
final
- merchant → LokotroMerchantInfo?
-
final
-
metadata
→ Map<
String, dynamic> ? -
final
- mobileMoneyPhoneNumber → String?
-
final
- notifyUrl → String
-
final
- paymentMethod → String
-
final
- paymentMethodInfo → String
-
final
- phoneNumber → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- successRedirectUrl → String?
-
final
- userInfo → String
-
final
- walletNumber → String?
-
final
- walletPin → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited