Class ApiCaptureRequest
java.lang.Object
com.worldline.acquiring.sdk.java.v1.domain.ApiCaptureRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAmount to capture.Additional data regarding the breakdown of the capture amount.The index of the partial capture.Dynamic Currency Conversion (DCC) rate data from DCC lookup response.
Mandatory for DCC transactions.Indicates whether this partial capture is the final one.Additional data for marketplace transactions.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.Payment ReferencesTimestamp 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)voidsetAmount(AmountData value) Amount to capture.voidAdditional data regarding the breakdown of the capture amount.voidvoidsetCaptureSequenceNumber(Integer value) The index of the partial capture.voidDynamic Currency Conversion (DCC) rate data from DCC lookup response.
Mandatory for DCC transactions.voidsetIsFinal(Boolean value) Indicates whether this partial capture is the final one.voidAdditional data for marketplace transactions.voidsetOperationId(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.voidsetReferences(PaymentReferences value) Payment ReferencesvoidsetTerminalData(TerminalData value) voidTimestamp 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)withAmount(AmountData value) Amount to capture.Additional data regarding the breakdown of the capture amount.withCaptureSequenceNumber(Integer value) The index of the partial capture.Dynamic Currency Conversion (DCC) rate data from DCC lookup response.
Mandatory for DCC transactions.withIsFinal(Boolean value) Indicates whether this partial capture is the final one.Additional data for marketplace transactions.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.withReferences(PaymentReferences value) Payment ReferenceswithTerminalData(TerminalData 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)
-
Constructor Details
-
ApiCaptureRequest
public ApiCaptureRequest()
-
-
Method Details
-
getAmount
Amount to capture. If not provided, the full amount will be captured. -
setAmount
Amount to capture. If not provided, the full amount will be captured. -
withAmount
Amount to capture. If not provided, the full amount will be captured. -
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 captureamount, the information is provided for data enrichment and reconciliation purposes. -
setCaptureAmountBreakdownData
Additional data regarding the breakdown of the capture amount. This can include amounts such as tip. The amounts specified are included in the total captureamount, the information is provided for data enrichment and reconciliation purposes. -
withCaptureAmountBreakdownData
Additional data regarding the breakdown of the capture amount. This can include amounts such as tip. The amounts specified are included in the total captureamount, the information is provided for data enrichment and reconciliation purposes. -
getCapturePointOfSaleData
-
setCapturePointOfSaleData
-
withCapturePointOfSaleData
-
getCaptureSequenceNumber
The index of the partial capture. Not needed for full capture. -
setCaptureSequenceNumber
The index of the partial capture. Not needed for full capture. -
withCaptureSequenceNumber
The index of the partial capture. Not needed for full capture. -
getDynamicCurrencyConversion
Dynamic Currency Conversion (DCC) rate data from DCC lookup response.
Mandatory for DCC transactions. -
setDynamicCurrencyConversion
Dynamic Currency Conversion (DCC) rate data from DCC lookup response.
Mandatory for DCC transactions. -
withDynamicCurrencyConversion
Dynamic Currency Conversion (DCC) rate data from DCC lookup response.
Mandatory for DCC transactions. -
getIsFinal
Indicates whether this partial capture is the final one. When set totrue, the part of the authorization that was not captured is released. Not needed for a full capture.Note: the default value of
falseis not intuitive. Please send always a value and don't rely on the default, it might change with the next major API version -
setIsFinal
Indicates whether this partial capture is the final one. When set totrue, the part of the authorization that was not captured is released. Not needed for a full capture.Note: the default value of
falseis not intuitive. Please send always a value and don't rely on the default, it might change with the next major API version -
withIsFinal
Indicates whether this partial capture is the final one. When set totrue, the part of the authorization that was not captured is released. Not needed for a full capture.Note: the default value of
falseis not intuitive. Please send always a value and don't rely on the default, it might change with the next major API version -
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
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
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
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
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
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
Payment References -
setReferences
Payment References -
withReferences
Payment References -
getTerminalData
-
setTerminalData
-
withTerminalData
-
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
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
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)
-