
com.paypal.api.payments.PaymentHistory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-api-sdk Show documentation
Show all versions of rest-api-sdk Show documentation
PayPal SDK for integrating with the REST APIs
package com.paypal.api.payments;
import java.util.ArrayList;
import java.util.List;
import com.paypal.base.rest.PayPalModel;
public class PaymentHistory extends PayPalModel {
/**
* A list of Payment resources
*/
private List payments;
/**
* 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.
*/
private int count;
/**
* Identifier of the next element to get the next range of results.
*/
private String nextId;
/**
* Default Constructor
*/
public PaymentHistory() {
payments = new ArrayList();
}
/**
* Setter for payments
*/
public PaymentHistory setPayments(List payments) {
this.payments = payments;
return this;
}
/**
* Getter for payments
*/
public List getPayments() {
return this.payments;
}
/**
* Setter for count
*/
public PaymentHistory setCount(int count) {
this.count = count;
return this;
}
/**
* Getter for count
*/
public int getCount() {
return this.count;
}
/**
* Setter for nextId
*/
public PaymentHistory setNextId(String nextId) {
this.nextId = nextId;
return this;
}
/**
* Getter for nextId
*/
public String getNextId() {
return this.nextId;
}
}