Class PaymentError
java.lang.Object
dev.vality.swag_webhook_events.model.PaymentError
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-08-08T11:08:44.744020346Z[Etc/UTC]")
public class PaymentError
extends Object
[Error occurred during the payment process](#tag/Error-Codes)
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CODEstatic StringJSON_PROPERTY_MESSAGEstatic StringJSON_PROPERTY_SUB_ERROR -
Constructor Summary
Constructors Constructor Description PaymentError() -
Method Summary
Modifier and Type Method Description PaymentErrorcode(String code)booleanequals(Object o)StringgetCode()Basic error codeStringgetMessage()**Deprecated.** _Use `subError` to detail the error description._ Error descriptionSubErrorgetSubError()Get subErrorinthashCode()PaymentErrormessage(String message)voidsetCode(String code)voidsetMessage(String message)voidsetSubError(SubError subError)PaymentErrorsubError(SubError subError)StringtoString()
-
Field Details
-
JSON_PROPERTY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MESSAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUB_ERROR
- See Also:
- Constant Field Values
-
-
Constructor Details
-
PaymentError
public PaymentError()
-
-
Method Details
-
code
-
getCode
Basic error code- Returns:
- code
-
setCode
-
message
-
getMessage
**Deprecated.** _Use `subError` to detail the error description._ Error description- Returns:
- message
-
setMessage
-
subError
-
getSubError
Get subError- Returns:
- subError
-
setSubError
-
equals
-
hashCode
public int hashCode() -
toString
-