Money

class Money(val amount: Long, val currencyCode: CurrencyCode)

A representation of a specific amount of money.

Parameters

amount

in the smallest unit of the given currencyCode (e.g. 100 = $1.00).

currencyCode

Currency code; only CurrencyCode.USD is currently supported by Mobile Payments SDK.

Constructors

Link copied to clipboard
constructor(amount: Long, currencyCode: CurrencyCode)

Properties

Link copied to clipboard
Link copied to clipboard