Usd

class Usd

Represents an amount of money in United States dollars.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val cents: Int?

The fractional portion, in cents, of the amount.

Link copied to clipboard
val dollars: Int?

The whole number of dollars in the amount.

Link copied to clipboard

Fractions of a cent, in tenths.

Functions

Link copied to clipboard
inline fun copy(block: Usd.Builder.() -> Unit = {}): Usd
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String