patch to retrieve paid invoices

This commit is contained in:
Avi Das
2014-08-05 11:20:26 -05:00
parent 7a77bccf96
commit 5cf5de65c8

View File

@@ -628,6 +628,32 @@ class Invoice extends PPModel implements IResource {
return $this->total_amount;
}
/**
* Set Payments
* A list of Payment resources
*
* @param \PayPal\Api\Payment $payments
*
* @return $this
*/
public function setPayments($payments)
{
$this->payments = $payments;
return $this;
}
/**
* Get Payments
* A list of Payment resources
*
* @return \PayPal\Api\Payment
*/
public function getPayments()
{
return $this->payments;
}
/**
* List of payment details for the invoice.
*