Class AuthorizeNetSOAP

Description

A simple wrapper for the SOAP API as well as a helper function to generate a documentation file from the WSDL.

  • todo: Make the doc file a usable class.

Located in /lib/AuthorizeNetSOAP.php (line 18)

SoapClient
   |
   --AuthorizeNetSOAP
Class Constant Summary
 LIVE_URL = "https://api.authorize.net/soap/v1/Service.asmx"
 SANDBOX_URL = "https://apitest.authorize.net/soap/v1/Service.asmx"
 WSDL_URL = "https://api.authorize.net/soap/v1/Service.asmx?WSDL"
Variable Summary
mixed $sandbox
Method Summary
AuthorizeNetSOAP __construct ()
string getSoapMethods ()
string getSoapTypes ()
void saveSoapDocumentation ( $path)
void setSandbox (bool $bool)
Variables
mixed $sandbox (line 24)
  • access: public
Methods
Constructor __construct (line 29)

Constructor

  • access: public
AuthorizeNetSOAP __construct ()
getSoapMethods (line 67)

Get all methods as PHP Code.

  • access: public
string getSoapMethods ()
getSoapTypes (line 49)

Get all types as PHP Code.

  • access: public
string getSoapTypes ()
saveSoapDocumentation (line 85)

Create a file from the WSDL for reference.

  • access: public
void saveSoapDocumentation ( $path)
  • $path
setSandbox (line 40)

Switch between the sandbox or production gateway.

  • access: public
void setSandbox (bool $bool)
  • bool $bool

Inherited Methods

Inherited From SoapClient (Internal Class)

constructor SoapClient ( $wsdl, [$options = ] )
__call ( $function_name, $arguments )
__doRequest ( $request, $location, $action, $version, [$one_way = ] )
__getFunctions ( )
__getLastRequest ( )
__getLastRequestHeaders ( )
__getLastResponse ( )
__getLastResponseHeaders ( )
__getTypes ( )
__setCookie ( $name, [$value = ] )
__setLocation ( [$new_location = ] )
__setSoapHeaders ( $soapheaders )
__soapCall ( $function_name, $arguments, [$options = ], [$input_headers = ], [&$output_headers = ] )
Class Constants
LIVE_URL = "https://api.authorize.net/soap/v1/Service.asmx" (line 21)
SANDBOX_URL = "https://apitest.authorize.net/soap/v1/Service.asmx" (line 22)
WSDL_URL = "https://api.authorize.net/soap/v1/Service.asmx?WSDL" (line 20)

Documentation generated on Thu, 21 Oct 2010 17:31:01 +0000 by phpDocumentor 1.4.3