* @since 1.47.0 */ namespace AdvancedAds\Interfaces; defined( 'ABSPATH' ) || exit; /** * Interface for Placement Type. */ interface Placement_Type { /** * Get the unique identifier (ID) of the placement type. * * @return string The unique ID of the placement type. */ public function get_id(): string; /** * Get the class name of the object as a string. * * @return string */ public function get_classname(): string; /** * Get the title or name of the placement type. * * @return string The title of the placement type. */ public function get_title(): string; /** * Get a description of the placement type. * * @return string The description of the placement type. */ public function get_description(): string; /** * Check if this placement type requires premium. * * @return bool True if premium is required; otherwise, false. */ public function is_premium(): bool; /** * Get the URL for upgrading to this placement type. * * @return string The upgrade URL for the placement type. */ public function get_image(): string; /** * Get order number for this placement type — order set in multiple of 5 to allow adding new placements in between. * * @return int The order number. */ public function get_order(): int; /** * Get options for this placement type. * * @return array The options array. */ public function get_options(): array; }