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