init
This commit is contained in:
@@ -0,0 +1,163 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stemcell\Catalog\Api\Data;
|
||||
|
||||
interface CellSortInterface
|
||||
{
|
||||
const CELLSORT_ID = 'cell_sort_id';
|
||||
const SPECIES_ID = 'species_id';
|
||||
const SPECIES_NAME = 'species_name';
|
||||
const CELL_TYPE_ID = 'cell_type_id';
|
||||
const CELL_TYPE_NAME = 'cell_type_name';
|
||||
|
||||
const CELL_SUBTYPE_ID = 'cell_subtype_id';
|
||||
const CELL_SUBTYPE_NAME = 'cell_subtype_name';
|
||||
|
||||
const TISSUE_ID = 'tissue_id';
|
||||
const TISSUE_NAME = 'tissue_name';
|
||||
const FLAG = 'flag';
|
||||
|
||||
const SKU = 'sku';
|
||||
|
||||
/**
|
||||
* Get cell_sort_id
|
||||
* @return int
|
||||
*/
|
||||
public function getCellSortId();
|
||||
|
||||
/**
|
||||
* Get species id
|
||||
* @return int
|
||||
*/
|
||||
public function getSpeciesId();
|
||||
|
||||
/**
|
||||
* Set species_name
|
||||
* @param int $speciesId
|
||||
* @return \Stemcell\Catalog\CellSort\Api\Data\CellSortInterface
|
||||
*/
|
||||
public function setSpeciesId(int $speciesId);
|
||||
|
||||
/**
|
||||
* Get species_name
|
||||
* @return string
|
||||
*/
|
||||
public function getSpeciesName();
|
||||
|
||||
/**
|
||||
* Set species_name
|
||||
* @param string $speciesName
|
||||
* @return \Stemcell\Catalog\CellSort\Api\Data\CellSortInterface
|
||||
*/
|
||||
public function setSpeciesName(string $speciesName);
|
||||
|
||||
/**
|
||||
* Get tissue_id
|
||||
* @return int
|
||||
*/
|
||||
public function getTissueId();
|
||||
|
||||
/**
|
||||
* Set tissue_id
|
||||
* @param int $tissueId
|
||||
* @return \Stemcell\Catalog\CellSort\Api\Data\CellSortInterface
|
||||
*/
|
||||
public function setTissueId(int $tissueId);
|
||||
|
||||
/**
|
||||
* Get tissue_name
|
||||
* @return string
|
||||
*/
|
||||
public function getTissueName();
|
||||
|
||||
/**
|
||||
* Set tissue_name
|
||||
* @param string $tissueName
|
||||
* @return \Stemcell\Catalog\CellSort\Api\Data\CellSortInterface
|
||||
*/
|
||||
public function setTissueName(string $tissueName);
|
||||
|
||||
/**
|
||||
* Get cell_type_id
|
||||
* @return int
|
||||
*/
|
||||
public function getCellTypeId();
|
||||
|
||||
/**
|
||||
* Set cell_type_id
|
||||
* @param int $cellTypeId
|
||||
* @return \Stemcell\Catalog\CellSort\Api\Data\CellSortInterface
|
||||
*/
|
||||
public function setCellTypeId(int $cellTypeId);
|
||||
|
||||
/**
|
||||
* Get cell_type_name
|
||||
* @return string
|
||||
*/
|
||||
public function getCellTypeName();
|
||||
|
||||
/**
|
||||
* Set cell_type_name
|
||||
* @param string $cellTypeName
|
||||
* @return \Stemcell\Catalog\CellSort\Api\Data\CellSortInterface
|
||||
*/
|
||||
public function setCellTypeName(string $cellTypeName);
|
||||
|
||||
/**
|
||||
* Get cell_subtype_id
|
||||
* @return int
|
||||
*/
|
||||
public function getCellSubTypeId();
|
||||
|
||||
/**
|
||||
* Set cell_subtype_id
|
||||
* @param int $cellSubTypeId
|
||||
* @return \Stemcell\Catalog\CellSort\Api\Data\CellSortInterface
|
||||
*/
|
||||
public function setCellSubTypeId(int $cellSubTypeId);
|
||||
|
||||
/**
|
||||
* Get cell_subtype_name
|
||||
* @return string
|
||||
*/
|
||||
public function getCellSubTypeName();
|
||||
|
||||
/**
|
||||
* Set cell_subtype_name
|
||||
* @param string $cellSubTypeName
|
||||
* @return \Stemcell\Catalog\CellSort\Api\Data\CellSortInterface
|
||||
*/
|
||||
public function setCellSubTypeName(string $cellSubTypeName);
|
||||
|
||||
/**
|
||||
* Get flag
|
||||
* @return string
|
||||
*/
|
||||
public function getFlag();
|
||||
|
||||
/**
|
||||
* Set flag
|
||||
* @param int $flag
|
||||
* @return \Stemcell\Catalog\CellSort\Api\Data\CellSortInterface
|
||||
*/
|
||||
public function setFlag(int $flag);
|
||||
|
||||
/**
|
||||
* Get flag
|
||||
* @return string
|
||||
*/
|
||||
public function getSku();
|
||||
|
||||
/**
|
||||
* Set flag
|
||||
* @param string $sku
|
||||
* @return \Stemcell\Catalog\CellSort\Api\Data\CellSortInterface
|
||||
*/
|
||||
public function setSku(string $sku);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stemcell\Catalog\Api\Data;
|
||||
|
||||
interface CellSortSearchResultsInterface extends \Magento\Catalog\Api\Data\ProductSearchResultsInterface
|
||||
{
|
||||
const FILTERS = 'filters';
|
||||
|
||||
const LABELS = 'labels';
|
||||
/**
|
||||
* Get CellSort list.
|
||||
* @return string
|
||||
*/
|
||||
public function getFilters();
|
||||
|
||||
/**
|
||||
* Set cell_sort_id list.
|
||||
* @param string $filters
|
||||
* @return $this
|
||||
*/
|
||||
public function setFilters(string $filters);
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLabels();
|
||||
|
||||
/**
|
||||
* Set cell_sort_id list.
|
||||
* @param string $filters
|
||||
* @return $this
|
||||
*/
|
||||
public function setLabels(string $labels);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stemcell\Catalog\Api\Data;
|
||||
|
||||
interface CellSubTypeInterface
|
||||
{
|
||||
|
||||
const NAME = 'name';
|
||||
const CELLSUBTYPE_ID = 'cell_subtype_id';
|
||||
|
||||
/**
|
||||
* Get cellsubtype_id
|
||||
* @return string|null
|
||||
*/
|
||||
public function getCellsubtypeId();
|
||||
|
||||
/**
|
||||
* Set cellsubtype_id
|
||||
* @param string $cellsubtypeId
|
||||
* @return \Stemcell\Catalog\CellSubType\Api\Data\CellSubTypeInterface
|
||||
*/
|
||||
public function setCellsubtypeId($cellsubtypeId);
|
||||
|
||||
/**
|
||||
* Get name
|
||||
* @return string|null
|
||||
*/
|
||||
public function getName();
|
||||
|
||||
/**
|
||||
* Set name
|
||||
* @param string $name
|
||||
* @return \Stemcell\Catalog\CellSubType\Api\Data\CellSubTypeInterface
|
||||
*/
|
||||
public function setName($name);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stemcell\Catalog\Api\Data;
|
||||
|
||||
interface CellSubTypeSearchResultsInterface extends \Magento\Framework\Api\SearchResultsInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* Get CellSubType list.
|
||||
* @return \Stemcell\Catalog\Api\Data\CellSubTypeInterface[]
|
||||
*/
|
||||
public function getItems();
|
||||
|
||||
/**
|
||||
* Set name list.
|
||||
* @param \Stemcell\Catalog\Api\Data\CellSubTypeInterface[] $items
|
||||
* @return $this
|
||||
*/
|
||||
public function setItems(array $items);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stemcell\Catalog\Api\Data;
|
||||
|
||||
interface CellTypeInterface
|
||||
{
|
||||
|
||||
const CELL_TYPE_NAME = 'cell_type_name';
|
||||
const CELL_TYPE_ID = 'cell_type_id';
|
||||
|
||||
/**
|
||||
* Get celltype_id
|
||||
* @return string|null
|
||||
*/
|
||||
public function getCelltypeId();
|
||||
|
||||
/**
|
||||
* Get cell_type_name
|
||||
* @return string|null
|
||||
*/
|
||||
public function getCellTypeName();
|
||||
|
||||
/**
|
||||
* Set cell_type_name
|
||||
* @param string $cellTypeName
|
||||
* @return \Stemcell\Catalog\CellType\Api\Data\CellTypeInterface
|
||||
*/
|
||||
public function setCellTypeName($cellTypeName);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stemcell\Catalog\Api\Data;
|
||||
|
||||
interface CellTypeSearchResultsInterface extends \Magento\Framework\Api\SearchResultsInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* Get CellType list.
|
||||
* @return \Stemcell\Catalog\Api\Data\CellTypeInterface[]
|
||||
*/
|
||||
public function getItems();
|
||||
|
||||
/**
|
||||
* Set cell_type_name list.
|
||||
* @param \Stemcell\Catalog\Api\Data\CellTypeInterface[] $items
|
||||
* @return $this
|
||||
*/
|
||||
public function setItems(array $items);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,105 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stemcell\Catalog\Api\Data;
|
||||
|
||||
interface CryopreserveInterface
|
||||
{
|
||||
|
||||
const TYPE = 'type';
|
||||
const DESC = 'desc';
|
||||
const CRYOPRESERVE_ID = 'cryopreserve_id';
|
||||
const REFERENCE_DENSITY = 'reference_density';
|
||||
const REFERENCE = 'reference';
|
||||
const SAMPLE = 'sample';
|
||||
const CELL_TYPE = 'cell_type';
|
||||
|
||||
/**
|
||||
* Get cryopreserve_id
|
||||
* @return string|null
|
||||
*/
|
||||
public function getCryopreserveId();
|
||||
|
||||
/**
|
||||
* Get sample
|
||||
* @return string|null
|
||||
*/
|
||||
public function getSample();
|
||||
|
||||
/**
|
||||
* Set sample
|
||||
* @param string $sample
|
||||
* @return \Stemcell\Catalog\Cryopreserve\Api\Data\CryopreserveInterface
|
||||
*/
|
||||
public function setSample(string $sample);
|
||||
|
||||
/**
|
||||
* Get type
|
||||
* @return string|null
|
||||
*/
|
||||
public function getType();
|
||||
|
||||
/**
|
||||
* Set type
|
||||
* @param string $type
|
||||
* @return \Stemcell\Catalog\Cryopreserve\Api\Data\CryopreserveInterface
|
||||
*/
|
||||
public function setType(string $type);
|
||||
|
||||
/**
|
||||
* Get cell_type
|
||||
* @return string|null
|
||||
*/
|
||||
public function getCellType();
|
||||
|
||||
/**
|
||||
* Set cell_type
|
||||
* @param string $cellType
|
||||
* @return \Stemcell\Catalog\Cryopreserve\Api\Data\CryopreserveInterface
|
||||
*/
|
||||
public function setCellType(string $cellType);
|
||||
|
||||
/**
|
||||
* Get reference_density
|
||||
* @return string|null
|
||||
*/
|
||||
public function getReferenceDensity();
|
||||
|
||||
/**
|
||||
* Set reference_density
|
||||
* @param string $referenceDensity
|
||||
* @return \Stemcell\Catalog\Cryopreserve\Api\Data\CryopreserveInterface
|
||||
*/
|
||||
public function setReferenceDensity(string $referenceDensity);
|
||||
|
||||
/**
|
||||
* Get desc
|
||||
* @return string|null
|
||||
*/
|
||||
public function getDesc();
|
||||
|
||||
/**
|
||||
* Set desc
|
||||
* @param string $desc
|
||||
* @return \Stemcell\Catalog\Cryopreserve\Api\Data\CryopreserveInterface
|
||||
*/
|
||||
public function setDesc(string $desc);
|
||||
|
||||
/**
|
||||
* Get reference
|
||||
* @return string|null
|
||||
*/
|
||||
public function getReference();
|
||||
|
||||
/**
|
||||
* Set reference
|
||||
* @param string $reference
|
||||
* @return \Stemcell\Catalog\Cryopreserve\Api\Data\CryopreserveInterface
|
||||
*/
|
||||
public function setReference(string $reference);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stemcell\Catalog\Api\Data;
|
||||
|
||||
interface CryopreserveSearchResultsInterface extends \Magento\Framework\Api\SearchResultsInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* Get cryopreserve list.
|
||||
* @return \Stemcell\Catalog\Api\Data\CryopreserveInterface[]
|
||||
*/
|
||||
public function getItems();
|
||||
|
||||
/**
|
||||
* Set id list.
|
||||
* @param \Stemcell\Catalog\Api\Data\CryopreserveInterface[] $items
|
||||
* @return $this
|
||||
*/
|
||||
public function setItems(array $items);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,92 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stemcell\Catalog\Api\Data;
|
||||
|
||||
interface ExperimentalSchemeInterface
|
||||
{
|
||||
|
||||
const EXPERIMENTALSCHEME_ID = 'experimental_scheme_id';
|
||||
const MP_URL = 'mp_url';
|
||||
const IMAGE = 'image';
|
||||
const TITLE = 'title';
|
||||
|
||||
const COLLECTION_SORT = 'collection_sort';
|
||||
const COLLECTION_NAME = 'collection_name';
|
||||
|
||||
/**
|
||||
* Get experimental_scheme_id
|
||||
* @return string|null
|
||||
*/
|
||||
public function getExperimentalschemeId();
|
||||
|
||||
/**
|
||||
* Get collection_name
|
||||
* @return string|null
|
||||
*/
|
||||
public function getCollectionName();
|
||||
|
||||
/**
|
||||
* Set collection_name
|
||||
* @param string $collectionName
|
||||
* @return \Stemcell\Catalog\ExperimentalScheme\Api\Data\ExperimentalSchemeInterface
|
||||
*/
|
||||
public function setCollectionName(string $collectionName);
|
||||
|
||||
/**
|
||||
* Get collection_sort
|
||||
* @return int|null
|
||||
*/
|
||||
public function getCollectionSort();
|
||||
|
||||
/**
|
||||
* Set collection_sort
|
||||
* @param int $collectionSort
|
||||
* @return \Stemcell\Catalog\ExperimentalScheme\Api\Data\ExperimentalSchemeInterface
|
||||
*/
|
||||
public function setCollectionSort(int $collectionSort);
|
||||
|
||||
/**
|
||||
* Get title
|
||||
* @return string|null
|
||||
*/
|
||||
public function getTitle();
|
||||
|
||||
/**
|
||||
* Set title
|
||||
* @param string $title
|
||||
* @return \Stemcell\Catalog\ExperimentalScheme\Api\Data\ExperimentalSchemeInterface
|
||||
*/
|
||||
public function setTitle(string $title);
|
||||
|
||||
/**
|
||||
* Get image
|
||||
* @return string|null
|
||||
*/
|
||||
public function getImage();
|
||||
|
||||
/**
|
||||
* Set image
|
||||
* @param string $image
|
||||
* @return \Stemcell\Catalog\ExperimentalScheme\Api\Data\ExperimentalSchemeInterface
|
||||
*/
|
||||
public function setImage(string $image);
|
||||
|
||||
/**
|
||||
* Get mp_url
|
||||
* @return string|null
|
||||
*/
|
||||
public function getMpUrl();
|
||||
|
||||
/**
|
||||
* Set mp_url
|
||||
* @param string $mpUrl
|
||||
* @return \Stemcell\Catalog\ExperimentalScheme\Api\Data\ExperimentalSchemeInterface
|
||||
*/
|
||||
public function setMpUrl(string $mpUrl);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stemcell\Catalog\Api\Data;
|
||||
|
||||
interface ExperimentalSchemeSearchResultsInterface extends \Magento\Framework\Api\SearchResultsInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* Get ExperimentalScheme list.
|
||||
* @return \Stemcell\Catalog\Api\Data\ExperimentalSchemeInterface[]
|
||||
*/
|
||||
public function getItems();
|
||||
|
||||
/**
|
||||
* Set collection_name list.
|
||||
* @param \Stemcell\Catalog\Api\Data\ExperimentalSchemeInterface[] $items
|
||||
* @return $this
|
||||
*/
|
||||
public function setItems(array $items);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace Stemcell\Catalog\Api\Data;
|
||||
|
||||
interface ProductListWithFilterInterface extends \Magento\Catalog\Api\Data\ProductSearchResultsInterface
|
||||
{
|
||||
/**
|
||||
* @param string $filter
|
||||
* @return $this
|
||||
*/
|
||||
public function setFilters(string $filter);
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getFilters();
|
||||
|
||||
/**
|
||||
* @param string $filterCode
|
||||
* @return $this
|
||||
*/
|
||||
public function setFilterCode(string $filterCode);
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getFilterCode();
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stemcell\Catalog\Api\Data;
|
||||
|
||||
interface ProductManualSearchInterface
|
||||
{
|
||||
|
||||
const NAME = 'name';
|
||||
const SKU = 'sku';
|
||||
const SEARCH_ID = 'search_id';
|
||||
const SEARCH_SKU = 'search_sku';
|
||||
|
||||
/**
|
||||
* Get search_id
|
||||
* @return string|null
|
||||
*/
|
||||
public function getSearchId();
|
||||
|
||||
/**
|
||||
* Get name
|
||||
* @return string|null
|
||||
*/
|
||||
public function getName();
|
||||
|
||||
/**
|
||||
* Set name
|
||||
* @param string $name
|
||||
* @return \Stemcell\Catalog\Api\Data\ProductManualSearchInterface
|
||||
*/
|
||||
public function setName($name);
|
||||
|
||||
/**
|
||||
* Get sku
|
||||
* @return string|null
|
||||
*/
|
||||
public function getSku();
|
||||
|
||||
/**
|
||||
* Set sku
|
||||
* @param string $sku
|
||||
* @return \Stemcell\Catalog\Api\Data\ProductManualSearchInterface
|
||||
*/
|
||||
public function setSku($sku);
|
||||
|
||||
/**
|
||||
* Get search_sku
|
||||
* @return string|null
|
||||
*/
|
||||
public function getSearchSku();
|
||||
|
||||
/**
|
||||
* Set search_sku
|
||||
* @param string $searchSku
|
||||
* @return \Stemcell\Catalog\Api\Data\ProductManualSearchInterface
|
||||
*/
|
||||
public function setSearchSku($searchSku);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stemcell\Catalog\Api\Data;
|
||||
|
||||
interface ProductManualSearchSearchResultsInterface extends \Magento\Framework\Api\SearchResultsInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* Get ProductManualSearch list.
|
||||
* @return \Stemcell\Catalog\Api\Data\ProductManualSearchInterface[]
|
||||
*/
|
||||
public function getItems();
|
||||
|
||||
/**
|
||||
* Set name list.
|
||||
* @param \Stemcell\Catalog\Api\Data\ProductManualSearchInterface[] $items
|
||||
* @return $this
|
||||
*/
|
||||
public function setItems(array $items);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stemcell\Catalog\Api\Data;
|
||||
|
||||
interface SpeciesInterface
|
||||
{
|
||||
|
||||
const SPECIES_NAME = 'species_name';
|
||||
const SPECIES_ID = 'species_id';
|
||||
|
||||
/**
|
||||
* Get species_name
|
||||
* @return string|null
|
||||
*/
|
||||
public function getSpeciesName();
|
||||
|
||||
/**
|
||||
* Set species_name
|
||||
* @param string $speciesName
|
||||
* @return \Stemcell\Catalog\Species\Api\Data\SpeciesInterface
|
||||
*/
|
||||
public function setSpeciesName($speciesName);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stemcell\Catalog\Api\Data;
|
||||
|
||||
interface SpeciesSearchResultsInterface extends \Magento\Framework\Api\SearchResultsInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* Get Species list.
|
||||
* @return \Stemcell\Catalog\Api\Data\SpeciesInterface[]
|
||||
*/
|
||||
public function getItems();
|
||||
|
||||
/**
|
||||
* Set species_id list.
|
||||
* @param \Stemcell\Catalog\Api\Data\SpeciesInterface[] $items
|
||||
* @return $this
|
||||
*/
|
||||
public function setItems(array $items);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stemcell\Catalog\Api\Data;
|
||||
|
||||
interface TissueInterface
|
||||
{
|
||||
|
||||
const TISSUE_ID = 'tissue_id';
|
||||
const TISSUE_NAME = 'tissue_name';
|
||||
|
||||
/**
|
||||
* Get tissue_id
|
||||
* @return string|null
|
||||
*/
|
||||
public function getTissueId();
|
||||
|
||||
/**
|
||||
* Get tissue_name
|
||||
* @return string|null
|
||||
*/
|
||||
public function getTissueName();
|
||||
|
||||
/**
|
||||
* Set tissue_name
|
||||
* @param string $tissueName
|
||||
* @return \Stemcell\Catalog\Tissue\Api\Data\TissueInterface
|
||||
*/
|
||||
public function setTissueName($tissueName);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stemcell\Catalog\Api\Data;
|
||||
|
||||
interface TissueSearchResultsInterface extends \Magento\Framework\Api\SearchResultsInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* Get Tissue list.
|
||||
* @return \Stemcell\Catalog\Api\Data\TissueInterface[]
|
||||
*/
|
||||
public function getItems();
|
||||
|
||||
/**
|
||||
* Set tissue_id list.
|
||||
* @param \Stemcell\Catalog\Api\Data\TissueInterface[] $items
|
||||
* @return $this
|
||||
*/
|
||||
public function setItems(array $items);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user