Server Exports
CreateAtmBusinessOwner
---@param data table Owner data table containing:
--- - name (string) Owner's display name
--- - identifier/citizenid (string) Unique player identifier (e.g., license:abc123)
--- - totalAtmLimit (number) Maximum number of ATMs this owner can have
--- - allowedCommissionPercentage (number, optional) Commission percentage (default: 10)
---@return boolean success Whether the operation was successful
---@return string|nil error Error message if operation failed, nil if successful
exports['g-atm-business']:CreateAtmBusinessOwner({
name = "John Doe",
identifier = "license:abc123def456",
totalAtmLimit = 5,
allowedCommissionPercentage = 15
})GetAllAtmBusinessOwners
---@return table owners Array of owner objects, or empty table if none found
exports['g-atm-business']:GetAllAtmBusinessOwners()GetAtmBusinessOwnerById
DeleteAtmBusinessOwner
IsUserAlreadyAdded
GetBalancesForOwners
isOwner
CheckAndRequireService
CreateAtm
GetAtmOwnerIdentifierById
GetAtmsByOwnerIdentifier
UpdateAtmThermalPaper
CreateUserTransaction
GetTransactionDataById
DepositOwnerAccount
WithdrawOwnerAccount
Last updated