S++Core systems, human-reviewable
DEMO SOURCE · SPP / APP / PHYRead the book

bankdeposit-scene-readDepositAccount.spp

bankdeposit/account/bankdeposit-scene-readDepositAccount.spp

Download original file · Bank deposit source contents

1domain bankdeposit;23Scenario serial readDepositAccount(4    DepositAccount,5    AccountEligibility,6    DepositAccrualState,7    CashSettlementAccount,8    InterestIncomeAccount,9    CollectionInterestIncomeAccount,10    PrincipalRecoveryAccount11) {12    parallel {13        findDepositAccount;14        findAccountEligibility;15        findDepositAccrualState;16        findCashSettlementAccount;17        findInterestIncomeAccount;18        findCollectionInterestIncomeAccount;19        findPrincipalRecoveryAccount;20    }21    identify(depositAccount);22    identify(accountEligibility);23    identify(depositAccrualState);24    identify(cashSettlementAccount);25    identify(interestIncomeAccount);26    identify(collectionInterestIncomeAccount);27    identify(principalRecoveryAccount);28    checkAccountParticipants;29    deriveOverdraftExposure;30    describeAccountBalance;31}