commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-import
src
Models
Prices
PriceImport.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Import\Models\Prices
;
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\ProductKeyReference
;
19
use
Commercetools\Import\Models\Common\ProductVariantKeyReference
;
20
use
Commercetools\Import\Models\Common\TypedMoney
;
21
use
Commercetools\Import\Models\Customfields\Custom
;
22
use DateTimeImmutable;
23
24
interface
PriceImport
extends
ImportResource
25
{
26
public
const
FIELD_VALUE
=
'value'
;
27
public
const
FIELD_COUNTRY
=
'country'
;
28
public
const
FIELD_VALID_FROM
=
'validFrom'
;
29
public
const
FIELD_VALID_UNTIL
=
'validUntil'
;
30
public
const
FIELD_CUSTOMER_GROUP
=
'customerGroup'
;
31
public
const
FIELD_CHANNEL
=
'channel'
;
32
public
const
FIELD_DISCOUNTED
=
'discounted'
;
33
public
const
FIELD_STAGED
=
'staged'
;
34
public
const
FIELD_TIERS
=
'tiers'
;
35
public
const
FIELD_CUSTOM
=
'custom'
;
36
public
const
FIELD_PRODUCT_VARIANT
=
'productVariant'
;
37
public
const
FIELD_PRODUCT
=
'product'
;
38
45
public
function
getKey
();
46
53
public
function
getValue
();
54
61
public
function
getCountry
();
62
69
public
function
getValidFrom
();
70
77
public
function
getValidUntil
();
78
86
public
function
getCustomerGroup
();
87
95
public
function
getChannel
();
96
103
public
function
getDiscounted
();
104
114
public
function
getStaged
();
115
122
public
function
getTiers
();
123
130
public
function
getCustom
();
131
140
public
function
getProductVariant
();
141
150
public
function
getProduct
();
151
155
public
function
setKey
(?
string
$key): void;
156
160
public
function
setValue
(?
TypedMoney
$value): void;
161
165
public
function
setCountry
(?
string
$country): void;
166
170
public
function
setValidFrom
(?DateTimeImmutable $validFrom): void;
171
175
public
function
setValidUntil
(?DateTimeImmutable $validUntil): void;
176
180
public
function
setCustomerGroup
(?
CustomerGroupKeyReference
$customerGroup): void;
181
185
public
function
setChannel
(?
ChannelKeyReference
$channel): void;
186
190
public
function
setDiscounted
(?
DiscountedPrice
$discounted): void;
191
195
public
function
setStaged
(?
bool
$staged): void;
196
200
public
function
setTiers
(?
PriceTierCollection
$tiers): void;
201
205
public
function
setCustom
(?
Custom
$custom): void;
206
210
public
function
setProductVariant
(?
ProductVariantKeyReference
$productVariant): void;
211
215
public
function
setProduct
(?
ProductKeyReference
$product): void;
216
}
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\ProductKeyReference
Definition:
ProductKeyReference.php:15
Commercetools\Import\Models\Common\ProductVariantKeyReference
Definition:
ProductVariantKeyReference.php:15
Commercetools\Import\Models\Common\TypedMoney
Definition:
TypedMoney.php:15
Commercetools\Import\Models\Customfields\Custom
Definition:
Custom.php:16
Commercetools\Import\Models\Prices\PriceImport
Definition:
PriceImport.php:25
Commercetools\Import\Models\Prices\PriceImport\FIELD_VALID_UNTIL
const FIELD_VALID_UNTIL
Definition:
PriceImport.php:29
Commercetools\Import\Models\Prices\PriceImport\getValidFrom
getValidFrom()
Commercetools\Import\Models\Prices\PriceImport\getCustomerGroup
getCustomerGroup()
Commercetools\Import\Models\Prices\PriceImport\getKey
getKey()
Commercetools\Import\Models\Prices\PriceImport\getTiers
getTiers()
Commercetools\Import\Models\Prices\PriceImport\setProductVariant
setProductVariant(?ProductVariantKeyReference $productVariant)
Commercetools\Import\Models\Prices\PriceImport\FIELD_COUNTRY
const FIELD_COUNTRY
Definition:
PriceImport.php:27
Commercetools\Import\Models\Prices\PriceImport\setCountry
setCountry(?string $country)
Commercetools\Import\Models\Prices\PriceImport\setStaged
setStaged(?bool $staged)
Commercetools\Import\Models\Prices\PriceImport\getCountry
getCountry()
Commercetools\Import\Models\Prices\PriceImport\getChannel
getChannel()
Commercetools\Import\Models\Prices\PriceImport\FIELD_DISCOUNTED
const FIELD_DISCOUNTED
Definition:
PriceImport.php:32
Commercetools\Import\Models\Prices\PriceImport\FIELD_VALID_FROM
const FIELD_VALID_FROM
Definition:
PriceImport.php:28
Commercetools\Import\Models\Prices\PriceImport\FIELD_VALUE
const FIELD_VALUE
Definition:
PriceImport.php:26
Commercetools\Import\Models\Prices\PriceImport\getDiscounted
getDiscounted()
Commercetools\Import\Models\Prices\PriceImport\getProductVariant
getProductVariant()
Commercetools\Import\Models\Prices\PriceImport\getValidUntil
getValidUntil()
Commercetools\Import\Models\Prices\PriceImport\setValidFrom
setValidFrom(?DateTimeImmutable $validFrom)
Commercetools\Import\Models\Prices\PriceImport\getValue
getValue()
Commercetools\Import\Models\Prices\PriceImport\FIELD_CHANNEL
const FIELD_CHANNEL
Definition:
PriceImport.php:31
Commercetools\Import\Models\Prices\PriceImport\setValue
setValue(?TypedMoney $value)
Commercetools\Import\Models\Prices\PriceImport\getCustom
getCustom()
Commercetools\Import\Models\Prices\PriceImport\FIELD_PRODUCT_VARIANT
const FIELD_PRODUCT_VARIANT
Definition:
PriceImport.php:36
Commercetools\Import\Models\Prices\PriceImport\FIELD_CUSTOMER_GROUP
const FIELD_CUSTOMER_GROUP
Definition:
PriceImport.php:30
Commercetools\Import\Models\Prices\PriceImport\setChannel
setChannel(?ChannelKeyReference $channel)
Commercetools\Import\Models\Prices\PriceImport\setKey
setKey(?string $key)
Commercetools\Import\Models\Prices\PriceImport\FIELD_PRODUCT
const FIELD_PRODUCT
Definition:
PriceImport.php:37
Commercetools\Import\Models\Prices\PriceImport\setDiscounted
setDiscounted(?DiscountedPrice $discounted)
Commercetools\Import\Models\Prices\PriceImport\setCustomerGroup
setCustomerGroup(?CustomerGroupKeyReference $customerGroup)
Commercetools\Import\Models\Prices\PriceImport\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
PriceImport.php:35
Commercetools\Import\Models\Prices\PriceImport\setValidUntil
setValidUntil(?DateTimeImmutable $validUntil)
Commercetools\Import\Models\Prices\PriceImport\setCustom
setCustom(?Custom $custom)
Commercetools\Import\Models\Prices\PriceImport\setTiers
setTiers(?PriceTierCollection $tiers)
Commercetools\Import\Models\Prices\PriceImport\FIELD_STAGED
const FIELD_STAGED
Definition:
PriceImport.php:33
Commercetools\Import\Models\Prices\PriceImport\setProduct
setProduct(?ProductKeyReference $product)
Commercetools\Import\Models\Prices\PriceImport\getProduct
getProduct()
Commercetools\Import\Models\Prices\PriceImport\FIELD_TIERS
const FIELD_TIERS
Definition:
PriceImport.php:34
Commercetools\Import\Models\Prices\PriceImport\getStaged
getStaged()
Commercetools\Import\Models\Prices
Definition:
PriceImport.php:9
Generated by
1.9.1