Services_Ebay
[ class tree: Services_Ebay ] [ index: Services_Ebay ] [ all elements ]

Source for file GetCrossPromotions.php

Documentation is available at GetCrossPromotions.php

  1. <?PHP
  2. /**
  3.  * Get cross promotions for an items
  4.  *
  5.  * $Id$
  6.  *
  7.  * @package Services_Ebay
  8.  * @author  Stephan Schmidt <schst@php.net>
  9.  * @link    http://developer.ebay.com/DevZone/docs/API_Doc/Functions/GetCrossPromotions/GetCrossPromotions.htm
  10.  */
  11. {
  12.    /**
  13.     * verb of the API call
  14.     *
  15.     * @var  string 
  16.     */
  17.     protected $verb = 'GetCrossPromotions';
  18.  
  19.    /**
  20.     * arguments of the call
  21.     *
  22.     * @var  array 
  23.     */
  24.     protected $args = array(
  25.                             'PromotionMethod' => 'CrossSell'
  26.                         );
  27.    /**
  28.     * parameter map that is used, when scalar parameters are passed
  29.     *
  30.     * @var  array 
  31.     */
  32.     protected $paramMap = array(
  33.                                  'ItemID',
  34.                                  'PromotionMethod',
  35.                                  'PromotionViewMode'
  36.                                 );
  37.    /**
  38.     * make the API call
  39.     *
  40.     * @param    object Services_Ebay_Session 
  41.     * @return   string 
  42.     */
  43.     public function call(Services_Ebay_Session $session)
  44.     {
  45.         $return = parent::call($session);
  46.         return $return['CrossPromotion'];
  47.     }
  48. }
  49. ?>

Documentation generated on Mon, 11 Mar 2019 15:49:47 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.