WC_Order_Refund::set_amount()
Set refunded amount.
Method of the class: WC_Order_Refund{}
No Hooks.
Return
null
. Nothing.
Usage
$WC_Order_Refund = new WC_Order_Refund(); $WC_Order_Refund->set_amount( $value );
- $value(string) (required)
- Value to set.
WC_Order_Refund::set_amount() WC Order Refund::set amount code WC 7.5.1
public function set_amount( $value ) { $this->set_prop( 'amount', wc_format_decimal( $value ) ); }