Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.paypal.api.payments;
 public class Notification  {

Subject of the notification.
	private String subject;

Note to the payer.
	private String note;

A flag indicating whether a copy of the email has to be sent to the merchant.
Default Constructor
	public Notification() {

Setter for subject
	public Notification setSubject(String subject) {
		this. = subject;
		return this;

Getter for subject
	public String getSubject() {
		return this.;

Setter for note
	public Notification setNote(String note) {
		this. = note;
		return this;

Getter for note
	public String getNote() {
		return this.;

Setter for sendToMerchant
	public Notification setSendToMerchant(Boolean sendToMerchant) {
		this. = sendToMerchant;
		return this;

Getter for sendToMerchant
		return this.;

Returns a JSON string corresponding to object state

JSON representation
	public String toJSON() {
		return JSONFormatter.toJSON(this);
	public String toString() {
		return toJSON();
New to GrepCode? Check out our FAQ X