public class Payer extends PayPalModel
| Constructor and Description |
|---|
Payer()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAccountAge()
Duration since the payer established account relationship with PayPal in days.
|
java.lang.String |
getAccountType()
Type of account relationship payer has with PayPal.
|
java.lang.String |
getExternalSelectedFundingInstrumentType()
Instrument type pre-selected by the user outside of PayPal and passed along the payment creation.
|
java.util.List<FundingInstrument> |
getFundingInstruments()
List of funding instruments to fund the payment.
|
FundingOption |
getFundingOption()
Deprecated.
|
java.lang.String |
getFundingOptionId()
Id of user selected funding option for the payment.'OneOf' funding_instruments,funding_option_id to be used to identify the specifics of payment method passed.
|
PayerInfo |
getPayerInfo()
Information related to the Payer.
|
java.lang.String |
getPaymentMethod()
Payment method being used - PayPal Wallet payment, Bank Direct Debit or Direct Credit card.
|
FundingOption |
getRelatedFundingOption()
Funding option related to default funding option.
|
java.lang.String |
getStatus()
Status of payer's PayPal Account.
|
int |
hashCode() |
Payer |
setAccountAge(java.lang.String accountAge)
Duration since the payer established account relationship with PayPal in days.
|
Payer |
setAccountType(java.lang.String accountType)
Type of account relationship payer has with PayPal.
|
Payer |
setExternalSelectedFundingInstrumentType(java.lang.String externalSelectedFundingInstrumentType)
Instrument type pre-selected by the user outside of PayPal and passed along the payment creation.
|
Payer |
setFundingInstruments(java.util.List<FundingInstrument> fundingInstruments)
List of funding instruments to fund the payment.
|
Payer |
setFundingOption(FundingOption fundingOption)
Deprecated.
|
Payer |
setFundingOptionId(java.lang.String fundingOptionId)
Id of user selected funding option for the payment.'OneOf' funding_instruments,funding_option_id to be used to identify the specifics of payment method passed.
|
Payer |
setPayerInfo(PayerInfo payerInfo)
Information related to the Payer.
|
Payer |
setPaymentMethod(java.lang.String paymentMethod)
Payment method being used - PayPal Wallet payment, Bank Direct Debit or Direct Credit card.
|
Payer |
setRelatedFundingOption(FundingOption relatedFundingOption)
Funding option related to default funding option.
|
Payer |
setStatus(java.lang.String status)
Status of payer's PayPal Account.
|
toJSON, toStringpublic java.lang.String getPaymentMethod()
public java.lang.String getStatus()
public java.lang.String getAccountType()
public java.lang.String getAccountAge()
public java.util.List<FundingInstrument> getFundingInstruments()
public java.lang.String getFundingOptionId()
@Deprecated public FundingOption getFundingOption()
public java.lang.String getExternalSelectedFundingInstrumentType()
public FundingOption getRelatedFundingOption()
public PayerInfo getPayerInfo()
public Payer setPaymentMethod(java.lang.String paymentMethod)
public Payer setStatus(java.lang.String status)
public Payer setAccountType(java.lang.String accountType)
public Payer setAccountAge(java.lang.String accountAge)
public Payer setFundingInstruments(java.util.List<FundingInstrument> fundingInstruments)
public Payer setFundingOptionId(java.lang.String fundingOptionId)
@Deprecated public Payer setFundingOption(FundingOption fundingOption)
public Payer setExternalSelectedFundingInstrumentType(java.lang.String externalSelectedFundingInstrumentType)
public Payer setRelatedFundingOption(FundingOption relatedFundingOption)
public Payer setPayerInfo(PayerInfo payerInfo)
public boolean equals(java.lang.Object o)
equals in class PayPalModelprotected boolean canEqual(java.lang.Object other)
canEqual in class PayPalModelpublic int hashCode()
hashCode in class PayPalModel