forked from LiveCarta/PayPal-PHP-SDK
Support Invoice APIs
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
namespace PayPal\Api;
|
||||
|
||||
use PayPal\Common\PPModel;
|
||||
use PayPal\Rest\ApiContext;
|
||||
|
||||
class PaymentHistory extends PPModel {
|
||||
/**
|
||||
* A list of Payment resources
|
||||
*
|
||||
* @array
|
||||
* @param PayPal\Api\Payment $payments
|
||||
*/
|
||||
@@ -16,6 +18,7 @@ class PaymentHistory extends PPModel {
|
||||
|
||||
/**
|
||||
* A list of Payment resources
|
||||
*
|
||||
* @return PayPal\Api\Payment
|
||||
*/
|
||||
public function getPayments() {
|
||||
@@ -25,6 +28,7 @@ class PaymentHistory extends PPModel {
|
||||
|
||||
/**
|
||||
* Number of items returned in each range of results. Note that the last results range could have fewer items than the requested number of items.
|
||||
*
|
||||
* @param integer $count
|
||||
*/
|
||||
public function setCount($count) {
|
||||
@@ -34,6 +38,7 @@ class PaymentHistory extends PPModel {
|
||||
|
||||
/**
|
||||
* Number of items returned in each range of results. Note that the last results range could have fewer items than the requested number of items.
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getCount() {
|
||||
@@ -43,6 +48,7 @@ class PaymentHistory extends PPModel {
|
||||
|
||||
/**
|
||||
* Identifier of the next element to get the next range of results.
|
||||
*
|
||||
* @param string $next_id
|
||||
*/
|
||||
public function setNextId($next_id) {
|
||||
@@ -52,6 +58,7 @@ class PaymentHistory extends PPModel {
|
||||
|
||||
/**
|
||||
* Identifier of the next element to get the next range of results.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getNextId() {
|
||||
@@ -60,6 +67,7 @@ class PaymentHistory extends PPModel {
|
||||
|
||||
/**
|
||||
* Identifier of the next element to get the next range of results.
|
||||
*
|
||||
* @param string $next_id
|
||||
* @deprecated. Instead use setNextId
|
||||
*/
|
||||
@@ -69,6 +77,7 @@ class PaymentHistory extends PPModel {
|
||||
}
|
||||
/**
|
||||
* Identifier of the next element to get the next range of results.
|
||||
*
|
||||
* @return string
|
||||
* @deprecated. Instead use getNextId
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user