CallbackResponse::getStatus()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Getloy\GetloyMagentoGateway\Model;
4
5
use Getloy\GetloyMagentoGateway\Api\Data\CallbackResponseInterface;
6
7
class CallbackResponse implements CallbackResponseInterface
8
{
9
    /**
10
     * @var string
11
     */
12
    protected $status;
13
14
    /**
15
     * @var string
16
     */
17
    protected $message;
18
19
    /**
20
     * @param string $status
21
     * @param string $message
22
     */
23
    public function __construct($status, $message)
24
    {
25
        $this->status = $status;
26
        $this->message = $message;
27
    }
28
29
    /**
30
     * {@inheritDoc}
31
     */
32
    public function getStatus()
33
    {
34
        return $this->status;
35
    }
36
37
    /**
38
     * {@inheritDoc}
39
     */
40
    public function getMessage()
41
    {
42
        return $this->message;
43
    }
44
}
45