GXParcelServiceWriter

Implements \ParcelServiceWriterInterface

Class ParcelServiceWriter

package

Default

Methods

GXParcelServiceWriter constructor.

__construct(\CI_DB_query_builder $db) 

Arguments

$db

\CI_DB_query_builder

_updateDefaultIfNecessary

_updateDefaultIfNecessary(array $parcelServiceData) 

Arguments

$parcelServiceData

array

Deletes the parcel service identified by given ID.

delete(\IdType $parcelServiceId) 

Arguments

$parcelServiceId

\IdType

Inserts the given parcel service data.

insert(array $parcelService) : integer

Arguments

$parcelService

array

Response

integer

parcel service ID

Updates the given parcel service data.

update(array $parcelService, \IdType $parcelServiceId) : void

Arguments

$parcelService

array

Parcel service data.

$parcelServiceId

\IdType

Id of updated parcel service.

Properties

db

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder

languageProvider

languageProvider : \LanguageProvider
var

Type(s)

\LanguageProvider