atm-droid-sdk

1.0.2 • Public • Published

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])

Readme

Keywords

Package Sidebar

Install

npm i atm-droid-sdk

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

6.33 kB

Total Files

8

Last publish

Collaborators

  • ofaly