-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathProductSearchProjectionParams.php
More file actions
148 lines (117 loc) · 5.53 KB
/
Copy pathProductSearchProjectionParams.php
File metadata and controls
148 lines (117 loc) · 5.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<?php
declare(strict_types=1);
/**
* This file has been auto generated
* Do not change it.
*/
namespace Commercetools\Api\Models\ProductSearch;
use Commercetools\Base\DateTimeImmutableCollection;
use Commercetools\Base\JsonObject;
interface ProductSearchProjectionParams extends JsonObject
{
public const FIELD_EXPAND = 'expand';
public const FIELD_STAGED = 'staged';
public const FIELD_PRICE_CURRENCY = 'priceCurrency';
public const FIELD_PRICE_COUNTRY = 'priceCountry';
public const FIELD_PRICE_CUSTOMER_GROUP = 'priceCustomerGroup';
public const FIELD_PRICE_CUSTOMER_GROUP_ASSIGNMENTS = 'priceCustomerGroupAssignments';
public const FIELD_PRICE_CHANNEL = 'priceChannel';
public const FIELD_LOCALE_PROJECTION = 'localeProjection';
public const FIELD_STORE_PROJECTION = 'storeProjection';
/**
* <p>Expands a <code>value</code> of type <a href="ctp:api:type:Reference">Reference</a> in a <a href="ctp:api:type:ProductProjection">ProductProjection</a>.
* In case the referenced object does not exist, the API returns the non-expanded reference.</p>
*
* @return null|array
*/
public function getExpand();
/**
* <p>Set to <code>true</code> to retrieve the <a href="ctp:api:type:CurrentStaged">staged</a> Product Projection</p>
*
* @return null|bool
*/
public function getStaged();
/**
* <p>The currency used for <a href="/../api/pricing-and-discounts-overview#product-price-selection">Product price selection</a>.</p>
*
* @return null|string
*/
public function getPriceCurrency();
/**
* <p>The country used for <a href="/../api/pricing-and-discounts-overview#product-price-selection">Product price selection</a>. It can be used only <em>in conjunction with</em> the <code>priceCurrency</code> parameter.</p>
*
* @return null|string
*/
public function getPriceCountry();
/**
* <p><code>id</code> of an existing <a href="ctp:api:type:CustomerGroup">CustomerGroup</a> used for <a href="/../api/pricing-and-discounts-overview#product-price-selection">Product price selection</a>. It can be used only <em>in conjunction with</em> the <code>priceCurrency</code> parameter.</p>
*
* @return null|string
*/
public function getPriceCustomerGroup();
/**
* <p>IDs of existing <a href="ctp:api:type:CustomerGroup">CustomerGroups</a> used for <a href="/../api/pricing-and-discounts-overview#product-price-selection">Product price selection</a>, when using <a href="/../api/customers-overview#customer-groups">multiple Customer Groups</a>. It can be used only <em>in conjunction with</em> the <code>priceCurrency</code> parameter.</p>
*
* @return null|array
*/
public function getPriceCustomerGroupAssignments();
/**
* <p><code>id</code> of an existing <a href="ctp:api:type:Channel">Channel</a> used for <a href="/../api/pricing-and-discounts-overview#product-price-selection">Product price selection</a>. It can be used only <em>in conjunction with</em> the <code>priceCurrency</code> parameter.</p>
*
* @return null|string
*/
public function getPriceChannel();
/**
* <p>Used for <a href="ctp:api:type:ProductProjectionLocales">locale-based projection</a>.</p>
*
* @return null|array
*/
public function getLocaleProjection();
/**
* <p><code>key</code> of an existing <a href="ctp:api:type:Store">Store</a>.
* If the Store has defined <code>languages</code>, <code>countries</code>, <code>distributionChannels</code>, or <code>supplyChannels</code>,
* they are used for projections based on <a href="ctp:api:type:ProductProjectionLocales">locale</a>, <a href="ctp:api:type:ProductProjectionPrices">price</a>,
* and <a href="ctp:api:type:ProductProjectionInventoryEntries">inventory</a>.</p>
* <p>For Projects with active <a href="/api/projects/product-selections">Product Selections</a>, the API does not take the <a href="/api/project-configuration-overview#products-available-in-store">availability of the Product in the specified Store</a> into account.</p>
* <p><a href="/api/projects/product-tailoring">Product Tailoring</a> modifies the product information returned in API responses. However, you can only specify <a href="/api/search-query-language#simple-expressions">query expressions</a> for the original Product data, not for tailored data.</p>
*
* @return null|string
*/
public function getStoreProjection();
/**
* @param ?array $expand
*/
public function setExpand(?array $expand): void;
/**
* @param ?bool $staged
*/
public function setStaged(?bool $staged): void;
/**
* @param ?string $priceCurrency
*/
public function setPriceCurrency(?string $priceCurrency): void;
/**
* @param ?string $priceCountry
*/
public function setPriceCountry(?string $priceCountry): void;
/**
* @param ?string $priceCustomerGroup
*/
public function setPriceCustomerGroup(?string $priceCustomerGroup): void;
/**
* @param ?array $priceCustomerGroupAssignments
*/
public function setPriceCustomerGroupAssignments(?array $priceCustomerGroupAssignments): void;
/**
* @param ?string $priceChannel
*/
public function setPriceChannel(?string $priceChannel): void;
/**
* @param ?array $localeProjection
*/
public function setLocaleProjection(?array $localeProjection): void;
/**
* @param ?string $storeProjection
*/
public function setStoreProjection(?string $storeProjection): void;
}