com.paypal.api.payments
Class ItemList

java.lang.Object
  extended by com.paypal.api.payments.ItemList

public class ItemList
extends Object


Constructor Summary
ItemList()
          Default Constructor
 
Method Summary
 List<Item> getItems()
          Getter for items
 ShippingAddress getShippingAddress()
          Getter for shippingAddress
 ItemList setItems(List<Item> items)
          Setter for items
 ItemList setShippingAddress(ShippingAddress shippingAddress)
          Setter for shippingAddress
 String toJSON()
          Returns a JSON string corresponding to object state
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ItemList

public ItemList()
Default Constructor

Method Detail

setItems

public ItemList setItems(List<Item> items)
Setter for items


getItems

public List<Item> getItems()
Getter for items


setShippingAddress

public ItemList setShippingAddress(ShippingAddress shippingAddress)
Setter for shippingAddress


getShippingAddress

public ShippingAddress getShippingAddress()
Getter for shippingAddress


toJSON

public String toJSON()
Returns a JSON string corresponding to object state

Returns:
JSON representation

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015. All Rights Reserved.