Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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

Name of the field that caused the error.
	private String field;

Reason for the error.
	private String issue;

Reference ID of the purchase_unit associated with this error
PayPal internal error code.
	private String code;


Default Constructor
	public ErrorDetails() {
	}

Parameterized Constructor
	public ErrorDetails(String fieldString issue) {
		this. = field;
		this. = issue;
	}


Setter for field
	public ErrorDetails setField(String field) {
		this. = field;
		return this;
	}

Getter for field
	public String getField() {
		return this.;
	}


Setter for issue
	public ErrorDetails setIssue(String issue) {
		this. = issue;
		return this;
	}

Getter for issue
	public String getIssue() {
		return this.;
	}
	}
	public ErrorDetails setPurchaseUnitReferenceId(String purchaseUnitReferenceId) {
		this. = purchaseUnitReferenceId;
		return this;
	}
	public String getCode() {
		return ;
	}
	public ErrorDetails setCode(String code) {
		this. = code;
		return this;
	}
New to GrepCode? Check out our FAQ X