Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.paypal.api.payments;
  
  import java.util.List;
  
  
  public class Payer  extends PayPalModel {

Payment method being used - PayPal Wallet payment, Bank Direct Debit or Direct Credit card.
 
 	private String paymentMethod;

Status of Payer PayPal Account.
 
 	private String status;

Type of account relationship payer has with PayPal.
 
 	private String accountType;

Duration since the payer established account relationship with PayPal in days.
 
 	private String accountAge;

List of funding instruments from where the funds of the current payment come from. Typically a credit card.
 
Id of user selected funding option for the payment. 'OneOf' funding_instruments or funding_option_id to be present
 
 	private String fundingOptionId;

Information related to the Payer.
 
 	private PayerInfo payerInfo;

Default Constructor
 
 	public Payer() {
 	}

Parameterized Constructor
 
 	public Payer(String paymentMethod) {
 		this. = paymentMethod;
 	}


Setter for paymentMethod
 
 	public Payer setPaymentMethod(String paymentMethod) {
 		this. = paymentMethod;
 		return this;
 	}

Getter for paymentMethod
 
 	public String getPaymentMethod() {
 		return this.;
 	}


Setter for status
 
 	public Payer setStatus(String status) {
 		this. = status;
 		return this;
 	}

Getter for status
 
 	public String getStatus() {
 		return this.;
 	}
 
 	public String getAccountType() {
 		return ;
 	}
 
 	public void setAccountType(String accountType) {
 		this. = accountType;
 	}
 
 	public String getAccountAge() {
 		return ;
 	}
	public void setAccountAge(String accountAge) {
		this. = accountAge;
	}


Setter for fundingInstruments
	public Payer setFundingInstruments(List<FundingInstrumentfundingInstruments) {
		this. = fundingInstruments;
		return this;
	}

Getter for fundingInstruments
		return this.;
	}


Setter for fundingOptionId
	public Payer setFundingOptionId(String fundingOptionId) {
		this. = fundingOptionId;
		return this;
	}

Getter for fundingOptionId
		return this.;
	}


Setter for payerInfo
	public Payer setPayerInfo(PayerInfo payerInfo) {
		this. = payerInfo;
		return this;
	}

Getter for payerInfo
	public PayerInfo getPayerInfo() {
		return this.;
	}
New to GrepCode? Check out our FAQ X