PHP Class PayPal\Api\PaymentHistory

Inheritance: extends PayPal\Common\PPModel
Afficher le fichier Open project: paypal/rest-api-sdk-php Class Usage Examples

Méthodes publiques

Méthode Description
addPayment ( Payment $payment ) Append Payments to the list.
getCount ( ) : integer 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. Maximum value: 20.
getNextId ( ) : string Identifier of the next element to get the next range of results.
getPayments ( ) : Payment[] A list of Payment resources
removePayment ( Payment $payment ) Remove Payments from the list.
setCount ( integer $count ) 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. Maximum value: 20.
setNextId ( string $next_id ) Identifier of the next element to get the next range of results.
setPayments ( Payment[] $payments ) A list of Payment resources

Method Details

addPayment() public méthode

Append Payments to the list.
public addPayment ( Payment $payment )
$payment Payment

getCount() public méthode

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. Maximum value: 20.
public getCount ( ) : integer
Résultat integer

getNextId() public méthode

Identifier of the next element to get the next range of results.
public getNextId ( ) : string
Résultat string

getPayments() public méthode

A list of Payment resources
public getPayments ( ) : Payment[]
Résultat Payment[]

removePayment() public méthode

Remove Payments from the list.
public removePayment ( Payment $payment )
$payment Payment

setCount() public méthode

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. Maximum value: 20.
public setCount ( integer $count )
$count integer

setNextId() public méthode

Identifier of the next element to get the next range of results.
public setNextId ( string $next_id )
$next_id string

setPayments() public méthode

A list of Payment resources
public setPayments ( Payment[] $payments )
$payments Payment[]