AgentAllowanceResetPurchase class final

Constructors

AgentAllowanceResetPurchase({String? resetId, required AgentAllowanceResetPurchaseState state, String? clientSecret, String? resetsAt})
const
AgentAllowanceResetPurchase.fromJson(Map<String, Object?> json)
factory

Properties

clientSecret → String?
final
hashCode → int
The hash code for this object.
no setterinherited
resetId → String?
Null when nothing was claimed (capReached, unavailable).
final
resetsAt → String?
When the allowance period rolls over; a reset never moves it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → AgentAllowanceResetPurchaseState
paid: a week of the plan’s usage was added to the current period. actionRequired: hand clientSecret to stripe.handleNextAction, then read the reset. needsAddress: save an address, then buy again (the same reset is reused). pending: the payment is still settling.
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