|
| 1 | +<?php |
| 2 | + |
| 3 | +namespace SellingPartnerApi\Seller\CustomerFeedbackV20240601; |
| 4 | + |
| 5 | +use Saloon\Http\Response; |
| 6 | +use SellingPartnerApi\BaseResource; |
| 7 | +use SellingPartnerApi\Seller\CustomerFeedbackV20240601\Requests\GetBrowseNodeReturnTopics; |
| 8 | +use SellingPartnerApi\Seller\CustomerFeedbackV20240601\Requests\GetBrowseNodeReturnTrends; |
| 9 | +use SellingPartnerApi\Seller\CustomerFeedbackV20240601\Requests\GetBrowseNodeReviewTopics; |
| 10 | +use SellingPartnerApi\Seller\CustomerFeedbackV20240601\Requests\GetBrowseNodeReviewTrends; |
| 11 | +use SellingPartnerApi\Seller\CustomerFeedbackV20240601\Requests\GetItemBrowseNode; |
| 12 | +use SellingPartnerApi\Seller\CustomerFeedbackV20240601\Requests\GetItemReviewTopics; |
| 13 | +use SellingPartnerApi\Seller\CustomerFeedbackV20240601\Requests\GetItemReviewTrends; |
| 14 | + |
| 15 | +class Api extends BaseResource |
| 16 | +{ |
| 17 | + /** |
| 18 | + * @param string $asin The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace. The value must be a child ASIN. |
| 19 | + * @param string $marketplaceId The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids. |
| 20 | + * @param string $sortBy The metric by which to sort data in the response. |
| 21 | + */ |
| 22 | + public function getItemReviewTopics(string $asin, string $marketplaceId, string $sortBy): Response |
| 23 | + { |
| 24 | + $request = new GetItemReviewTopics($asin, $marketplaceId, $sortBy); |
| 25 | + |
| 26 | + return $this->connector->send($request); |
| 27 | + } |
| 28 | + |
| 29 | + /** |
| 30 | + * @param string $asin The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace. |
| 31 | + * @param string $marketplaceId The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids. |
| 32 | + */ |
| 33 | + public function getItemBrowseNode(string $asin, string $marketplaceId): Response |
| 34 | + { |
| 35 | + $request = new GetItemBrowseNode($asin, $marketplaceId); |
| 36 | + |
| 37 | + return $this->connector->send($request); |
| 38 | + } |
| 39 | + |
| 40 | + /** |
| 41 | + * @param string $browseNodeId The ID of a browse node. A browse node is a named location in a browse tree that is used for navigation, product classification, and website content. |
| 42 | + * @param string $marketplaceId The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids. |
| 43 | + * @param string $sortBy The metric by which to sort the data in the response. |
| 44 | + */ |
| 45 | + public function getBrowseNodeReviewTopics(string $browseNodeId, string $marketplaceId, string $sortBy): Response |
| 46 | + { |
| 47 | + $request = new GetBrowseNodeReviewTopics($browseNodeId, $marketplaceId, $sortBy); |
| 48 | + |
| 49 | + return $this->connector->send($request); |
| 50 | + } |
| 51 | + |
| 52 | + /** |
| 53 | + * @param string $asin The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace. This API takes child ASIN as an input. |
| 54 | + * @param string $marketplaceId The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids. |
| 55 | + */ |
| 56 | + public function getItemReviewTrends(string $asin, string $marketplaceId): Response |
| 57 | + { |
| 58 | + $request = new GetItemReviewTrends($asin, $marketplaceId); |
| 59 | + |
| 60 | + return $this->connector->send($request); |
| 61 | + } |
| 62 | + |
| 63 | + /** |
| 64 | + * @param string $browseNodeId A browse node ID is a unique identifier of a browse node. A browse node is a named location in a browse tree that is used for navigation, product classification, and website content. |
| 65 | + * @param string $marketplaceId The marketplace ID is the globally unique identifier of a marketplace. For more information, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids). |
| 66 | + */ |
| 67 | + public function getBrowseNodeReviewTrends(string $browseNodeId, string $marketplaceId): Response |
| 68 | + { |
| 69 | + $request = new GetBrowseNodeReviewTrends($browseNodeId, $marketplaceId); |
| 70 | + |
| 71 | + return $this->connector->send($request); |
| 72 | + } |
| 73 | + |
| 74 | + /** |
| 75 | + * @param string $browseNodeId A browse node ID is a unique identifier for a browse node. A browse node is a named location in a browse tree that is used for navigation, product classification, and website content. |
| 76 | + * @param string $marketplaceId The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids. |
| 77 | + */ |
| 78 | + public function getBrowseNodeReturnTopics(string $browseNodeId, string $marketplaceId): Response |
| 79 | + { |
| 80 | + $request = new GetBrowseNodeReturnTopics($browseNodeId, $marketplaceId); |
| 81 | + |
| 82 | + return $this->connector->send($request); |
| 83 | + } |
| 84 | + |
| 85 | + /** |
| 86 | + * @param string $browseNodeId A browse node ID is a unique identifier of a browse node. A browse node is a named location in a browse tree that is used for navigation, product classification, and website content. |
| 87 | + * @param string $marketplaceId The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids. |
| 88 | + */ |
| 89 | + public function getBrowseNodeReturnTrends(string $browseNodeId, string $marketplaceId): Response |
| 90 | + { |
| 91 | + $request = new GetBrowseNodeReturnTrends($browseNodeId, $marketplaceId); |
| 92 | + |
| 93 | + return $this->connector->send($request); |
| 94 | + } |
| 95 | +} |
0 commit comments