Currency class abstract

Currency

Properties:

Annotations
  • @BuiltValue.new()

Constructors

Currency([void updates(CurrencyBuilder b)])
factory

Properties

amount int?
Surcharge amount per transaction, in minor units.
no setter
currencyCode String
Three-character ISO currency code. For example, AUD.
no setter
hashCode int
The hash code for this object.
no setterinherited
maxAmount int?
The maximum surcharge amount per transaction, in minor units.
no setter
percentage double?
Surcharge percentage per transaction. The maximum number of decimal places is two. For example, 1% or 2.27%.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(CurrencyBuilder)) Currency
Rebuilds the instance.
inherited
toBuilder() CurrencyBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<Currency>
no setter