Class SubOperationForRefund

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

public class SubOperationForRefund extends Object
  • Constructor Details

    • SubOperationForRefund

      public SubOperationForRefund()
  • Method Details

    • getAmount

      public AmountData getAmount()
      Amount for the operation.
    • setAmount

      public void setAmount(AmountData value)
      Amount for the operation.
    • withAmount

      public SubOperationForRefund withAmount(AmountData value)
      Amount for the operation.
    • 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 SubOperationForRefund 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.
    • getOperationTimestamp

      public ZonedDateTime getOperationTimestamp()
      Timestamp of the operation in ISO 8601 format (YYYY-MM-DDThh:mm:ss+TZD)
      It can be expressed in merchant time zone (ex: 2023-10-10T08:00+02:00) or in UTC (ex: 2023-10-10T08:00Z) yyyy-MM-ddTHH:mm:ssZ
    • setOperationTimestamp

      public void setOperationTimestamp(ZonedDateTime value)
      Timestamp of the operation in ISO 8601 format (YYYY-MM-DDThh:mm:ss+TZD)
      It can be expressed in merchant time zone (ex: 2023-10-10T08:00+02:00) or in UTC (ex: 2023-10-10T08:00Z) yyyy-MM-ddTHH:mm:ssZ
    • withOperationTimestamp

      public SubOperationForRefund withOperationTimestamp(ZonedDateTime value)
      Timestamp of the operation in ISO 8601 format (YYYY-MM-DDThh:mm:ss+TZD)
      It can be expressed in merchant time zone (ex: 2023-10-10T08:00+02:00) or in UTC (ex: 2023-10-10T08:00Z) yyyy-MM-ddTHH:mm:ssZ
    • getOperationType

      public String getOperationType()
      The kind of operation
      Possible values are:
      • AUTHORIZATION
      • CAPTURE
      • AUTHORIZATION_REVERSAL
    • setOperationType

      public void setOperationType(String value)
      The kind of operation
      Possible values are:
      • AUTHORIZATION
      • CAPTURE
      • AUTHORIZATION_REVERSAL
    • withOperationType

      public SubOperationForRefund withOperationType(String value)
      The kind of operation
      Possible values are:
      • AUTHORIZATION
      • CAPTURE
      • AUTHORIZATION_REVERSAL
    • 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 SubOperationForRefund 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 SubOperationForRefund 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 SubOperationForRefund withResponseCodeDescription(String value)
      Description of the response code