Skip to main content

Orders

Orders (or Sales Orders) represent a transaction where a Customer purchases one or more Products. An Order is the precursor to an active Subscription or License.

Overview

Orders capture the intent to buy. They include:

  • Line Items: Specific products and quantities being purchased.
  • Customer: The entity making the purchase.
  • Status: The lifecycle state of the order (e.g., DRAFT, CONFIRMED, COMPLETED).

Once an Order is confirmed, it typically triggers the creation of:

  1. Invoices for billing.
  2. Licenses/Subscriptions for provisioning access.

Technical Details

  • Service: sureink-cloud-msa
  • Key Classes: OrderService, OrderProcessingService
  • Events: OrderStatusChangedEvent