Your IP : 216.73.216.43


Current Path : /home/rtorresani/www/vendor/magento/module-adobe-stock-asset-api/Api/Data/
Upload File :
Current File : //home/rtorresani/www/vendor/magento/module-adobe-stock-asset-api/Api/Data/CreatorInterface.php

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

declare(strict_types=1);

namespace Magento\AdobeStockAssetApi\Api\Data;

use Magento\AdobeStockAssetApi\Api\Data\CreatorExtensionInterface;
use Magento\Framework\Api\ExtensibleDataInterface;

/**
 * Adobe Stock creator data class
 * @api
 */
interface CreatorInterface extends ExtensibleDataInterface
{
    /**
     * Get the id
     *
     * @return int|null
     */
    public function getId() : ?int;

    /**
     * Get the creator name
     *
     * @return string|null
     */
    public function getName(): ?string;

    /**
     * Retrieve existing extension attributes object or create a new one.
     *
     * @return \Magento\AdobeStockAssetApi\Api\Data\CreatorExtensionInterface
     */
    public function getExtensionAttributes(): CreatorExtensionInterface;

    /**
     * Set extension attributes
     *
     * @param \Magento\AdobeStockAssetApi\Api\Data\CreatorExtensionInterface $extensionAttributes
     * @return void
     */
    public function setExtensionAttributes(CreatorExtensionInterface $extensionAttributes): void;
}