Initializer

init(content:currency:value:)

Quickly create an product item for a content

Declaration

init(content: Content, currency: String, value: Float)

Parameters

content

Product content

currency

The currency for this product

value

The total price for this product