atm-droid-sdk
v1.0.2
Published
This is angular/2/7 module to interact with offaly atm droid peripherals.
Downloads
8
Readme
CortexATM
This is angular/2/7 module to interact with offaly cortex atm peripherals.
Add module
@NgModule({
imports: [
CortexAtmModule
]
})
export class AppModule { }
Open cash receiver
constructor(private service: CortexAtmPeripheralsService) {}
this.service.openBillAcceptor([application-id], [application-name], [customer-number]).onmessage = (message) => {
// message will bring amount of inserted cash message type is BillAcceptor
})
application-id: will be provided by your atm-store account
application-name: your application name
customer-number: public customer identity such as phone number, etc. It will be printed on the receipt
Close cash receiver
constructor(private service: CortexAtmPeripheralsService) {}
this.closeBillAcceptor()
Cash dispense
constructor(private service: CortexAtmPeripheralsService) {}
this.dispense([amount])