ChargeResponse constructor

ChargeResponse({
  1. required String status,
  2. required String message,
  3. required bool hasData,
  4. int id = 0,
  5. String? authModel,
  6. String? chargeResponseStatus,
  7. String? flwRef = '',
  8. String? txRef = '',
  9. String? chargeResponseMessage,
  10. String? authUrl,
  11. String? appFee,
  12. String? currency,
  13. String? chargedAmount,
  14. Map? rawResponse,
  15. BankCard? card,
  16. Meta? meta,
  17. String? orderRef,
  18. String? suggestedAuth,
  19. String? chargeResponseCode,
  20. String? validateInstruction,
})

Implementation

ChargeResponse(
    {required this.status,
    required this.message,
    required this.hasData,
    this.id = 0,
    this.authModel,
    this.chargeResponseStatus,
    this.flwRef = '',
    this.txRef = '',
    this.chargeResponseMessage,
    this.authUrl,
    this.appFee,
    this.currency,
    this.chargedAmount,
    this.rawResponse,
    this.card,
    this.meta,
    this.orderRef,
    this.suggestedAuth,
    this.chargeResponseCode,
    this.validateInstruction});