local:shop:structure:classes:productevent

The ProductEvent class :Concept of product events

Moodle Integrated Shop : Structural elements

Introduction

Certain products have a duration and a life cycle. Certain products are renewable or their characteristics can be changed during the time the product is held by the customer.

In the future, some products could eventually change ownership (e.g. ownership of a course area in Moodle).

To model the management of these purchased unit management events, the notion of “Product event” was introduced.

This notion includes recording any event that concerns the product instance previously created, this event can be the subject or not of a new bill.

A product event is therefore linked to :

  1. A product instance
  2. A bill item (purchase that justified the event)
  3. The date of the event

The first purchase of a new product produces a first event in trace.


Back to the Moodle Shop structure documentation summary - Go to Configuration and implementation of a commercial offer - Back to Local Shop componant - Back to catalogue

local/shop/structure/classes/productevent.txt · Last modified: 2024/05/14 15:39 (external edit)