Skip to content

Commit 7a9528d

Browse files
author
okarpenko
committed
MAGETWO-32631: Define Public API - South (CS)
1 parent 3aabe13 commit 7a9528d

File tree

4 files changed

+0
-27
lines changed

4 files changed

+0
-27
lines changed

app/code/Magento/CustomerImportExport/Model/Export/Address.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ protected function _getEntityCollection()
202202
/**
203203
* Export process
204204
*
205-
* @api
206205
* @return string
207206
*/
208207
public function export()

app/code/Magento/CustomerImportExport/Model/Export/Customer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ public function __construct(
119119
/**
120120
* Export process.
121121
*
122-
* @api
123122
* @return string
124123
*/
125124
public function export()

app/code/Magento/Wishlist/Model/Item.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ protected function _construct()
176176
/**
177177
* Set quantity. If quantity is less than 0 - set it to 1
178178
*
179-
* @api
180179
* @param int $qty
181180
* @return $this
182181
*/
@@ -309,7 +308,6 @@ public function afterSave()
309308
/**
310309
* Validate wish list item data
311310
*
312-
* @api
313311
* @return bool
314312
* @throws \Magento\Framework\Exception\LocalizedException
315313
*/
@@ -353,7 +351,6 @@ public function beforeSave()
353351
/**
354352
* Load item by product, wishlist and shared stores
355353
*
356-
* @api
357354
* @param int $wishlistId
358355
* @param int $productId
359356
* @param array $sharedStores
@@ -403,7 +400,6 @@ public function getProduct()
403400
* Return true if product was successful added or exception with code
404401
* Return false for disabled or unvisible products
405402
*
406-
* @api
407403
* @param \Magento\Checkout\Model\Cart $cart
408404
* @param bool $delete delete the item after successful add to cart
409405
* @return bool
@@ -475,7 +471,6 @@ public function getProductUrl()
475471
* Returns formatted buy request - object, holding request received from
476472
* product view page with keys and options for configured product
477473
*
478-
* @api
479474
* @return \Magento\Framework\Object
480475
*/
481476
public function getBuyRequest()
@@ -577,7 +572,6 @@ public function isRepresent($product, $buyRequest)
577572
/**
578573
* Check product representation in item
579574
*
580-
* @api
581575
* @param \Magento\Catalog\Model\Product $product
582576
* @return bool
583577
*/
@@ -626,7 +620,6 @@ public function compareOptions($options1, $options2)
626620
/**
627621
* Initialize item options
628622
*
629-
* @api
630623
* @param array $options
631624
* @return $this
632625
*/
@@ -641,7 +634,6 @@ public function setOptions($options)
641634
/**
642635
* Get all item options
643636
*
644-
* @api
645637
* @return Option[]
646638
*/
647639
public function getOptions()
@@ -662,7 +654,6 @@ public function getOptionsByCode()
662654
/**
663655
* Add option to item
664656
*
665-
* @api
666657
* @param Option|\Magento\Framework\Object|array $option
667658
* @return $this
668659
* @throws \Magento\Framework\Exception\LocalizedException
@@ -694,7 +685,6 @@ public function addOption($option)
694685
/**
695686
* Remove option from item options
696687
*
697-
* @api
698688
* @param string $code
699689
* @return $this
700690
*/
@@ -710,7 +700,6 @@ public function removeOption($code)
710700
/**
711701
* Get item option by code
712702
*
713-
* @api
714703
* @param string $code
715704
* @return Option|null
716705
*/
@@ -774,7 +763,6 @@ public function getFileDownloadParams()
774763
* If we need to load only some of options, then option code or array of option codes
775764
* can be provided in $optionsFilter.
776765
*
777-
* @api
778766
* @param int $id
779767
* @param null|string|array $optionsFilter
780768
*

app/code/Magento/Wishlist/Model/Wishlist.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ public function __construct(
172172
/**
173173
* Load wishlist by customer id
174174
*
175-
* @api
176175
* @param int $customerId
177176
* @param bool $create Create wishlist if don't exists
178177
* @return $this
@@ -197,7 +196,6 @@ public function loadByCustomerId($customerId, $create = false)
197196
/**
198197
* Retrieve wishlist name
199198
*
200-
* @api
201199
* @return string
202200
*/
203201
public function getName()
@@ -212,7 +210,6 @@ public function getName()
212210
/**
213211
* Set random sharing code
214212
*
215-
* @api
216213
* @return $this
217214
*/
218215
public function generateSharingCode()
@@ -224,7 +221,6 @@ public function generateSharingCode()
224221
/**
225222
* Load by sharing code
226223
*
227-
* @api
228224
* @param string $code
229225
* @return $this
230226
*/
@@ -339,7 +335,6 @@ public function getItemCollection()
339335
/**
340336
* Retrieve wishlist item collection
341337
*
342-
* @api
343338
* @param int $itemId
344339
* @return false|Item
345340
*/
@@ -354,7 +349,6 @@ public function getItem($itemId)
354349
/**
355350
* Adding item to wishlist
356351
*
357-
* @api
358352
* @param Item $item
359353
* @return $this
360354
*/
@@ -372,7 +366,6 @@ public function addItem(Item $item)
372366
* Adds new product to wishlist.
373367
* Returns new item or string on error.
374368
*
375-
* @api
376369
* @param int|\Magento\Catalog\Model\Product $product
377370
* @param \Magento\Framework\Object|array|string|null $buyRequest
378371
* @param bool $forciblySetQty
@@ -462,7 +455,6 @@ public function addNewItem($product, $buyRequest = null, $forciblySetQty = false
462455
/**
463456
* Set customer id
464457
*
465-
* @api
466458
* @param int $customerId
467459
* @return $this
468460
*/
@@ -474,7 +466,6 @@ public function setCustomerId($customerId)
474466
/**
475467
* Retrieve customer id
476468
*
477-
* @api
478469
* @return int
479470
*/
480471
public function getCustomerId()
@@ -533,7 +524,6 @@ public function setSharedStoreIds($storeIds)
533524
/**
534525
* Retrieve wishlist store object
535526
*
536-
* @api
537527
* @return \Magento\Store\Model\Store
538528
*/
539529
public function getStore()
@@ -547,7 +537,6 @@ public function getStore()
547537
/**
548538
* Set wishlist store
549539
*
550-
* @api
551540
* @param \Magento\Store\Model\Store $store
552541
* @return $this
553542
*/
@@ -560,7 +549,6 @@ public function setStore($store)
560549
/**
561550
* Retrieve wishlist items count
562551
*
563-
* @api
564552
* @return int
565553
*/
566554
public function getItemsCount()
@@ -608,7 +596,6 @@ public function isOwner($customerId)
608596
*
609597
* For more options see \Magento\Catalog\Helper\Product->addParamsToBuyRequest()
610598
*
611-
* @api
612599
* @param int|Item $itemId
613600
* @param \Magento\Framework\Object $buyRequest
614601
* @param null|array|\Magento\Framework\Object $params

0 commit comments

Comments
 (0)