Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Commit

Permalink
Updated code & docs according to OpenAPI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Neuhaus committed Oct 16, 2020
1 parent bcffdc4 commit 3d16861
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
12 changes: 6 additions & 6 deletions docs/Api/OrdersV0Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Method | HTTP request | Description


Returns the order indicated by the specified order ID. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0055 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
Returns the order indicated by the specified order ID. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.

### Example
```php
Expand Down Expand Up @@ -65,7 +65,7 @@ No authorization required


Returns the shipping address for the order indicated by the specified order ID. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0055 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
Returns the shipping address for the order indicated by the specified order ID. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.

### Example
```php
Expand Down Expand Up @@ -114,7 +114,7 @@ No authorization required


Returns buyer information for the order indicated by the specified order ID. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0055 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
Returns buyer information for the order indicated by the specified order ID. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.

### Example
```php
Expand Down Expand Up @@ -163,7 +163,7 @@ No authorization required


Returns detailed order item information for the order indicated by the specified order ID. If NextToken is provided, it's used to retrieve the next page of order items. Note: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0055 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
Returns detailed order item information for the order indicated by the specified order ID. If NextToken is provided, it's used to retrieve the next page of order items. Note: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.

### Example
```php
Expand Down Expand Up @@ -214,7 +214,7 @@ No authorization required


Returns buyer information in the order items of the order indicated by the specified order ID. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0055 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
Returns buyer information in the order items of the order indicated by the specified order ID. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.

### Example
```php
Expand Down Expand Up @@ -265,7 +265,7 @@ No authorization required


Returns orders created or updated during the time frame indicated by the specified parameters. You can also apply a range of filtering criteria to narrow the list of orders returned. If NextToken is present, that will be used to retrieve the orders instead of other criteria. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0055 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
Returns orders created or updated during the time frame indicated by the specified parameters. You can also apply a range of filtering criteria to narrow the list of orders returned. If NextToken is present, that will be used to retrieve the orders instead of other criteria. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.

### Example
```php
Expand Down
4 changes: 2 additions & 2 deletions docs/Api/SolicitationsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Method | HTTP request | Description


Sends a solicitation to a buyer asking for seller feedback and a product review for the specified order. Send only one productReviewAndSellerFeedback or free form proactive message per order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 5 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
Sends a solicitation to a buyer asking for seller feedback and a product review for the specified order. Send only one productReviewAndSellerFeedback or free form proactive message per order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.

### Example
```php
Expand Down Expand Up @@ -63,7 +63,7 @@ No authorization required


Returns a list of solicitation types that are available for an order that you specify. A solicitation type is represented by an actions object, which contains a path and query parameter(s). You can use the path and parameter(s) to call an operation that sends a solicitation. Currently only the productReviewAndSellerFeedbackSolicitation solicitation type is available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 5 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
Returns a list of solicitation types that are available for an order that you specify. A solicitation type is represented by an actions object, which contains a path and query parameter(s). You can use the path and parameter(s) to call an operation that sends a solicitation. Currently only the productReviewAndSellerFeedbackSolicitation solicitation type is available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.

### Example
```php
Expand Down
2 changes: 1 addition & 1 deletion docs/Model/Event.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**event_code** | [**\Swagger\Client\Models\EventCode**](EventCode.md) | |
**event_time** | [**\DateTime**](\DateTime.md) | The date and time of an event for a shipment. | [optional]
**event_time** | [**\DateTime**](\DateTime.md) | The date and time of an event for a shipment. |
**location** | [**\Swagger\Client\Models\Location**](Location.md) | | [optional]

[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
Expand Down
3 changes: 3 additions & 0 deletions lib/Models/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ public function listInvalidProperties()
if ($this->container['event_code'] === null) {
$invalidProperties[] = "'event_code' can't be null";
}
if ($this->container['event_time'] === null) {
$invalidProperties[] = "'event_time' can't be null";
}
return $invalidProperties;
}

Expand Down

0 comments on commit 3d16861

Please sign in to comment.