1.0.2 • Published 6 years ago

atm-droid-sdk v1.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

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

1.0.2

6 years ago

1.0.0

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago