Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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

Unique identifier of credit resource.
	private String id;

specifies type of credit
	private String type;

URI to the associated terms
	private String terms;

Default Constructor
	public Credit() {
	}

Parameterized Constructor
	public Credit(String type) {
		this. = type;
	}


Setter for id
	public Credit setId(String id) {
		this. = id;
		return this;
	}

Getter for id
	public String getId() {
		return this.;
	}


Setter for type
	public Credit setType(String type) {
		this. = type;
		return this;
	}

Getter for type
	public String getType() {
		return this.;
	}


Setter for terms
	public Credit setTerms(String terms) {
		this. = terms;
		return this;
	}

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