MoneyAmount

data class MoneyAmount(val value: Int, val currency: String? = "usd")

Nested { value, currency } money amount for V2 create/update/confirm/capture/refund.

Constructors

Link copied to clipboard
constructor(value: Int, currency: String? = "usd")

Properties

Link copied to clipboard

ISO 4217 currency code (e.g. "usd"). Defaults to "usd".

Link copied to clipboard
val value: Int

Amount in the smallest currency unit (e.g. cents for USD).