Surcharge class abstract

Surcharge

Properties:

  • askConfirmation - Show the surcharge details on the terminal, so the shopper can confirm.
  • configurations - Surcharge fees or percentages for specific cards, funding sources (credit or debit), and currencies.
  • excludeGratuityFromSurcharge - Exclude the tip amount from the surcharge calculation.
Annotations
  • @BuiltValue.new()

Constructors

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

Properties

askConfirmation → bool?
Show the surcharge details on the terminal, so the shopper can confirm.
no setter
configurations → BuiltList<Configuration>?
Surcharge fees or percentages for specific cards, funding sources (credit or debit), and currencies.
no setter
excludeGratuityFromSurcharge → bool?
Exclude the tip amount from the surcharge calculation.
no setter
hashCode → int
The hash code for this object.
no setterinherited
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(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