OrderRmas
in package

This is the OrderRmas class, a macro class for the userViewHelper.

The purpose of this class is to encapsulate the logic to make a product return.

Tags
see
Orders::getViewParameters()

Table of Contents

ACTION_RMA  = 'rma'
ACTION_RMA_PDF  = 'rmaPdf'
POPUP  = 'popup'
WINDOW  = 'window'
$documentView  : string
$orderId  : int
$rmas  : array<string|int, mixed>
$showRmasActions  : array<string|int, mixed>
$showRmasIcons  : array<string|int, mixed>
$userId  : int
__construct() Constructor method for OrderRmas.  : mixed
getViewParameters() This method returns all calculated arguments and new parameters for UserViewHelper.php  : array<string|int, mixed>

Constants

ACTION_RMA_PDF

public mixed ACTION_RMA_PDF = 'rmaPdf'

Properties

$documentView

public string $documentView = self::POPUP

$rmas

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

$showRmasActions

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

$showRmasIcons

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

Methods

__construct()

Constructor method for OrderRmas.

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

Search results