ParcelTrackingCodeFinder

Class ParcelTrackingCodeFinder

package

Default

Methods

ParcelTrackingCodeFinder constructor.

__construct(\CI_DB_query_builder $db) 

Arguments

$db

\CI_DB_query_builder

Database access.

Returns parcel tracking code data by the given tracking code id.

find(\ParcelTrackingCodeId $id) : array

Arguments

$id

\ParcelTrackingCodeId

Id of searched parcel tracking code entry.

Response

array

Returns parcel tracking codes data by the given order id.

findByOrderId(\ParcelTrackingCodeOrderId $orderId) : array

Arguments

$orderId

\ParcelTrackingCodeOrderId

Id of order.

Response

array

Returns all parcel tracking code data.

getAll() : array

Response

array

Properties

db

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder

table

table : string
var

Type(s)

string