PaymentSystems
in package
This is the PaymentSystems class, a macro class for the basket viewHelper.
The purpose of this class is to encapsulate the logic that calculates the view parameters for the basket's payment systems.
Tags
Table of Contents
$basket | : Basket|null | |
---|---|---|
$paymentSystems | : mixed | |
$showDescription | : bool | |
$showImage | : bool | |
$showTaxIncluded | : bool|null | |
$showTitle | : bool | |
$showZeroPrice | : bool | |
__construct() | Constructor method for PaymentSystems class. | : mixed |
getViewParameters() | This method returns all calculated arguments and new parameters for BasketViewHelper.php | : array<string|int, mixed> |
getProperties() | Return macro use properties | : array<string|int, mixed> |
Properties
$basket
public
Basket|null
$basket
= null
$paymentSystems
public
mixed
$paymentSystems
= null
$showDescription
public
bool
$showDescription
= true
$showImage
public
bool
$showImage
= false
$showTaxIncluded
public
bool|null
$showTaxIncluded
= null
$showTitle
public
bool
$showTitle
= true
$showZeroPrice
public
bool
$showZeroPrice
= true
Methods
__construct()
Constructor method for PaymentSystems class.
public
__construct(array<string|int, mixed> $arguments, Session $session) : mixed
Parameters
- $arguments : array<string|int, mixed>
- $session : Session
Tags
Return values
mixed —getViewParameters()
This method returns all calculated arguments and new parameters for BasketViewHelper.php
public
getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getProperties()
Return macro use properties
protected
getProperties() : array<string|int, mixed>