WC_Order_Refund::set_amount( string $value )
Set refunded amount.
Description Description
Parameters Parameters
- $value
-
(Required) Value to set.
Source Source
File: includes/class-wc-order-refund.php
public function set_amount( $value ) { $this->set_prop( 'amount', wc_format_decimal( $value ) ); }