public interface MerchantsApi
| Modifier and Type | Method and Description |
|---|---|
ListMerchantsResponse |
listMerchants(Integer cursor)
Provides details about the merchant associated with a given access token.
|
CompletableFuture<ListMerchantsResponse> |
listMerchantsAsync(Integer cursor)
Provides details about the merchant associated with a given access token.
|
RetrieveMerchantResponse |
retrieveMerchant(String merchantId)
Retrieves the `Merchant` object for the given `merchant_id`.
|
CompletableFuture<RetrieveMerchantResponse> |
retrieveMerchantAsync(String merchantId)
Retrieves the `Merchant` object for the given `merchant_id`.
|
ListMerchantsResponse listMerchants(Integer cursor) throws ApiException, IOException
cursor - Optional parameter: The cursor generated by the previous response.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<ListMerchantsResponse> listMerchantsAsync(Integer cursor)
cursor - Optional parameter: The cursor generated by the previous response.RetrieveMerchantResponse retrieveMerchant(String merchantId) throws ApiException, IOException
merchantId - Required parameter: The ID of the merchant to retrieve. If the string
"me" is supplied as the ID, then retrieve the merchant that is currently accessible
to this call.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<RetrieveMerchantResponse> retrieveMerchantAsync(String merchantId)
merchantId - Required parameter: The ID of the merchant to retrieve. If the string
"me" is supplied as the ID, then retrieve the merchant that is currently accessible
to this call.Copyright © 2022. All rights reserved.