Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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


 
	private String creditCardId;

 
	private String payerId;

Constructor
	public CreditCardToken() {
	}	

Getter for creditCardId
	public String getCreditCardId() {
		return ;
	}

Setter for creditCardId;
	public void setCreditCardId(String creditCardId) {
		this. = creditCardId;
	}
Getter for payerId
	public String getPayerId() {
		return ;
	}

Setter for payerId;
	public void setPayerId(String payerId) {
		this. = payerId;
	}




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