Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Interfaces

  • ProductAttributeRepositoryDeleterInterface
  • ProductAttributeRepositoryInterface
  • ProductAttributeRepositoryReaderInterface
  • ProductAttributeRepositoryWriterInterface

Interface ProductAttributeRepositoryWriterInterface

Interface ProductAttributeRepositoryWriterInterface

Direct known implementers

ProductAttributeRepositoryWriter

Package: ProductModule\Interface
Category: System
Located at CoreServices/ProductModule/Repositories/Writer/Interfaces/ProductAttributeRepositoryWriterInterface.inc.php

Methods summary

public integer
# insertIntoProduct( IdType $productId, ProductAttributeInterface $productAttribute )

Adds a product attribute entity to a product by the given product id.

Adds a product attribute entity to a product by the given product id.

Parameters

$productId

Id of product entity which should belongs to the added attributes.

$productAttribute
Product attribute entity to add to the product.

Returns

integer
Id of the stored product attribute.
public ProductAttributeRepositoryWriterInterface|ProductAttributeRepositoryWriterInterface
# update( StoredProductAttributeInterface $productAttribute )

Updates a product attribute entity.

Updates a product attribute entity.

Parameters

$productAttribute
Product attribute entity to update.

Returns

ProductAttributeRepositoryWriterInterface|ProductAttributeRepositoryWriterInterface
$this Same instance for chained method calls.
API documentation generated by ApiGen