Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.paypal.api.payments;
 
 
 public class Payee  {

Email Address associated with the Payee's PayPal Account. If the provided email address is not associated with any PayPal Account, the payee can only receiver PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
 
	private String email;

Encrypted PayPal Account identifier for the Payee.
	private String merchantId;

Phone number (in E.123 format) associated with the Payee's PayPal Account. If the provided phont number is not associated with any PayPal Account, the payee can only receiver PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
	private String phone;

Default Constructor
	public Payee() {
	}

Parameterized Constructor
	public Payee(String emailString merchantIdString phone) {
		this. = email;
		this. = merchantId;
		this. = phone;
	}


Setter for email
	public Payee setEmail(String email) {
		this. = email;
		return this;
	}

Getter for email
	public String getEmail() {
		return this.;
	}


Setter for merchantId
	public Payee setMerchantId(String merchantId) {
		this. = merchantId;
		return this;
	}

Getter for merchantId
	public String getMerchantId() {
		return this.;
	}


Setter for phone
	public Payee setPhone(String phone) {
		this. = phone;
		return this;
	}

Getter for phone
	public String getPhone() {
		return this.;
	}

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