npm.io
1.37.0 • Published 5 years ago

sling-web-business-sales-report

Licence
Version
1.37.0
Deps
6
Size
2.8 MB
Vulns
0
Weekly
0

Sling Sales Report Business Component.

Shows customer sales grouped or expanded by product type (credit, debit, etc.). Uses two other business components:

Usage

<sling-sdk-connect></sling-sdk-connect>
<sling-sales-report
  stonecode=""
  apitoken=""
  startdate=""
  finaldate=""
  open></sling-sales-report>

Attributes:

  • stonecode: Customer StoneCode (also known as affiliation code), mandatory.
  • apitoken: API Token.
  • startdate: Start date for aggregating sales.
  • finaldate: End date for aggregating sales.
  • open: OPTIONAL - If present the component will render its open state ().
  • producttypeid: OPTIONAL - Necessary if open is given. Product type id to be detailed.

Project Wiki

https://stonepayments.atlassian.net/wiki/spaces/APICLIENTE