# yaymail/4.4.2/vendor-prefixed/src/License/Contracts/LicenseConfigAdapter.php

YayMail – WooCommerce Email Customizer, version 4.4.2. 53 lines.

- Page: https://pluginprobe.com/plugins/yaymail/4.4.2/code/vendor-prefixed/src/License/Contracts/LicenseConfigAdapter.php
- Raw: https://pluginprobe.com/plugins/yaymail/4.4.2/raw/vendor-prefixed/src/License/Contracts/LicenseConfigAdapter.php
- Modified: 2026-06-22T06:35:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/yaymail/4.4.2/code/vendor-prefixed/src/License/Contracts/LicenseConfigAdapter.php#L10-L20`.

```php
<?php

namespace YayMailScoped\YayCommerce\AdminShell\License\Contracts;

use YayMailScoped\YayCommerce\AdminShell\Contracts\PluginMenuAdapter;
/**
 * Per-plugin configuration for the license subsystem.
 * Extends PluginMenuAdapter — pro plugins implement this single interface.
 *
 * APPEND-ONLY — adding methods requires a MAJOR version bump per CONTRIBUTING.md.
 * @internal
 */
interface LicenseConfigAdapter extends PluginMenuAdapter
{
    /**
     * Plugin slug used as the wp_options key prefix.
     *
     * MUST be byte-exact wp_options prefix — changing this loses customer license keys.
     * Quirks:
     *   - yay-wholesale-b2b-pro (hyphens are valid in option keys)
     *   - yay_currency (underscore between yay and currency, NOT yaycurrency)
     *   - yay_swatches (same underscore pattern)
     *
     * Option keys derived: {slug}_license_key, {slug}_license_info
     */
    public function get_plugin_slug() : string;
    /**
     * Human-readable display name for the license card,
     * e.g. 'YayMail Pro – WooCommerce Email Customizer'.
     */
    public function get_plugin_name() : string;
    /**
     * Current plugin version string, e.g. '4.4'.
     */
    public function get_plugin_version() : string;
    /**
     * Absolute path to the main plugin file.
     */
    public function get_plugin_file() : string;
    /**
     * EDD download ID (numeric).
     */
    public function get_item_id() : int;
    /**
     * EDD store URL. Default: 'https://yaycommerce.com/'.
     */
    public function get_store_url() : string;
    /**
     * Product page URL used for "Buy a license" CTA.
     */
    public function get_store_link() : string;
}

```
