SessionFixedAmount constructor

const SessionFixedAmount({
  1. required int amount,
  2. required String currency,
  3. Map<String, SessionCurrencyOptionsValue>? currencyOptions,
})

fixed_amount

Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.

Implementation

const SessionFixedAmount({
  required this.amount,
  required this.currency,
  this.currencyOptions,
});