OSCModule

This is the one step checkout module 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 one step checkout module.

Tags
see
OSCModule::getViewParameters()

Table of Contents

TYPE_BASKET  = 'basket'
TYPE_BUTTONS  = 'buttons'
TYPE_COMMENTS  = 'comments'
TYPE_DISCOUNTS  = 'discounts'
TYPE_LEGAL_CHECK  = 'legalCheck'
TYPE_LINKEDS  = 'linkeds'
TYPE_PAYMENTS  = 'payments'
TYPE_REWARD_POINTS  = 'rewardPoints'
TYPE_SHIPPINGS  = 'shippings'
TYPE_USER_FORM  = 'userForm'
$additionalContent  : bool
$class  : string
$content  : string|null
$type  : string
__construct() Constructor method for OSCModule class.  : mixed
getViewParameters() This method returns all calculated arguments and new parameters for BasketViewHelper.php  : array<string|int, mixed>

Constants

TYPE_BASKET

public mixed TYPE_BASKET = 'basket'

TYPE_BUTTONS

public mixed TYPE_BUTTONS = 'buttons'

TYPE_COMMENTS

public mixed TYPE_COMMENTS = 'comments'

TYPE_DISCOUNTS

public mixed TYPE_DISCOUNTS = 'discounts'
public mixed TYPE_LEGAL_CHECK = 'legalCheck'

TYPE_LINKEDS

public mixed TYPE_LINKEDS = 'linkeds'

TYPE_PAYMENTS

public mixed TYPE_PAYMENTS = 'payments'

TYPE_REWARD_POINTS

public mixed TYPE_REWARD_POINTS = 'rewardPoints'

TYPE_SHIPPINGS

public mixed TYPE_SHIPPINGS = 'shippings'

TYPE_USER_FORM

public mixed TYPE_USER_FORM = 'userForm'

Properties

$additionalContent

public bool $additionalContent = false

Methods

__construct()

Constructor method for OSCModule class.

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

Search results