BillingInformation
in package
This is the BillingInformation class, a macro class for the document viewHelper.
The purpose of this class is to encapsulate the logic that calculates the view parameters for the document's BillingInformation.
Tags
Table of Contents
$document | : AbstractDocumentBase|null | |
---|---|---|
$fields | : array<string|int, mixed> | |
__construct() | Constructor method for BillingInformation class. | : mixed |
getViewParameters() | This method returns all calculated arguments and new parameters for OrderViewHelper.php | : array<string|int, mixed> |
getProperties() | Return macro use properties | : array<string|int, mixed> |
Properties
$document
public
AbstractDocumentBase|null
$document
= null
$fields
public
array<string|int, mixed>
$fields
= ["name", "nif", "address", "city", "state", "country", "email", "mobile"]
Methods
__construct()
Constructor method for BillingInformation class.
public
__construct(array<string|int, mixed> $arguments) : mixed
Parameters
- $arguments : array<string|int, mixed>
Tags
Return values
mixed —getViewParameters()
This method returns all calculated arguments and new parameters for OrderViewHelper.php
public
getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getProperties()
Return macro use properties
protected
getProperties() : array<string|int, mixed>