17.7. Object Design: makePayment
The makePayment system operation occurs when a cashier enters the amount of cash tendered for payment. Here is the complete contract:
Contract CO4: makePayment
|
A design will be constructed to satisfy the postconditions of makePayment.
Creating the Payment
One of the contract postconditions ...
Get Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process, Second Edition 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.