-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTransactionInterface.php
75 lines (61 loc) · 1.28 KB
/
TransactionInterface.php
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?php
/**
* Created by PhpStorm.
* User: mathermann
* Date: 07/01/2020
* Time: 22:31
*/
namespace Mathermann\DohoneSDK;
interface TransactionInterface
{
/**
* @return string
*/
public function getTransactionRef();
/**
* @return string
* Note: Must be one of the following: ['DOHONE_MOMO', 'DOHONE_OM', 'DOHONE_EU', 'DOHONE_TRANSFER']
*/
public function getTransactionOperator();
/**
* @return double
*/
public function getTransactionAmount();
/**
* @return string
* Note: Must be one of the following: ['XAF', 'EUR', 'USD']
*/
public function getTransactionCurrency();
/**
* @return string
*/
public function getTransactionReason();
/**
* @return string
*/
public function getDohoneTransactionRef();
/**
* @return string
*/
public function getCustomerName();
/**
* @return string
*/
public function getCustomerPhoneNumber();
/**
* @return string
*/
public function getCustomerEmail();
/**
* @return string
*/
public function getCustomerCountry();
/**
* @return string
*/
public function getCustomerCity();
/**
* @return string|null
*/
public function getNotifyUrl();
}