suno-pos-service
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

Introduction

suno-pos-service: Xử lý nghiệp vụ bán hàng có tích hợp khuyến mãi, tích lũy điểm và quy đổi.

Using npm

$ npm i suno-pos-service --save

Khai báo và sử dụng

import { SunoPosService } from 'suno-pos-service';

var posService = new SunoPosService({ accessToken: '', tenantId: '', cashflowAPIBaseUrl: '', crmAPIBaseUrl: '', inventoryAPIBaseUrl: '', pricingAPIBaseUrl: '', productCatalogAPIBaseUrl: '', purchaseAPIBaseUrl: '', salesAPIBaseUrl: '' });

posService.initOrder({ cashier: null, companySettings: null, initialOrderCount: 3, store: null });

Cập nhật access token và tenantId

posService.updateToken(tenantId, accessToken);

Readme

Keywords

none

Package Sidebar

Install

npm i suno-pos-service

Weekly Downloads

4

Version

1.1.2

License

ISC

Unpacked Size

461 kB

Total Files

22

Last publish

Collaborators

  • auhonganh