Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс UpdateProductPricesAction
+ Граф наследования:UpdateProductPricesAction:

Открытые члены

 __construct (int $productId, ?float $purchasePrice, ?string $purchasePriceCurrency, ?float $basePrice=null, ?string $basePriceCurrency=null)
 
 canExecute ()
 
 execute ()
 

Дополнительные унаследованные члены

- Открытые атрибуты унаследованные от Action
trait ProductAndStoreInfo
 

Подробное описание

Update product prices action.

If the price values is null, they are not processed. To reset price values, you need to set 0.

См. определение в файле updateproductpricesaction.php строка 20

Конструктор(ы)

◆ __construct()

__construct ( int $productId,
?float $purchasePrice,
?string $purchasePriceCurrency,
?float $basePrice = null,
?string $basePriceCurrency = null )
Аргументы
int$productId
float | null$purchasePrice
string | null$purchasePriceCurrency
float | null$basePrice
string | null$basePriceCurrency

См. определение в файле updateproductpricesaction.php строка 35

Методы

◆ canExecute()

canExecute ( )

@inheritDoc

Замещает Action.

См. определение в файле updateproductpricesaction.php строка 113

◆ execute()

execute ( )

@inheritDoc

Замещает Action.

См. определение в файле updateproductpricesaction.php строка 121