RequestBase class abstract

Abstract class for handling core communication with zatca/fatoora server.

Implementers

Constructors

RequestBase.new({required Mode mode})
Constructor

Properties

ccsidTokeys Tokeys?
Compliance CSID values
no setter
hashCode int
The hash code for this object.
no setterinherited
mode Mode
The mode of operation.
final
pcsidTokeys Tokeys?
Production CSID values
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

convertTokenAndKeyToPemAndSaveToSDKForSigning({required CertAndKey certAndKey}) Future<void>
Handle conversion and storage of Token & Key for Invoice/Note Signing.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestClearance(InvoiceRequest prop, {String? clearedInvoiceName}) Future<InvoiceClearanceResponse?>
B2B Make a clearance request for a STANDARD invoice or a STANDARD credit/debit note.
requestComplianceCheck({required InvoiceRequest prop}) Future<ComplianceInvoiceCheckResponse?>
Request Compliance Check for invoice/note from Zatca/Fatoora Server
requestComplianceCSID({required CCSIDRequestProp request}) Future<ComplianceCSIDResponse>
Make a request to Zatca/Fatoora server to get the Compliance CSID.
requestProductionCSIDOnboarding() Future<ProductionCSIDResponse>
Request Production CSID for onboarding
requestProductionCSIDRenewal({required PCSIDRenewalRequestProp prop}) Future<ProductionCSIDRenewalResponse>
Request Production CSID Renewal.
requestReporting(InvoiceRequest prop) Future<InvoiceReportingResponse?>
B2C Report an invoice/note to ZATCA/FATOORA Server
toString() String
A string representation of this object.
inherited

Operators

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