WC_Order_Item_Coupon::set_discount_tax()
Set discounted tax amount.
Method of the class: WC_Order_Item_Coupon{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Order_Item_Coupon = new WC_Order_Item_Coupon(); $WC_Order_Item_Coupon->set_discount_tax( $value );
- $value(string) (required)
- Discount tax.
WC_Order_Item_Coupon::set_discount_tax() WC Order Item Coupon::set discount tax code WC 9.4.2
public function set_discount_tax( $value ) { $this->set_prop( 'discount_tax', wc_format_decimal( $value ) ); }