Fail constructor

Fail(
  1. String errorCode,
  2. String errorMessage,
  3. String orderId
)

Constructs a Fail object.

errorCode is the error code representing the reason for the payment failure. errorMessage is a message explaining the reason for the payment failure. orderId represents the id of the order related to the failed payment.

Implementation

Fail(this.errorCode, this.errorMessage, this.orderId);