📋 switcore.banking.sections.overview.title
switcore.banking.sections.overview.description
⚡ switcore.banking.sections.features.title
💱 switcore.banking.sections.currencies.title
switcore.banking.sections.currencies.description
switcore.banking.sections.currencies.fixed.title
switcore.banking.sections.currencies.fixed.description
switcore.banking.sections.currencies.dynamic.title
switcore.banking.sections.currencies.dynamic.description
🏦 switcore.banking.sections.accounts.title
switcore.banking.sections.accounts.description
💳 switcore.banking.sections.accounts.types.current
💵 switcore.banking.sections.accounts.types.savings
🔒 switcore.banking.sections.accounts.types.deposit
📝 switcore.banking.sections.loans.title
switcore.banking.sections.loans.description
📈 switcore.banking.sections.inflation.title
switcore.banking.sections.inflation.description
📊 switcore.banking.sections.inflation.calculation
switcore.banking.sections.inflation.formulaswitcore.banking.sections.inflation.application
📚 switcore.banking.sections.api.title
switcore.banking.sections.api.description
switcore.banking.sections.api.exports.createAccount.name
switcore.banking.sections.api.exports.createAccount.description
local success, err, account = exports.banking:createAccount(
characterId,
bankId,
'current', -- 'current', 'savings', sau 'deposit'
nil, -- interestRate (opțional)
nil -- depositTermDays (opțional, doar pentru deposit)
)switcore.banking.sections.api.exports.deposit.name
switcore.banking.sections.api.exports.deposit.description
local success, err = exports.banking:deposit(
characterId,
accountId,
1000.0, -- amount
currencyId -- currency ID (ex: USD = 1)
)switcore.banking.sections.api.exports.withdraw.name
switcore.banking.sections.api.exports.withdraw.description
local success, err = exports.banking:withdraw(
characterId,
accountId,
500.0, -- amount
currencyId
)switcore.banking.sections.api.exports.transfer.name
switcore.banking.sections.api.exports.transfer.description
local success, err = exports.banking:transfer(
characterId,
fromAccountId,
toAccountId,
2000.0, -- amount
currencyId
)switcore.banking.sections.api.exports.createLoan.name
switcore.banking.sections.api.exports.createLoan.description
local success, err, loan = exports.banking:createLoan(
characterId,
bankId,
'personal', -- 'personal', 'mortgage', sau 'business'
10000.0, -- principalAmount
12, -- termMonths
currencyId
)switcore.banking.sections.api.exports.getInflationRate.name
switcore.banking.sections.api.exports.getInflationRate.description
local inflationRate = exports.banking:getInflationRate(currencyId)
print('Inflație: ' .. inflationRate .. '%')