QuantityUnitWriteServiceInterface

Extends

Interface QuantityUnitWriteServiceInterface

category

System

package

QuantityUnit

Methods

Creates Quantity unit entity.

createQuantityUnit() : \GXEngineQuantityUnit

Response

\GXEngineQuantityUnit

New quantity unit entity.

Deletes quantity unit entity from database.

delete(\QuantityUnitInterface $quantityUnit) : $this|\QuantityUnitWriteServiceInterface

Arguments

$quantityUnit

\QuantityUnitInterface

Quantity unit to be deleted.

Response

$this|\QuantityUnitWriteServiceInterface

Same instance for chained method calls.

Saves quantity unit entity in database.

save(\QuantityUnitInterface $quantityUnit) : $this|\QuantityUnitWriteServiceInterface

Arguments

$quantityUnit

\QuantityUnitInterface

Quantity unit to be saved.

Response

$this|\QuantityUnitWriteServiceInterface

Same instance for chained method calls.