Skip to content

Commit

Permalink
Remove invalid parent:: reference in HttpResponseHeaders
Browse files Browse the repository at this point in the history
  • Loading branch information
jlevers committed Jun 30, 2022
1 parent 64cfc24 commit e595315
Show file tree
Hide file tree
Showing 49 changed files with 1 addition and 55 deletions.
6 changes: 0 additions & 6 deletions lib/Api/ProductPricingV0Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,6 @@ public function getCompetitivePricingRequest($marketplace_id, $item_type, $asins
}
}


$defaultHeaders = [];
if ($this->config->getUserAgent()) {
$defaultHeaders['User-Agent'] = $this->config->getUserAgent();
Expand Down Expand Up @@ -962,7 +961,6 @@ public function getItemOffersRequest($marketplace_id, $item_condition, $asin, $c
}
}


$defaultHeaders = [];
if ($this->config->getUserAgent()) {
$defaultHeaders['User-Agent'] = $this->config->getUserAgent();
Expand Down Expand Up @@ -1337,7 +1335,6 @@ public function getItemOffersBatchRequest($get_item_offers_batch_request_body)
}
}


$defaultHeaders = [];
if ($this->config->getUserAgent()) {
$defaultHeaders['User-Agent'] = $this->config->getUserAgent();
Expand Down Expand Up @@ -1766,7 +1763,6 @@ public function getListingOffersRequest($marketplace_id, $item_condition, $selle
}
}


$defaultHeaders = [];
if ($this->config->getUserAgent()) {
$defaultHeaders['User-Agent'] = $this->config->getUserAgent();
Expand Down Expand Up @@ -2141,7 +2137,6 @@ public function getListingOffersBatchRequest($get_listing_offers_batch_request_b
}
}


$defaultHeaders = [];
if ($this->config->getUserAgent()) {
$defaultHeaders['User-Agent'] = $this->config->getUserAgent();
Expand Down Expand Up @@ -2597,7 +2592,6 @@ public function getPricingRequest($marketplace_id, $item_type, $asins = null, $s
}
}


$defaultHeaders = [];
if ($this->config->getUserAgent()) {
$defaultHeaders['User-Agent'] = $this->config->getUserAgent();
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/ASINIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['marketplace_id'] === null) {
$invalidProperties[] = "'marketplace_id' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/BatchOffersRequestParams.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['marketplace_id'] === null) {
$invalidProperties[] = "'marketplace_id' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/BatchOffersResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['body'] === null) {
$invalidProperties[] = "'body' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/BatchRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['uri'] === null) {
$invalidProperties[] = "'uri' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/BuyBoxPriceType.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['condition'] === null) {
$invalidProperties[] = "'condition' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/CompetitivePriceType.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['competitive_price_id'] === null) {
$invalidProperties[] = "'competitive_price_id' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/CompetitivePricingType.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['competitive_prices'] === null) {
$invalidProperties[] = "'competitive_prices' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/DetailedShippingTimeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

$allowedValues = $this->getAvailabilityTypeAllowableValues();
if (!is_null($this->container['availability_type']) && !in_array($this->container['availability_type'], $allowedValues, true)) {
$invalidProperties[] = sprintf(
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['code'] === null) {
$invalidProperties[] = "'code' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/Errors.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['errors'] === null) {
$invalidProperties[] = "'errors' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/GetItemOffersBatchRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if (!is_null($this->container['requests']) && (count($this->container['requests']) > 20)) {
$invalidProperties[] = "invalid value for 'requests', number of items must be less than or equal to 20.";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/GetItemOffersBatchResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if (!is_null($this->container['responses']) && (count($this->container['responses']) > 20)) {
$invalidProperties[] = "invalid value for 'responses', number of items must be less than or equal to 20.";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if (!is_null($this->container['requests']) && (count($this->container['requests']) > 20)) {
$invalidProperties[] = "invalid value for 'requests', number of items must be less than or equal to 20.";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if (!is_null($this->container['responses']) && (count($this->container['responses']) > 20)) {
$invalidProperties[] = "invalid value for 'responses', number of items must be less than or equal to 20.";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/GetOffersHttpStatusLine.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if (!is_null($this->container['status_code']) && ($this->container['status_code'] > 599)) {
$invalidProperties[] = "invalid value for 'status_code', must be smaller than or equal to 599.";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/GetOffersResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

return $invalidProperties;
}

Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/GetOffersResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['marketplace_id'] === null) {
$invalidProperties[] = "'marketplace_id' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/GetPricingResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if (!is_null($this->container['payload']) && (count($this->container['payload']) > 20)) {
$invalidProperties[] = "invalid value for 'payload', number of items must be less than or equal to 20.";
}
Expand Down
3 changes: 1 addition & 2 deletions lib/Model/ProductPricingV0/HttpResponseHeaders.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,7 @@ public function __construct(array $data = null)
*/
public function listInvalidProperties()
{
$invalidProperties = parent::listInvalidProperties();

$invalidProperties = [];
return $invalidProperties;
}

Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/IdentifierType.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['marketplace_asin'] === null) {
$invalidProperties[] = "'marketplace_asin' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/ItemIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['marketplace_id'] === null) {
$invalidProperties[] = "'marketplace_id' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/ItemOffersRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['uri'] === null) {
$invalidProperties[] = "'uri' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/ItemOffersRequestParams.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['marketplace_id'] === null) {
$invalidProperties[] = "'marketplace_id' can't be null";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

return $invalidProperties;
}

Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/ItemOffersResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['body'] === null) {
$invalidProperties[] = "'body' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/ItemOffersResponseAllOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['request'] === null) {
$invalidProperties[] = "'request' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/ListingOffersRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['uri'] === null) {
$invalidProperties[] = "'uri' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/ListingOffersRequestParams.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['marketplace_id'] === null) {
$invalidProperties[] = "'marketplace_id' can't be null";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['seller_sku'] === null) {
$invalidProperties[] = "'seller_sku' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/ListingOffersResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['body'] === null) {
$invalidProperties[] = "'body' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/ListingOffersResponseAllOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

return $invalidProperties;
}

Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/LowestPriceType.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['condition'] === null) {
$invalidProperties[] = "'condition' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/MoneyType.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

return $invalidProperties;
}

Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/OfferCountType.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

return $invalidProperties;
}

Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/OfferDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['sub_condition'] === null) {
$invalidProperties[] = "'sub_condition' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/OfferListingCountType.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['count'] === null) {
$invalidProperties[] = "'count' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/OfferType.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['buying_price'] === null) {
$invalidProperties[] = "'buying_price' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/Points.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

return $invalidProperties;
}

Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/Price.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['status'] === null) {
$invalidProperties[] = "'status' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/PriceType.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['listing_price'] === null) {
$invalidProperties[] = "'listing_price' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/PrimeInformationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['is_prime'] === null) {
$invalidProperties[] = "'is_prime' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['identifiers'] === null) {
$invalidProperties[] = "'identifiers' can't be null";
}
Expand Down
1 change: 0 additions & 1 deletion lib/Model/ProductPricingV0/QuantityDiscountPriceType.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ public function __construct(array $data = null)
public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['quantity_tier'] === null) {
$invalidProperties[] = "'quantity_tier' can't be null";
}
Expand Down
Loading

0 comments on commit e595315

Please sign in to comment.