SalesAgentCustomers
in package

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

The purpose of this class is to encapsulate the logic to show customers from a sales agent.

Tags
see
Orders::getViewParameters()

Table of Contents

ACTIONS  = 'actionOrders'
ADDRESS  = 'address'
CITY  = 'city'
COMMISSION_AMOUNT  = 'commissionAmount'
COMPANY  = 'company'
COUNTRY  = 'country'
NIF  = 'nif'
PENDING_AMOUNT  = 'pendingAmount'
PHONE  = 'phone'
PID  = 'pId'
SALES_AGENT_PARAMETERS  = [self::PID, self::COMPANY, self::NIF, self::ADDRESS, self::CITY, self::STATE, self::COUNTRY, self::PHONE, self::TOTAL_AMOUNT, self::COMMISSION_AMOUNT, self::PENDING_AMOUNT, self::ACTIONS]
STATE  = 'state'
TOTAL_AMOUNT  = 'totalAmount'
$parameters  : array<string|int, mixed>
$request  : array<string|int, mixed>
$salesAgentCustomers  : ElementCollection|null
__construct() Constructor method for SalesAgentCustomers.  : 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

SALES_AGENT_PARAMETERS

public mixed SALES_AGENT_PARAMETERS = [self::PID, self::COMPANY, self::NIF, self::ADDRESS, self::CITY, self::STATE, self::COUNTRY, self::PHONE, self::TOTAL_AMOUNT, self::COMMISSION_AMOUNT, self::PENDING_AMOUNT, self::ACTIONS]

Properties

Methods

__construct()

Constructor method for SalesAgentCustomers.

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