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