Class ProductsClient
java.lang.Object
com.onlinepayments.ApiResource
com.onlinepayments.merchant.products.ProductsClient
- All Implemented Interfaces:
ProductsClientInterface
Products client. Thread-safe.
-
Field Summary
Fields inherited from class com.onlinepayments.ApiResource
clientMetaInfo, communicator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPaymentProduct(Integer paymentProductId, GetPaymentProductParams query) Resource /v2/{merchantId}/products/{paymentProductId} - Get payment productgetPaymentProduct(Integer paymentProductId, GetPaymentProductParams query, CallContext context) Resource /v2/{merchantId}/products/{paymentProductId} - Get payment productgetPaymentProductNetworks(Integer paymentProductId, GetPaymentProductNetworksParams query) Resource /v2/{merchantId}/products/{paymentProductId}/networks - Get payment product networksgetPaymentProductNetworks(Integer paymentProductId, GetPaymentProductNetworksParams query, CallContext context) Resource /v2/{merchantId}/products/{paymentProductId}/networks - Get payment product networksResource /v2/{merchantId}/products - Get payment productsgetPaymentProducts(GetPaymentProductsParams query, CallContext context) Resource /v2/{merchantId}/products - Get payment productsgetProductDirectory(Integer paymentProductId, GetProductDirectoryParams query) Resource /v2/{merchantId}/products/{paymentProductId}/directory - Get payment product directorygetProductDirectory(Integer paymentProductId, GetProductDirectoryParams query, CallContext context) Resource /v2/{merchantId}/products/{paymentProductId}/directory - Get payment product directoryMethods inherited from class com.onlinepayments.ApiResource
getClientHeaders, instantiateUri
-
Constructor Details
-
ProductsClient
-
-
Method Details
-
getPaymentProducts
Resource /v2/{merchantId}/products - Get payment products- Specified by:
getPaymentProductsin interfaceProductsClientInterface- Parameters:
query- GetPaymentProductsParams- Returns:
- GetPaymentProductsResponse
-
getPaymentProducts
public GetPaymentProductsResponse getPaymentProducts(GetPaymentProductsParams query, CallContext context) Resource /v2/{merchantId}/products - Get payment products- Specified by:
getPaymentProductsin interfaceProductsClientInterface- Parameters:
query- GetPaymentProductsParamscontext- CallContext- Returns:
- GetPaymentProductsResponse
-
getPaymentProduct
Resource /v2/{merchantId}/products/{paymentProductId} - Get payment product- Specified by:
getPaymentProductin interfaceProductsClientInterface- Parameters:
paymentProductId- Integerquery- GetPaymentProductParams- Returns:
- PaymentProduct
-
getPaymentProduct
public PaymentProduct getPaymentProduct(Integer paymentProductId, GetPaymentProductParams query, CallContext context) Resource /v2/{merchantId}/products/{paymentProductId} - Get payment product- Specified by:
getPaymentProductin interfaceProductsClientInterface- Parameters:
paymentProductId- Integerquery- GetPaymentProductParamscontext- CallContext- Returns:
- PaymentProduct
-
getPaymentProductNetworks
public PaymentProductNetworksResponse getPaymentProductNetworks(Integer paymentProductId, GetPaymentProductNetworksParams query) Resource /v2/{merchantId}/products/{paymentProductId}/networks - Get payment product networks- Specified by:
getPaymentProductNetworksin interfaceProductsClientInterface- Parameters:
paymentProductId- Integerquery- GetPaymentProductNetworksParams- Returns:
- PaymentProductNetworksResponse
-
getPaymentProductNetworks
public PaymentProductNetworksResponse getPaymentProductNetworks(Integer paymentProductId, GetPaymentProductNetworksParams query, CallContext context) Resource /v2/{merchantId}/products/{paymentProductId}/networks - Get payment product networks- Specified by:
getPaymentProductNetworksin interfaceProductsClientInterface- Parameters:
paymentProductId- Integerquery- GetPaymentProductNetworksParamscontext- CallContext- Returns:
- PaymentProductNetworksResponse
-
getProductDirectory
public ProductDirectory getProductDirectory(Integer paymentProductId, GetProductDirectoryParams query) Resource /v2/{merchantId}/products/{paymentProductId}/directory - Get payment product directory- Specified by:
getProductDirectoryin interfaceProductsClientInterface- Parameters:
paymentProductId- Integerquery- GetProductDirectoryParams- Returns:
- ProductDirectory
-
getProductDirectory
public ProductDirectory getProductDirectory(Integer paymentProductId, GetProductDirectoryParams query, CallContext context) Resource /v2/{merchantId}/products/{paymentProductId}/directory - Get payment product directory- Specified by:
getProductDirectoryin interfaceProductsClientInterface- Parameters:
paymentProductId- Integerquery- GetProductDirectoryParamscontext- CallContext- Returns:
- ProductDirectory
-