Showing 2,539 of 3,709 total issues
Method getPaymentPolicyByNameRequest
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getPaymentPolicyByNameRequest($marketplace_id, $name)
{
// Verify the required parameter 'marketplace_id' is set.
if ($marketplace_id === null || (\is_array($marketplace_id) && count($marketplace_id) === 0)) {
throw new \InvalidArgumentException('Missing the required parameter $marketplace_id when calling getPaymentPolicyByName');
Method placeProxyBidRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function placeProxyBidRequest($item_id, $x_ebay_c_marketplace_id, $place_proxy_bid_request = null)
{
// Verify the required parameter 'item_id' is set.
if ($item_id === null || (\is_array($item_id) && count($item_id) === 0)) {
throw new \InvalidArgumentException('Missing the required parameter $item_id when calling placeProxyBid');
Method removeGuestCouponRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function removeGuestCouponRequest($checkout_session_id, $x_ebay_c_marketplace_id, $coupon_request = null)
{
// Verify the required parameter 'checkout_session_id' is set.
if ($checkout_session_id === null || (\is_array($checkout_session_id) && count($checkout_session_id) === 0)) {
throw new \InvalidArgumentException('Missing the required parameter $checkout_session_id when calling removeGuestCoupon');
Method updateGuestShippingOptionRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function updateGuestShippingOptionRequest($checkout_session_id, $x_ebay_c_marketplace_id, $update_shipping_option = null)
{
// Verify the required parameter 'checkout_session_id' is set.
if ($checkout_session_id === null || (\is_array($checkout_session_id) && count($checkout_session_id) === 0)) {
throw new \InvalidArgumentException('Missing the required parameter $checkout_session_id when calling updateGuestShippingOption');
Method updateGuestQuantityRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function updateGuestQuantityRequest($checkout_session_id, $x_ebay_c_marketplace_id, $update_quantity = null)
{
// Verify the required parameter 'checkout_session_id' is set.
if ($checkout_session_id === null || (\is_array($checkout_session_id) && count($checkout_session_id) === 0)) {
throw new \InvalidArgumentException('Missing the required parameter $checkout_session_id when calling updateGuestQuantity');
Method updateGuestShippingAddressRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function updateGuestShippingAddressRequest($checkout_session_id, $x_ebay_c_marketplace_id, $shipping_address_impl = null)
{
// Verify the required parameter 'checkout_session_id' is set.
if ($checkout_session_id === null || (\is_array($checkout_session_id) && count($checkout_session_id) === 0)) {
throw new \InvalidArgumentException('Missing the required parameter $checkout_session_id when calling updateGuestShippingAddress');
Method applyGuestCouponRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function applyGuestCouponRequest($checkout_session_id, $x_ebay_c_marketplace_id, $coupon_request = null)
{
// Verify the required parameter 'checkout_session_id' is set.
if ($checkout_session_id === null || (\is_array($checkout_session_id) && count($checkout_session_id) === 0)) {
throw new \InvalidArgumentException('Missing the required parameter $checkout_session_id when calling applyGuestCoupon');
Method updateNegativeKeywordRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function updateNegativeKeywordRequest($negative_keyword_id, $update_negative_keyword_request)
{
// Verify the required parameter 'negative_keyword_id' is set.
if ($negative_keyword_id === null || (\is_array($negative_keyword_id) && count($negative_keyword_id) === 0)) {
throw new \InvalidArgumentException('Missing the required parameter $negative_keyword_id when calling updateNegativeKeyword');
Method bulkCreateKeywordRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function bulkCreateKeywordRequest($campaign_id, $bulk_create_keyword_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 bulkCreateKeyword');
Method createKeywordRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createKeywordRequest($campaign_id, $create_keyword_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 createKeyword');
Method bulkUpdateAdsStatusByListingIdRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function bulkUpdateAdsStatusByListingIdRequest($campaign_id, $bulk_update_ad_status_by_listing_id_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 bulkUpdateAdsStatusByListingId');
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 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 createAdGroupRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createAdGroupRequest($campaign_id, $create_ad_group_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 createAdGroup');
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 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 bulkUpdateKeywordRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function bulkUpdateKeywordRequest($campaign_id, $bulk_update_keyword_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 bulkUpdateKeyword');
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 bulkCreateAdsByInventoryReferenceRequest
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function bulkCreateAdsByInventoryReferenceRequest($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 bulkCreateAdsByInventoryReference');
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');