Showing 3,709 of 3,709 total issues
Method cloneCampaignRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function cloneCampaignRequest($campaign_id, $clone_campaign_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 cloneCampaign');
Method updateAdRateStrategyRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function updateAdRateStrategyRequest($campaign_id, $update_adrate_strategy_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 updateAdRateStrategy');
Method deleteAdsByInventoryReferenceRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function deleteAdsByInventoryReferenceRequest($campaign_id, $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 deleteAdsByInventoryReference');
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 updateCampaignIdentificationRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function updateCampaignIdentificationRequest($campaign_id, $update_campaign_identification_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 updateCampaignIdentification');
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 updateCampaignBudgetRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function updateCampaignBudgetRequest($campaign_id, $update_campaign_budget_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 updateCampaignBudget');
Method createAdByListingIdRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createAdByListingIdRequest($campaign_id, $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 createAdByListingId');
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 = [];
RemoteShopcartResponse
has 26 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class RemoteShopcartResponse 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;
/**
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;
/**
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;
/**