<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">&lt;?php
use \WsdlToPhp\PackageBase\AbstractSoapClientBase;

/**
 * This class stands for all operations
 * @subpackage Services
 */
class Service extends AbstractSoapClientBase
{
    /**
     * Method to call the operation originally named cancel
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param Cancel $parameters
     * @return CancelResponse|bool
     */
    public function cancel(Cancel $parameters)
    {
        try {
            $this-&gt;setResult($this-&gt;getSoapClient()-&gt;cancel($parameters));
            return $this-&gt;getResult();
        } catch (\SoapFault $soapFault) {
            $this-&gt;saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named getLabels
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param GetLabels $parameters
     * @return GetLabelsResponse|bool
     */
    public function getLabels(GetLabels $parameters)
    {
        try {
            $this-&gt;setResult($this-&gt;getSoapClient()-&gt;getLabels($parameters));
            return $this-&gt;getResult();
        } catch (\SoapFault $soapFault) {
            $this-&gt;saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named manifest
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param Manifest $parameters
     * @return ManifestResponse|bool
     */
    public function manifest(Manifest $parameters)
    {
        try {
            $this-&gt;setResult($this-&gt;getSoapClient()-&gt;manifest($parameters));
            return $this-&gt;getResult();
        } catch (\SoapFault $soapFault) {
            $this-&gt;saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named track
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param Track $parameters
     * @return TrackResponse|bool
     */
    public function track(Track $parameters)
    {
        try {
            $this-&gt;setResult($this-&gt;getSoapClient()-&gt;track($parameters));
            return $this-&gt;getResult();
        } catch (\SoapFault $soapFault) {
            $this-&gt;saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named book
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param Book $parameters
     * @return BookResponse|bool
     */
    public function book(Book $parameters)
    {
        try {
            $this-&gt;setResult($this-&gt;getSoapClient()-&gt;book($parameters));
            return $this-&gt;getResult();
        } catch (\SoapFault $soapFault) {
            $this-&gt;saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named rates
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param Rates $parameters
     * @return RatesResponse|bool
     */
    public function rates(Rates $parameters)
    {
        try {
            $this-&gt;setResult($this-&gt;getSoapClient()-&gt;rates($parameters));
            return $this-&gt;getResult();
        } catch (\SoapFault $soapFault) {
            $this-&gt;saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named bills
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param Bills $parameters
     * @return BillsResponse|bool
     */
    public function bills(Bills $parameters)
    {
        try {
            $this-&gt;setResult($this-&gt;getSoapClient()-&gt;bills($parameters));
            return $this-&gt;getResult();
        } catch (\SoapFault $soapFault) {
            $this-&gt;saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named printLabels
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param PrintLabels $parameters
     * @return PrintLabelsResponse|bool
     */
    public function printLabels(PrintLabels $parameters)
    {
        try {
            $this-&gt;setResult($this-&gt;getSoapClient()-&gt;printLabels($parameters));
            return $this-&gt;getResult();
        } catch (\SoapFault $soapFault) {
            $this-&gt;saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named getCost
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param GetCost $parameters
     * @return GetCostResponse|bool
     */
    public function getCost(GetCost $parameters)
    {
        try {
            $this-&gt;setResult($this-&gt;getSoapClient()-&gt;getCost($parameters));
            return $this-&gt;getResult();
        } catch (\SoapFault $soapFault) {
            $this-&gt;saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Returns the result
     * @see AbstractSoapClientBase::getResult()
     * @return BillsResponse|BookResponse|CancelResponse|GetCostResponse|GetLabelsResponse|ManifestResponse|PrintLabelsResponse|RatesResponse|TrackResponse
     */
    public function getResult()
    {
        return parent::getResult();
    }
}
</pre></body></html>