com.paypal.api.payments
Class Notification

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

public class Notification
extends Object


Constructor Summary
Notification()
          Default Constructor
 
Method Summary
 String getNote()
          Getter for note
 Boolean getSendToMerchant()
          Getter for sendToMerchant
 String getSubject()
          Getter for subject
 Notification setNote(String note)
          Setter for note
 Notification setSendToMerchant(Boolean sendToMerchant)
          Setter for sendToMerchant
 Notification setSubject(String subject)
          Setter for subject
 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

Notification

public Notification()
Default Constructor

Method Detail

setSubject

public Notification setSubject(String subject)
Setter for subject


getSubject

public String getSubject()
Getter for subject


setNote

public Notification setNote(String note)
Setter for note


getNote

public String getNote()
Getter for note


setSendToMerchant

public Notification setSendToMerchant(Boolean sendToMerchant)
Setter for sendToMerchant


getSendToMerchant

public Boolean getSendToMerchant()
Getter for sendToMerchant


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.