ltsecurityinc安防产品在线商城代码

This commit is contained in:
2026-09-14 17:47:10 +08:00
parent 57d8444c15
commit 6a3c9c5bd8
14539 changed files with 1775310 additions and 0 deletions
+61
View File
@@ -0,0 +1,61 @@
<?php
/**
* Copyright © All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace JR\NetSuite\Api;
use Magento\Framework\Api\SearchCriteriaInterface;
interface LocationRepositoryInterface
{
/**
* Save location
* @param \JR\NetSuite\Api\Data\LocationInterface $location
* @return \JR\NetSuite\Api\Data\LocationInterface
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function save(
\JR\NetSuite\Api\Data\LocationInterface $location
);
/**
* Retrieve location
* @param string $locationId
* @return \JR\NetSuite\Api\Data\LocationInterface
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function get($locationId);
/**
* Retrieve location matching the specified criteria.
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
* @return \JR\NetSuite\Api\Data\LocationSearchResultsInterface
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function getList(
SearchCriteriaInterface $searchCriteria
);
/**
* Delete location
* @param \JR\NetSuite\Api\Data\LocationInterface $location
* @return bool true on success
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function delete(
\JR\NetSuite\Api\Data\LocationInterface $location
);
/**
* Delete location by ID
* @param string $locationId
* @return bool true on success
* @throws \Magento\Framework\Exception\NoSuchEntityException
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function deleteById($locationId);
}