ProductPriceServiceInterface
        ProductPriceServiceInterface.php
                :
        22
                
    
            Interface
                Methods¶
                
createProductPrice()
            ¶
    
        
        ProductPriceServiceInterface.php
                :
        35
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $struct | ProductPriceCreateStructInterface | - | - | 
Return values
                
deletePrice()
            ¶
    
        
        ProductPriceServiceInterface.php
                :
        29
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $struct | ProductPriceDeleteStructInterface | - | - | 
                
execute()
            ¶
    
        
        ProductPriceServiceInterface.php
                :
        27
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $structs | iterable<string|int, ProductPriceStructInterface> | - | - | 
                
findOneForCustomerGroup()
            ¶
    
        
        ProductPriceServiceInterface.php
                :
        39
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $price | PriceInterface | - | - | 
| $customerGroup | CustomerGroupInterface | - | - | 
Return values
CustomPriceAwareInterface|null
                
findPrices()
            ¶
    
        
        ProductPriceServiceInterface.php
                :
        31
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $query | PriceQuery|null | null | - | 
Return values
                
findPricesByProductCode()
            ¶
    
        
        ProductPriceServiceInterface.php
                :
        33
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $code | string | - | - | 
Return values
                
getPriceById()
            ¶
    
        
        ProductPriceServiceInterface.php
                :
        49
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $id | int | - | - | 
Return values
Tags
                
getPriceByProductAndCurrency()
            ¶
    
        
        ProductPriceServiceInterface.php
                :
        44
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $product | ProductInterface | - | - | 
| $currency | CurrencyInterface | - | - | 
Return values
Tags
                
updateProductPrice()
            ¶
    
        
        ProductPriceServiceInterface.php
                :
        37
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $struct | ProductPriceUpdateStructInterface | - | - |