commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
OrderCustomerSetMessage.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Message
;
10
11
use
Commercetools\Api\Models\Customer\CustomerReference
;
12
use
Commercetools\Api\Models\CustomerGroup\CustomerGroupReference
;
13
use
Commercetools\Base\DateTimeImmutableCollection
;
14
use
Commercetools\Base\JsonObject
;
15
16
interface
OrderCustomerSetMessage
extends
OrderMessage
17
{
18
public
const
FIELD_CUSTOMER
=
'customer'
;
19
public
const
FIELD_CUSTOMER_GROUP
=
'customerGroup'
;
20
public
const
FIELD_OLD_CUSTOMER
=
'oldCustomer'
;
21
public
const
FIELD_OLD_CUSTOMER_GROUP
=
'oldCustomerGroup'
;
22
29
public
function
getCustomer
();
30
37
public
function
getCustomerGroup
();
38
45
public
function
getOldCustomer
();
46
53
public
function
getOldCustomerGroup
();
54
58
public
function
setCustomer
(?
CustomerReference
$customer): void;
59
63
public
function
setCustomerGroup
(?
CustomerGroupReference
$customerGroup): void;
64
68
public
function
setOldCustomer
(?
CustomerReference
$oldCustomer): void;
69
73
public
function
setOldCustomerGroup
(?
CustomerGroupReference
$oldCustomerGroup): void;
74
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Customer\CustomerReference
Definition:
CustomerReference.php:16
Commercetools\Api\Models\CustomerGroup\CustomerGroupReference
Definition:
CustomerGroupReference.php:16
Commercetools\Api\Models\Message\OrderCustomerSetMessage
Definition:
OrderCustomerSetMessage.php:17
Commercetools\Api\Models\Message\OrderCustomerSetMessage\getCustomerGroup
getCustomerGroup()
Commercetools\Api\Models\Message\OrderCustomerSetMessage\FIELD_CUSTOMER_GROUP
const FIELD_CUSTOMER_GROUP
Definition:
OrderCustomerSetMessage.php:19
Commercetools\Api\Models\Message\OrderCustomerSetMessage\setCustomer
setCustomer(?CustomerReference $customer)
Commercetools\Api\Models\Message\OrderCustomerSetMessage\setCustomerGroup
setCustomerGroup(?CustomerGroupReference $customerGroup)
Commercetools\Api\Models\Message\OrderCustomerSetMessage\getOldCustomer
getOldCustomer()
Commercetools\Api\Models\Message\OrderCustomerSetMessage\FIELD_OLD_CUSTOMER_GROUP
const FIELD_OLD_CUSTOMER_GROUP
Definition:
OrderCustomerSetMessage.php:21
Commercetools\Api\Models\Message\OrderCustomerSetMessage\setOldCustomer
setOldCustomer(?CustomerReference $oldCustomer)
Commercetools\Api\Models\Message\OrderCustomerSetMessage\getOldCustomerGroup
getOldCustomerGroup()
Commercetools\Api\Models\Message\OrderCustomerSetMessage\FIELD_OLD_CUSTOMER
const FIELD_OLD_CUSTOMER
Definition:
OrderCustomerSetMessage.php:20
Commercetools\Api\Models\Message\OrderCustomerSetMessage\FIELD_CUSTOMER
const FIELD_CUSTOMER
Definition:
OrderCustomerSetMessage.php:18
Commercetools\Api\Models\Message\OrderCustomerSetMessage\getCustomer
getCustomer()
Commercetools\Api\Models\Message\OrderCustomerSetMessage\setOldCustomerGroup
setOldCustomerGroup(?CustomerGroupReference $oldCustomerGroup)
Commercetools\Api\Models\Message\OrderMessage
Definition:
OrderMessage.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Message
Definition:
ApprovalFlowApprovedMessage.php:9
Generated by
1.9.1