ProcessingFee class

Represents the Square processing fee.

Annotations
  • @JsonSerializable()

Constructors

ProcessingFee({Money? amountMoney, String? effectiveAt, String? type})
@macro Represents the Square processing fee.
const
ProcessingFee.fromJson(Map<String, dynamic> json)
Converts a Map to an ProcessingFee
factory

Properties

amountMoney Money?
The fee amount, which might be negative, that is assessed or adjusted by Square. Positive values represent funds being assessed, while negative values represent funds being returned.
final
effectiveAt String?
The timestamp of when the fee takes effect, in RFC 3339 format. Examples for January 25th, 2020 6:25:34pm Pacific Standard Time: UTC: 2020-01-26T02:25:34Z Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
type String?
The type of fee assessed or adjusted. The fee type can be INITIAL or ADJUSTMENT.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts a ProcessingFee to a Map
toString() String
A string representation of this object.
inherited

Operators

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