# sync-basalam/1.10.2/includes/Admin/Product/Data/Handlers/ProductDataHandlerInterface.php

ووسلام – همگام سازی ووکامرس و باسلام, version 1.10.2. 26 lines.

- Page: https://pluginprobe.com/plugins/sync-basalam/1.10.2/code/includes/Admin/Product/Data/Handlers/ProductDataHandlerInterface.php
- Raw: https://pluginprobe.com/plugins/sync-basalam/1.10.2/raw/includes/Admin/Product/Data/Handlers/ProductDataHandlerInterface.php
- Modified: 2026-07-19T10:26:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/sync-basalam/1.10.2/code/includes/Admin/Product/Data/Handlers/ProductDataHandlerInterface.php#L10-L20`.

```php
<?php

namespace SyncBasalam\Admin\Product\Data\Handlers;

defined('ABSPATH') || exit;

interface ProductDataHandlerInterface
{
    public function getName($product): string;
    public function getDescription($product): string;
    public function getCategoryId($product): ?int;
    public function getCategoryIds($product): array;
    public function getPrice($product): ?int;
    public function getStock($product): int;
    public function getWeight($product): ?int;
    public function getPackageWeight($product): int;
    public function getMainPhoto($product): ?int;
    public function getGalleryPhotos($product): array;
    public function getVideo($product): ?int;
    public function getPreparationDays($product): int;
    public function getUnitType($product): int;
    public function getUnitQuantity($product): int;
    public function isWholesale($product): bool;
    public function getVariants($product): array;
    public function getAttributes($product): array;
}
```
