MastercardPaymentResponse constructor

const MastercardPaymentResponse({
  1. required String orderId,
  2. String? transactionId,
  3. required String result,
  4. String? authorizationCode,
  5. String? receiptNumber,
  6. double? amount,
  7. String? currency,
  8. Map<String, dynamic>? sourceOfFunds,
  9. Map<String, dynamic>? response,
  10. String? gatewayRecommendation,
  11. DateTime? timestamp,
})

Implementation

const MastercardPaymentResponse({
  required this.orderId,
  this.transactionId,
  required this.result,
  this.authorizationCode,
  this.receiptNumber,
  this.amount,
  this.currency,
  this.sourceOfFunds,
  this.response,
  this.gatewayRecommendation,
  this.timestamp,
});