Allocation class final
Caller-safe allocation of part of a payment balance transaction.
Constructors
- Allocation({required String id, required AllocationType type, required AllocationStatus status, AllocationUse? refund, AllocationUse? payout, required DateTime createdAt, required DateTime updatedAt, DateTime? completedAt})
-
const
-
Allocation.fromJson(Map<
String, Object?> json) -
factory
Properties
- completedAt → DateTime?
-
final
- createdAt → DateTime
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- payout → AllocationUse?
-
final
- refund → AllocationUse?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → AllocationStatus
-
final
- type → AllocationType
-
final
- updatedAt → DateTime
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited