Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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

Url where the payer would be redirected to after approving the payment.
	private String returnUrl;

Url where the payer would be redirected to after canceling the payment.
	private String cancelUrl;

Default Constructor
	public RedirectUrls() {
	}


Setter for returnUrl
	public RedirectUrls setReturnUrl(String returnUrl) {
		this. = returnUrl;
		return this;
	}

Getter for returnUrl
	public String getReturnUrl() {
		return this.;
	}


Setter for cancelUrl
	public RedirectUrls setCancelUrl(String cancelUrl) {
		this. = cancelUrl;
		return this;
	}

Getter for cancelUrl
	public String getCancelUrl() {
		return this.;
	}
New to GrepCode? Check out our FAQ X