From e59531553589e470b051d973a4cace4a326433e5 Mon Sep 17 00:00:00 2001 From: Jesse Evers Date: Wed, 29 Jun 2022 20:12:28 -0400 Subject: [PATCH] Remove invalid parent:: reference in HttpResponseHeaders --- lib/Api/ProductPricingV0Api.php | 6 ------ lib/Model/ProductPricingV0/ASINIdentifier.php | 1 - lib/Model/ProductPricingV0/BatchOffersRequestParams.php | 1 - lib/Model/ProductPricingV0/BatchOffersResponse.php | 1 - lib/Model/ProductPricingV0/BatchRequest.php | 1 - lib/Model/ProductPricingV0/BuyBoxPriceType.php | 1 - lib/Model/ProductPricingV0/CompetitivePriceType.php | 1 - lib/Model/ProductPricingV0/CompetitivePricingType.php | 1 - lib/Model/ProductPricingV0/DetailedShippingTimeType.php | 1 - lib/Model/ProductPricingV0/Error.php | 1 - lib/Model/ProductPricingV0/Errors.php | 1 - lib/Model/ProductPricingV0/GetItemOffersBatchRequest.php | 1 - lib/Model/ProductPricingV0/GetItemOffersBatchResponse.php | 1 - lib/Model/ProductPricingV0/GetListingOffersBatchRequest.php | 1 - .../ProductPricingV0/GetListingOffersBatchResponse.php | 1 - lib/Model/ProductPricingV0/GetOffersHttpStatusLine.php | 1 - lib/Model/ProductPricingV0/GetOffersResponse.php | 1 - lib/Model/ProductPricingV0/GetOffersResult.php | 1 - lib/Model/ProductPricingV0/GetPricingResponse.php | 1 - lib/Model/ProductPricingV0/HttpResponseHeaders.php | 3 +-- lib/Model/ProductPricingV0/IdentifierType.php | 1 - lib/Model/ProductPricingV0/ItemIdentifier.php | 1 - lib/Model/ProductPricingV0/ItemOffersRequest.php | 1 - lib/Model/ProductPricingV0/ItemOffersRequestParams.php | 1 - lib/Model/ProductPricingV0/ItemOffersRequestParamsAllOf.php | 1 - lib/Model/ProductPricingV0/ItemOffersResponse.php | 1 - lib/Model/ProductPricingV0/ItemOffersResponseAllOf.php | 1 - lib/Model/ProductPricingV0/ListingOffersRequest.php | 1 - lib/Model/ProductPricingV0/ListingOffersRequestParams.php | 1 - .../ProductPricingV0/ListingOffersRequestParamsAllOf.php | 1 - lib/Model/ProductPricingV0/ListingOffersResponse.php | 1 - lib/Model/ProductPricingV0/ListingOffersResponseAllOf.php | 1 - lib/Model/ProductPricingV0/LowestPriceType.php | 1 - lib/Model/ProductPricingV0/MoneyType.php | 1 - lib/Model/ProductPricingV0/OfferCountType.php | 1 - lib/Model/ProductPricingV0/OfferDetail.php | 1 - lib/Model/ProductPricingV0/OfferListingCountType.php | 1 - lib/Model/ProductPricingV0/OfferType.php | 1 - lib/Model/ProductPricingV0/Points.php | 1 - lib/Model/ProductPricingV0/Price.php | 1 - lib/Model/ProductPricingV0/PriceType.php | 1 - lib/Model/ProductPricingV0/PrimeInformationType.php | 1 - lib/Model/ProductPricingV0/Product.php | 1 - lib/Model/ProductPricingV0/QuantityDiscountPriceType.php | 1 - lib/Model/ProductPricingV0/SalesRankType.php | 1 - lib/Model/ProductPricingV0/SellerFeedbackType.php | 1 - lib/Model/ProductPricingV0/SellerSKUIdentifier.php | 1 - lib/Model/ProductPricingV0/ShipsFromType.php | 1 - lib/Model/ProductPricingV0/Summary.php | 1 - 49 files changed, 1 insertion(+), 55 deletions(-) diff --git a/lib/Api/ProductPricingV0Api.php b/lib/Api/ProductPricingV0Api.php index c7a0a39c0..2c8b43cde 100644 --- a/lib/Api/ProductPricingV0Api.php +++ b/lib/Api/ProductPricingV0Api.php @@ -533,7 +533,6 @@ public function getCompetitivePricingRequest($marketplace_id, $item_type, $asins } } - $defaultHeaders = []; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -962,7 +961,6 @@ public function getItemOffersRequest($marketplace_id, $item_condition, $asin, $c } } - $defaultHeaders = []; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1337,7 +1335,6 @@ public function getItemOffersBatchRequest($get_item_offers_batch_request_body) } } - $defaultHeaders = []; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1766,7 +1763,6 @@ public function getListingOffersRequest($marketplace_id, $item_condition, $selle } } - $defaultHeaders = []; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -2141,7 +2137,6 @@ public function getListingOffersBatchRequest($get_listing_offers_batch_request_b } } - $defaultHeaders = []; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -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(); diff --git a/lib/Model/ProductPricingV0/ASINIdentifier.php b/lib/Model/ProductPricingV0/ASINIdentifier.php index 36ef9fdb9..b6649d256 100644 --- a/lib/Model/ProductPricingV0/ASINIdentifier.php +++ b/lib/Model/ProductPricingV0/ASINIdentifier.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/BatchOffersRequestParams.php b/lib/Model/ProductPricingV0/BatchOffersRequestParams.php index ea989f65d..10355c3cc 100644 --- a/lib/Model/ProductPricingV0/BatchOffersRequestParams.php +++ b/lib/Model/ProductPricingV0/BatchOffersRequestParams.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/BatchOffersResponse.php b/lib/Model/ProductPricingV0/BatchOffersResponse.php index a5a7cd914..9a0aec037 100644 --- a/lib/Model/ProductPricingV0/BatchOffersResponse.php +++ b/lib/Model/ProductPricingV0/BatchOffersResponse.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/BatchRequest.php b/lib/Model/ProductPricingV0/BatchRequest.php index 9f1c856a9..d2c3ce291 100644 --- a/lib/Model/ProductPricingV0/BatchRequest.php +++ b/lib/Model/ProductPricingV0/BatchRequest.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/BuyBoxPriceType.php b/lib/Model/ProductPricingV0/BuyBoxPriceType.php index 732624736..0fb5d75dd 100644 --- a/lib/Model/ProductPricingV0/BuyBoxPriceType.php +++ b/lib/Model/ProductPricingV0/BuyBoxPriceType.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/CompetitivePriceType.php b/lib/Model/ProductPricingV0/CompetitivePriceType.php index 7348a44c5..120a6063f 100644 --- a/lib/Model/ProductPricingV0/CompetitivePriceType.php +++ b/lib/Model/ProductPricingV0/CompetitivePriceType.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/CompetitivePricingType.php b/lib/Model/ProductPricingV0/CompetitivePricingType.php index c389ab974..2ef4e0e9d 100644 --- a/lib/Model/ProductPricingV0/CompetitivePricingType.php +++ b/lib/Model/ProductPricingV0/CompetitivePricingType.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/DetailedShippingTimeType.php b/lib/Model/ProductPricingV0/DetailedShippingTimeType.php index aace5abfc..a95f6ab37 100644 --- a/lib/Model/ProductPricingV0/DetailedShippingTimeType.php +++ b/lib/Model/ProductPricingV0/DetailedShippingTimeType.php @@ -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( diff --git a/lib/Model/ProductPricingV0/Error.php b/lib/Model/ProductPricingV0/Error.php index 388740c7f..118032d6c 100644 --- a/lib/Model/ProductPricingV0/Error.php +++ b/lib/Model/ProductPricingV0/Error.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/Errors.php b/lib/Model/ProductPricingV0/Errors.php index 12b17aafa..7621731f2 100644 --- a/lib/Model/ProductPricingV0/Errors.php +++ b/lib/Model/ProductPricingV0/Errors.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/GetItemOffersBatchRequest.php b/lib/Model/ProductPricingV0/GetItemOffersBatchRequest.php index 179b88177..ee4130f28 100644 --- a/lib/Model/ProductPricingV0/GetItemOffersBatchRequest.php +++ b/lib/Model/ProductPricingV0/GetItemOffersBatchRequest.php @@ -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."; } diff --git a/lib/Model/ProductPricingV0/GetItemOffersBatchResponse.php b/lib/Model/ProductPricingV0/GetItemOffersBatchResponse.php index 4a3c53b8b..38b4166a9 100644 --- a/lib/Model/ProductPricingV0/GetItemOffersBatchResponse.php +++ b/lib/Model/ProductPricingV0/GetItemOffersBatchResponse.php @@ -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."; } diff --git a/lib/Model/ProductPricingV0/GetListingOffersBatchRequest.php b/lib/Model/ProductPricingV0/GetListingOffersBatchRequest.php index 6f62ccc90..a315dc316 100644 --- a/lib/Model/ProductPricingV0/GetListingOffersBatchRequest.php +++ b/lib/Model/ProductPricingV0/GetListingOffersBatchRequest.php @@ -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."; } diff --git a/lib/Model/ProductPricingV0/GetListingOffersBatchResponse.php b/lib/Model/ProductPricingV0/GetListingOffersBatchResponse.php index a331b99df..0f8acedd4 100644 --- a/lib/Model/ProductPricingV0/GetListingOffersBatchResponse.php +++ b/lib/Model/ProductPricingV0/GetListingOffersBatchResponse.php @@ -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."; } diff --git a/lib/Model/ProductPricingV0/GetOffersHttpStatusLine.php b/lib/Model/ProductPricingV0/GetOffersHttpStatusLine.php index 38a1f1b64..b198e2bd0 100644 --- a/lib/Model/ProductPricingV0/GetOffersHttpStatusLine.php +++ b/lib/Model/ProductPricingV0/GetOffersHttpStatusLine.php @@ -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."; } diff --git a/lib/Model/ProductPricingV0/GetOffersResponse.php b/lib/Model/ProductPricingV0/GetOffersResponse.php index ec78f5b01..be3e3e425 100644 --- a/lib/Model/ProductPricingV0/GetOffersResponse.php +++ b/lib/Model/ProductPricingV0/GetOffersResponse.php @@ -197,7 +197,6 @@ public function __construct(array $data = null) public function listInvalidProperties() { $invalidProperties = []; - return $invalidProperties; } diff --git a/lib/Model/ProductPricingV0/GetOffersResult.php b/lib/Model/ProductPricingV0/GetOffersResult.php index 6ea307456..f00988dca 100644 --- a/lib/Model/ProductPricingV0/GetOffersResult.php +++ b/lib/Model/ProductPricingV0/GetOffersResult.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/GetPricingResponse.php b/lib/Model/ProductPricingV0/GetPricingResponse.php index f5f6b7f35..2a6dc6887 100644 --- a/lib/Model/ProductPricingV0/GetPricingResponse.php +++ b/lib/Model/ProductPricingV0/GetPricingResponse.php @@ -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."; } diff --git a/lib/Model/ProductPricingV0/HttpResponseHeaders.php b/lib/Model/ProductPricingV0/HttpResponseHeaders.php index aa001b9e3..faff0f9cd 100644 --- a/lib/Model/ProductPricingV0/HttpResponseHeaders.php +++ b/lib/Model/ProductPricingV0/HttpResponseHeaders.php @@ -193,8 +193,7 @@ public function __construct(array $data = null) */ public function listInvalidProperties() { - $invalidProperties = parent::listInvalidProperties(); - + $invalidProperties = []; return $invalidProperties; } diff --git a/lib/Model/ProductPricingV0/IdentifierType.php b/lib/Model/ProductPricingV0/IdentifierType.php index d0d763aeb..46f0b4f31 100644 --- a/lib/Model/ProductPricingV0/IdentifierType.php +++ b/lib/Model/ProductPricingV0/IdentifierType.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/ItemIdentifier.php b/lib/Model/ProductPricingV0/ItemIdentifier.php index bcac2291f..1de796c4b 100644 --- a/lib/Model/ProductPricingV0/ItemIdentifier.php +++ b/lib/Model/ProductPricingV0/ItemIdentifier.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/ItemOffersRequest.php b/lib/Model/ProductPricingV0/ItemOffersRequest.php index bd6fad586..3ba3ec0b4 100644 --- a/lib/Model/ProductPricingV0/ItemOffersRequest.php +++ b/lib/Model/ProductPricingV0/ItemOffersRequest.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/ItemOffersRequestParams.php b/lib/Model/ProductPricingV0/ItemOffersRequestParams.php index 87df85eb6..67a23e683 100644 --- a/lib/Model/ProductPricingV0/ItemOffersRequestParams.php +++ b/lib/Model/ProductPricingV0/ItemOffersRequestParams.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/ItemOffersRequestParamsAllOf.php b/lib/Model/ProductPricingV0/ItemOffersRequestParamsAllOf.php index 474a31a30..130b6e2ee 100644 --- a/lib/Model/ProductPricingV0/ItemOffersRequestParamsAllOf.php +++ b/lib/Model/ProductPricingV0/ItemOffersRequestParamsAllOf.php @@ -187,7 +187,6 @@ public function __construct(array $data = null) public function listInvalidProperties() { $invalidProperties = []; - return $invalidProperties; } diff --git a/lib/Model/ProductPricingV0/ItemOffersResponse.php b/lib/Model/ProductPricingV0/ItemOffersResponse.php index 11d402dbd..10cc6276b 100644 --- a/lib/Model/ProductPricingV0/ItemOffersResponse.php +++ b/lib/Model/ProductPricingV0/ItemOffersResponse.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/ItemOffersResponseAllOf.php b/lib/Model/ProductPricingV0/ItemOffersResponseAllOf.php index 5fc4f5ea2..46b95571f 100644 --- a/lib/Model/ProductPricingV0/ItemOffersResponseAllOf.php +++ b/lib/Model/ProductPricingV0/ItemOffersResponseAllOf.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/ListingOffersRequest.php b/lib/Model/ProductPricingV0/ListingOffersRequest.php index 7fc742356..e53338979 100644 --- a/lib/Model/ProductPricingV0/ListingOffersRequest.php +++ b/lib/Model/ProductPricingV0/ListingOffersRequest.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/ListingOffersRequestParams.php b/lib/Model/ProductPricingV0/ListingOffersRequestParams.php index 6c10cc002..e46889b90 100644 --- a/lib/Model/ProductPricingV0/ListingOffersRequestParams.php +++ b/lib/Model/ProductPricingV0/ListingOffersRequestParams.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/ListingOffersRequestParamsAllOf.php b/lib/Model/ProductPricingV0/ListingOffersRequestParamsAllOf.php index e0247f505..c4e5a48c9 100644 --- a/lib/Model/ProductPricingV0/ListingOffersRequestParamsAllOf.php +++ b/lib/Model/ProductPricingV0/ListingOffersRequestParamsAllOf.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/ListingOffersResponse.php b/lib/Model/ProductPricingV0/ListingOffersResponse.php index 53e18e56b..bbba22bd6 100644 --- a/lib/Model/ProductPricingV0/ListingOffersResponse.php +++ b/lib/Model/ProductPricingV0/ListingOffersResponse.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/ListingOffersResponseAllOf.php b/lib/Model/ProductPricingV0/ListingOffersResponseAllOf.php index 5a6ee6404..4ef316d25 100644 --- a/lib/Model/ProductPricingV0/ListingOffersResponseAllOf.php +++ b/lib/Model/ProductPricingV0/ListingOffersResponseAllOf.php @@ -187,7 +187,6 @@ public function __construct(array $data = null) public function listInvalidProperties() { $invalidProperties = []; - return $invalidProperties; } diff --git a/lib/Model/ProductPricingV0/LowestPriceType.php b/lib/Model/ProductPricingV0/LowestPriceType.php index 758b09b68..c7c31a9e0 100644 --- a/lib/Model/ProductPricingV0/LowestPriceType.php +++ b/lib/Model/ProductPricingV0/LowestPriceType.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/MoneyType.php b/lib/Model/ProductPricingV0/MoneyType.php index 177cc2f64..ad39b82cc 100644 --- a/lib/Model/ProductPricingV0/MoneyType.php +++ b/lib/Model/ProductPricingV0/MoneyType.php @@ -193,7 +193,6 @@ public function __construct(array $data = null) public function listInvalidProperties() { $invalidProperties = []; - return $invalidProperties; } diff --git a/lib/Model/ProductPricingV0/OfferCountType.php b/lib/Model/ProductPricingV0/OfferCountType.php index f4b7c7420..20e7b9bdb 100644 --- a/lib/Model/ProductPricingV0/OfferCountType.php +++ b/lib/Model/ProductPricingV0/OfferCountType.php @@ -200,7 +200,6 @@ public function __construct(array $data = null) public function listInvalidProperties() { $invalidProperties = []; - return $invalidProperties; } diff --git a/lib/Model/ProductPricingV0/OfferDetail.php b/lib/Model/ProductPricingV0/OfferDetail.php index 924e6bf7d..54e8fd6fe 100644 --- a/lib/Model/ProductPricingV0/OfferDetail.php +++ b/lib/Model/ProductPricingV0/OfferDetail.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/OfferListingCountType.php b/lib/Model/ProductPricingV0/OfferListingCountType.php index efa07dbb0..6c8293638 100644 --- a/lib/Model/ProductPricingV0/OfferListingCountType.php +++ b/lib/Model/ProductPricingV0/OfferListingCountType.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/OfferType.php b/lib/Model/ProductPricingV0/OfferType.php index 7b421ca45..f3ddff07e 100644 --- a/lib/Model/ProductPricingV0/OfferType.php +++ b/lib/Model/ProductPricingV0/OfferType.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/Points.php b/lib/Model/ProductPricingV0/Points.php index 0c915139f..087e59bbb 100644 --- a/lib/Model/ProductPricingV0/Points.php +++ b/lib/Model/ProductPricingV0/Points.php @@ -193,7 +193,6 @@ public function __construct(array $data = null) public function listInvalidProperties() { $invalidProperties = []; - return $invalidProperties; } diff --git a/lib/Model/ProductPricingV0/Price.php b/lib/Model/ProductPricingV0/Price.php index 451ec29db..22a262960 100644 --- a/lib/Model/ProductPricingV0/Price.php +++ b/lib/Model/ProductPricingV0/Price.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/PriceType.php b/lib/Model/ProductPricingV0/PriceType.php index feb8071df..c158e672c 100644 --- a/lib/Model/ProductPricingV0/PriceType.php +++ b/lib/Model/ProductPricingV0/PriceType.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/PrimeInformationType.php b/lib/Model/ProductPricingV0/PrimeInformationType.php index e35dcb648..e73a448f8 100644 --- a/lib/Model/ProductPricingV0/PrimeInformationType.php +++ b/lib/Model/ProductPricingV0/PrimeInformationType.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/Product.php b/lib/Model/ProductPricingV0/Product.php index 273444cd4..fd1b6a19b 100644 --- a/lib/Model/ProductPricingV0/Product.php +++ b/lib/Model/ProductPricingV0/Product.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/QuantityDiscountPriceType.php b/lib/Model/ProductPricingV0/QuantityDiscountPriceType.php index a4833e9d2..49747fdb5 100644 --- a/lib/Model/ProductPricingV0/QuantityDiscountPriceType.php +++ b/lib/Model/ProductPricingV0/QuantityDiscountPriceType.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/SalesRankType.php b/lib/Model/ProductPricingV0/SalesRankType.php index 4f2893ad8..57eb0a186 100644 --- a/lib/Model/ProductPricingV0/SalesRankType.php +++ b/lib/Model/ProductPricingV0/SalesRankType.php @@ -193,7 +193,6 @@ public function __construct(array $data = null) public function listInvalidProperties() { $invalidProperties = []; - if ($this->container['product_category_id'] === null) { $invalidProperties[] = "'product_category_id' can't be null"; } diff --git a/lib/Model/ProductPricingV0/SellerFeedbackType.php b/lib/Model/ProductPricingV0/SellerFeedbackType.php index c2f8cc937..817ae0940 100644 --- a/lib/Model/ProductPricingV0/SellerFeedbackType.php +++ b/lib/Model/ProductPricingV0/SellerFeedbackType.php @@ -194,7 +194,6 @@ public function __construct(array $data = null) public function listInvalidProperties() { $invalidProperties = []; - if ($this->container['feedback_count'] === null) { $invalidProperties[] = "'feedback_count' can't be null"; } diff --git a/lib/Model/ProductPricingV0/SellerSKUIdentifier.php b/lib/Model/ProductPricingV0/SellerSKUIdentifier.php index 9304b8b35..07f08aff4 100644 --- a/lib/Model/ProductPricingV0/SellerSKUIdentifier.php +++ b/lib/Model/ProductPricingV0/SellerSKUIdentifier.php @@ -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"; } diff --git a/lib/Model/ProductPricingV0/ShipsFromType.php b/lib/Model/ProductPricingV0/ShipsFromType.php index 49cfc8040..d4996b39d 100644 --- a/lib/Model/ProductPricingV0/ShipsFromType.php +++ b/lib/Model/ProductPricingV0/ShipsFromType.php @@ -194,7 +194,6 @@ public function __construct(array $data = null) public function listInvalidProperties() { $invalidProperties = []; - return $invalidProperties; } diff --git a/lib/Model/ProductPricingV0/Summary.php b/lib/Model/ProductPricingV0/Summary.php index 230382112..c9850598a 100644 --- a/lib/Model/ProductPricingV0/Summary.php +++ b/lib/Model/ProductPricingV0/Summary.php @@ -242,7 +242,6 @@ public function __construct(array $data = null) public function listInvalidProperties() { $invalidProperties = []; - if ($this->container['total_offer_count'] === null) { $invalidProperties[] = "'total_offer_count' can't be null"; }