Price

data class Price(val formatted: String, val amountMicros: Long, val currencyCode: String) : Parcelable

Constructors

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

Functions

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

Properties

Link copied to clipboard

Price in micro-units, where 1,000,000 micro-units equal one unit of the currency.

Link copied to clipboard

Returns ISO 4217 currency code for price and original price.

Link copied to clipboard

Formatted price of the item, including its currency sign. For example $3.00.