Carrier
Shipping and transportation provider information.
Integration
Extend the Business Core document and collection in your application and map the concrete classes. Adjust the namespace and class names as needed.
<?php
namespace MyApplication;
use Core\Document\Annotation\Database;
#[Database(document: MyCarrier::class)]
class MyCarrierCollection extends \BusinessCore\Collection\Logistics\CarrierCollection\Base
{
}
#[Database(document: MyCarrierCollection::class)]
class MyCarrier extends \BusinessCore\Document\Logistics\Carrier\Base
{
}
Properties
Properties declared by BusinessCore\Document\Logistics\Carrier\Base, excluding inherited
Core Document properties.
| Property | PHP type |
|---|---|
carrierNumber |
string|null |
carrierGroupId |
ObjectId|null |
name |
string|null |
trackingUrl |
string|null |
addresses |
array|null |