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
The product record has details of the following:
Product:
Name of the product
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:
Trial usage will be decided on a trial period count.
Trial Period Unit:
Trial usage will be decided on a trial period unit. the unit can be a day, month
Trial license Template
The product has a trial license template to maintain trial usage
Trial license template
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'}]