<?php

namespace Kylin\Ecommerce\Facades;

use Illuminate\Support\Facades\Facade;

/**
 * @method static array calculateOrderAmount(array $items, ?int $couponId = null)
 * @method static float calculateCouponDiscount(int $couponId, float $orderAmount)
 * @method static bool deductStock(int $productId, ?int $specId, int $quantity)
 * @method static string generateOrderNo()
 * @method static \Illuminate\Support\Collection getLowStockProducts(int $threshold = 10)
 */
class KylinEcommerce extends Facade
{
    protected static function getFacadeAccessor(): string
    {
        return 'kylin-ecommerce';
    }
}
