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

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

- Page: https://pluginprobe.com/plugins/sync-basalam/1.8.6/code/includes/Admin/Product/Data/Handlers/ProductDataHandlerInterface.php
- Raw: https://pluginprobe.com/plugins/sync-basalam/1.8.6/raw/includes/Admin/Product/Data/Handlers/ProductDataHandlerInterface.php
- Modified: 2026-05-10T15:06:26+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.8.6/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 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;
}
```
