Success constructor

Success(
  1. String paymentKey,
  2. String orderId,
  3. num amount,
  4. Map<String, String>? additionalParams,
)

Constructs a Success object.

paymentKey represents the key of the successful payment. orderId represents the id of the order related to the successful payment. amount represents the amount of the successful payment.

Implementation

Success(this.paymentKey, this.orderId, this.amount, this.additionalParams);