WC_Order_Item_Tax::set_shipping_tax_total()
Set shipping tax total.
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_shipping_tax_total( $value );
- $value(string) (required)
- Shipping tax total.
WC_Order_Item_Tax::set_shipping_tax_total() WC Order Item Tax::set shipping tax total code WC 8.7.0
public function set_shipping_tax_total( $value ) { $this->set_prop( 'shipping_tax_total', $value ? wc_format_decimal( $value ) : 0 ); }