LLMS_Transaction::get_refundable_amount()

Retrieves the amount of the transaction that can be refunded.


Return Return

(float)


Top ↑

Source Source

File: includes/models/model.llms.transaction.php

	public function get_refundable_amount() {
		$amount   = $this->get_price( 'amount', array(), 'float' );
		$refunded = $this->get_price( 'refund_amount', array(), 'float' );
		return $amount - $refunded;
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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