Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.paypal.api.payments;
 
 
 
 public class CancelNotification  extends PayPalModel {

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.
A flag indicating whether a copy of the email has to be sent to the payer.
	private Boolean sendToPayer;

Default Constructor
	public CancelNotification() {
	}


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

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


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

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


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

Getter for sendToMerchant
		return this.;
	}


Setter for sendToPayer
	public CancelNotification setSendToPayer(Boolean sendToPayer) {
		this. = sendToPayer;
		return this;
	}

Getter for sendToPayer
	public Boolean getSendToPayer() {
		return this.;
	}
New to GrepCode? Check out our FAQ X