Class SubOperation

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

public class SubOperation extends Object
  • Constructor Details

    • SubOperation

      public SubOperation()
  • Method Details

    • getAmount

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

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

      public SubOperation withAmount(AmountData value)
      Amount for the operation.
    • getAuthorizationCode

      public String getAuthorizationCode()
      Authorization approval code
    • setAuthorizationCode

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

      public SubOperation withAuthorizationCode(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 SubOperation 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 SubOperation 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
      • REFUND
      • INCREMENT
      • AUTHORIZATION_REVERSAL
    • setOperationType

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

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