0

我要为一家影音租赁店设计一个用例图。在这种情况下,客户应该可以在线支付租金。在这种必须进行在线支付的情况下,银行会成为演员吗?银行的任务是:

  • 验证信用卡号码
  • 进行交易

并且在系统中应该有一个参与者作为流程系统,它具有以下任务:

  • 接受客户的订单信息
  • 向银行发送验证详细信息(要求验证信用卡号、订单金额等)
  • 向买家发送确认详情(无论是卡,金额被银行批准或拒绝)

这些任务和演员是否需要包含在视频租赁或任何其他使用在线支付的系统中,还是没有必要?

4

1 回答 1

0

If the bank is external to the system under design, which I assume for a video store, yes, it will be an actor.
Hint: Stick with the term "use case" instead of "task".
You can make them as fine grained as you like depending on what you want to convey. Keep in mind that normally, it's good practice to make them not too detailed. You want to give no more than an overview. Plus you don't really know what's behind the facade of the bank's API, so don't dig deeper than your API calls.

于 2013-10-11T14:40:23.983 回答