namespace OnlineBankingApplication

features
	OnlineBankingApp {abstract}
		or
			BasicAccount {monthlyFee 2, transactionLimit 100}
				mandatory
					CheckbookService {setupFee 5}
					LimitedATMAccess {usageFee 1.5}
			PremiumAccount {monthlyFee 10, transactionLimit 1000}
				optional
					IllimitedATMAccess {noFee 0}
					CheckbookAndStatementService {setupFee 10, statementFee 2}
					CreditCardIntegration {annualFee 50}

constraints
	BasicAccount => (CheckbookService.setupFee + LimitedATMAccess.usageFee) < 10
	PremiumAccount.transactionLimit > BasicAccount.transactionLimit