-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathbase.php
More file actions
42 lines (30 loc) · 835 Bytes
/
base.php
File metadata and controls
42 lines (30 loc) · 835 Bytes
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
<?php
/*
* Tüm request ve response sınıflarındaki ortak alanları içermektedir.
* Tüm Request ve response Sınıflarında zorunlu olarak kullanılacak alanları temsil eder.
* Ortak alanları tekrar tekrar kullanmak yerine bu sınıftan kalıtım alarak kullanım sağlanır.
*/
class Base
{
}
class BaseRequest extends Base
{
public $Echo ;
public $Mode ;
}
class BaseResponse extends Base
{
public $Result ;
public $ErrorCode ;
public $ErrorMessage ;
public $ResponseMessage ;
public $Mode ;
public $Echo ;
public $Hash ;
public $TransactionDate ;
}
class ThreeDPaymentInitResponse extends BaseResponse
{
public $Amount ;
public $OrderId ;
}