Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.paypal.api.payments;
 import java.util.List;
 public class PaymentHistory  extends PayPalModel {

A list of Payment resources
	private List<Paymentpayments;

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() {

Setter for payments
	public PaymentHistory setPayments(List<Paymentpayments) {
		this. = payments;
		return this;

Getter for payments
	public List<PaymentgetPayments() {
		return this.;

Setter for count
	public PaymentHistory setCount(int count) {
		this. = count;
		return this;

Getter for count
	public int getCount() {
		return this.;

Setter for nextId
	public PaymentHistory setNextId(String nextId) {
		this. = nextId;
		return this;

Getter for nextId
	public String getNextId() {
		return this.;
New to GrepCode? Check out our FAQ X