Class ApiRefundResource

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

public class ApiRefundResource extends Object
  • Constructor Details

    • ApiRefundResource

      public ApiRefundResource()
  • Method Details

    • getCardPaymentData

      public CardPaymentDataForResource getCardPaymentData()
    • setCardPaymentData

      public void setCardPaymentData(CardPaymentDataForResource value)
    • withCardPaymentData

      public ApiRefundResource withCardPaymentData(CardPaymentDataForResource value)
    • getInitialAuthorizationCode

      public String getInitialAuthorizationCode()
      Authorization approval code
    • setInitialAuthorizationCode

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

      public ApiRefundResource withInitialAuthorizationCode(String value)
      Authorization approval code
    • getOperations

      public List<SubOperationForRefund> getOperations()
    • setOperations

      public void setOperations(List<SubOperationForRefund> value)
    • withOperations

      public ApiRefundResource withOperations(List<SubOperationForRefund> value)
    • 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 ApiRefundResource 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 ApiRefundResource 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 ApiRefundResource 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.
    • 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 ApiRefundResource 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 ApiRefundResource 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 ApiRefundResource withTotalAuthorizedAmount(AmountData value)
      Amount for the operation.