ParcelTrackingCodeDeleteService

Class ParcelTrackingCodeDeleteService

package

Default

Methods

ParcelTrackingCodeDeleteService constructor.

__construct(\ParcelTrackingCodeRepository $repository) 

Arguments

$repository

\ParcelTrackingCodeRepository

Repository for parcel tracking codes.

Removes the parcel tracking codes entry with the given id.

delete(\ParcelTrackingCodeId $id) : $this|\ParcelTrackingCodeDeleteService

Arguments

$id

\ParcelTrackingCodeId

Id of parcel tracking code entity to be removed.

Response

$this|\ParcelTrackingCodeDeleteService

Same instance for chained method calls.

Properties

repository

repository : \ParcelTrackingCodeRepository