cancel
Initiates a purchase transaction with the specified amount.
Return
Flow emitting a PurchaseResult which can be a FiscalPurchaseResult.Success containing SdkSuccessAnswer.Purchase with invoice and receipt details if successful, or a FiscalPurchaseResult.Error if the operation fails.
Additionally, the flow can emit intermediate states:
FiscalPurchaseResult.InitOperation: Indicates the terminal is being configured.
FiscalPurchaseResult.ReaderReady: Indicates the terminal is ready and waiting for the card.
FiscalPurchaseResult.Processing: Indicates the transaction is being processed.
Note: These intermediate states will only be emitted when the communication type is set to CommunicationType.AIDL.
Parameters
The POS request
RRN of the cancelling operation. This metadata is stored along with the transaction and can be used later for searching, filtering.