LaravelHubtelPayment
class LaravelHubtelPayment extends Pay (View source)
class LaravelHubtelPayment.
This class extends the \OVAC\HubtelPayment\Pay::class class and pre-assisgs a few configuration that can be easily swapped and built upon for a seamless integration with a laravel application and the facade exposed by this package.
It is also the main entry class for this package.
Methods
This method returns an instance of the \OVAC\HubtelPayment\Config created with the hubtel client account expected in the Laravel Hubtel Payment congiguration.
This class dynamically places a call to the OVAC\HubtelPayment\Pay::class and calls the a dynamic static method which in turn returns the class required by the fascade which this package exposes.
Details
at line 37
Config
getConfig()
This method returns an instance of the \OVAC\HubtelPayment\Config created with the hubtel client account expected in the Laravel Hubtel Payment congiguration.
at line 55
Transaction
__call(string $className, array $parameters)
This class dynamically places a call to the OVAC\HubtelPayment\Pay::class and calls the a dynamic static method which in turn returns the class required by the fascade which this package exposes.