Surcharge class abstract

Surcharge

Properties:

  • value - The surcharge amount to apply to the transaction, in minor units. When you apply surcharge, include the surcharge in the amount.value field. Review our Surcharge compliance guide to learn about how to comply with regulatory requirements when applying surcharge.
Annotations
  • @BuiltValue.new()

Constructors

Surcharge([void updates(SurchargeBuilder b)])
factory

Properties

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
The surcharge amount to apply to the transaction, in minor units. When you apply surcharge, include the surcharge in the amount.value field. Review our Surcharge compliance guide to learn about how to comply with regulatory requirements when applying surcharge.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(SurchargeBuilder)) Surcharge
Rebuilds the instance.
inherited
toBuilder() SurchargeBuilder
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<Surcharge>
no setter