FiscalIntentResult class

The result of a fiscal submission or status poll.

Constructors

FiscalIntentResult({required String intentId, required FiscalStatus status, String? blockedReason, Map<String, int>? numbers, DateTime? sealedAt, Map<String, dynamic>? certification})
const
FiscalIntentResult.fromJson(Map<String, dynamic> json)
factory

Properties

blockedReason → String?
Why a FiscalStatus.blocked intent cannot proceed (e.g. credential_missing, device_not_active). Null otherwise.
final
certification → Map<String, dynamic>?
What the authority granted, exactly as it granted it — adapter-shaped. For Ghana (gh-gra): ysdcregsig (signature), ysdcrecnum (receipt number), qr_code (verification URL to render as a QR image), timestamps and SDC identity.
final
hashCode → int
The hash code for this object.
no setterinherited
intentId → String
Koolbase's durable identity for this intent.
final
isFiscalized → bool
True once the authority has certified this document — the moment a receipt may legally carry the fiscal marks.
no setter
isPending → bool
True while the intent is sealed and travelling to the authority.
no setter
numbers → Map<String, int>?
The allocated fiscal numbers (e.g. {"INV": 501}). Present once sealed; absent while blocked — a blocked intent has consumed nothing.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sealedAt → DateTime?
When the document was sealed (immutable from this moment).
final
status → FiscalStatus
Current lifecycle status.
final

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