Partner
Business partner relationships and associated contact data.
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: MyPartner::class)]
class MyPartnerCollection extends \BusinessCore\Collection\Party\PartnerCollection\Base
{
}
#[Database(document: MyPartnerCollection::class)]
class MyPartner extends \BusinessCore\Document\Party\Partner\Base
{
}
Properties
Properties declared by BusinessCore\Document\Party\Partner\Base, excluding inherited Core
Document properties.
| Property | PHP type |
|---|---|
externalId |
ObjectId|null |
partnerNumber |
string|null |
partnerGroupId |
ObjectId|null |
name |
string|null |
partnerType |
string|null |
addresses |
array|null |