Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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

Email address representing the Payer.
 
 	private String email;

External Remember Me id representing the Payer
 
Account Number representing the Payer
 
First Name of the Payer.
 
 	private String firstName;

Last Name of the Payer.
 
 	private String lastName;

PayPal assigned Payer ID.
 
 	private String payerId;

Phone number representing the Payer.
 
 	private String phone;

Phone type
 
 	private String phoneType;

Birth date of the Payer in ISO8601 format (YYYY-MM-DD).
 
 	private String birthDate;

Payer's tax ID.
 
 	private String taxId;

Payer's tax ID type.
 
 	private String taxIdType;

Billing address of the Payer.
 
 	private Address billingAddress;

Obsolete. Use shipping address present in purchase unit.
 
Default Constructor
 
 	public PayerInfo() {
 	}


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

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


Setter for externalRememberMeId
 
	public PayerInfo setExternalRememberMeId(String externalRememberMeId) {
		this. = externalRememberMeId;
		return this;
	}

Getter for externalRememberMeId
	}


Setter for buyerAccountNumber
	public PayerInfo setBuyerAccountNumber(String buyerAccountNumber) {
		this. = buyerAccountNumber;
		return this;
	}

Getter for buyerAccountNumber
		return this.;
	}


Setter for firstName
	public PayerInfo setFirstName(String firstName) {
		this. = firstName;
		return this;
	}

Getter for firstName
	public String getFirstName() {
		return this.;
	}


Setter for lastName
	public PayerInfo setLastName(String lastName) {
		this. = lastName;
		return this;
	}

Getter for lastName
	public String getLastName() {
		return this.;
	}


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

Getter for payerId
	public String getPayerId() {
		return this.;
	}


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

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


Setter for phoneType
	public PayerInfo setPhoneType(String phoneType) {
		this. = phoneType;
		return this;
	}

Getter for phoneType
	public String getPhoneType() {
		return this.;
	}


Setter for birthDate
	public PayerInfo setBirthDate(String birthDate) {
		this. = birthDate;
		return this;
	}

Getter for birthDate
	public String getBirthDate() {
		return this.;
	}


Setter for taxId
	public PayerInfo setTaxId(String taxId) {
		this. = taxId;
		return this;
	}

Getter for taxId
	public String getTaxId() {
		return this.;
	}


Setter for taxIdType
	public PayerInfo setTaxIdType(String taxIdType) {
		this. = taxIdType;
		return this;
	}

Getter for taxIdType
	public String getTaxIdType() {
		return this.;
	}


Setter for billingAddress
	public PayerInfo setBillingAddress(Address billingAddress) {
		this. = billingAddress;
		return this;
	}

Getter for billingAddress
		return this.;
	}


Setter for shippingAddress
	public PayerInfo setShippingAddress(ShippingAddress shippingAddress) {
		this. = shippingAddress;
		return this;
	}

Getter for shippingAddress
		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