send("/feeds/2021-06-30/feeds", [ 'method' => 'GET', 'query' => $queryParams, ]); } public function getFeedsAsync($queryParams = []) { return $this->sendAsync("/feeds/2021-06-30/feeds", [ 'method' => 'GET', 'query' => $queryParams, ]); } /** * Operation createFeed * */ public function createFeed($body = []) { return $this->send("/feeds/2021-06-30/feeds", [ 'method' => 'POST', 'json' => $body ]); } public function createFeedAsync($body = []) { return $this->sendAsync("/feeds/2021-06-30/feeds", [ 'method' => 'POST', 'json' => $body ]); } /** * Operation cancelFeed * * @param string $feedId The identifier for the feed. This identifier is unique only in combination with a seller ID. * */ public function cancelFeed($feedId) { return $this->send("/feeds/2021-06-30/feeds/{$feedId}", [ 'method' => 'DELETE', ]); } public function cancelFeedAsync($feedId) { return $this->sendAsync("/feeds/2021-06-30/feeds/{$feedId}", [ 'method' => 'DELETE', ]); } /** * Operation getFeed * * @param string $feedId The identifier for the feed. This identifier is unique only in combination with a seller ID. * */ public function getFeed($feedId) { return $this->send("/feeds/2021-06-30/feeds/{$feedId}", [ 'method' => 'GET', ]); } public function getFeedAsync($feedId) { return $this->sendAsync("/feeds/2021-06-30/feeds/{$feedId}", [ 'method' => 'GET', ]); } /** * Operation createFeedDocument * */ public function createFeedDocument($body = []) { return $this->send("/feeds/2021-06-30/documents", [ 'method' => 'POST', 'json' => $body ]); } public function createFeedDocumentAsync($body = []) { return $this->sendAsync("/feeds/2021-06-30/documents", [ 'method' => 'POST', 'json' => $body ]); } /** * Operation getFeedDocument * * @param string $feedDocumentId The identifier of the feed document. * */ public function getFeedDocument($feedDocumentId) { return $this->send("/feeds/2021-06-30/documents/{$feedDocumentId}", [ 'method' => 'GET', ]); } public function getFeedDocumentAsync($feedDocumentId) { return $this->sendAsync("/feeds/2021-06-30/documents/{$feedDocumentId}", [ 'method' => 'GET', ]); } }