|
1
|
|
|
<?php |
|
2
|
|
|
/** |
|
3
|
|
|
* Created By: Henry Ejemuta |
|
4
|
|
|
* Project: laravel-vtpass |
|
5
|
|
|
* Class Name: VTPass.php |
|
6
|
|
|
* Date Created: 7/13/20 |
|
7
|
|
|
* Time Created: 8:44 PM |
|
8
|
|
|
*/ |
|
9
|
|
|
|
|
10
|
|
|
namespace HenryEjemuta\LaravelVTPass\Facades; |
|
11
|
|
|
|
|
12
|
|
|
use HenryEjemuta\LaravelVTPass\Classes\VTPassResponse; |
|
13
|
|
|
use Illuminate\Support\Facades\Facade; |
|
14
|
|
|
|
|
15
|
|
|
|
|
16
|
|
|
/** |
|
17
|
|
|
* @method static VTPassResponse getServicesCategories() |
|
18
|
|
|
* @method static VTPassResponse getServiceID($serviceCategoryIdentifier) |
|
19
|
|
|
* @method static VTPassResponse getVariationCodes($serviceID) |
|
20
|
|
|
* @method static VTPassResponse getProductOptions(string $serviceID, string $name) |
|
21
|
|
|
* @method static VTPassResponse purchaseAirtime(string $requestId, string $serviceID, int $amount, $phoneNumber) |
|
22
|
|
|
* @method static VTPassResponse queryTransactionStatus(string $requestId) |
|
23
|
|
|
* @method static VTPassResponse purchaseProduct(string $requestId, string $serviceID, $billersCode, $variationCode, $phoneNumber, int $amount = 0) |
|
24
|
|
|
* @method static VTPassResponse purchaseData(string $requestId, string $serviceID, $phoneNumber, $variationCode, $customerPhoneNumber, int $amount = 0) |
|
25
|
|
|
* @method static VTPassResponse getSmileBundles() |
|
26
|
|
|
* @method static VTPassResponse verifyMerchant($billersCode, $serviceID, $type = null) |
|
27
|
|
|
* @method static VTPassResponse verifySmileCustomerByID($customerID) |
|
28
|
|
|
* @method static VTPassResponse verifySmileCustomer($customerUniqueDetail, $detailType) |
|
29
|
|
|
* @method static VTPassResponse verifySmileCustomerByEmail($customerEmail) |
|
30
|
|
|
* @method static VTPassResponse verifySmileCustomerByPhone($customerPhone) |
|
31
|
|
|
* @method static VTPassResponse buySmileData(string $requestId, $smilePhoneNumber, $variationCode, $phoneNumber, int $amount = 0) |
|
32
|
|
|
* @method static VTPassResponse payGoTV(string $requestId, $smartCartNumber, $variationCode, $phoneNumber, int $amount = 0) |
|
33
|
|
|
* @method static VTPassResponse verifyElectricityBillMeterNumber($customerMeterNumber, $serviceID, $type) |
|
34
|
|
|
* @method static VTPassResponse buyElectricity(string $requestId, $serviceID, $customerMeterNumber, $type, $phoneNumber, int $amount) @throws VTPassErrorException |
|
35
|
|
|
* |
|
36
|
|
|
* @see \Henryejemuta\LaravelVTPass\VTPass |
|
37
|
|
|
*/ |
|
38
|
|
|
class VTPass extends Facade |
|
39
|
|
|
{ |
|
40
|
|
|
protected static function getFacadeAccessor() |
|
41
|
|
|
{ |
|
42
|
|
|
return 'vtpass'; |
|
43
|
|
|
} |
|
44
|
|
|
} |
|
45
|
|
|
|