public class Error extends PayPalModel
| Constructor and Description |
|---|
Error()
Default Constructor
|
Error(java.lang.String name,
java.lang.String message,
java.lang.String informationLink,
java.lang.String debugId)
Parameterized Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCode()
Deprecated.
This property is not available publicly
PayPal internal error code.
|
java.lang.String |
getDebugId()
PayPal internal identifier used for correlation purposes.
|
java.util.List<ErrorDetails> |
getDetails()
Additional details of the error
|
FmfDetails |
getFmfDetails()
Deprecated.
This property is not available publicly
Fraud filter details. Only supported when the `payment_method` is set to `credit_card`
|
java.lang.String |
getInformationLink()
URI for detailed information related to this error for the developer.
|
java.util.List<DefinitionsLinkdescription> |
getLinks()
Links
|
java.lang.String |
getMessage()
Message describing the error.
|
java.lang.String |
getName()
Human readable, unique name of the error.
|
ProcessorResponse |
getProcessorResponse()
Deprecated.
This property is not available publicly
response codes returned from a payment processor such as avs, cvv, etc. Only supported when the `payment_method` is set to `credit_card`.
|
java.lang.String |
getPurchaseUnitReferenceId()
Deprecated.
This property is not available publicly
Reference ID of the purchase_unit associated with this error
|
int |
hashCode() |
Error |
setCode(java.lang.String code)
Deprecated.
This property is not available publicly
PayPal internal error code.
|
Error |
setDebugId(java.lang.String debugId)
PayPal internal identifier used for correlation purposes.
|
Error |
setDetails(java.util.List<ErrorDetails> details)
Additional details of the error
|
Error |
setFmfDetails(FmfDetails fmfDetails)
Deprecated.
This property is not available publicly
Fraud filter details. Only supported when the `payment_method` is set to `credit_card`
|
Error |
setInformationLink(java.lang.String informationLink)
URI for detailed information related to this error for the developer.
|
Error |
setLinks(java.util.List<DefinitionsLinkdescription> links)
Links
|
Error |
setMessage(java.lang.String message)
Message describing the error.
|
Error |
setName(java.lang.String name)
Human readable, unique name of the error.
|
Error |
setProcessorResponse(ProcessorResponse processorResponse)
Deprecated.
This property is not available publicly
response codes returned from a payment processor such as avs, cvv, etc. Only supported when the `payment_method` is set to `credit_card`.
|
Error |
setPurchaseUnitReferenceId(java.lang.String purchaseUnitReferenceId)
Deprecated.
This property is not available publicly
Reference ID of the purchase_unit associated with this error
|
java.lang.String |
toString() |
toJSONpublic Error()
public Error(java.lang.String name,
java.lang.String message,
java.lang.String informationLink,
java.lang.String debugId)
public java.lang.String toString()
toString in class PayPalModelpublic java.lang.String getName()
public java.lang.String getMessage()
public java.util.List<ErrorDetails> getDetails()
public java.lang.String getInformationLink()
public java.lang.String getDebugId()
public java.util.List<DefinitionsLinkdescription> getLinks()
@Deprecated public java.lang.String getCode()
@Deprecated public FmfDetails getFmfDetails()
@Deprecated public ProcessorResponse getProcessorResponse()
@Deprecated public java.lang.String getPurchaseUnitReferenceId()
public Error setName(java.lang.String name)
public Error setMessage(java.lang.String message)
public Error setDetails(java.util.List<ErrorDetails> details)
public Error setInformationLink(java.lang.String informationLink)
public Error setDebugId(java.lang.String debugId)
public Error setLinks(java.util.List<DefinitionsLinkdescription> links)
@Deprecated public Error setCode(java.lang.String code)
@Deprecated public Error setFmfDetails(FmfDetails fmfDetails)
@Deprecated public Error setProcessorResponse(ProcessorResponse processorResponse)
@Deprecated public Error setPurchaseUnitReferenceId(java.lang.String purchaseUnitReferenceId)
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