<?php
namespace SabaiApps\Directories\Component\Payment\NotificationEvent;

class OrderCompletedNotificationEvent extends AbstractOrderNotificationEvent {

	protected function _notificationEventInfo() {
		return array(
			'label'            => _x( 'Order completed', 'notification event', 'directories-pro' ),
			'default_settings' => array(),
			'actions'          => array(
				'payment_order_completed',
			),
			'weight'           => 20,
		);
	}

	protected function _getDefaultNotificationLabel() {
		return __( 'Your order is now complete', 'directories-pro' );
	}

	protected function _getDefaultNotificationBody() {
		return array(
			__( 'The following order is now complete.', 'directories-pro' ),
			sprintf( __( 'Order number: %s', 'directories-pro' ), '%order_number%' ),
			sprintf( __( 'Order plan: %s', 'directories-pro' ), '%order_name%' ),
		);
	}
}
