WC_Order_Refund::set_amount( string $value )

Set refunded amount.


Description Description


Parameters Parameters

$value

(Required) Value to set.


Top ↑

Source Source

File: includes/class-wc-order-refund.php

	public function set_amount( $value ) {
		$this->set_prop( 'amount', wc_format_decimal( $value ) );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.