Chapter 9. Order archetype pattern

9.1 Business context

When a customer decides to make a purchase, you need to have some way to record exactly what is required. This record is known as an order. It is a request by a buyer for a seller to deliver some goods or services. In return the seller normally receives some payment or other compensation.

Orders are archetypal. Orders, in one shape or another, have existed for a very long time, from verbal requests and agreements, through more permanent forms once writing was invented, to the modern electronic orders we discuss in this chapter.

You can use an order whenever you need to capture the details of the relationship between the various parties, goods, and services that come together in a particular ...

Get Enterprise Patterns and MDA: Building Better Software with Archetype Patterns and UML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.