Amount

data class Amount(val value: Long, val currencyCode: String) : Parcelable

This class represents the long value amount to charge and the currency code of the amount.

Constructors

Link copied to clipboard
constructor(value: Long, currencyCode: String)

Properties

Link copied to clipboard
Link copied to clipboard
val value: Long

Functions

Link copied to clipboard

Builds a localized label in the format "Pay $10.99".

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