WC_Order_Item_Tax::set_compound()publicWC 1.0

Set compound.

Method of the class: WC_Order_Item_Tax{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Order_Item_Tax = new WC_Order_Item_Tax();
$WC_Order_Item_Tax->set_compound( $value );
$value(true|false) (required)
If tax is compound.

WC_Order_Item_Tax::set_compound() code WC 9.0.1

public function set_compound( $value ) {
	$this->set_prop( 'compound', (bool) $value );
}