RedeemRewardPoints
in package

This is the RedeemRewardPoints class, a macro class for the basketViewHelper.

The purpose of this class is to encapsulate the logic that calculates the view parameters for the basket reward points.

Tags
see
RedeemRewardPoints::getViewParameters()

Table of Contents

$basket  : Basket|null
$class  : string
$maxAvailableRewardPoints  : array<string|int, mixed>
$quantityPlugin  : bool
$rewardPoints  : ElementCollection|null
$showRewardPointsHeader  : bool
$showSelectableBox  : bool
__construct() Constructor method for RewardPoints.  : 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>

Properties

$maxAvailableRewardPoints

public array<string|int, mixed> $maxAvailableRewardPoints = []

Methods

__construct()

Constructor method for RewardPoints.

public __construct(array<string|int, mixed> $arguments) : mixed
Parameters
$arguments : array<string|int, mixed>
Tags
see
RewardPoints
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>
Return values
array<string|int, mixed>

Search results