为了说明会话虚包模式,我们来考虑这样一个用例,用户能将贷款支付的帐目记入她的支票帐户的借方。
To illustrate the Session Facade pattern, let's consider a use case where the user can debit her checking account to make a loan payment.
记入借方的帐目是和他所用的钱数一致的。然后,持信用卡的人每月收到一份结帐单。
The account is debited for the corresponding amount and the cardholder is sent monthly statements of account.
应用推荐