TransactionDetails constructor

TransactionDetails({
  1. required String orderId,
  2. required double grossAmount,
})

Creates a new instance of TransactionDetails.

orderId is the unique identifier for the order. grossAmount is the total amount of the transaction.

Implementation

TransactionDetails({
  required this.orderId,
  required this.grossAmount,
});