LabeledPricePart
public struct LabeledPricePart : Codable, Equatable, FunctionResult
Portion of the price of a product (e.g., “delivery cost”, “tax amount”)
-
Label for this portion of the product price
Declaration
Swift
public let label: String
-
Currency amount in minimal quantity of the currency
Declaration
Swift
public let amount: Int53
-
Portion of the price of a product (e.g., “delivery cost”, “tax amount”)
Declaration
Swift
public init(label: String, amount: Int53)
Parameters
label
Label for this portion of the product price
amount
Currency amount in minimal quantity of the currency