ProductDownloadWriteService
in
Interface ProductDownloadWriteService
Tags
Table of Contents
- createMultipleProductDownloads() : ProductOptionIds
- createProductDownload() : ProductOptionId
- deleteAllProductDownloadsByProductId() : void
- deleteProductDownloads() : void
- storeProductDownloads() : void
Methods
createMultipleProductDownloads()
public
createMultipleProductDownloads(array<string|int, mixed> ...$creationArguments) : ProductOptionIds
Parameters
- $creationArguments : array<string|int, mixed>
Tags
Return values
ProductOptionIds —createProductDownload()
public
createProductDownload(int $productId, OptionAndOptionValueId $optionAndOptionValueId, ImageListId $imageListId, OptionValueCustomization $optionValueCustomization, ProductDownloadStock $productDownloadStock, int $sortOrder) : ProductOptionId
Parameters
- $productId : int
- $optionAndOptionValueId : OptionAndOptionValueId
- $imageListId : ImageListId
- $optionValueCustomization : OptionValueCustomization
- $productDownloadStock : ProductDownloadStock
- $sortOrder : int
Tags
Return values
ProductOptionId —deleteAllProductDownloadsByProductId()
public
deleteAllProductDownloadsByProductId(int $productId) : void
Parameters
- $productId : int
Tags
Return values
void —deleteProductDownloads()
public
deleteProductDownloads(int ...$ids) : void
Parameters
- $ids : int
Tags
Return values
void —storeProductDownloads()
public
storeProductDownloads(ProductDownload ...$productDownloads) : void
Parameters
- $productDownloads : ProductDownload