Class CapturesClient
java.lang.Object
com.onlinepayments.ApiResource
com.onlinepayments.merchant.captures.CapturesClient
- All Implemented Interfaces:
CapturesClientInterface
Captures client. Thread-safe.
-
Field Summary
Fields inherited from class com.onlinepayments.ApiResource
clientMetaInfo, communicator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCaptures(String paymentId) Resource /v2/{merchantId}/payments/{paymentId}/captures - Get captures of paymentgetCaptures(String paymentId, CallContext context) Resource /v2/{merchantId}/payments/{paymentId}/captures - Get captures of paymentMethods inherited from class com.onlinepayments.ApiResource
getClientHeaders, instantiateUri
-
Constructor Details
-
CapturesClient
-
-
Method Details
-
getCaptures
Resource /v2/{merchantId}/payments/{paymentId}/captures - Get captures of payment- Specified by:
getCapturesin interfaceCapturesClientInterface- Parameters:
paymentId- String- Returns:
- CapturesResponse
-
getCaptures
Resource /v2/{merchantId}/payments/{paymentId}/captures - Get captures of payment- Specified by:
getCapturesin interfaceCapturesClientInterface- Parameters:
paymentId- Stringcontext- CallContext- Returns:
- CapturesResponse
-