com.paypal.api.payments
Class Payee

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

public class Payee
extends Object


Constructor Summary
Payee()
          Default Constructor
Payee(String email, String merchantId)
          Parameterized Constructor
 
Method Summary
 String getEmail()
          Getter for email
 String getMerchantId()
          Getter for merchantId
 Phone getPhone()
          Getter for phone
 Payee setEmail(String email)
          Setter for email
 Payee setMerchantId(String merchantId)
          Setter for merchantId
 Payee setPhone(Phone phone)
          Setter for phone
 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

Payee

public Payee()
Default Constructor


Payee

public Payee(String email,
             String merchantId)
Parameterized Constructor

Method Detail

setEmail

public Payee setEmail(String email)
Setter for email


getEmail

public String getEmail()
Getter for email


setMerchantId

public Payee setMerchantId(String merchantId)
Setter for merchantId


getMerchantId

public String getMerchantId()
Getter for merchantId


setPhone

public Payee setPhone(Phone phone)
Setter for phone


getPhone

public Phone getPhone()
Getter for phone


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.