CostPriceTools
        
        extends CostPriceTools
    
    
            
            in package
            
        
    
    
    
        
            Class created by Core/Base/PluginDeploy
Tags
Table of Contents
- update() : void
 - updateActualPrice() : void
 - Returns the actual cost of the product stock.
 - updateAveragePrice() : void
 - Returns the average price to buy this product.
 - updateHighPrice() : void
 - Returns the high price to buy this product.
 - updateLastPrice() : void
 - Returns the last price to buy this product.
 
Methods
update()
    public
            static        update(Variante $variant) : void
        
        Parameters
- $variant : Variante
 
Return values
void —updateActualPrice()
Returns the actual cost of the product stock.
    protected
            static        updateActualPrice(Variante $variant) : void
    
        Parameters
- $variant : Variante
 
Return values
void —updateAveragePrice()
Returns the average price to buy this product.
    protected
            static        updateAveragePrice(Variante $variant) : void
    
        Parameters
- $variant : Variante
 
Return values
void —updateHighPrice()
Returns the high price to buy this product.
    protected
            static        updateHighPrice(Variante $variant) : void
    
        Parameters
- $variant : Variante
 
Return values
void —updateLastPrice()
Returns the last price to buy this product.
    protected
            static        updateLastPrice(Variante $variant) : void
    
        Parameters
- $variant : Variante