larabook / gateway

A Laravel package for connecting to all Iranian Banks
MIT License
240 stars 190 forks source link

Transaction Eloquent Model #144

Open SasanFarrokh opened 5 years ago

SasanFarrokh commented 5 years ago

Hi, Thanks for this great package.

Had a suggestion to add Transaction Eloquent model with it's behavior methods. And of course ability to override the Transaction Model. Like pass the class in gateway config file maybe.

hamed-ehtesham commented 5 years ago

Hi Sasan, what do you mean by behavior methods? what behavior? this package uses DB facade to work with db and you can make that eloquent model if you need it in your app most apps need that class to have specific link to their other eloquent models like a m-n relationship with their own app's transaction or 1-n relationship with customer or ...