While a client is not allowed to update the application's data based on his own calculations, he can explicitly express his assumptions within a service request.
Consider for example a PassOrder service, which accepts a list of items. The service request can be designed as to allow the client to state the price he expects to pay for each item. This price can differ from the one the item is sold at for different reasons. Maybe the client saw the item in last month's publicity, maybe the price has just recently been raised, maybe he simply mistyped the price. No matter the reason, the service requests having mismatches will be rejected.
By explicitly stating the client's assumptions in the service request, we ensure that none of our clients will be unexpectingly billed. The price to pay will alway be the one they expected.
Tuesday, July 29, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment