WC_Abstract_Order::set_shipping_tax( string $value )
Set shipping_tax.
Description Description
Parameters Parameters
- $value
-
(Required) Value to set.
Source Source
File: includes/abstracts/abstract-wc-order.php
public function set_shipping_tax( $value ) { $this->set_prop( 'shipping_tax', wc_format_decimal( $value ) ); $this->set_total_tax( (float) $this->get_cart_tax() + (float) $this->get_shipping_tax() ); }