<?php

namespace CouponsPlus\App\Conditions\Stubs\Conditions;

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

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

    static public function getName() : string
    {
        return __('Custom User Meta Data', 'coupons-plus-for-woocommerce');
    }

    static public function getDescription() : string
    {
        return '';
    }

    static public function getUseCases(): Collection
    {
        return new Collection([
            __('Restrict offers to users with a specific field value form a custom plugin', 'coupons-plus-for-woocommerce'),
        ]);
    }

    static public function getNotes(): array
    {
        return [
            __('The name is the meta_key from the wp_users table', 'coupons-plus-for-woocommerce'),
        ];
    }
}
