Amount
public struct Amount
Amount of payment.
-
Amount of payment.
Declaration
Swift
public let value: Decimal
-
Currency.
Declaration
Swift
public let currency: Currency
-
Creates instance of
Amount
.Declaration
Swift
public init(value: Decimal, currency: Currency)
Parameters
value
Amount of payment.
currency
Currency.
Return Value
Amount of payment.