PaymentCards
in package
This is the PaymentCards class, a macro class for the userViewHelper.
The purpose of this class is to encapsulate the logic that calculates the view parameters for the user's payment cards.
Tags
Table of Contents
PLUGINS_PROPERTIES | = 'pluginProperties' | |
---|---|---|
USER_PLUGIN_PAYMENT_TOKENS | = 'UserPluginPaymentTokens' | |
$paymentCards | : array<string|int, mixed> | |
__construct() | Constructor method for Form. | : mixed |
getViewParameters() | This method returns all calculated arguments and new parameters for UserViewHelper.php | : array<string|int, mixed> |
getProperties() | Return macro use properties | : array<string|int, mixed> |
Constants
PLUGINS_PROPERTIES
public
mixed
PLUGINS_PROPERTIES
= 'pluginProperties'
USER_PLUGIN_PAYMENT_TOKENS
public
mixed
USER_PLUGIN_PAYMENT_TOKENS
= 'UserPluginPaymentTokens'
Properties
$paymentCards
public
array<string|int, mixed>
$paymentCards
= []
Methods
__construct()
Constructor method for Form.
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 UserViewHelper.php
public
getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getProperties()
Return macro use properties
protected
getProperties() : array<string|int, mixed>