Class BankGenerator
java.lang.Object
com.datengaertnerei.test.dataservice.bank.BankGenerator
- All Implemented Interfaces:
IBankGenerator
Spring Boot service to generate valid bank accounts
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
BankGenerator
public BankGenerator()ctor
-
-
Method Details
-
generateAccount
acct generation- Specified by:
generateAccount
in interfaceIBankGenerator
- Parameters:
city
- city- Returns:
- random bank account
-
generateCreditCard
cc generation- Specified by:
generateCreditCard
in interfaceIBankGenerator
- Returns:
- random credit card object
-