ECommercePrice constructor

const ECommercePrice({
  1. required ECommerceAmount fiat,
  2. List<ECommerceAmount>? internalComponents,
})

Creates an object with information about the price of the product. fiat is a required parameter.

Implementation

const ECommercePrice({required this.fiat, this.internalComponents});