@@ 133-145 (lines=13) @@ | ||
130 | * |
|
131 | * @return ListOpenBatchesResponse |
|
132 | */ |
|
133 | public function listOpenBatches($targetWebShop = null) |
|
134 | { |
|
135 | $today = new DateTime(); |
|
136 | $request = new ListOpenBatchesRequest( |
|
137 | $this->securityService->getHash($today->format('Ymd')), |
|
138 | $this->generalServiceType->getWebShopId(), |
|
139 | $targetWebShop |
|
140 | ); |
|
141 | ||
142 | $response = $this->generalServiceType->listOpenBatches($request); |
|
143 | ||
144 | return $this->processResponse($response, $this->generalServiceType); |
|
145 | } |
|
146 | } |
|
147 |
@@ 143-155 (lines=13) @@ | ||
140 | * |
|
141 | * @return ListStoresResponse |
|
142 | */ |
|
143 | public function listStores($targetWebShop = null) |
|
144 | { |
|
145 | $today = new DateTime(); |
|
146 | $request = new ListStoresRequest( |
|
147 | $this->securityService->getHash($today->format('Ymd')), |
|
148 | $this->generalServiceType->getWebShopId(), |
|
149 | $targetWebShop |
|
150 | ); |
|
151 | ||
152 | $response = $this->generalServiceType->listStores($request); |
|
153 | ||
154 | return $this->processResponse($response, $this->generalServiceType); |
|
155 | } |
|
156 | } |
|
157 |