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

Source for file SetSellerPaymentAddress.php

Documentation is available at SetSellerPaymentAddress.php

  1. <?PHP
  2. /**
  3.  * Set the payment adress for the seller
  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/SetSellerPaymentAddress/SetSellerPaymentAddressLogic.htm
  10.  */
  11. {
  12.    /**
  13.     * verb of the API call
  14.     *
  15.     * @var  string 
  16.     */
  17.     protected $verb = 'SetSellerPaymentAddress';
  18.  
  19.    /**
  20.     * parameter map that is used, when scalar parameters are passed
  21.     *
  22.     * @var  array 
  23.     */
  24.     protected $paramMap = array(
  25.                                  'Name',
  26.                                  'Street1',
  27.                                  'Street2',
  28.                                  'City',
  29.                                  'StateOrProvince',
  30.                                  'Country',
  31.                                  'Zip',
  32.                                  'Phone'
  33.                                 );
  34.     
  35.    /**
  36.     * make the API call
  37.     *
  38.     * @param    object Services_Ebay_Session 
  39.     * @return   string 
  40.     */
  41.     public function call(Services_Ebay_Session $session)
  42.     {
  43.         $return = parent::call($session);
  44.         if ($return['CallStatus']['Status'=== 'Success'{
  45.             return true;
  46.         }
  47.         return false;
  48.     }
  49. }
  50. ?>

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