Products#
An online store would not be useful if it did not have anything for customers to buy. This service defines items to
be purchased as a Product instance. Products contain information such as the price and currency as well as a
list of features that the product offers to customers. Products be grouped into categories.
Product#
The Product class describes all relevant information about a particular good or service that is purchasable.
As such it must contain a price, the currency that customers will pay the price in, a list of other product
requirements that may be needed before the product can be purchased (such as an active subscription or pre-requisite
item) and finally a list of features that make up it’s contents. The class also contains metadata needed to
visualize the product information to the end user when being displayed in a user interface or digital storefront.
Additional application specific data can also be added to the product definition using the data property.
This allows developers to encode any additional information that may be required that the system does not already
support.
Product Feature#
The product feature is a description of what an individual product offers to a customer. This may describe one of many characteristics of the product, a system or feature or even another associated product that is unlocked by purchasing the product. Features contain metadata needed to visualize product information to the end user. Additional application specific data can also be added to a feature definition.
Product Category#
It is often useful to group one or more products together. This may be for purely organizational purposes or may
be to provide a collection of products that can be purchased together. Whatever the reason the ProductCategory
class is designed to meet developers needs.