commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-import
src
Models
Productdrafts
PriceDraftImport.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Import\Models\Productdrafts
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
use
Commercetools\Import\Models\Common\ChannelKeyReference
;
14
use
Commercetools\Import\Models\Common\CustomerGroupKeyReference
;
15
use
Commercetools\Import\Models\Common\DiscountedPrice
;
16
use
Commercetools\Import\Models\Common\PriceTierCollection
;
17
use
Commercetools\Import\Models\Common\TypedMoney
;
18
use
Commercetools\Import\Models\Customfields\Custom
;
19
use DateTimeImmutable;
20
21
interface
PriceDraftImport
extends
JsonObject
22
{
23
public
const
FIELD_VALUE
=
'value'
;
24
public
const
FIELD_COUNTRY
=
'country'
;
25
public
const
FIELD_CUSTOMER_GROUP
=
'customerGroup'
;
26
public
const
FIELD_CHANNEL
=
'channel'
;
27
public
const
FIELD_VALID_FROM
=
'validFrom'
;
28
public
const
FIELD_VALID_UNTIL
=
'validUntil'
;
29
public
const
FIELD_CUSTOM
=
'custom'
;
30
public
const
FIELD_DISCOUNTED
=
'discounted'
;
31
public
const
FIELD_TIERS
=
'tiers'
;
32
public
const
FIELD_KEY
=
'key'
;
33
38
public
function
getValue
();
39
46
public
function
getCountry
();
47
54
public
function
getCustomerGroup
();
55
62
public
function
getChannel
();
63
68
public
function
getValidFrom
();
69
74
public
function
getValidUntil
();
75
82
public
function
getCustom
();
83
90
public
function
getDiscounted
();
91
98
public
function
getTiers
();
99
106
public
function
getKey
();
107
111
public
function
setValue
(?
TypedMoney
$value): void;
112
116
public
function
setCountry
(?
string
$country): void;
117
121
public
function
setCustomerGroup
(?
CustomerGroupKeyReference
$customerGroup): void;
122
126
public
function
setChannel
(?
ChannelKeyReference
$channel): void;
127
131
public
function
setValidFrom
(?DateTimeImmutable $validFrom): void;
132
136
public
function
setValidUntil
(?DateTimeImmutable $validUntil): void;
137
141
public
function
setCustom
(?
Custom
$custom): void;
142
146
public
function
setDiscounted
(?
DiscountedPrice
$discounted): void;
147
151
public
function
setTiers
(?
PriceTierCollection
$tiers): void;
152
156
public
function
setKey
(?
string
$key): void;
157
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Import\Models\Common\PriceTierCollection
Definition:
PriceTierCollection.php:22
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Import\Models\Common\ChannelKeyReference
Definition:
ChannelKeyReference.php:15
Commercetools\Import\Models\Common\CustomerGroupKeyReference
Definition:
CustomerGroupKeyReference.php:15
Commercetools\Import\Models\Common\DiscountedPrice
Definition:
DiscountedPrice.php:15
Commercetools\Import\Models\Common\TypedMoney
Definition:
TypedMoney.php:15
Commercetools\Import\Models\Customfields\Custom
Definition:
Custom.php:16
Commercetools\Import\Models\Productdrafts\PriceDraftImport
Definition:
PriceDraftImport.php:22
Commercetools\Import\Models\Productdrafts\PriceDraftImport\setDiscounted
setDiscounted(?DiscountedPrice $discounted)
Commercetools\Import\Models\Productdrafts\PriceDraftImport\setValidFrom
setValidFrom(?DateTimeImmutable $validFrom)
Commercetools\Import\Models\Productdrafts\PriceDraftImport\FIELD_CHANNEL
const FIELD_CHANNEL
Definition:
PriceDraftImport.php:26
Commercetools\Import\Models\Productdrafts\PriceDraftImport\setCountry
setCountry(?string $country)
Commercetools\Import\Models\Productdrafts\PriceDraftImport\setChannel
setChannel(?ChannelKeyReference $channel)
Commercetools\Import\Models\Productdrafts\PriceDraftImport\getCustom
getCustom()
Commercetools\Import\Models\Productdrafts\PriceDraftImport\FIELD_DISCOUNTED
const FIELD_DISCOUNTED
Definition:
PriceDraftImport.php:30
Commercetools\Import\Models\Productdrafts\PriceDraftImport\FIELD_VALID_FROM
const FIELD_VALID_FROM
Definition:
PriceDraftImport.php:27
Commercetools\Import\Models\Productdrafts\PriceDraftImport\getCountry
getCountry()
Commercetools\Import\Models\Productdrafts\PriceDraftImport\getKey
getKey()
Commercetools\Import\Models\Productdrafts\PriceDraftImport\getValue
getValue()
Commercetools\Import\Models\Productdrafts\PriceDraftImport\getDiscounted
getDiscounted()
Commercetools\Import\Models\Productdrafts\PriceDraftImport\getChannel
getChannel()
Commercetools\Import\Models\Productdrafts\PriceDraftImport\FIELD_VALID_UNTIL
const FIELD_VALID_UNTIL
Definition:
PriceDraftImport.php:28
Commercetools\Import\Models\Productdrafts\PriceDraftImport\FIELD_KEY
const FIELD_KEY
Definition:
PriceDraftImport.php:32
Commercetools\Import\Models\Productdrafts\PriceDraftImport\setCustomerGroup
setCustomerGroup(?CustomerGroupKeyReference $customerGroup)
Commercetools\Import\Models\Productdrafts\PriceDraftImport\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
PriceDraftImport.php:29
Commercetools\Import\Models\Productdrafts\PriceDraftImport\setValidUntil
setValidUntil(?DateTimeImmutable $validUntil)
Commercetools\Import\Models\Productdrafts\PriceDraftImport\FIELD_COUNTRY
const FIELD_COUNTRY
Definition:
PriceDraftImport.php:24
Commercetools\Import\Models\Productdrafts\PriceDraftImport\setKey
setKey(?string $key)
Commercetools\Import\Models\Productdrafts\PriceDraftImport\getValidFrom
getValidFrom()
Commercetools\Import\Models\Productdrafts\PriceDraftImport\FIELD_CUSTOMER_GROUP
const FIELD_CUSTOMER_GROUP
Definition:
PriceDraftImport.php:25
Commercetools\Import\Models\Productdrafts\PriceDraftImport\getCustomerGroup
getCustomerGroup()
Commercetools\Import\Models\Productdrafts\PriceDraftImport\setTiers
setTiers(?PriceTierCollection $tiers)
Commercetools\Import\Models\Productdrafts\PriceDraftImport\FIELD_VALUE
const FIELD_VALUE
Definition:
PriceDraftImport.php:23
Commercetools\Import\Models\Productdrafts\PriceDraftImport\setValue
setValue(?TypedMoney $value)
Commercetools\Import\Models\Productdrafts\PriceDraftImport\FIELD_TIERS
const FIELD_TIERS
Definition:
PriceDraftImport.php:31
Commercetools\Import\Models\Productdrafts\PriceDraftImport\setCustom
setCustom(?Custom $custom)
Commercetools\Import\Models\Productdrafts\PriceDraftImport\getTiers
getTiers()
Commercetools\Import\Models\Productdrafts\PriceDraftImport\getValidUntil
getValidUntil()
Commercetools\Import\Models\Productdrafts
Definition:
PriceDraftImport.php:9
Generated by
1.9.1