Class ApiPaymentResponse

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

public class ApiPaymentResponse extends Object
  • Constructor Details

    • ApiPaymentResponse

      public ApiPaymentResponse()
  • Method Details

    • getAdditionalResponseData

      public AdditionalResponseData getAdditionalResponseData()
      Additional response data
    • setAdditionalResponseData

      public void setAdditionalResponseData(AdditionalResponseData value)
      Additional response data
    • withAdditionalResponseData

      public ApiPaymentResponse withAdditionalResponseData(AdditionalResponseData value)
      Additional response data
    • getCardPaymentData

      public CardPaymentDataForResponse getCardPaymentData()
    • setCardPaymentData

      public void setCardPaymentData(CardPaymentDataForResponse value)
    • withCardPaymentData

      public ApiPaymentResponse withCardPaymentData(CardPaymentDataForResponse value)
    • getInitialAuthorizationCode

      public String getInitialAuthorizationCode()
      Authorization approval code
    • setInitialAuthorizationCode

      public void setInitialAuthorizationCode(String value)
      Authorization approval code
    • withInitialAuthorizationCode

      public ApiPaymentResponse withInitialAuthorizationCode(String value)
      Authorization approval code
    • getOperationId

      public String getOperationId()
      A globally unique identifier of the operation, generated by you.
      We advise you to submit a UUID or an identifier composed of an arbitrary string and a UUID/URL-safe Base64 UUID (RFC 4648 §5).
      It's used to detect duplicate requests or to reference an operation in technical reversals.
    • setOperationId

      public void setOperationId(String value)
      A globally unique identifier of the operation, generated by you.
      We advise you to submit a UUID or an identifier composed of an arbitrary string and a UUID/URL-safe Base64 UUID (RFC 4648 §5).
      It's used to detect duplicate requests or to reference an operation in technical reversals.
    • withOperationId

      public ApiPaymentResponse withOperationId(String value)
      A globally unique identifier of the operation, generated by you.
      We advise you to submit a UUID or an identifier composed of an arbitrary string and a UUID/URL-safe Base64 UUID (RFC 4648 §5).
      It's used to detect duplicate requests or to reference an operation in technical reversals.
    • getPaymentId

      public String getPaymentId()
      The unique identifier of the payment, generated by Worldline. Use it to retrieve the payment and in all follow-up operations such as authorize, capture, reverse and refund.
    • setPaymentId

      public void setPaymentId(String value)
      The unique identifier of the payment, generated by Worldline. Use it to retrieve the payment and in all follow-up operations such as authorize, capture, reverse and refund.
    • withPaymentId

      public ApiPaymentResponse withPaymentId(String value)
      The unique identifier of the payment, generated by Worldline. Use it to retrieve the payment and in all follow-up operations such as authorize, capture, reverse and refund.
    • getReferences

      public ApiReferencesForResponses getReferences()
      A set of references returned in responses
    • setReferences

      public void setReferences(ApiReferencesForResponses value)
      A set of references returned in responses
    • withReferences

      public ApiPaymentResponse withReferences(ApiReferencesForResponses value)
      A set of references returned in responses
    • getResponder

      public String getResponder()
      The party that originated the response Possible values are:
      • WORLDLINE
      • ISSUER
      • SCHEME
      • PARTNER
    • setResponder

      public void setResponder(String value)
      The party that originated the response Possible values are:
      • WORLDLINE
      • ISSUER
      • SCHEME
      • PARTNER
    • withResponder

      public ApiPaymentResponse withResponder(String value)
      The party that originated the response Possible values are:
      • WORLDLINE
      • ISSUER
      • SCHEME
      • PARTNER
    • getResponseCode

      public String getResponseCode()
      Numeric response code, e.g. 0, 5
    • setResponseCode

      public void setResponseCode(String value)
      Numeric response code, e.g. 0, 5
    • withResponseCode

      public ApiPaymentResponse withResponseCode(String value)
      Numeric response code, e.g. 0, 5
    • getResponseCodeCategory

      public String getResponseCodeCategory()
      Category of response code.
      Possible values are:
      • APPROVED
      • PARTIALLY_APPROVED
      • DECLINED
    • setResponseCodeCategory

      public void setResponseCodeCategory(String value)
      Category of response code.
      Possible values are:
      • APPROVED
      • PARTIALLY_APPROVED
      • DECLINED
    • withResponseCodeCategory

      public ApiPaymentResponse withResponseCodeCategory(String value)
      Category of response code.
      Possible values are:
      • APPROVED
      • PARTIALLY_APPROVED
      • DECLINED
    • getResponseCodeDescription

      public String getResponseCodeDescription()
      Description of the response code
    • setResponseCodeDescription

      public void setResponseCodeDescription(String value)
      Description of the response code
    • withResponseCodeDescription

      public ApiPaymentResponse withResponseCodeDescription(String value)
      Description of the response code
    • getStatus

      public String getStatus()
      The status of the payment, refund or credit transfer
      Possible values are:
      • AUTHORIZED
      • NOT_AUTHORIZED
      • PENDING
      • PENDING_CAPTURE
      • CONFIRMED
      • REVERSED
      • CANCELLED
    • setStatus

      public void setStatus(String value)
      The status of the payment, refund or credit transfer
      Possible values are:
      • AUTHORIZED
      • NOT_AUTHORIZED
      • PENDING
      • PENDING_CAPTURE
      • CONFIRMED
      • REVERSED
      • CANCELLED
    • withStatus

      public ApiPaymentResponse withStatus(String value)
      The status of the payment, refund or credit transfer
      Possible values are:
      • AUTHORIZED
      • NOT_AUTHORIZED
      • PENDING
      • PENDING_CAPTURE
      • CONFIRMED
      • REVERSED
      • CANCELLED
    • getStatusTimestamp

      public ZonedDateTime getStatusTimestamp()
      Timestamp of the status in format yyyy-MM-ddTHH:mm:ssZ
    • setStatusTimestamp

      public void setStatusTimestamp(ZonedDateTime value)
      Timestamp of the status in format yyyy-MM-ddTHH:mm:ssZ
    • withStatusTimestamp

      public ApiPaymentResponse withStatusTimestamp(ZonedDateTime value)
      Timestamp of the status in format yyyy-MM-ddTHH:mm:ssZ
    • getTotalAuthorizedAmount

      public AmountData getTotalAuthorizedAmount()
      Amount for the operation.
    • setTotalAuthorizedAmount

      public void setTotalAuthorizedAmount(AmountData value)
      Amount for the operation.
    • withTotalAuthorizedAmount

      public ApiPaymentResponse withTotalAuthorizedAmount(AmountData value)
      Amount for the operation.