Class ApiRefundResponse

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

public class ApiRefundResponse extends Object
  • Constructor Details

    • ApiRefundResponse

      public ApiRefundResponse()
  • Method Details

    • getAdditionalResponseData

      public AdditionalResponseData getAdditionalResponseData()
      Additional response data
    • setAdditionalResponseData

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

      public ApiRefundResponse withAdditionalResponseData(AdditionalResponseData value)
      Additional response data
    • getAuthorizationCode

      public String getAuthorizationCode()
      Authorization approval code
    • setAuthorizationCode

      public void setAuthorizationCode(String value)
      Authorization approval code
    • withAuthorizationCode

      public ApiRefundResponse withAuthorizationCode(String value)
      Authorization approval code
    • getCardPaymentData

      public CardPaymentDataForResponse getCardPaymentData()
    • setCardPaymentData

      public void setCardPaymentData(CardPaymentDataForResponse value)
    • withCardPaymentData

      public ApiRefundResponse withCardPaymentData(CardPaymentDataForResponse value)
    • getEmvData

      public List<EmvDataItem> getEmvData()
      EMV data of the card as tag/value pairs. It is needed when cardEntryMode is CHIP or CONTACTLESS.
    • setEmvData

      public void setEmvData(List<EmvDataItem> value)
      EMV data of the card as tag/value pairs. It is needed when cardEntryMode is CHIP or CONTACTLESS.
    • withEmvData

      public ApiRefundResponse withEmvData(List<EmvDataItem> value)
      EMV data of the card as tag/value pairs. It is needed when cardEntryMode is CHIP or CONTACTLESS.
    • 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 ApiRefundResponse 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.
    • getReferencedPaymentId

      public String getReferencedPaymentId()
      The identifier of the payment referenced by this refund.
    • setReferencedPaymentId

      public void setReferencedPaymentId(String value)
      The identifier of the payment referenced by this refund.
    • withReferencedPaymentId

      public ApiRefundResponse withReferencedPaymentId(String value)
      The identifier of the payment referenced by this 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 ApiRefundResponse withReferences(ApiReferencesForResponses value)
      A set of references returned in responses
    • getRefundId

      public String getRefundId()
      The unique identifier of the refund, generated by Worldline. It is returned both for a standalone refund and for a refund created on a payment. Use it to retrieve the refund and in all follow-up operations such as capture and reverse.
    • setRefundId

      public void setRefundId(String value)
      The unique identifier of the refund, generated by Worldline. It is returned both for a standalone refund and for a refund created on a payment. Use it to retrieve the refund and in all follow-up operations such as capture and reverse.
    • withRefundId

      public ApiRefundResponse withRefundId(String value)
      The unique identifier of the refund, generated by Worldline. It is returned both for a standalone refund and for a refund created on a payment. Use it to retrieve the refund and in all follow-up operations such as capture and reverse.
    • 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 ApiRefundResponse 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 ApiRefundResponse 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 ApiRefundResponse 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 ApiRefundResponse 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 ApiRefundResponse 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 ApiRefundResponse 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 ApiRefundResponse withTotalAuthorizedAmount(AmountData value)
      Amount for the operation.