WC_Order_Item_Fee::set_total( string $amount )
Set total.
Description Description
Parameters Parameters
- $amount
-
(Required) Fee amount (do not enter negative amounts).
Source Source
File: includes/class-wc-order-item-fee.php
public function set_total( $amount ) { $this->set_prop( 'total', wc_format_decimal( $amount ) ); }