AsyncOrder
in package
This is the AsyncOrder 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 form.
Tags
Table of Contents
$getParameters | : array<string|int, mixed> | |
---|---|---|
$postParameters | : array<string|int, mixed> | |
$validationResponse | : PaymentValidationResponse|null | |
__construct() | Constructor method for AsyncOrder class. | : mixed |
getViewParameters() | This method returns all calculated arguments and new parameters for BasketViewHelper.php | : array<string|int, mixed> |
Properties
$getParameters
public
array<string|int, mixed>
$getParameters
= []
$postParameters
public
array<string|int, mixed>
$postParameters
= []
$validationResponse
public
PaymentValidationResponse|null
$validationResponse
= null
Methods
__construct()
Constructor method for AsyncOrder 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 BasketViewHelper.php
public
getViewParameters() : array<string|int, mixed>