commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Cart
CartSetBusinessUnitAction.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Cart
;
10
11
use
Commercetools\Api\Models\BusinessUnit\BusinessUnitResourceIdentifier
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
CartSetBusinessUnitAction
extends
CartUpdateAction
16
{
17
public
const
FIELD_BUSINESS_UNIT
=
'businessUnit'
;
18
25
public
function
getBusinessUnit
();
26
30
public
function
setBusinessUnit
(?
BusinessUnitResourceIdentifier
$businessUnit): void;
31
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\BusinessUnit\BusinessUnitResourceIdentifier
Definition:
BusinessUnitResourceIdentifier.php:16
Commercetools\Api\Models\Cart\CartSetBusinessUnitAction
Definition:
CartSetBusinessUnitAction.php:16
Commercetools\Api\Models\Cart\CartSetBusinessUnitAction\getBusinessUnit
getBusinessUnit()
Commercetools\Api\Models\Cart\CartSetBusinessUnitAction\FIELD_BUSINESS_UNIT
const FIELD_BUSINESS_UNIT
Definition:
CartSetBusinessUnitAction.php:17
Commercetools\Api\Models\Cart\CartSetBusinessUnitAction\setBusinessUnit
setBusinessUnit(?BusinessUnitResourceIdentifier $businessUnit)
Commercetools\Api\Models\Cart\CartUpdateAction
Definition:
CartUpdateAction.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Cart
Definition:
Cart.php:9
Generated by
1.9.1