PayPal\Api\Invoice::setRefundedAmount PHP Method

setRefundedAmount() public method

Payment summary of the invoice including amount refunded through PayPal and other sources.
public setRefundedAmount ( PaymentSummary $refunded_amount )
$refunded_amount PaymentSummary
    public function setRefundedAmount($refunded_amount)
    {
        $this->refunded_amount = $refunded_amount;
        return $this;
    }