Files
ltsecurityinc/app/code/Lts/Inventory/Api/Data/SourceCustomerInterface.php
T

67 lines
1.2 KiB
PHP

<?php
/**
* Copyright © All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Lts\Inventory\Api\Data;
use Magento\InventoryApi\Api\Data\SourceInterface;
interface SourceCustomerInterface
{
const ENTITY_ID = 'entity_id';
const CUSTOMER_ID = 'customer_id';
const SOURCE_CODE = 'source_code';
const INVENTORY_SOURCE = 'inventory_source';
/**
* Get entity_id
* @return int
*/
public function getEntityId();
/**
* Get source_code
* @return string|null
*/
public function getSourceCode();
/**
* Set source_code
* @param string $sourceCode
* @return $this
*/
public function setSourceCode(string $sourceCode);
/**
* Get customer_id
* @return int|null
*/
public function getCustomerId();
/**
* Set customer_id
* @param string $customerId
* @return $this
*/
public function setCustomerId(string $customerId);
/**
* @return SourceInterface
*/
public function getSource();
/**
* @param SourceInterface $source
* @return $this
*/
public function setSource(SourceInterface $source);
}