phpDocumentor

ProductVariantsWriteService implements ProductVariantsWriteService

Class ProductVariantsWriteService

Interfaces, Classes and Traits

ProductVariantsWriteService
Interface ProductVariantsWriteService

Table of Contents

$factory  : ProductVariantFactory
$repository  : ProductVariantsRepository
__construct()  : mixed
ProductVariantsWriteService constructor.
createMultipleProductVariants()  : ProductVariantIds
createProductVariant()  : ProductVariantId
deleteAllProductVariantsByProductId()  : void
deleteProductVariants()  : void
storeProductVariants()  : void

Properties

Methods

createProductVariant()

public createProductVariant(int $productId, OptionAndOptionValueIds $combination, int|null $imageListId, ProductCustomization $productCustomization, ProductIdentificationNumbers $productIdentificationNumbers, ProductVariantStock $stock, int $sortOrder) : ProductVariantId
Parameters
$productId : int
$combination : OptionAndOptionValueIds
$imageListId : int|null
$productCustomization : ProductCustomization
$productIdentificationNumbers : ProductIdentificationNumbers
$stock : ProductVariantStock
$sortOrder : int
Tags
inheritDoc
Return values
ProductVariantId

deleteAllProductVariantsByProductId()

public deleteAllProductVariantsByProductId(int $productId) : void
Parameters
$productId : int
Tags
inheritDoc
Return values
void

deleteProductVariants()

public deleteProductVariants(int ...$ids) : void
Parameters
$ids : int
Tags
inheritDoc
Return values
void

Search results