ggez-banking-sdk
Version:
A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.
18 lines (17 loc) • 509 B
JavaScript
import { AccountService } from "../service/accountService";
import { BaseProxy } from "./baseProxy";
class AccountProxy extends BaseProxy {
accountService;
constructor(data) {
super(data);
this.accountService = new AccountService(data);
}
// #region "GET"
get = async (accountId) => {
return this.accountService.get(accountId);
};
getLimits = async (accountId) => {
return this.accountService.getLimits(accountId);
};
}
export { AccountProxy };