Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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


 
	private String returnUrl;

 
	private String cancelUrl;

Constructor
	public RedirectUrls() {
	}	

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

Setter for returnUrl;
	public void setReturnUrl(String returnUrl) {
		this. = returnUrl;
	}
Getter for cancelUrl
	public String getCancelUrl() {
		return ;
	}

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




Returns a JSON string corresponding to object state

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