commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Me
MyBusinessUnitDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Me
;
10
11
use
Commercetools\Api\Models\Common\BaseAddressCollection
;
12
use
Commercetools\Api\Models\Type\CustomFieldsDraft
;
13
use
Commercetools\Base\DateTimeImmutableCollection
;
14
use
Commercetools\Base\JsonObject
;
15
16
interface
MyBusinessUnitDraft
extends
JsonObject
17
{
18
public
const
DISCRIMINATOR_FIELD
=
'unitType'
;
19
public
const
FIELD_KEY
=
'key'
;
20
public
const
FIELD_UNIT_TYPE
=
'unitType'
;
21
public
const
FIELD_NAME
=
'name'
;
22
public
const
FIELD_CONTACT_EMAIL
=
'contactEmail'
;
23
public
const
FIELD_CUSTOM
=
'custom'
;
24
public
const
FIELD_ADDRESSES
=
'addresses'
;
25
public
const
FIELD_SHIPPING_ADDRESSES
=
'shippingAddresses'
;
26
public
const
FIELD_DEFAULT_SHIPPING_ADDRESS
=
'defaultShippingAddress'
;
27
public
const
FIELD_BILLING_ADDRESSES
=
'billingAddresses'
;
28
public
const
FIELD_DEFAULT_BILLING_ADDRESS
=
'defaultBillingAddress'
;
29
36
public
function
getKey
();
37
44
public
function
getUnitType
();
45
52
public
function
getName
();
53
60
public
function
getContactEmail
();
61
68
public
function
getCustom
();
69
76
public
function
getAddresses
();
77
85
public
function
getShippingAddresses
();
86
93
public
function
getDefaultShippingAddress
();
94
102
public
function
getBillingAddresses
();
103
110
public
function
getDefaultBillingAddress
();
111
115
public
function
setKey
(?
string
$key): void;
116
120
public
function
setName
(?
string
$name): void;
121
125
public
function
setContactEmail
(?
string
$contactEmail): void;
126
130
public
function
setCustom
(?
CustomFieldsDraft
$custom): void;
131
135
public
function
setAddresses
(?
BaseAddressCollection
$addresses): void;
136
140
public
function
setShippingAddresses
(?array $shippingAddresses): void;
141
145
public
function
setDefaultShippingAddress
(?
int
$defaultShippingAddress): void;
146
150
public
function
setBillingAddresses
(?array $billingAddresses): void;
151
155
public
function
setDefaultBillingAddress
(?
int
$defaultBillingAddress): void;
156
}
Commercetools\Api\Models\Common\BaseAddressCollection
Definition:
BaseAddressCollection.php:26
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Me\MyBusinessUnitDraft
Definition:
MyBusinessUnitDraft.php:17
Commercetools\Api\Models\Me\MyBusinessUnitDraft\setDefaultShippingAddress
setDefaultShippingAddress(?int $defaultShippingAddress)
Commercetools\Api\Models\Me\MyBusinessUnitDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\Me\MyBusinessUnitDraft\setDefaultBillingAddress
setDefaultBillingAddress(?int $defaultBillingAddress)
Commercetools\Api\Models\Me\MyBusinessUnitDraft\getCustom
getCustom()
Commercetools\Api\Models\Me\MyBusinessUnitDraft\setAddresses
setAddresses(?BaseAddressCollection $addresses)
Commercetools\Api\Models\Me\MyBusinessUnitDraft\getKey
getKey()
Commercetools\Api\Models\Me\MyBusinessUnitDraft\getDefaultBillingAddress
getDefaultBillingAddress()
Commercetools\Api\Models\Me\MyBusinessUnitDraft\FIELD_SHIPPING_ADDRESSES
const FIELD_SHIPPING_ADDRESSES
Definition:
MyBusinessUnitDraft.php:25
Commercetools\Api\Models\Me\MyBusinessUnitDraft\FIELD_ADDRESSES
const FIELD_ADDRESSES
Definition:
MyBusinessUnitDraft.php:24
Commercetools\Api\Models\Me\MyBusinessUnitDraft\getContactEmail
getContactEmail()
Commercetools\Api\Models\Me\MyBusinessUnitDraft\setShippingAddresses
setShippingAddresses(?array $shippingAddresses)
Commercetools\Api\Models\Me\MyBusinessUnitDraft\FIELD_KEY
const FIELD_KEY
Definition:
MyBusinessUnitDraft.php:19
Commercetools\Api\Models\Me\MyBusinessUnitDraft\FIELD_CONTACT_EMAIL
const FIELD_CONTACT_EMAIL
Definition:
MyBusinessUnitDraft.php:22
Commercetools\Api\Models\Me\MyBusinessUnitDraft\FIELD_DEFAULT_BILLING_ADDRESS
const FIELD_DEFAULT_BILLING_ADDRESS
Definition:
MyBusinessUnitDraft.php:28
Commercetools\Api\Models\Me\MyBusinessUnitDraft\setCustom
setCustom(?CustomFieldsDraft $custom)
Commercetools\Api\Models\Me\MyBusinessUnitDraft\getBillingAddresses
getBillingAddresses()
Commercetools\Api\Models\Me\MyBusinessUnitDraft\setName
setName(?string $name)
Commercetools\Api\Models\Me\MyBusinessUnitDraft\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
MyBusinessUnitDraft.php:23
Commercetools\Api\Models\Me\MyBusinessUnitDraft\getAddresses
getAddresses()
Commercetools\Api\Models\Me\MyBusinessUnitDraft\getShippingAddresses
getShippingAddresses()
Commercetools\Api\Models\Me\MyBusinessUnitDraft\getName
getName()
Commercetools\Api\Models\Me\MyBusinessUnitDraft\getUnitType
getUnitType()
Commercetools\Api\Models\Me\MyBusinessUnitDraft\FIELD_DEFAULT_SHIPPING_ADDRESS
const FIELD_DEFAULT_SHIPPING_ADDRESS
Definition:
MyBusinessUnitDraft.php:26
Commercetools\Api\Models\Me\MyBusinessUnitDraft\FIELD_UNIT_TYPE
const FIELD_UNIT_TYPE
Definition:
MyBusinessUnitDraft.php:20
Commercetools\Api\Models\Me\MyBusinessUnitDraft\FIELD_NAME
const FIELD_NAME
Definition:
MyBusinessUnitDraft.php:21
Commercetools\Api\Models\Me\MyBusinessUnitDraft\DISCRIMINATOR_FIELD
const DISCRIMINATOR_FIELD
Definition:
MyBusinessUnitDraft.php:18
Commercetools\Api\Models\Me\MyBusinessUnitDraft\getDefaultShippingAddress
getDefaultShippingAddress()
Commercetools\Api\Models\Me\MyBusinessUnitDraft\setContactEmail
setContactEmail(?string $contactEmail)
Commercetools\Api\Models\Me\MyBusinessUnitDraft\setBillingAddresses
setBillingAddresses(?array $billingAddresses)
Commercetools\Api\Models\Me\MyBusinessUnitDraft\FIELD_BILLING_ADDRESSES
const FIELD_BILLING_ADDRESSES
Definition:
MyBusinessUnitDraft.php:27
Commercetools\Api\Models\Type\CustomFieldsDraft
Definition:
CustomFieldsDraft.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Me
Definition:
MyBusinessUnitAddAddressAction.php:9
Generated by
1.9.1