Source for file GetItemShipping.php
Documentation is available at GetItemShipping.php
* Get shipping costs for an item
* @author Stephan Schmidt <schst@php.net>
* @link http://developer.ebay.com/DevZone/docs/API_Doc/Functions/GetItemShipping/GetItemShippingLogic.htm
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['ShippingDetails']['ShippingServiceOptions'][0 ])) {
$return['ShippingDetails']['ShippingServiceOptions'] = $return['ShippingDetails']['ShippingServiceOptions'];
unset ($return['ShippingDetails']['ShippingServiceOptions']);
$return['ShippingDetails']['ShippingServiceOptions'] = array ( $return['ShippingDetails']['ShippingServiceOptions'] );
unset ($return['ShippingRate']['ShippingServiceOptions']);
return $return['ShippingDetails'];
Documentation generated on Mon, 11 Mar 2019 15:49:47 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|