1 | <?php |
||
18 | class QuantumViewWrapper |
||
19 | { |
||
20 | /** |
||
21 | * @var \Ups\QuantumView |
||
22 | */ |
||
23 | private $upsQuantumView; |
||
24 | |||
25 | /** |
||
26 | * Shipping constructor. |
||
27 | * |
||
28 | * @param QuantumView $upsQuantumView |
||
29 | */ |
||
30 | public function __construct(QuantumView $upsQuantumView) |
||
34 | |||
35 | /** |
||
36 | * @param string $name |
||
37 | * @param string $beginDateTime |
||
38 | * @param string $endDateTime |
||
39 | * @param string $fileName |
||
40 | * @param string $bookmark |
||
41 | * |
||
42 | * @return \ArrayObject |
||
43 | * |
||
44 | * @throws \Exception |
||
45 | */ |
||
46 | public function getSubscription( |
||
63 | |||
64 | /** |
||
65 | * Return true if request has a bookmark. |
||
66 | * |
||
67 | * @return bool |
||
68 | */ |
||
69 | public function hasBookmark() |
||
73 | |||
74 | /** |
||
75 | * Return the bookmark. |
||
76 | * |
||
77 | * @return string|null |
||
78 | */ |
||
79 | public function getBookmark() |
||
83 | |||
84 | /** |
||
85 | * @param string|null $bookmark |
||
86 | * |
||
87 | * @return $this |
||
88 | */ |
||
89 | public function setBookmark($bookmark) |
||
95 | |||
96 | /** |
||
97 | * @return RequestInterface |
||
98 | */ |
||
99 | public function getRequest() |
||
103 | |||
104 | /** |
||
105 | * @param RequestInterface $request |
||
106 | * |
||
107 | * @return $this |
||
108 | */ |
||
109 | public function setRequest(RequestInterface $request) |
||
115 | |||
116 | /** |
||
117 | * @return ResponseInterface |
||
118 | */ |
||
119 | public function getResponse() |
||
123 | |||
124 | /** |
||
125 | * @param ResponseInterface $response |
||
126 | * |
||
127 | * @return $this |
||
128 | */ |
||
129 | public function setResponse(ResponseInterface $response) |
||
135 | } |
||
136 |