1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace HenryEjemuta\LaravelClubKonnect\Facades; |
4
|
|
|
|
5
|
|
|
use HenryEjemuta\LaravelClubKonnect\CableTv; |
6
|
|
|
use HenryEjemuta\LaravelClubKonnect\Classes\ClubKonnectResponse; |
7
|
|
|
use HenryEjemuta\LaravelClubKonnect\Electricity; |
8
|
|
|
use HenryEjemuta\LaravelClubKonnect\Enums\NetworkEnum; |
9
|
|
|
use HenryEjemuta\LaravelClubKonnect\RechargeCardPrinting; |
10
|
|
|
use HenryEjemuta\LaravelClubKonnect\Smile; |
11
|
|
|
use HenryEjemuta\LaravelClubKonnect\Transaction; |
12
|
|
|
use Illuminate\Support\Facades\Facade; |
13
|
|
|
|
14
|
|
|
/** |
15
|
|
|
* @method static ClubKonnectResponse checkYourServerIP() |
16
|
|
|
* @method static ClubKonnectResponse getWalletBalance() |
17
|
|
|
* @method static ClubKonnectResponse purchaseAirtime(NetworkEnum $mobileNetwork, int $amount, $phoneNumber, $requestID, $callbackUrl) |
18
|
|
|
* @method static Transaction Transaction() |
19
|
|
|
* @method static Smile Smile() |
20
|
|
|
* @method static CableTv CableTv() |
21
|
|
|
* @method static Electricity Electricity() |
22
|
|
|
* @method static RechargeCardPrinting RechargeCardPrinting() |
23
|
|
|
* @method static ClubKonnectResponse getDataBundles() |
24
|
|
|
* @method static ClubKonnectResponse purchaseDataBundle(NetworkEnum $network, string $plan, string $phoneNumber, $requestID, $callbackUrl) |
25
|
|
|
* |
26
|
|
|
* For respective method implementation: |
27
|
|
|
* @see \HenryEjemuta\LaravelClubKonnect\ClubKonnect |
28
|
|
|
*/ |
29
|
|
|
class ClubKonnect extends Facade |
30
|
|
|
{ |
31
|
|
|
/** |
32
|
|
|
* Get the registered name of the component. |
33
|
|
|
* |
34
|
|
|
* @return string |
35
|
|
|
*/ |
36
|
|
|
protected static function getFacadeAccessor() |
37
|
|
|
{ |
38
|
|
|
return 'clubkonnect'; |
39
|
|
|
} |
40
|
|
|
} |
41
|
|
|
|