Builder
constructor(mark: String, markData: String, providerId: Int)
Create an AadeData instance for Mode.Standard mode.
Parameters
mark
The cryptographic signature produced by the e-invoicing provider.
markData
The data payload that was signed to produce the mark.
providerId
The ID of the AADE-certified e-invoicing provider.
Create an AadeData instance for Mode.Autonomous mode.
Use this constructor when the POS cannot reach the e-invoicing provider and must generate a local mark for later reconciliation with AADE.
Parameters
unboundPosReason
The reason the POS is operating in autonomous mode.