| 1 |
<?php |
| 2 |
|
| 3 |
namespace SyncBasalam\Admin\Product\Data\Handlers; |
| 4 |
|
| 5 |
defined('ABSPATH') || exit; |
| 6 |
|
| 7 |
interface ProductDataHandlerInterface |
| 8 |
{ |
| 9 |
public function getName($product): string; |
| 10 |
public function getSku($product): ?string; |
| 11 |
public function getDescription($product): string; |
| 12 |
public function getCategoryId($product): ?int; |
| 13 |
public function getCategoryIds($product): array; |
| 14 |
public function getPrice($product): ?int; |
| 15 |
public function getStock($product): int; |
| 16 |
public function getWeight($product): ?int; |
| 17 |
public function getPackageWeight($product): int; |
| 18 |
public function getMainPhoto($product): ?int; |
| 19 |
public function getGalleryPhotos($product): array; |
| 20 |
public function getVideo($product): ?int; |
| 21 |
public function getPreparationDays($product): int; |
| 22 |
public function getUnitType($product): int; |
| 23 |
public function getUnitQuantity($product): int; |
| 24 |
public function isWholesale($product): bool; |
| 25 |
public function getVariants($product): array; |
| 26 |
public function getAttributes($product): array; |
| 27 |
} |