IpayPayments constructor

IpayPayments({
  1. required String amount,
  2. required String authorization,
  3. required String msisdn,
  4. required String name,
  5. required PaymentType paymentType,
  6. required Country country,
  7. required String currency,
  8. required TargetEnvironment targetEnvironment,
  9. int timeOut = 60,
  10. String cvv = '',
  11. String exp = '',
  12. String pan = '',
  13. String referencePrefix = 'ipay',
  14. String? transationId,
  15. String? paymentSucceededMsg,
  16. String? paymentFailedMsg,
})

Implementation

IpayPayments(
    {required this.amount,
    required this.authorization,
    required this.msisdn,
    required this.name,
    required this.paymentType,
    required this.country,
    required this.currency,
    required this.targetEnvironment,
    this.timeOut = 60,
    this.cvv = '',
    this.exp = '',
    this.pan = '',
    this.referencePrefix = 'ipay',
    this.transationId,
    this.paymentSucceededMsg,
    this.paymentFailedMsg});