Source for file GetItemShipping.php
Documentation is available at GetItemShipping.php
* Get shipping costs for an item
* $Id: GetItemShipping.php,v 1.1 2004/10/28 17:14:53 schst Exp $
* @author Stephan Schmidt <schst@php.net>
protected $verb = 'GetItemShipping';
* parameter map that is used, when scalar parameters are passed
* @param object Services_Ebay_Session
public function call(Services_Ebay_Session $session)
$return = parent ::call($session);
if (isset ($return['ShippingRate']['ShippingServiceOptions']['ShippingServiceOption'][0 ])) {
$return['ShippingRate']['ShippingServiceOptions'] = $return['ShippingRate']['ShippingServiceOptions']['ShippingServiceOption'];
unset ($return['ShippingRate']['ShippingServiceOptions']['ShippingServiceOption']);
$return['ShippingRate']['ShippingServiceOptions'] = array ( $return['ShippingRate']['ShippingServiceOptions']['ShippingServiceOption'] );
unset ($return['ShippingRate']['ShippingServiceOptions']['ShippingServiceOption']);
return $return['ShippingRate'];
Documentation generated on Mon, 11 Mar 2019 13:58:46 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|