CurrencyAmount

data class CurrencyAmount(val currency: String, val amount: Int) : Parcelable

The representation of the currency and amount used in the Sudo Platform Virtual Cards SDK.

Constructors

Link copied to clipboard
constructor(currency: String, amount: Int)

Properties

Link copied to clipboard
val amount: Int

Int The amount of a currency expressed in the currencies minor units, e.g. cents for USD.

Link copied to clipboard

String The ISO 4217 currency code.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)