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

Source for file SetReturnURL.php

Documentation is available at SetReturnURL.php

  1. <?PHP
  2. /**
  3.  * Set the return URL
  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/SetReturnURL/SetReturnURLLogic.htm
  10.  */
  11. {
  12.    /**
  13.     * verb of the API call
  14.     *
  15.     * @var  string 
  16.     */
  17.     protected $verb = 'SetReturnUrl';
  18.  
  19.    /**
  20.     * authentication type of the call
  21.     *
  22.     * @var  int 
  23.     */
  24.     protected $authType = Services_Ebay::AUTH_TYPE_USER;
  25.  
  26.    /**
  27.     * parameter map that is used, when scalar parameters are passed
  28.     *
  29.     * @var  array 
  30.     */
  31.     protected $paramMap = array(
  32.                                 'RuName',
  33.                                 'Action',
  34.                                 'AcceptURL',
  35.                                 'RejectURL',
  36.                                 );
  37.     
  38.    /**
  39.     * make the API call
  40.     *
  41.     * @param    object Services_Ebay_Session 
  42.     * @return   string 
  43.     */
  44.     public function call(Services_Ebay_Session $session)
  45.     {
  46.         $return = parent::call($session);
  47.         if ($return['Status'=== 'Success'{
  48.             return true;
  49.         }
  50.         return false;
  51.     }
  52. }
  53. ?>

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