LokotroPaymentBody constructor
LokotroPaymentBody({
- required String customerReference,
- required String amount,
- required String currency,
- String paymentMethod = 'wallet',
- String userInfo = 'full',
- String paymentMethodInfo = 'full',
- String feeCoveredBy = 'buyer',
- String deliveryBehaviour = 'direct_delivery',
- String? notifyUrl,
- String? successRedirectUrl,
- String? failRedirectUrl,
- String? firstName,
- String? lastName,
- String? phoneNumber,
- String? email,
- String? walletNumber,
- String? walletPin,
- String? mobileMoneyPhoneNumber,
- String? flashNumber,
- String? flashPin,
- String? cardNumber,
- String? cardExpiryDate,
- String? cardCvv,
- String? cardHolderName,
- LokotroMerchantInfo? merchant,
- String? mastercardPaymentMethod,
- String? transactionalCurrency,
- String? nativePayToken,
- String? nativePayTokenType,
- Map<
String, dynamic> ? metadata,
Implementation
LokotroPaymentBody({
required this.customerReference,
required this.amount,
required this.currency,
this.paymentMethod = 'wallet',
this.userInfo = 'full',
this.paymentMethodInfo = 'full',
this.feeCoveredBy = 'buyer',
this.deliveryBehaviour = 'direct_delivery',
this.notifyUrl,
this.successRedirectUrl,
this.failRedirectUrl,
// User info
this.firstName,
this.lastName,
this.phoneNumber,
this.email,
// E-wallet
this.walletNumber,
this.walletPin,
// Mobile money
this.mobileMoneyPhoneNumber,
// Flash
this.flashNumber,
this.flashPin,
// Card
this.cardNumber,
this.cardExpiryDate,
this.cardCvv,
this.cardHolderName,
// Merchant
this.merchant,
// Mastercard payment method
this.mastercardPaymentMethod,
// Transactional currency
this.transactionalCurrency,
// Native pay
this.nativePayToken,
this.nativePayTokenType,
this.metadata,
});