PaymentResult constructor

PaymentResult({
  1. required Status status,
  2. Result? message,
  3. required HyperswitchException error,
})

Constructs a PaymentResult object with the given status and message.

Implementation

PaymentResult({required this.status, this.message, required this.error});