Showing 2,539 of 3,709 total issues
Method bulkDeleteAdsByInventoryReferenceRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function bulkDeleteAdsByInventoryReferenceRequest($campaign_id, $bulk_delete_ads_by_inventory_reference_request)
{
// Verify the required parameter 'campaign_id' is set.
if ($campaign_id === null || (\is_array($campaign_id) && count($campaign_id) === 0)) {
throw new \InvalidArgumentException('Missing the required parameter $campaign_id when calling bulkDeleteAdsByInventoryReference');
Method createAdsByInventoryReferenceRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createAdsByInventoryReferenceRequest($campaign_id, $create_ads_by_inventory_reference_request)
{
// Verify the required parameter 'campaign_id' is set.
if ($campaign_id === null || (\is_array($campaign_id) && count($campaign_id) === 0)) {
throw new \InvalidArgumentException('Missing the required parameter $campaign_id when calling createAdsByInventoryReference');
Method bulkDeleteAdsByListingIdRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function bulkDeleteAdsByListingIdRequest($campaign_id, $bulk_delete_ad_request)
{
// Verify the required parameter 'campaign_id' is set.
if ($campaign_id === null || (\is_array($campaign_id) && count($campaign_id) === 0)) {
throw new \InvalidArgumentException('Missing the required parameter $campaign_id when calling bulkDeleteAdsByListingId');
Method bulkUpdateAdsBidByInventoryReferenceRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function bulkUpdateAdsBidByInventoryReferenceRequest($campaign_id, $bulk_create_ads_by_inventory_reference_request)
{
// Verify the required parameter 'campaign_id' is set.
if ($campaign_id === null || (\is_array($campaign_id) && count($campaign_id) === 0)) {
throw new \InvalidArgumentException('Missing the required parameter $campaign_id when calling bulkUpdateAdsBidByInventoryReference');
Method bulkUpdateAdsBidByListingIdRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function bulkUpdateAdsBidByListingIdRequest($campaign_id, $bulk_create_ad_request)
{
// Verify the required parameter 'campaign_id' is set.
if ($campaign_id === null || (\is_array($campaign_id) && count($campaign_id) === 0)) {
throw new \InvalidArgumentException('Missing the required parameter $campaign_id when calling bulkUpdateAdsBidByListingId');
Method bulkCreateAdsByListingIdRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function bulkCreateAdsByListingIdRequest($campaign_id, $bulk_create_ad_request)
{
// Verify the required parameter 'campaign_id' is set.
if ($campaign_id === null || (\is_array($campaign_id) && count($campaign_id) === 0)) {
throw new \InvalidArgumentException('Missing the required parameter $campaign_id when calling bulkCreateAdsByListingId');
Method bulkUpdateAdsStatusRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function bulkUpdateAdsStatusRequest($campaign_id, $bulk_update_ad_status_request)
{
// Verify the required parameter 'campaign_id' is set.
if ($campaign_id === null || (\is_array($campaign_id) && count($campaign_id) === 0)) {
throw new \InvalidArgumentException('Missing the required parameter $campaign_id when calling bulkUpdateAdsStatus');
Method updateReturnPolicyRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function updateReturnPolicyRequest($return_policy_id, $return_policy_request)
{
// Verify the required parameter 'return_policy_id' is set.
if ($return_policy_id === null || (\is_array($return_policy_id) && count($return_policy_id) === 0)) {
throw new \InvalidArgumentException('Missing the required parameter $return_policy_id when calling updateReturnPolicy');
Method updatePaymentPolicyRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function updatePaymentPolicyRequest($payment_policy_id, $payment_policy_request)
{
// Verify the required parameter 'payment_policy_id' is set.
if ($payment_policy_id === null || (\is_array($payment_policy_id) && count($payment_policy_id) === 0)) {
throw new \InvalidArgumentException('Missing the required parameter $payment_policy_id when calling updatePaymentPolicy');
Method updateFulfillmentPolicyRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function updateFulfillmentPolicyRequest($fulfillment_policy_id, $fulfillment_policy_request)
{
// Verify the required parameter 'fulfillment_policy_id' is set.
if ($fulfillment_policy_id === null || (\is_array($fulfillment_policy_id) && count($fulfillment_policy_id) === 0)) {
throw new \InvalidArgumentException('Missing the required parameter $fulfillment_policy_id when calling updateFulfillmentPolicy');
Method getInventoryLocationsRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getInventoryLocationsRequest($limit = null, $offset = null)
{
$resourcePath = '/location';
$formParams = [];
$queryParams = [];
ShippingOptionSummary
has 26 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class ShippingOptionSummary implements ModelInterface, \ArrayAccess, \JsonSerializable
{
public const DISCRIMINATOR = null;
/**
Refinement
has 26 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Refinement implements ModelInterface, \ArrayAccess, \JsonSerializable
{
public const DISCRIMINATOR = null;
/**
Method __construct
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __construct(array $data = null)
{
$this->container['additional_images'] = $data['additional_images'] ?? null;
$this->container['addon_services'] = $data['addon_services'] ?? null;
$this->container['adult_only'] = $data['adult_only'] ?? null;
SellerDetail
has 26 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SellerDetail implements ModelInterface, \ArrayAccess, \JsonSerializable
{
public const DISCRIMINATOR = null;
/**
RemoteShopcartResponse
has 26 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class RemoteShopcartResponse implements ModelInterface, \ArrayAccess, \JsonSerializable
{
public const DISCRIMINATOR = null;
/**
FileMetadataSearchResponse
has 26 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class FileMetadataSearchResponse implements ModelInterface, \ArrayAccess, \JsonSerializable
{
public const DISCRIMINATOR = null;
/**
FeedTypeSearchResponse
has 26 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class FeedTypeSearchResponse implements ModelInterface, \ArrayAccess, \JsonSerializable
{
public const DISCRIMINATOR = null;
/**
Refinement
has 26 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Refinement implements ModelInterface, \ArrayAccess, \JsonSerializable
{
public const DISCRIMINATOR = null;
/**
NegotiatedPricePolicy
has 26 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class NegotiatedPricePolicy implements ModelInterface, \ArrayAccess, \JsonSerializable
{
public const DISCRIMINATOR = null;
/**