PaidMarks class

Orders and payments the timeline says are paid: an order_paid system message (metadata.order_id) or an order_paid event (data.order_id, data.payment_id). The payment card message is not updated live when the customer pays, so the card checks these too (see PaymentCard.isPaid).

Annotations

Constructors

PaidMarks({Set<String> orderIds = const {}, Set<String> paymentIds = const {}})
Creates marks from ids.
const
PaidMarks.of(Iterable<TimelineItem> items)
Collects the marks in items.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
orderIds → Set<String>
Paid order ids.
final
paymentIds → Set<String>
Paid payment ids.
final
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
toString() → String
A string representation of this object.
inherited

Operators

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