Merge branch 'paid-invoice'

Merge in methods to retrieve paid invoices closes #94
This commit is contained in:
Avi Das
2014-08-05 11:20:46 -05:00

View File

@@ -628,6 +628,32 @@ class Invoice extends PPModel implements IResource {
return $this->total_amount; 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. * List of payment details for the invoice.
* *