public class FundingOption extends PayPalModel
| Constructor and Description |
|---|
FundingOption()
Default Constructor
|
FundingOption(java.lang.String id,
java.util.List<FundingSource> fundingSources)
Parameterized Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
FundingInstrument |
getBackupFundingInstrument()
Backup funding instrument which will be used for payment if primary fails.
|
CurrencyConversion |
getCurrencyConversion()
Currency conversion applicable to this funding option.
|
java.util.List<FundingSource> |
getFundingSources()
List of funding sources that contributes to a payment.
|
java.lang.String |
getId()
id of the funding option.
|
InstallmentInfo |
getInstallmentInfo()
Installment options available for a funding option.
|
java.util.List<DefinitionsLinkdescription> |
getLinks() |
int |
hashCode() |
FundingOption |
setBackupFundingInstrument(FundingInstrument backupFundingInstrument)
Backup funding instrument which will be used for payment if primary fails.
|
FundingOption |
setCurrencyConversion(CurrencyConversion currencyConversion)
Currency conversion applicable to this funding option.
|
FundingOption |
setFundingSources(java.util.List<FundingSource> fundingSources)
List of funding sources that contributes to a payment.
|
FundingOption |
setId(java.lang.String id)
id of the funding option.
|
FundingOption |
setInstallmentInfo(InstallmentInfo installmentInfo)
Installment options available for a funding option.
|
FundingOption |
setLinks(java.util.List<DefinitionsLinkdescription> links) |
toJSON, toStringpublic FundingOption()
public FundingOption(java.lang.String id,
java.util.List<FundingSource> fundingSources)
public java.lang.String getId()
public java.util.List<FundingSource> getFundingSources()
public FundingInstrument getBackupFundingInstrument()
public CurrencyConversion getCurrencyConversion()
public InstallmentInfo getInstallmentInfo()
public java.util.List<DefinitionsLinkdescription> getLinks()
public FundingOption setId(java.lang.String id)
public FundingOption setFundingSources(java.util.List<FundingSource> fundingSources)
public FundingOption setBackupFundingInstrument(FundingInstrument backupFundingInstrument)
public FundingOption setCurrencyConversion(CurrencyConversion currencyConversion)
public FundingOption setInstallmentInfo(InstallmentInfo installmentInfo)
public FundingOption setLinks(java.util.List<DefinitionsLinkdescription> links)
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