PHP Classes

File: tests/resources/generated/ValidApiAuthenticate.php

Recommend this page to a friend!
  Classes of WsdlToPhp   PHP SOAP Package Generator   tests/resources/generated/ValidApiAuthenticate.php   Download  
File: tests/resources/generated/ValidApiAuthenticate.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: PHP SOAP Package Generator
Generate package to call SOAP services using WSDL
Author: By
Last change:
Date: 9 years ago
Size: 3,735 bytes
 

Contents

Class file image Download
<?php

namespace Api\ServiceType;

use \
WsdlToPhp\PackageBase\AbstractSoapClientBase;

/**
 * This class stands for Authenticate ServiceType
 * @package Api
 * @subpackage Services
 * @release 1.1.0
 */
class ApiAuthenticate extends AbstractSoapClientBase
{
   
/**
     * Method to call the operation originally named AuthenticateAccount
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param AuthenticateAccount $authenticateAccount
     * @return AuthenticateAccountResponse|bool
     */
   
public function AuthenticateAccount($authenticateAccount)
    {
        try {
           
$this->setResult(self::getSoapClient()->AuthenticateAccount($authenticateAccount));
            return
$this->getResult();
        } catch (\
SoapFault $soapFault) {
           
$this->saveLastError(__METHOD__, $soapFault);
            return
false;
        }
    }
   
/**
     * Method to call the operation originally named AuthenticateAdmin
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param AuthenticateAdmin $authenticateAdmin
     * @return AuthenticateAdminResponse|bool
     */
   
public function AuthenticateAdmin($authenticateAdmin)
    {
        try {
           
$this->setResult(self::getSoapClient()->AuthenticateAdmin($authenticateAdmin));
            return
$this->getResult();
        } catch (\
SoapFault $soapFault) {
           
$this->saveLastError(__METHOD__, $soapFault);
            return
false;
        }
    }
   
/**
     * Method to call the operation originally named AuthenticateReseller
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param AuthenticateReseller $authenticateReseller
     * @return AuthenticateResellerResponse|bool
     */
   
public function AuthenticateReseller($authenticateReseller)
    {
        try {
           
$this->setResult(self::getSoapClient()->AuthenticateReseller($authenticateReseller));
            return
$this->getResult();
        } catch (\
SoapFault $soapFault) {
           
$this->saveLastError(__METHOD__, $soapFault);
            return
false;
        }
    }
   
/**
     * Method to call the operation originally named AuthenticateCustomer
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param AuthenticateCustomer $authenticateCustomer
     * @return AuthenticateCustomerResponse|bool
     */
   
public function AuthenticateCustomer($authenticateCustomer)
    {
        try {
           
$this->setResult(self::getSoapClient()->AuthenticateCustomer($authenticateCustomer));
            return
$this->getResult();
        } catch (\
SoapFault $soapFault) {
           
$this->saveLastError(__METHOD__, $soapFault);
            return
false;
        }
    }
   
/**
     * Returns the result
     * @see AbstractSoapClientBase::getResult()
     * @return AuthenticateAccountResponse|AuthenticateAdminResponse|AuthenticateCustomerResponse|AuthenticateResellerResponse
     */
   
public function getResult()
    {
        return
parent::getResult();
    }
   
/**
     * Method returning the class name
     * @return string __CLASS__
     */
   
public function __toString()
    {
        return
__CLASS__;
    }
}