CaMykS 1.0-20261010
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Payline\SoapVarFactory Class Reference

Public Member Functions

 create ($elementKey, $data)
 
 createObject ($elementKey, $data=null, $baseClassname=null)
 

Public Attributes

const ROOT_CLASSNAME = "Payline\\Objects\\"
 
const SOAP_ADDRESS = 'address'
 
const PAYLINE_NAMESPACE = 'http://obj.ws.payline.experian.com'
 

Protected Member Functions

 getSoapVarType ($elementKey, $baseClassname)
 
 getSoapVar ($newObject, $varType)
 
 fillObject (array $array, $object)
 
 needCreateObjectProperty ($object, $property, $baseClassname=null)
 
 getPaylineClassname ($elementKey, $baseClassname=null)
 
 userDataIsNotEmpty ($data)
 

Member Function Documentation

◆ create()

Payline\SoapVarFactory::create (   $elementKey,
  $data 
)
Parameters
$elementKey
$data
Returns
array|object|\SoapVar|null

◆ createObject()

Payline\SoapVarFactory::createObject (   $elementKey,
  $data = null,
  $baseClassname = null 
)
Parameters
$elementKey
$data
$default
Returns
object|array|null

◆ getSoapVarType()

Payline\SoapVarFactory::getSoapVarType (   $elementKey,
  $baseClassname 
)
protected

Get SOAP var type Should be same type as base classname Manage exceptions: Buyer/BillingAddress, Buyer/ShippingAdress and Wallet/ShippingAddress

Parameters
$elementKey
$baseClassname
Returns
mixed|string

◆ getSoapVar()

Payline\SoapVarFactory::getSoapVar (   $newObject,
  $varType 
)
protected
Parameters
$newObject
$varType
Returns
\SoapVar

◆ fillObject()

Payline\SoapVarFactory::fillObject ( array  $array,
  $object 
)
protected
Parameters
array$array
object$object
Returns
object|null

◆ needCreateObjectProperty()

Payline\SoapVarFactory::needCreateObjectProperty (   $object,
  $property,
  $baseClassname = null 
)
protected
Parameters
object$object
$property
Returns
bool

◆ getPaylineClassname()

Payline\SoapVarFactory::getPaylineClassname (   $elementKey,
  $baseClassname = null 
)
protected
Parameters
$elementKey
Returns
false|string

◆ userDataIsNotEmpty()

Payline\SoapVarFactory::userDataIsNotEmpty (   $data)
protected

Test user data

Parameters
$data
Returns
bool

Member Data Documentation

◆ ROOT_CLASSNAME

const Payline\SoapVarFactory::ROOT_CLASSNAME = "Payline\\Objects\\"

Basename namespace for WSDLs objects

◆ SOAP_ADDRESS

const Payline\SoapVarFactory::SOAP_ADDRESS = 'address'

SOAP name of address object

◆ PAYLINE_NAMESPACE

const Payline\SoapVarFactory::PAYLINE_NAMESPACE = 'http://obj.ws.payline.experian.com'

namespace used in web services descriptor


The documentation for this class was generated from the following file: