com.paypal.api.payments
Class ShippingAddress

java.lang.Object
  extended by com.paypal.api.payments.Address
      extended by com.paypal.api.payments.ShippingAddress

public class ShippingAddress
extends Address


Constructor Summary
ShippingAddress()
          Default Constructor
ShippingAddress(String recipientName)
          Parameterized Constructor
 
Method Summary
 String getRecipientName()
          Getter for recipientName
 ShippingAddress setRecipientName(String recipientName)
          Setter for recipientName
 String toJSON()
          Returns a JSON string corresponding to object state
 String toString()
           
 
Methods inherited from class com.paypal.api.payments.Address
getCity, getCountryCode, getLine1, getLine2, getPhone, getPostalCode, getState, setCity, setCountryCode, setLine1, setLine2, setPhone, setPostalCode, setState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShippingAddress

public ShippingAddress()
Default Constructor


ShippingAddress

public ShippingAddress(String recipientName)
Parameterized Constructor

Method Detail

setRecipientName

public ShippingAddress setRecipientName(String recipientName)
Setter for recipientName


getRecipientName

public String getRecipientName()
Getter for recipientName


toJSON

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

Overrides:
toJSON in class Address
Returns:
JSON representation

toString

public String toString()
Overrides:
toString in class Address


Copyright © 2013. All Rights Reserved.