Class ApiPaymentErrorResponse

java.lang.Object
com.worldline.acquiring.sdk.java.v1.domain.ApiPaymentErrorResponse

public class ApiPaymentErrorResponse extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Any 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.
    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.
    void
    Any relevant details about the error.
    May include suggestions for handling it.
    void
    A URI reference that identifies the specific occurrence of the error.
    It may or may not yield further information if dereferenced.
    void
    The unique Worldline identifier for the request that resulted in this response.
    void
    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.
    void
    The human-readable version of the error.
    void
    setType(String value)
    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.
    Any 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.
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ApiPaymentErrorResponse

      public ApiPaymentErrorResponse()
  • Method Details

    • getDetail

      public String 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

      public void setDetail(String value)
      Any relevant details about the error.
      May include suggestions for handling it. Can be an empty string if no extra details are available.
    • withDetail

      public ApiPaymentErrorResponse withDetail(String value)
      Any relevant details about the error.
      May include suggestions for handling it. Can be an empty string if no extra details are available.
    • getInstance

      public String getInstance()
      A URI reference that identifies the specific occurrence of the error.
      It may or may not yield further information if dereferenced.
    • setInstance

      public void setInstance(String value)
      A URI reference that identifies the specific occurrence of the error.
      It may or may not yield further information if dereferenced.
    • withInstance

      public ApiPaymentErrorResponse withInstance(String value)
      A URI reference that identifies the specific occurrence of the error.
      It may or may not yield further information if dereferenced.
    • getRequestId

      public String getRequestId()
      The unique Worldline identifier for the request that resulted in this response.
    • setRequestId

      public void setRequestId(String value)
      The unique Worldline identifier for the request that resulted in this response.
    • withRequestId

      public ApiPaymentErrorResponse withRequestId(String value)
      The unique Worldline identifier for the request that resulted in this response.
    • getStatus

      public Integer 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

      public void setStatus(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.
    • withStatus

      public ApiPaymentErrorResponse 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.
    • getTitle

      public String getTitle()
      The human-readable version of the error.
    • setTitle

      public void setTitle(String value)
      The human-readable version of the error.
    • withTitle

      public ApiPaymentErrorResponse withTitle(String value)
      The human-readable version of the error.
    • getType

      public String 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

      public void setType(String value)
      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

      public ApiPaymentErrorResponse withType(String value)
      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.