@@ -147,6 +147,11 @@ |
||
| 147 | 147 | return $this->marketplaceIds; |
| 148 | 148 | } |
| 149 | 149 | |
| 150 | + /** |
|
| 151 | + * @param string $action |
|
| 152 | + * @param string $path |
|
| 153 | + * @param string $version |
|
| 154 | + */ |
|
| 150 | 155 | public function post($action, $path, $version, $params = [], $body = null) |
| 151 | 156 | { |
| 152 | 157 | $headers = [ |
@@ -40,6 +40,10 @@ |
||
| 40 | 40 | return $this->parseResponse($response, 'ListOrderItemsResult', 'OrderItems.OrderItem'); |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | + /** |
|
| 44 | + * @param string $resultTypeName |
|
| 45 | + * @param string $dataName |
|
| 46 | + */ |
|
| 43 | 47 | protected function parseResponse($response, $resultTypeName, $dataName) |
| 44 | 48 | { |
| 45 | 49 | $requestId = data_get($response, 'ResponseMetadata.RequestId'); |