Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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

	private int totalCount;

List of invoices belonging to a merchant.
	private List<Invoiceinvoices;

Default Constructor
	public Invoices() {

Setter for totalCount
	public Invoices setTotalCount(int totalCount) {
		this. = totalCount;
		return this;

Getter for totalCount
	public int getTotalCount() {
		return this.;

Setter for invoices
	public Invoices setInvoices(List<Invoiceinvoices) {
		this. = invoices;
		return this;

Getter for invoices
	public List<InvoicegetInvoices() {
		return this.;

Returns a JSON string corresponding to object state

JSON representation
	public String toJSON() {
		return JSONFormatter.toJSON(this);
	public String toString() {
		return toJSON();
New to GrepCode? Check out our FAQ X