All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.paypal.api.payments.PaymentHistory Maven / Gradle / Ivy

There is a newer version: 1.14.0
Show newest version
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;
	}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy