0.2.0 • Published 2 years ago

z91-capacitor-plugin v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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; }>
ParamType
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; }>
ParamType
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; }>
ParamType
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; }>