Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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

	private List<Itemitems;

	public ItemList() {

Getter for items
	public List<ItemgetItems() {
		return ;

Setter for items;
	public void setItems(List<Itemitems) {
		this. = items;
Getter for shippingAddress

Setter for shippingAddress;
	public void setShippingAddress(ShippingAddress shippingAddress) {
		this. = shippingAddress;

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