The device modules that are included with the Commerce Cloud Endless Aisle app are:
You can use these modules as a reference. (Only the JavaScript code is available, not the native code.)
Modules are located in the modules/iphone folder. Modules are written in JavaScript and Objective C.
Before you can accept payment, you load the native module using the code required, for example:
var adyen = require('com.demandware.adyen');
or
var verifone = require('com.demandware.verifone');
The object contains all the native methods for the implementation.
You then add functions as needed and include the module in tiapp.xml.