Mollie_API_Object_Payment::getAmountRemaining PHP Method

getAmountRemaining() public method

Get the remaining amount that can be refunded. For some payment methods this amount can be higher than the payment amount. This is possible to reimburse the costs for a return shipment to your customer for example.
public getAmountRemaining ( ) : float
return float
    public function getAmountRemaining()
    {
        if ($this->amountRemaining) {
            return floatval($this->amountRemaining);
        }
        return 0.0;
    }