The product represents a stock-keeping unit (SKU). Products are the ones that are available on the PWR Apps Market to subscribe
Publishers can create a product with a published application version. One application can be used in multiple products for example Timesheet application can be used in products namely Timesheet Admin User, Timesheet Logs, and Timesheet API
To maintain license usage there is a trial license template and after the trial, there will be a license template on the product
The product record has details of the following:
Product:
Product name
Application:
Application name with which product is made up of
Type:
Indicate the type of product for an example product type can be an addon
Billing:
Once the product gets subscribed trial period gets started for the usage of that particular product after the trial period subscriber will be eligible for billing. Product billing type would be quarterly or annually
Trial Period Count:
To maintain product usage we will decide on a trial period count
Trial Period Unit:
To maintain product usage we will decide on a trial period unit.
Trial license Template
The product has a trial license template to maintain trial usage
For example Timesheet Admin User product can have a trial license template as follows
[{name: "orektic__timehseetAdminUser", users: 5}]
License Template
Product has license template to maintain billable usage
Fro example Timesheet Admin User product can have a license template as follows
[{name: "orektic__timehseetAdminUser", users: 1, usersCalculation: 'fixed'}, {name: "orektic__timehseetProjects", users: 1, usersCalculation: 'per qty', amount: 5, amountCalculation: 'fixed'}]
Feature on License
The product record will also define features to be used after the subscription
For example Timesheet Admin User product can have the following feature
[{name: 'orektic__timesheet', type: 'checkbox', scope:'instance'}]