BankStandingOrder class
Immutable description of a recurring/scheduled payment instruction.
- Annotations
Constructors
- BankStandingOrder({required String id, required String payeeName, required Money amount, required BankRecurringPattern pattern, required DateTime nextRunDate, BankStandingOrderState state = BankStandingOrderState.active, String? avatarUrl, DateTime? endDate})
-
const
Properties
- amount → Money
-
The amount transferred on every run.
final
- avatarUrl → String?
-
Optional avatar image URL for the payee.
final
- endDate → DateTime?
-
Optional date after which the order stops running.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
Unique identifier of the standing order.
final
- nextRunDate → DateTime
-
The date the next payment is scheduled to run.
final
- pattern → BankRecurringPattern
-
How often the order repeats.
final
- payeeName → String
-
Display name of the payee receiving the payments.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → BankStandingOrderState
-
Current lifecycle state of the order.
final
Methods
-
copyWith(
{String? id, String? payeeName, Money? amount, BankRecurringPattern? pattern, DateTime? nextRunDate, BankStandingOrderState? state, String? avatarUrl, DateTime? endDate}) → BankStandingOrder - Returns a copy with the given fields replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override