commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-import
src
Models
StandalonePrices
StandalonePriceImport.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Import\Models\StandalonePrices
;
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\ImportResource
;
17
use
Commercetools\Import\Models\Common\PriceTierCollection
;
18
use
Commercetools\Import\Models\Common\TypedMoney
;
19
use
Commercetools\Import\Models\Customfields\Custom
;
20
use DateTimeImmutable;
21
22
interface
StandalonePriceImport
extends
ImportResource
23
{
24
public
const
FIELD_SKU
=
'sku'
;
25
public
const
FIELD_VALUE
=
'value'
;
26
public
const
FIELD_COUNTRY
=
'country'
;
27
public
const
FIELD_CUSTOMER_GROUP
=
'customerGroup'
;
28
public
const
FIELD_CHANNEL
=
'channel'
;
29
public
const
FIELD_VALID_FROM
=
'validFrom'
;
30
public
const
FIELD_VALID_UNTIL
=
'validUntil'
;
31
public
const
FIELD_TIERS
=
'tiers'
;
32
public
const
FIELD_DISCOUNTED
=
'discounted'
;
33
public
const
FIELD_CUSTOM
=
'custom'
;
34
41
public
function
getKey
();
42
49
public
function
getSku
();
50
57
public
function
getValue
();
58
66
public
function
getCountry
();
67
75
public
function
getCustomerGroup
();
76
84
public
function
getChannel
();
85
92
public
function
getValidFrom
();
93
100
public
function
getValidUntil
();
101
108
public
function
getTiers
();
109
116
public
function
getDiscounted
();
117
124
public
function
getCustom
();
125
129
public
function
setKey
(?
string
$key): void;
130
134
public
function
setSku
(?
string
$sku): void;
135
139
public
function
setValue
(?
TypedMoney
$value): void;
140
144
public
function
setCountry
(?
string
$country): void;
145
149
public
function
setCustomerGroup
(?
CustomerGroupKeyReference
$customerGroup): void;
150
154
public
function
setChannel
(?
ChannelKeyReference
$channel): void;
155
159
public
function
setValidFrom
(?DateTimeImmutable $validFrom): void;
160
164
public
function
setValidUntil
(?DateTimeImmutable $validUntil): void;
165
169
public
function
setTiers
(?
PriceTierCollection
$tiers): void;
170
174
public
function
setDiscounted
(?
DiscountedPrice
$discounted): void;
175
179
public
function
setCustom
(?
Custom
$custom): void;
180
}
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\ImportResource
Definition:
ImportResource.php:26
Commercetools\Import\Models\Common\TypedMoney
Definition:
TypedMoney.php:15
Commercetools\Import\Models\Customfields\Custom
Definition:
Custom.php:16
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport
Definition:
StandalonePriceImport.php:23
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\FIELD_VALUE
const FIELD_VALUE
Definition:
StandalonePriceImport.php:25
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\FIELD_VALID_UNTIL
const FIELD_VALID_UNTIL
Definition:
StandalonePriceImport.php:30
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\getSku
getSku()
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\FIELD_TIERS
const FIELD_TIERS
Definition:
StandalonePriceImport.php:31
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\getCustom
getCustom()
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\getKey
getKey()
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\setCustomerGroup
setCustomerGroup(?CustomerGroupKeyReference $customerGroup)
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\setValue
setValue(?TypedMoney $value)
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\setValidUntil
setValidUntil(?DateTimeImmutable $validUntil)
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\setValidFrom
setValidFrom(?DateTimeImmutable $validFrom)
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\FIELD_CHANNEL
const FIELD_CHANNEL
Definition:
StandalonePriceImport.php:28
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\getTiers
getTiers()
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\FIELD_COUNTRY
const FIELD_COUNTRY
Definition:
StandalonePriceImport.php:26
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\getCustomerGroup
getCustomerGroup()
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\getDiscounted
getDiscounted()
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\getValidFrom
getValidFrom()
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\FIELD_VALID_FROM
const FIELD_VALID_FROM
Definition:
StandalonePriceImport.php:29
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\FIELD_SKU
const FIELD_SKU
Definition:
StandalonePriceImport.php:24
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\setCustom
setCustom(?Custom $custom)
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
StandalonePriceImport.php:33
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\setDiscounted
setDiscounted(?DiscountedPrice $discounted)
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\setChannel
setChannel(?ChannelKeyReference $channel)
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\setKey
setKey(?string $key)
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\FIELD_CUSTOMER_GROUP
const FIELD_CUSTOMER_GROUP
Definition:
StandalonePriceImport.php:27
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\getCountry
getCountry()
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\FIELD_DISCOUNTED
const FIELD_DISCOUNTED
Definition:
StandalonePriceImport.php:32
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\setSku
setSku(?string $sku)
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\setTiers
setTiers(?PriceTierCollection $tiers)
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\getValue
getValue()
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\getChannel
getChannel()
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\setCountry
setCountry(?string $country)
Commercetools\Import\Models\StandalonePrices\StandalonePriceImport\getValidUntil
getValidUntil()
Commercetools\Import\Models\StandalonePrices
Definition:
StandalonePriceImport.php:9
Generated by
1.9.1