Object-Oriented Programming · Amazon · Hard
Requirements Design a credit-card domain model centered on these explicitly defined classes: Card Account Transaction Statement Support the following operations: issueCard(account) authorize(card, amount) settle(transaction) repay(card, amount) generateStatement(card, period) For every operation, describe its preconditions and postconditions. The design must enforce the card's credit limit, distinguish pending funds from settled funds, and account for interest on balances…
Checking your access…