1 <?php
2 /**
3 * @author Krzysztof Gzocha <krzysztof.gzocha@xsolve.pl>
4 */
5 namespace Team3\PayU\Communication\Request;
6
7 use Team3\PayU\Serializer\SerializableInterface;
8
9 abstract class AbstractPayURequest implements PayURequestInterface
10 {
11 /**
12 * @var SerializableInterface
13 */
14 protected $data;
15
16 /**
17 * @var string
18 */
19 protected $path;
20
21 /**
22 * @return SerializableInterface
23 */
24 public function getDataObject()
25 {
26 return $this->data;
27 }
28
29 /**
30 * @return string
31 */
32 public function getPath()
33 {
34 return $this->path;
35 }
36
37 /**
38 * @return string
39 */
40 public function getMethod()
41 {
42 return self::METHOD_POST;
43 }
44 }
45