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

Source for file ReviseCheckoutStatus.php

Documentation is available at ReviseCheckoutStatus.php

  1. <?PHP
  2. /**
  3.  * Revise the checkout status of a transaction
  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/ReviseCheckoutStatus/ReviseCheckoutStatusLogic.htm
  10.  */
  11. {
  12.    /**
  13.     * verb of the API call
  14.     *
  15.     * @var  string 
  16.     */
  17.     protected $verb = 'ReviseCheckoutStatus';
  18.  
  19.    /**
  20.     * parameter map that is used, when scalar parameters are passed
  21.     *
  22.     * @var  array 
  23.     */
  24.     protected $paramMap = array(
  25.                                  'ItemId',
  26.                                  'TransactionId',
  27.                                  'StatusIs',
  28.                                  'ShippingServiceSelected',
  29.                                  'PaymentMethodUsed',
  30.                                  'AmountPaid',
  31.                                  'Currency'
  32.                                 );
  33.     
  34.    /**
  35.     * make the API call
  36.     *
  37.     * @param    object Services_Ebay_Session 
  38.     * @return   string 
  39.     */
  40.     public function call(Services_Ebay_Session $session)
  41.     {
  42.         $return = parent::call($session);
  43.         if ($return['CallStatus']['Status'=== 'Success'{
  44.             return true;
  45.         }
  46.         return false;
  47.     }
  48. }
  49. ?>

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