\Heidelpay\PhpApi\PushMappingAbstractPushMapper

Summary

Summary

Methods
Properties
Constants
getFields()
getFieldAttributes()
getProperties()
getXmlObjectField()
getXmlObjectFieldAttribute()
getXmlObjectProperty()
$fields
$fieldAttributes
$properties
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$fields

$fields : array

The XML tags that will be mapped, e.g. the <bank> property inside of <account> Syntax follows: 'XML Tag Name' => 'Class Field Name'

Type

array

$fieldAttributes

$fieldAttributes : array

The XML Field Attributes that will be mapped, e.g. <field attribute=""> Syntax follows: 'Field:Attribute' => 'Class Field Name'

Type

array

$properties

$properties : array

The XML properties that will be mapped, e.g. the 'name' property in <account name=""> Syntax follows: 'XML Property Name' => 'Class Field Name'

Type

array

Methods

getFields()

getFields() : array

Returns the field properties of the mapping class.

Returns

array

getFieldAttributes()

getFieldAttributes() : array

Returns an array of field attributes.

Returns

array

getProperties()

getProperties() : array

Returns the properties of the mapping class.

Returns

array

getXmlObjectField()

getXmlObjectField(\SimpleXMLElement  $xmlElement, string  $field) : string|null

Method to retrieve the mapped SimpleXMLElement tag content.

Parameters

\SimpleXMLElement $xmlElement
string $field

Returns

string|null

getXmlObjectFieldAttribute()

getXmlObjectFieldAttribute(\SimpleXMLElement  $xmlElement, string  $field) : string|null

Method to retrieve a mapped SimpleXMLElement field attribute.

Parameters

\SimpleXMLElement $xmlElement
string $field

Returns

string|null

getXmlObjectProperty()

getXmlObjectProperty(\SimpleXMLElement  $xmlElement, string  $property) : string|null

Method to retrieve the mapped SimpleXMLElement tag property.

Parameters

\SimpleXMLElement $xmlElement
string $property

Returns

string|null