How nandoi/bulsu-ecash works
BulSU eCash is presented as a centralized campus payment system. The sampled runnable workflow creates a student wallet and account, stores the account, looks it up, and authenticates it by ID and PIN. The tree and source index also identify cards, stores, user roles, wallets, and top-up, cash-out, and purchase transaction components. Those broader payment capabilities are represented, but their runtime behavior is not shown in the excerpts; links based only on indexed references are limited to the named dependencies.
Main entry points: Main.java Demo workflow · Transaction.java Payment transaction · StudentWallet.java Student wallet · CashOut.java Cash-out
Components 22
Accounts and access
- Demo workflow
src/Main.java - Authorization
src/services/Authorization.java - Account
src/entities/Account.java - Account status
src/enums/AccountStatus.java
Users and campus
- User
src/entities/user/User.java - Student
src/entities/user/Student.java - Cashier
src/entities/user/Cashier.java - Vendor
src/entities/user/Vendor.java - Store
src/entities/Store.java - Payment card
src/entities/Card.java - Card status
src/enums/CardStatus.java
Wallets and transactions
- Wallet
src/entities/wallet/Wallet.java - Student wallet
src/entities/wallet/StudentWallet.java - Store wallet
src/entities/wallet/StoreWallet.java - Top-up
src/entities/transaction/TopUp.java - Cash-out
src/entities/transaction/CashOut.java - Payment transaction
src/entities/transaction/Transaction.java - Transaction record
src/entities/transaction/TransactionRecord.java - Transaction status
src/enums/TransactionStatus.java - Wallet status
src/enums/WalletStatus.java
Statuses and storage
- Account store
src/datas/DataStore.java
Other components
- Application runner
Connections 34
- Application runner → Demo workflow: starts
README.md - Demo workflow → Student wallet: creates
src/Main.java - Demo workflow → Student: creates
src/Main.java - Demo workflow → Account: creates
src/Main.java - Demo workflow → Account store: adds and finds
src/Main.java - Demo workflow → Authorization: requests login
src/Main.java - Authorization → Account store: finds account
src/services/Authorization.java - Authorization → Account: checks credentials
src/services/Authorization.java - Account → User: associates
src/entities/Account.java - Account → Account status: uses
src/entities/Account.java - Student → User: extends
src/entities/user/Student.java - Student → Student wallet: holds
src/entities/user/Student.java - Cashier → User: extends
src/entities/user/Cashier.java - Vendor → User: extends
src/entities/user/Vendor.java - Vendor → Store: holds
src/entities/user/Vendor.java - Store → Store wallet: uses
src/entities/Store.java - Payment card → Student: associates
src/entities/Card.java - Payment card → Card status: uses
src/entities/Card.java - Student wallet → Wallet: extends
src/entities/wallet/StudentWallet.java - Store wallet → Wallet: extends
src/entities/wallet/StoreWallet.java - Wallet → Wallet status: uses
src/entities/wallet/Wallet.java - Top-up → Cashier: references
src/entities/transaction/TopUp.java - Top-up → Student wallet: references
src/entities/transaction/TopUp.java - Top-up → Transaction record: references
src/entities/transaction/TopUp.java - Cash-out → Cashier: references
src/entities/transaction/CashOut.java - Cash-out → Vendor: references
src/entities/transaction/CashOut.java - Cash-out → Store wallet: references
src/entities/transaction/CashOut.java - Cash-out → Transaction record: references
src/entities/transaction/CashOut.java - Payment transaction → Payment card: references
src/entities/transaction/Transaction.java - Payment transaction → Vendor: references
src/entities/transaction/Transaction.java - Payment transaction → Student wallet: references
src/entities/transaction/Transaction.java - Payment transaction → Store wallet: references
src/entities/transaction/Transaction.java - Payment transaction → Transaction record: references
src/entities/transaction/Transaction.java - Transaction record → Transaction status: uses
src/entities/transaction/TransactionRecord.java