CustomPriceStatsAggregation
        CustomPriceStatsAggregation.php
                :
        14
                
    
                                Final
                
                    
                Extends AbstractPriceStatsAggregation
            
        
        
                Properties¶
                
        $currency
            ¶
    
        
        AbstractPriceStatsAggregation.php
                :
        16
                
    
        | 
                     | 
                
                    
                     | 
            
                
        $name
            ¶
    
        
        AbstractStatsAggregation.php
                :
        18
                
    
        The name of the aggregation.
| 
                     | 
                
                    
                     | 
            
Methods¶
                
__construct()
            ¶
    
        
        CustomPriceStatsAggregation.php
                :
        18
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $name | string | - | - | 
| $currency | CurrencyInterface | - | - | 
| $customerGroup | CustomerGroupInterface|null | null | - | 
                
getCurrency()
            ¶
    
        
        AbstractPriceStatsAggregation.php
                :
        25
                
    
        | 
                     | 
                
                    
                     | 
            
Return values
                
getCustomerGroup()
            ¶
    
        
        CustomPriceStatsAggregation.php
                :
        25
                
    
        | 
                     | 
                
                    
                     | 
            
Return values
                
getName()
            ¶
    
        
        AbstractStatsAggregation.php
                :
        25
                
    
        | 
                     | 
                
                    
                     | 
            
Return values
string
                
setCustomerGroup()
            ¶
    
        
        CustomPriceStatsAggregation.php
                :
        30
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $customerGroup | CustomerGroupInterface|null | - | - |