ParcelServiceWriterInterface
in
Interface ParcelServiceWriterInterface
Table of Contents
- delete() : mixed
- Deletes the parcel service identified by given ID.
- insert() : int
- Inserts the given parcel service data.
- update() : void
- Updates the given parcel service data.
Methods
delete()
Deletes the parcel service identified by given ID.
public
delete(IdType $parcelServiceId) : mixed
Parameters
- $parcelServiceId : IdType
Return values
mixed —insert()
Inserts the given parcel service data.
public
insert(array<string|int, mixed> $parcelService) : int
Parameters
- $parcelService : array<string|int, mixed>
Return values
int —parcel service ID
update()
Updates the given parcel service data.
public
update(array<string|int, mixed> $parcelService, IdType $parcelServiceId) : void
Parameters
- $parcelService : array<string|int, mixed>
-
Parcel service data.
- $parcelServiceId : IdType
-
Id of updated parcel service.