1 <?php
2 3 4
5 namespace Team3\PayU\Communication\Response;
6
7 use Team3\PayU\Communication\Request\PayURequestInterface;
8 use Team3\PayU\Communication\Request\RefundRequest;
9 use Team3\PayU\Communication\Request\Model\RequestStatus;
10 use JMS\Serializer\Annotation as JMS;
11 use Team3\PayU\Communication\Response\Model\RefundModelInterface;
12
13 14 15 16 17 18 19 20
21 class RefundResponse implements ResponseInterface
22 {
23 24 25 26
27 private $orderId;
28
29 30 31 32
33 private $refund;
34
35 36 37 38
39 private $status;
40
41 42 43 44 45
46 public function supports(PayURequestInterface $payURequest)
47 {
48 return $payURequest instanceof RefundRequest;
49 }
50
51 52 53
54 public function getOrderId()
55 {
56 return $this->orderId;
57 }
58
59 60 61
62 public function getRefund()
63 {
64 return $this->refund;
65 }
66
67 68 69
70 public function getStatus()
71 {
72 return $this->status;
73 }
74 }
75