Class ApiCaptureRequest

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

public class ApiCaptureRequest extends Object
  • Constructor Details

    • ApiCaptureRequest

      public ApiCaptureRequest()
  • Method Details

    • getAmount

      public AmountData getAmount()
      Amount to capture. If not provided, the full amount will be captured.
    • setAmount

      public void setAmount(AmountData value)
      Amount to capture. If not provided, the full amount will be captured.
    • withAmount

      public ApiCaptureRequest withAmount(AmountData value)
      Amount to capture. If not provided, the full amount will be captured.
    • getCaptureAmountBreakdownData

      public CaptureAmountBreakdownData getCaptureAmountBreakdownData()
      Additional data regarding the breakdown of the capture amount. This can include amounts such as tip. The amounts specified are included in the total capture amount, the information is provided for data enrichment and reconciliation purposes.
    • setCaptureAmountBreakdownData

      public void setCaptureAmountBreakdownData(CaptureAmountBreakdownData value)
      Additional data regarding the breakdown of the capture amount. This can include amounts such as tip. The amounts specified are included in the total capture amount, the information is provided for data enrichment and reconciliation purposes.
    • withCaptureAmountBreakdownData

      public ApiCaptureRequest withCaptureAmountBreakdownData(CaptureAmountBreakdownData value)
      Additional data regarding the breakdown of the capture amount. This can include amounts such as tip. The amounts specified are included in the total capture amount, the information is provided for data enrichment and reconciliation purposes.
    • getCapturePointOfSaleData

      public CapturePointOfSaleData getCapturePointOfSaleData()
    • setCapturePointOfSaleData

      public void setCapturePointOfSaleData(CapturePointOfSaleData value)
    • withCapturePointOfSaleData

      public ApiCaptureRequest withCapturePointOfSaleData(CapturePointOfSaleData value)
    • getCaptureSequenceNumber

      public Integer getCaptureSequenceNumber()
      The index of the partial capture. Not needed for full capture.
    • setCaptureSequenceNumber

      public void setCaptureSequenceNumber(Integer value)
      The index of the partial capture. Not needed for full capture.
    • withCaptureSequenceNumber

      public ApiCaptureRequest withCaptureSequenceNumber(Integer value)
      The index of the partial capture. Not needed for full capture.
    • getDynamicCurrencyConversion

      public DccData getDynamicCurrencyConversion()
      Dynamic Currency Conversion (DCC) rate data from DCC lookup response.
      Mandatory for DCC transactions.
    • setDynamicCurrencyConversion

      public void setDynamicCurrencyConversion(DccData value)
      Dynamic Currency Conversion (DCC) rate data from DCC lookup response.
      Mandatory for DCC transactions.
    • withDynamicCurrencyConversion

      public ApiCaptureRequest withDynamicCurrencyConversion(DccData value)
      Dynamic Currency Conversion (DCC) rate data from DCC lookup response.
      Mandatory for DCC transactions.
    • getIsFinal

      public Boolean getIsFinal()
      Indicates whether this partial capture is the final one. When set to true, the part of the authorization that was not captured is released. Not needed for a full capture.

      Note: the default value of false is not intuitive. Please send always a value and don't rely on the default, it might change with the next major API version

    • setIsFinal

      public void setIsFinal(Boolean value)
      Indicates whether this partial capture is the final one. When set to true, the part of the authorization that was not captured is released. Not needed for a full capture.

      Note: the default value of false is not intuitive. Please send always a value and don't rely on the default, it might change with the next major API version

    • withIsFinal

      public ApiCaptureRequest withIsFinal(Boolean value)
      Indicates whether this partial capture is the final one. When set to true, the part of the authorization that was not captured is released. Not needed for a full capture.

      Note: the default value of false is not intuitive. Please send always a value and don't rely on the default, it might change with the next major API version

    • getMarketplaceData

      public MarketplaceData getMarketplaceData()
      Additional data for marketplace transactions. Required when capturing VISA payments on behalf of sellers that are located in a different region than the marketplace. We advise marketplaces to always provide this data to ensure optimal processing of the transactions.
    • setMarketplaceData

      public void setMarketplaceData(MarketplaceData value)
      Additional data for marketplace transactions. Required when capturing VISA payments on behalf of sellers that are located in a different region than the marketplace. We advise marketplaces to always provide this data to ensure optimal processing of the transactions.
    • withMarketplaceData

      public ApiCaptureRequest withMarketplaceData(MarketplaceData value)
      Additional data for marketplace transactions. Required when capturing VISA payments on behalf of sellers that are located in a different region than the marketplace. We advise marketplaces to always provide this data to ensure optimal processing of the transactions.
    • 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 ApiCaptureRequest 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.
    • getReferences

      public PaymentReferences getReferences()
      Payment References
    • setReferences

      public void setReferences(PaymentReferences value)
      Payment References
    • withReferences

      public ApiCaptureRequest withReferences(PaymentReferences value)
      Payment References
    • getTerminalData

      public TerminalData getTerminalData()
    • setTerminalData

      public void setTerminalData(TerminalData value)
    • withTerminalData

      public ApiCaptureRequest withTerminalData(TerminalData value)
    • getTransactionTimestamp

      public ZonedDateTime getTransactionTimestamp()
      Timestamp of transaction 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)
    • setTransactionTimestamp

      public void setTransactionTimestamp(ZonedDateTime value)
      Timestamp of transaction 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)
    • withTransactionTimestamp

      public ApiCaptureRequest withTransactionTimestamp(ZonedDateTime value)
      Timestamp of transaction 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)