Exemvi.QR.MP (Exemvi v0.1.1) View Source
This module contains core functions for Merchant-Presented Mode QR Code
Link to this section Summary
Link to this section 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