PayPal\Api\DetailedRefund::setTotalRefundedAmount PHP Method

setTotalRefundedAmount() public method

Total amount refunded so far from the original purchase. Say, for example, a buyer makes $100 purchase, the buyer was refunded $20 a week ago and is refunded $30 in this transaction. The gross refund amount is $30 (in this transaction). The total refunded amount is $50.
public setTotalRefundedAmount ( PayPal\Api\Currency $total_refunded_amount )
$total_refunded_amount PayPal\Api\Currency
    public function setTotalRefundedAmount($total_refunded_amount)
    {
        $this->total_refunded_amount = $total_refunded_amount;
        return $this;
    }