commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
OrderCustomerSetMessagePayload.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
OrderCustomerSetMessagePayload
extends
OrderMessagePayload
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\OrderCustomerSetMessagePayload
Definition:
OrderCustomerSetMessagePayload.php:17
Commercetools\Api\Models\Message\OrderCustomerSetMessagePayload\setOldCustomerGroup
setOldCustomerGroup(?CustomerGroupReference $oldCustomerGroup)
Commercetools\Api\Models\Message\OrderCustomerSetMessagePayload\getOldCustomerGroup
getOldCustomerGroup()
Commercetools\Api\Models\Message\OrderCustomerSetMessagePayload\getCustomer
getCustomer()
Commercetools\Api\Models\Message\OrderCustomerSetMessagePayload\FIELD_CUSTOMER
const FIELD_CUSTOMER
Definition:
OrderCustomerSetMessagePayload.php:18
Commercetools\Api\Models\Message\OrderCustomerSetMessagePayload\setOldCustomer
setOldCustomer(?CustomerReference $oldCustomer)
Commercetools\Api\Models\Message\OrderCustomerSetMessagePayload\FIELD_OLD_CUSTOMER
const FIELD_OLD_CUSTOMER
Definition:
OrderCustomerSetMessagePayload.php:20
Commercetools\Api\Models\Message\OrderCustomerSetMessagePayload\FIELD_OLD_CUSTOMER_GROUP
const FIELD_OLD_CUSTOMER_GROUP
Definition:
OrderCustomerSetMessagePayload.php:21
Commercetools\Api\Models\Message\OrderCustomerSetMessagePayload\setCustomerGroup
setCustomerGroup(?CustomerGroupReference $customerGroup)
Commercetools\Api\Models\Message\OrderCustomerSetMessagePayload\getCustomerGroup
getCustomerGroup()
Commercetools\Api\Models\Message\OrderCustomerSetMessagePayload\setCustomer
setCustomer(?CustomerReference $customer)
Commercetools\Api\Models\Message\OrderCustomerSetMessagePayload\FIELD_CUSTOMER_GROUP
const FIELD_CUSTOMER_GROUP
Definition:
OrderCustomerSetMessagePayload.php:19
Commercetools\Api\Models\Message\OrderCustomerSetMessagePayload\getOldCustomer
getOldCustomer()
Commercetools\Api\Models\Message\OrderMessagePayload
Definition:
OrderMessagePayload.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Message
Definition:
ApprovalFlowApprovedMessage.php:9
Generated by
1.9.1