Class ApiPaymentErrorResponse
java.lang.Object
com.worldline.acquiring.sdk.java.v1.domain.ApiPaymentErrorResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAny relevant details about the error.
May include suggestions for handling it.A URI reference that identifies the specific occurrence of the error.
It may or may not yield further information if dereferenced.The unique Worldline identifier for the request that resulted in this response.The HTTP status code of this error response.
Included to aid those frameworks that have a hard time working with anything other than the body of an HTTP response.getTitle()The human-readable version of the error.getType()The type of the error.
This is what you should match against when implementing error handling.
It is in the form of a URL that identifies the error type.voidAny relevant details about the error.
May include suggestions for handling it.voidsetInstance(String value) A URI reference that identifies the specific occurrence of the error.
It may or may not yield further information if dereferenced.voidsetRequestId(String value) The unique Worldline identifier for the request that resulted in this response.voidThe HTTP status code of this error response.
Included to aid those frameworks that have a hard time working with anything other than the body of an HTTP response.voidThe human-readable version of the error.voidThe type of the error.
This is what you should match against when implementing error handling.
It is in the form of a URL that identifies the error type.withDetail(String value) Any relevant details about the error.
May include suggestions for handling it.withInstance(String value) A URI reference that identifies the specific occurrence of the error.
It may or may not yield further information if dereferenced.withRequestId(String value) The unique Worldline identifier for the request that resulted in this response.withStatus(Integer value) The HTTP status code of this error response.
Included to aid those frameworks that have a hard time working with anything other than the body of an HTTP response.The human-readable version of the error.The type of the error.
This is what you should match against when implementing error handling.
It is in the form of a URL that identifies the error type.
-
Constructor Details
-
ApiPaymentErrorResponse
public ApiPaymentErrorResponse()
-
-
Method Details
-
getDetail
Any relevant details about the error.
May include suggestions for handling it. Can be an empty string if no extra details are available. -
setDetail
Any relevant details about the error.
May include suggestions for handling it. Can be an empty string if no extra details are available. -
withDetail
Any relevant details about the error.
May include suggestions for handling it. Can be an empty string if no extra details are available. -
getInstance
A URI reference that identifies the specific occurrence of the error.
It may or may not yield further information if dereferenced. -
setInstance
A URI reference that identifies the specific occurrence of the error.
It may or may not yield further information if dereferenced. -
withInstance
A URI reference that identifies the specific occurrence of the error.
It may or may not yield further information if dereferenced. -
getRequestId
The unique Worldline identifier for the request that resulted in this response. -
setRequestId
The unique Worldline identifier for the request that resulted in this response. -
withRequestId
The unique Worldline identifier for the request that resulted in this response. -
getStatus
The HTTP status code of this error response.
Included to aid those frameworks that have a hard time working with anything other than the body of an HTTP response. -
setStatus
The HTTP status code of this error response.
Included to aid those frameworks that have a hard time working with anything other than the body of an HTTP response. -
withStatus
The HTTP status code of this error response.
Included to aid those frameworks that have a hard time working with anything other than the body of an HTTP response. -
getTitle
The human-readable version of the error. -
setTitle
The human-readable version of the error. -
withTitle
The human-readable version of the error. -
getType
The type of the error.
This is what you should match against when implementing error handling.
It is in the form of a URL that identifies the error type. -
setType
The type of the error.
This is what you should match against when implementing error handling.
It is in the form of a URL that identifies the error type. -
withType
The type of the error.
This is what you should match against when implementing error handling.
It is in the form of a URL that identifies the error type.
-