CheckoutMoney class final

Money in an ISO 4217 currency's minor unit.

Constructors

CheckoutMoney({required int value, required String currency})
Creates a client-safe Checkout amount.
const
CheckoutMoney.fromJson(Map<Object?, Object?> value)
Parses and validates a Checkout amount from the native bridge.
factory

Properties

currency → String
Three-letter ISO 4217 currency code.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → int
Amount in the currency's minor unit.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited