<?php

namespace PostenBringCheckout\includes;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

use Automattic\WooCommerce\Admin\Features\OnboardingTasks\Task;

/**
 * Posten Bring Checkout activation task
 *
 * WooCommerce task extension to be used for onboarding
 *
 * @since 0.0.1
 */
class WooActivationTask extends Task {

	/**
	 * Task id.
	 *
	 * @return string Task id.
	 * @since 0.0.1
	 */
	public function get_id(): string {
		return 'configure-posten-bring-checkout';
	}

	/**
	 * Task title.
	 *
	 * @return string Task title.
	 * @since 0.0.1
	 */
	public function get_title(): string {
		return __( 'Configure Posten Bring Checkout', 'posten-bring-checkout' );
	}

	/**
	 * Task content.
	 *
	 * @return string Task content.
	 * @since 0.0.1
	 */
	public function get_content(): string {
		return __( 'Configure your API key.', 'posten-bring-checkout' );
	}

	/**
	 * Task time.
	 *
	 * @return string Task time.
	 * @since 0.0.1
	 */
	public function get_time(): string {
		return __( '5 minutes', 'posten-bring-checkout' );
	}
}
