-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMpesaClassMap.php
More file actions
36 lines (36 loc) · 1.2 KB
/
MpesaClassMap.php
File metadata and controls
36 lines (36 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/**
* File for the class which returns the class map definition
* @package Mpesa
* @author WsdlToPhp Team <contact@wsdltophp.com>
* @version 20150429-01
* @date 2015-05-30
*/
/**
* Class which returns the class map definition by the static method MpesaClassMap::classMap()
* @package Mpesa
* @author WsdlToPhp Team <contact@wsdltophp.com>
* @version 20150429-01
* @date 2015-05-30
*/
class MpesaClassMap
{
/**
* This method returns the array containing the mapping between WSDL structs and generated classes
* This array is sent to the SoapClient when calling the WS
* @return array
*/
final public static function classMap()
{
return array (
'CheckOutHeader' => 'MpesaStructCheckOutHeader',
'ResultMsg' => 'MpesaStructResultMsg',
'processCheckOutRequest' => 'MpesaStructProcessCheckOutRequest',
'processCheckOutResponse' => 'MpesaStructProcessCheckOutResponse',
'transactionConfirmRequest' => 'MpesaStructTransactionConfirmRequest',
'transactionConfirmResponse' => 'MpesaStructTransactionConfirmResponse',
'transactionStatusRequest' => 'MpesaStructTransactionStatusRequest',
'transactionStatusResponse' => 'MpesaStructTransactionStatusResponse',
);
}
}