public function get_refund_amount() { wc_deprecated_function('get_refund_amount', '2.7', 'get_amount'); return $this->get_amount(); }