<?php

namespace CouponsPlus\App\Conditions\Stubs\Conditions;

use CouponsPlus\Original\Collections\Collection;
use CouponsPlus\App\Coupon\Abilities\DashboardCardData;

class NewAccount implements DashboardCardData
{
    const TYPE = 'NewAccount';

    static public function getName() : string
    {
        return __('New Account', 'coupons-plus-for-woocommerce');
    }

    static public function getDescription() : string
    {
        return __('Will check if the customer has registered an account recently. It is designed to be used in combination with the New Customer condition.', 'coupons-plus-for-woocommerce');
    }

    static public function getUseCases(): Collection
    {
        return new Collection([
            __('Apply offers to customers registered in the last 24 hours', 'coupons-plus-for-woocommerce'),
        ]);
    }

    static public function getNotes() : array
    {
        return [];
    }
}
