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

Source for file AddDispute.php

Documentation is available at AddDispute.php

  1. <?PHP
  2. /**
  3.  * Add a dispute
  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/AddDispute/AddDisputeLogic.htm
  10.  */
  11. {
  12.    /**
  13.     * verb of the API call
  14.     *
  15.     * @var  string 
  16.     */
  17.     protected $verb = 'AddDispute';
  18.  
  19.    /**
  20.     * compatibility level this method was introduced
  21.     *
  22.     * @var  integer 
  23.     */
  24.     protected $since = 445;
  25.     
  26.    /**
  27.     * parameter map that is used, when scalar parameters are passed
  28.     *
  29.     * @var  array 
  30.     */
  31.     protected $paramMap = array(
  32.                                  'ItemID',
  33.                                  'TransactionID',
  34.                                  'DisputeReason',
  35.                                  'DisputeExplanation'
  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['Ack'=== 'Success'{
  48.             return $return['DisputeID'];
  49.         }
  50.         return false;
  51.     }
  52. }
  53. ?>

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