SpecialOfferWriterInterface

Extends

Interface SpecialOfferWriterInterface

package

Default

Methods

Deletes a special offer from the storage by the given id.

delete(integer $specialOfferId) : void

Arguments

$specialOfferId

integer

Id of special offer to be removed.

Inserts the given special offer data to a storage.

insert(array $specialOfferData) : integer

Arguments

$specialOfferData

array

Special offer data to be inserted.

Response

integer

Insert id.

Updates the given special offer data to a storage.

update(array $specialOfferData, integer $specialOfferId) : void

Arguments

$specialOfferData

array

Special offer data to be updated.

$specialOfferId

integer

Id of special offer to be updated.