Skip to content

Commit 44cfcc3

Browse files
authored
Merge pull request #66 from ElmageAce/facade-methods
Updated Rave Facade with static methods declarations
2 parents 344694d + 6c84f6d commit 44cfcc3

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
- [Wallace Myem Aboiyar](https://github.com/wallacemyem)
2727
- [Chigozie Ekwonu](https://github.com/chygoz2)
2828
- [Tolulope Adekunte](https://github.com/adtrex)
29+
- [Ogaba Emmanuel](https://github.com/ElmageAce)
2930

3031
## Contributing
3132
Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities. I will appreciate that a lot. Also please add your name to the credits.

src/Facades/Rave.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,27 @@
1212
namespace KingFlamez\Rave\Facades;
1313

1414
use Illuminate\Support\Facades\Facade;
15+
use KingFlamez\Rave\Helpers\Banks;
16+
use KingFlamez\Rave\Helpers\Beneficiary;
17+
use KingFlamez\Rave\Helpers\Payments;
18+
use KingFlamez\Rave\Helpers\Transfers;
1519

20+
/**
21+
* Class Rave
22+
*
23+
* @method static string generateReference(String $transactionPrefix = null)
24+
* @method static object initializePayment(array $data)
25+
* @method static string getTransactionIDFromCallback()
26+
* @method static object verifyTransaction(string $transactionId)
27+
* @method static bool verifyWebhook()
28+
* @method static Payments payments()
29+
* @method static Banks banks()
30+
* @method static Transfers transfers()
31+
* @method static Beneficiary beneficiaries()
32+
*
33+
* @see \KingFlamez\Rave\Rave
34+
*
35+
*/
1636
class Rave extends Facade
1737
{
1838
/**

0 commit comments

Comments
 (0)