<?php
/**
 * Subscription Paused Email
 * Sent to customer when their subscription is paused.
 *
 * @package GGM_Commerce
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

class GGM_Commerce_Email_Subscription_Paused extends GGM_Commerce_Email_Subscription_Template {

	public function __construct() {
		$this->id             = 'subscription_paused';
		$this->title          = __( 'Subscription Paused', 'ggm-commerce' );
		$this->description    = __( 'Sent to the customer when their subscription is paused.', 'ggm-commerce' );
		$this->recipient_type = 'customer';
	}

	public function get_default_subject() {
		return __( 'Subscription #{subscription_number} has been paused', 'ggm-commerce' );
	}

	public function get_default_heading() {
		return __( 'Subscription Paused', 'ggm-commerce' );
	}

	public function get_default_content() {
		return '
<p>Hi {customer_first_name},</p>

<p>Your subscription has been paused. No further payments will be charged while your subscription is paused.</p>
' . $this->render_subscription_details_block() . '

<p>You can resume your subscription at any time from your account page.</p>
';
	}
}
