ProductPriceWriterInterface
in
Interface ProductPriceWriterInterface
Tags
Table of Contents
- delete() : void
- Deletes a product price from the storage by the given id.
- update() : void
- Updates the given product price data to a storage.
Methods
delete()
Deletes a product price from the storage by the given id.
public
delete(IdType $productId) : void
Parameters
- $productId : IdType
-
Id of product price to be removed.
Return values
void —update()
Updates the given product price data to a storage.
public
update(array<string|int, mixed> $productPrice, IdType $productId) : void
Parameters
- $productPrice : array<string|int, mixed>
-
Product price data to be updated.
- $productId : IdType
-
Id of product price to be updated.