<?php

namespace DropshippingExportFreeVendor\WPDesk\Library\DropshippingExport\ProductTypes;

/**
 * Class SingleProductType.
 *
 * @package WPDesk\Library\DropshippingExport\ProductType;
 */
class SingleProductType implements ProductType
{
    const PRODUCT_TYPE_SIMPLE = 'simple';
    const PRODUCT_TYPE_VARIABLE = 'variable';
    const PRODUCT_TYPE_GROUPED = 'grouped';
    const PRODUCT_TYPE_EXTERNAL = 'external';
    private $product_type;
    public function __construct(string $product_type)
    {
        $this->product_type = $product_type;
    }
    public function get_type(): string
    {
        return $this->product_type;
    }
    public function __toString()
    {
        return $this->get_type();
    }
}
