August 1999
Intermediate to advanced
224 pages
4h 25m
English
In addition to states of an order that are based on the availability of the items, there are also states that are based on payment authorization. If we look at these states, we might see a state diagram like the one in Figure 8-4.
Here we begin by doing an authorization. The "check payment" activity finishes by signaling that the payment is approved. If the payment is OK, the given order waits in the Authorized state until the "deliver" event occurs. Otherwise, the order enters the Rejected state.
The Order object exhibits a combination of the behaviors shown in Figure 8-1 and Figure ...
Read now
Unlock full access