View Source Exemvi.QR.MP (Exemvi v0.3.0)
This module contains core functions for Merchant-Presented Mode QR Code
Summary
Functions
Parse QR Code into data objects
Returns either:
{:ok, objects}whereobjectsis a list ofExemvi.MP.Objectstructs{:error, reasons}wherereasonsis a list of error reasons as atoms
Validate data objects
Returns either:
{:ok, objects}whereobjectsis the objects originally supplied to the function{:error, reasons}wherereasonsis a list of validation error reasons as atoms
Validate whole QR Code
Returns either:
{:ok, qr_code}whereqr_codeis the QR Code orginally supplied to the function{:error, reasons}wherereasonsis a list of validation error reasons as atoms