ApiErrors constructor

const ApiErrors({
  1. String? charge,
  2. ApiErrorsCode? code,
  3. String? declineCode,
  4. String? docUrl,
  5. String? message,
  6. String? param,
  7. PaymentIntent? paymentIntent,
  8. PaymentMethod? paymentMethod,
  9. String? paymentMethodType,
  10. String? requestLogUrl,
  11. SetupIntent? setupIntent,
  12. PaymentSource? source,
  13. required ApiErrorsType type,
})

APIErrors

Implementation

const ApiErrors({
  this.charge,
  this.code,
  this.declineCode,
  this.docUrl,
  this.message,
  this.param,
  this.paymentIntent,
  this.paymentMethod,
  this.paymentMethodType,
  this.requestLogUrl,
  this.setupIntent,
  this.source,
  required this.type,
});