LokotroPaymentRequest constructor
const
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,
Implementation
const LokotroPaymentRequest({
required this.customerReference,
required this.amount,
required this.currency,
required this.notifyUrl,
this.paymentMethod = 'wallet',
this.userInfo = 'none',
this.paymentMethodInfo = 'none',
this.feeCoveredBy = 'buyer',
this.deliveryBehaviour = 'direct_delivery',
this.successRedirectUrl,
this.failRedirectUrl,
this.merchant,
this.cfgSystemCountryId,
this.phoneNumber,
this.email,
this.firstName,
this.lastName,
this.walletNumber,
this.walletPin,
this.flashNumber,
this.flashPin,
this.cardNumber,
this.cardExpiryDate,
this.cardCvv,
this.cardHolderName,
this.mobileMoneyPhoneNumber,
this.mastercardPaymentMethod,
this.metadata,
});