OrderDetails.forAddCard constructor

const OrderDetails.forAddCard({
  1. String mOrderId = "",
  2. required String currency,
  3. String description = '',
  4. required String amount,
})

Add-card / verification: amount, convenienceFee, and quantity are unused in API JSON.

Implementation

const OrderDetails.forAddCard({
  this.mOrderId = "",
  required this.currency,
  this.description = '',
  required this.amount,
}) : convenienceFee = '',
     quantity = '';