ActiveRecordParcelTrackingCode

Class ActiveRecordParcelTrackingCode

package

Default

Methods

ActiveRecordTrackingCode constructor.

__construct(\ParcelTrackingCodeRepository $repository, \GXParcelTrackingCode $trackingCode) 

Arguments

$repository

\ParcelTrackingCodeRepository

Repository for parcel tracking codes.

$trackingCode

\GXParcelTrackingCode

Parcel tracking code entity.

Saves the entity data into the database.

save() : \ParcelTrackingCodeId

Response

\ParcelTrackingCodeId

Id of new order parcel tracking code.

Properties

repository

repository : \ParcelTrackingCodeRepository

trackingCode

trackingCode : \GXParcelTrackingCode
var

Type(s)

\GXParcelTrackingCode