com.paypal.api.payments
Class MerchantInfo

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

public class MerchantInfo
extends Object


Constructor Summary
MerchantInfo()
          Default Constructor
MerchantInfo(String email)
          Parameterized Constructor
 
Method Summary
 String getAdditionalInfo()
          Getter for additionalInfo
 Address getAddress()
          Getter for address
 String getBusinessName()
          Getter for businessName
 String getEmail()
          Getter for email
 Phone getFax()
          Getter for fax
 String getFirstName()
          Getter for firstName
 String getLastName()
          Getter for lastName
 Phone getPhone()
          Getter for phone
 String getTaxId()
          Getter for taxId
 String getWebsite()
          Getter for website
 MerchantInfo setAdditionalInfo(String additionalInfo)
          Setter for additionalInfo
 MerchantInfo setAddress(Address address)
          Setter for address
 MerchantInfo setBusinessName(String businessName)
          Setter for businessName
 MerchantInfo setEmail(String email)
          Setter for email
 MerchantInfo setFax(Phone fax)
          Setter for fax
 MerchantInfo setFirstName(String firstName)
          Setter for firstName
 MerchantInfo setLastName(String lastName)
          Setter for lastName
 MerchantInfo setPhone(Phone phone)
          Setter for phone
 MerchantInfo setTaxId(String taxId)
          Setter for taxId
 MerchantInfo setWebsite(String website)
          Setter for website
 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

MerchantInfo

public MerchantInfo()
Default Constructor


MerchantInfo

public MerchantInfo(String email)
Parameterized Constructor

Method Detail

setEmail

public MerchantInfo setEmail(String email)
Setter for email


getEmail

public String getEmail()
Getter for email


setFirstName

public MerchantInfo setFirstName(String firstName)
Setter for firstName


getFirstName

public String getFirstName()
Getter for firstName


setLastName

public MerchantInfo setLastName(String lastName)
Setter for lastName


getLastName

public String getLastName()
Getter for lastName


setAddress

public MerchantInfo setAddress(Address address)
Setter for address


getAddress

public Address getAddress()
Getter for address


setBusinessName

public MerchantInfo setBusinessName(String businessName)
Setter for businessName


getBusinessName

public String getBusinessName()
Getter for businessName


setPhone

public MerchantInfo setPhone(Phone phone)
Setter for phone


getPhone

public Phone getPhone()
Getter for phone


setFax

public MerchantInfo setFax(Phone fax)
Setter for fax


getFax

public Phone getFax()
Getter for fax


setWebsite

public MerchantInfo setWebsite(String website)
Setter for website


getWebsite

public String getWebsite()
Getter for website


setTaxId

public MerchantInfo setTaxId(String taxId)
Setter for taxId


getTaxId

public String getTaxId()
Getter for taxId


setAdditionalInfo

public MerchantInfo setAdditionalInfo(String additionalInfo)
Setter for additionalInfo


getAdditionalInfo

public String getAdditionalInfo()
Getter for additionalInfo


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.