<?php
use \WsdlToPhp\PackageBase\AbstractSoapClientBase;

/**
 * This class stands for all operations
 * @subpackage Services
 */
class DoChangeDNDStatus extends AbstractSoapClientBase
{
    /**
     * Method to call the operation originally named doChangeDNDStatus
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param DoChangeDNDStatusReq $axlParams
     * @return DoChangeDNDStatusRes|bool
     */
    public function doChangeDNDStatus(DoChangeDNDStatusReq $axlParams)
    {
        try {
            $this->setResult(self::getSoapClient()->doChangeDNDStatus($axlParams));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Returns the result
     * @see AbstractSoapClientBase::getResult()
     * @return DoChangeDNDStatusRes
     */
    public function getResult()
    {
        return parent::getResult();
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
