PHP 클래스 WC_Email_Customer_Refunded_Order

Order refunded emails are sent to the customer when the order is marked refunded.
저자: WooThemes
상속: extends WC_Email
파일 보기 프로젝트 열기: woocommerce/woocommerce

공개 프로퍼티들

프로퍼티 타입 설명
$partial_refund boolean Is the order partial refunded?
$refund WC_Order | boolean Refund order.

공개 메소드들

메소드 설명
__construct ( ) Constructor.
get_content_html ( ) : string Get content html.
get_content_plain ( ) : string Get content plain.
get_heading ( ) : string Get email heading.
get_subject ( ) : string Get email subject.
init_form_fields ( ) Initialise settings form fields.
set_email_strings ( boolean $partial_refund = false ) Set email strings.
trigger ( integer $order_id, boolean $partial_refund = false, integer $refund_id = null ) Trigger.
trigger_full ( integer $order_id, integer $refund_id = null ) Full refund notification.
trigger_partial ( integer $order_id, integer $refund_id = null ) Partial refund notification.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( )

get_content_html() 공개 메소드

Get content html.
public get_content_html ( ) : string
리턴 string

get_content_plain() 공개 메소드

Get content plain.
public get_content_plain ( ) : string
리턴 string

get_heading() 공개 메소드

Get email heading.
public get_heading ( ) : string
리턴 string

get_subject() 공개 메소드

Get email subject.
public get_subject ( ) : string
리턴 string

init_form_fields() 공개 메소드

Initialise settings form fields.
public init_form_fields ( )

set_email_strings() 공개 메소드

Set email strings.
public set_email_strings ( boolean $partial_refund = false )
$partial_refund boolean

trigger() 공개 메소드

Trigger.
public trigger ( integer $order_id, boolean $partial_refund = false, integer $refund_id = null )
$order_id integer
$partial_refund boolean
$refund_id integer

trigger_full() 공개 메소드

Full refund notification.
public trigger_full ( integer $order_id, integer $refund_id = null )
$order_id integer
$refund_id integer

trigger_partial() 공개 메소드

Partial refund notification.
public trigger_partial ( integer $order_id, integer $refund_id = null )
$order_id integer
$refund_id integer

프로퍼티 상세

$partial_refund 공개적으로 프로퍼티

Is the order partial refunded?
public bool $partial_refund
리턴 boolean

$refund 공개적으로 프로퍼티

Refund order.
public WC_Order|bool $refund
리턴 WC_Order | boolean