LokotroPaymentRequest constructor

const LokotroPaymentRequest({
  1. required String customerReference,
  2. required String amount,
  3. required String currency,
  4. required String notifyUrl,
  5. String paymentMethod = 'wallet',
  6. String userInfo = 'none',
  7. String paymentMethodInfo = 'none',
  8. String feeCoveredBy = 'buyer',
  9. String deliveryBehaviour = 'direct_delivery',
  10. String? successRedirectUrl,
  11. String? failRedirectUrl,
  12. LokotroMerchantInfo? merchant,
  13. String? cfgSystemCountryId,
  14. String? phoneNumber,
  15. String? email,
  16. String? firstName,
  17. String? lastName,
  18. String? walletNumber,
  19. String? walletPin,
  20. String? flashNumber,
  21. String? flashPin,
  22. String? cardNumber,
  23. String? cardExpiryDate,
  24. String? cardCvv,
  25. String? cardHolderName,
  26. String? mobileMoneyPhoneNumber,
  27. String? mastercardPaymentMethod,
  28. 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,
});