0.2.0 • Published 2 years ago
z91-capacitor-plugin v0.2.0
z91-capacitor-plugin
Use of z91 device SDK
Install
npm install z91-capacitor-plugin
npx cap sync
API
setLed(...)
setLed(optiops: { color: string; isOn: boolean; }) => Promise<{ color: string; isOn: boolean; }>
Param | Type |
---|---|
optiops | { color: string; isOn: boolean; } |
Returns: Promise<{ color: string; isOn: boolean; }>
print(...)
print(options: { dteType: string; folio: string; netAmount: string; taxAmount: string; tax: string; exemptAmount: string; totalAmount: string; ted: string; taxPayerRut: string; businessName: string; address: string; description: string; }) => Promise<{ dteType: string; folio: string; netAmount: string; taxAmount: string; tax: string; exemptAmount: string; totalAmount: string; ted: string; taxPayerRut: string; businessName: string; address: string; description: string; }>
Param | Type |
---|---|
options | { dteType: string; folio: string; netAmount: string; taxAmount: string; tax: string; exemptAmount: string; totalAmount: string; ted: string; taxPayerRut: string; businessName: string; address: string; description: string; } |
Returns: Promise<{ dteType: string; folio: string; netAmount: string; taxAmount: string; tax: string; exemptAmount: string; totalAmount: string; ted: string; taxPayerRut: string; businessName: string; address: string; description: string; }>
printRVD(...)
printRVD(options: { date: string; businessName: string; totalAmount: string; netAmount: string; taxAmount: string; exemptAmount: string; salesQty: string; }) => Promise<{ date: string; businessName: string; totalAmount: string; netAmount: string; taxAmount: string; exemptAmount: string; salesQty: string; }>
Param | Type |
---|---|
options | { date: string; businessName: string; totalAmount: string; netAmount: string; taxAmount: string; exemptAmount: string; salesQty: string; } |
Returns: Promise<{ date: string; businessName: string; totalAmount: string; netAmount: string; taxAmount: string; exemptAmount: string; salesQty: string; }>