public class ExternalFunding extends PayPalModel
| Constructor and Description |
|---|
ExternalFunding()
Default Constructor
|
ExternalFunding(java.lang.String referenceId,
java.lang.String fundingAccountId,
Amount amount)
Parameterized Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
Amount |
getAmount()
Amount being funded by the external funding account
|
java.lang.String |
getCode()
Generic identifier for the external funding
|
java.lang.String |
getDisplayText()
Description of the external funding being applied
|
java.lang.String |
getFundingAccountId()
Encrypted PayPal Account identifier for the funding account
|
java.lang.String |
getFundingInstruction()
Indicates that the Payment should be fully funded by External Funded Incentive
|
java.lang.String |
getReferenceId()
Unique identifier for the external funding
|
int |
hashCode() |
ExternalFunding |
setAmount(Amount amount)
Amount being funded by the external funding account
|
ExternalFunding |
setCode(java.lang.String code)
Generic identifier for the external funding
|
ExternalFunding |
setDisplayText(java.lang.String displayText)
Description of the external funding being applied
|
ExternalFunding |
setFundingAccountId(java.lang.String fundingAccountId)
Encrypted PayPal Account identifier for the funding account
|
ExternalFunding |
setFundingInstruction(java.lang.String fundingInstruction)
Indicates that the Payment should be fully funded by External Funded Incentive
|
ExternalFunding |
setReferenceId(java.lang.String referenceId)
Unique identifier for the external funding
|
toJSON, toStringpublic ExternalFunding()
public ExternalFunding(java.lang.String referenceId,
java.lang.String fundingAccountId,
Amount amount)
public java.lang.String getReferenceId()
public java.lang.String getCode()
public java.lang.String getFundingAccountId()
public java.lang.String getDisplayText()
public Amount getAmount()
public java.lang.String getFundingInstruction()
public ExternalFunding setReferenceId(java.lang.String referenceId)
public ExternalFunding setCode(java.lang.String code)
public ExternalFunding setFundingAccountId(java.lang.String fundingAccountId)
public ExternalFunding setDisplayText(java.lang.String displayText)
public ExternalFunding setAmount(Amount amount)
public ExternalFunding setFundingInstruction(java.lang.String fundingInstruction)
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