forked from webmasterlv/swedbank-spp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathResponse.php
53 lines (44 loc) · 857 Bytes
/
Response.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
<?php
namespace Swedbank\SPP;
/**
* General response interface.
*
* This file is part of the Swedbank/SPP package.
*
* (c) Deniss Kozlovs <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
*/
interface Response
{
/**
* Indicates whether response is successfull
*/
public function isSuccess();
/**
* Returns message associated with response
*/
public function getMessage();
/**
* Returns internal status code
*/
public function getStatus();
/**
* Return gateway status code
*/
public function getRemoteStatus();
/**
* Returns reference id, if possible
*/
public function getReference();
/**
* Returns associated data
*/
public function getData();
/**
* Error source
*/
public function getSource();
}