com.paypal.api.payments
Class ShippingInfo

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

public class ShippingInfo
extends Object


Constructor Summary
ShippingInfo()
          Default Constructor
 
Method Summary
 Address getAddress()
          Getter for address
 String getBusinessName()
          Getter for businessName
 String getFirstName()
          Getter for firstName
 String getLastName()
          Getter for lastName
 ShippingInfo setAddress(Address address)
          Setter for address
 ShippingInfo setBusinessName(String businessName)
          Setter for businessName
 ShippingInfo setFirstName(String firstName)
          Setter for firstName
 ShippingInfo setLastName(String lastName)
          Setter for lastName
 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

ShippingInfo

public ShippingInfo()
Default Constructor

Method Detail

setFirstName

public ShippingInfo setFirstName(String firstName)
Setter for firstName


getFirstName

public String getFirstName()
Getter for firstName


setLastName

public ShippingInfo setLastName(String lastName)
Setter for lastName


getLastName

public String getLastName()
Getter for lastName


setBusinessName

public ShippingInfo setBusinessName(String businessName)
Setter for businessName


getBusinessName

public String getBusinessName()
Getter for businessName


setAddress

public ShippingInfo setAddress(Address address)
Setter for address


getAddress

public Address getAddress()
Getter for address


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.