PaymentResponseBody constructor

PaymentResponseBody({
  1. required String id,
  2. required String reference,
  3. required String spotflowReference,
  4. required num amount,
  5. required String currency,
  6. required String channel,
  7. required String status,
  8. required CustomerInfo customer,
  9. required String provider,
  10. num? rate,
  11. Authorization? authorization,
  12. DateTime? createdAt,
  13. String? providerMessage,
  14. BankDetails? bankDetails,
  15. UssdResponse? ussd,
})

Implementation

PaymentResponseBody({
  required this.id,
  required this.reference,
  required this.spotflowReference,
  required this.amount,
  required this.currency,
  required this.channel,
  required this.status,
  required this.customer,
  required this.provider,
  this.rate,
  this.authorization,
  this.createdAt,
  this.providerMessage,
  this.bankDetails,
  this.ussd,
});