ProductPriceWriteServiceInterface
in
Interface ProductPriceWriterRepositoryInterface
Tags
Table of Contents
- delete() : void
- Deletes the product price from the storage.
- save() : ProductPriceInterface
- Saves product price entity in the storage.
Methods
delete()
Deletes the product price from the storage.
public
delete(ProductPriceInterface $productPrice) : void
Parameters
- $productPrice : ProductPriceInterface
-
Product price to be removed.
Return values
void —save()
Saves product price entity in the storage.
public
save(ProductPriceInterface $productPrice, IdType $productId) : ProductPriceInterface
Parameters
- $productPrice : ProductPriceInterface
-
Product price to be save.
- $productId : IdType
-
Id of product to be updated.