BTPurchaseUnit
public struct BTPurchaseUnit
Amounts of the items purchased.
Warning
This feature is in beta. It’s public API may change or be removed in future releases.-
Creates a BTPurchaseUnit
Warning
This feature is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public init(amount: String, currencyCode: String)Parameters
amountThe amount of money, either a whole number or a number with up to 3 decimal places.
currencyCodeThe currency code for the monetary amount.
View on GitHub