-
Notifications
You must be signed in to change notification settings - Fork 13
/
index.js
44 lines (39 loc) · 1.35 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
const Merchant = require('./qrcode/merchant');
const Consumer = require('./qrcode/consumer');
module.exports = {
Merchant: {
/**
* Builder Objects
*/
buildTLV: Merchant.TLV,
buildAdditionalDataFieldTemplate: Merchant.AdditionalDataFieldTemplate,
buildEMVQR: Merchant.EMVQR,
buildMerchantInformationLanguageTemplate: Merchant.MerchantInformationLanguageTemplate,
buildMerchantAccountInformation: Merchant.MerchantAccountInformation,
buildPaymentSystemSpecific: Merchant.PaymentSystemSpecific,
buildUnreservedTemplate: Merchant.UnreservedTemplate,
/**
* QRCode Parser
*/
Parser: Merchant.Parser,
/**
* All available constants
*/
Constants: Merchant.Constants,
},
Consumer: {
/**
* Builder Objects
*/
buildApplicationTemplate: Consumer.ApplicationTemplate,
buildApplicationSpecificTransparentTemplate: Consumer.ApplicationSpecificTransparentTemplate,
buildBERTLV: Consumer.BERTLV,
buildCommonDataTemplate: Consumer.CommonDataTemplate,
buildCommonDataTransparentTemplate: Consumer.CommonDataTransparentTemplate,
buildEMVQR: Consumer.EMVQR,
/**
* All available constants
*/
Constants: Consumer.Constants,
}
};