PurchaseRequest constructor

PurchaseRequest({
  1. required double amount,
  2. required String userId,
  3. required String paymentType,
  4. required List<String> productIds,
  5. bool testMode = false,
})

Implementation

PurchaseRequest({
  required this.amount,
  required this.userId,
  required this.paymentType,
  required this.productIds,
  this.testMode = false,
});