commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
BusinessUnit
AssociateDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\BusinessUnit
;
10
11
use
Commercetools\Api\Models\Customer\CustomerResourceIdentifier
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
AssociateDraft
extends
JsonObject
16
{
17
public
const
FIELD_ASSOCIATE_ROLE_ASSIGNMENTS
=
'associateRoleAssignments'
;
18
public
const
FIELD_CUSTOMER
=
'customer'
;
19
26
public
function
getAssociateRoleAssignments
();
27
34
public
function
getCustomer
();
35
39
public
function
setAssociateRoleAssignments
(?
AssociateRoleAssignmentDraftCollection
$associateRoleAssignments): void;
40
44
public
function
setCustomer
(?
CustomerResourceIdentifier
$customer): void;
45
}
Commercetools\Api\Models\BusinessUnit\AssociateRoleAssignmentDraftCollection
Definition:
AssociateRoleAssignmentDraftCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\BusinessUnit\AssociateDraft
Definition:
AssociateDraft.php:16
Commercetools\Api\Models\BusinessUnit\AssociateDraft\FIELD_ASSOCIATE_ROLE_ASSIGNMENTS
const FIELD_ASSOCIATE_ROLE_ASSIGNMENTS
Definition:
AssociateDraft.php:17
Commercetools\Api\Models\BusinessUnit\AssociateDraft\FIELD_CUSTOMER
const FIELD_CUSTOMER
Definition:
AssociateDraft.php:18
Commercetools\Api\Models\BusinessUnit\AssociateDraft\getAssociateRoleAssignments
getAssociateRoleAssignments()
Commercetools\Api\Models\BusinessUnit\AssociateDraft\setCustomer
setCustomer(?CustomerResourceIdentifier $customer)
Commercetools\Api\Models\BusinessUnit\AssociateDraft\setAssociateRoleAssignments
setAssociateRoleAssignments(?AssociateRoleAssignmentDraftCollection $associateRoleAssignments)
Commercetools\Api\Models\BusinessUnit\AssociateDraft\getCustomer
getCustomer()
Commercetools\Api\Models\Customer\CustomerResourceIdentifier
Definition:
CustomerResourceIdentifier.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\BusinessUnit
Definition:
Associate.php:9
Generated by
1.9.1