Class RefundsClient
java.lang.Object
com.onlinepayments.ApiResource
com.onlinepayments.merchant.refunds.RefundsClient
- All Implemented Interfaces:
RefundsClientInterface
Refunds client. Thread-safe.
-
Field Summary
Fields inherited from class com.onlinepayments.ApiResource
clientMetaInfo, communicator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRefunds(String paymentId) Resource /v2/{merchantId}/payments/{paymentId}/refunds - Get refunds of paymentgetRefunds(String paymentId, CallContext context) Resource /v2/{merchantId}/payments/{paymentId}/refunds - Get refunds of paymentMethods inherited from class com.onlinepayments.ApiResource
getClientHeaders, instantiateUri
-
Constructor Details
-
RefundsClient
-
-
Method Details
-
getRefunds
Resource /v2/{merchantId}/payments/{paymentId}/refunds - Get refunds of payment- Specified by:
getRefundsin interfaceRefundsClientInterface- Parameters:
paymentId- String- Returns:
- RefundsResponse
-
getRefunds
Resource /v2/{merchantId}/payments/{paymentId}/refunds - Get refunds of payment- Specified by:
getRefundsin interfaceRefundsClientInterface- Parameters:
paymentId- Stringcontext- CallContext- Returns:
- RefundsResponse
-