Contents

init(label:value:)

Creates a line item with a label and decimal value, formatted using the session currency and customer’s locale.

Declaration

init(label: String, value: Decimal)

Discussion

Localize the label to the customer’s locale. Format the decimal amount using the session currency and customer’s locale.