public okhttp3.Call getCKMSMasterDataCall(String clientKey, String product, String field, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables String localVarPath = "/keys/data"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (field != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("field", field)); } Map localVarHeaderParams = new HashMap(); if (clientKey != null) { localVarHeaderParams.put("client_key", localVarApiClient.parameterToString(clientKey)); } if (product != null) { localVarHeaderParams.put("product", localVarApiClient.parameterToString(product)); } Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { "application/json" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { localVarHeaderParams.put("Accept", localVarAccept); } final String[] localVarContentTypes = { }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); String[] localVarAuthNames = new String[] {}; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") private okhttp3.Call getCKMSMasterDataValidateBeforeCall(String clientKey, String product, String field, final ApiCallback _callback) throws ApiException { // verify the required parameter 'clientKey' is set if (clientKey == null) { throw new ApiException("Missing the required parameter 'clientKey' when calling getCKMSMasterData(Async)"); } okhttp3.Call localVarCall = getCKMSMasterDataCall(clientKey, product, field, _callback); return localVarCall; } /** * Get information about all option fields required in the UI get CKMS master data * * @param clientKey * <code>client_key</code> of the caller service issued by Orbipay at the time of client * onboarding. (required) * @param requestor * The identifier for the requestor of the API. (required) * @param requestorType * The identifier for the requestor type of the API. (required) * @param timestamp * The datetime when the API is invoked in the ISO8601 format with the timezone offset. (required) * @param product * The product identifier corresponding to the API. (optional) * @param idempotentRequestKey * <code>idempotent_request_key</code> for the API, used to identify the deuplicate requests * with in a time period. (optional) * @param field * specific field of which data has to be retrieved(optional) (optional) * @return KeyDataResponse * @throws ApiException * If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details * * * * * * *
Status Code Description Response Headers
200 OK -
400 Bad Request -
401 Unauthorized -
500 Internal Server Error -
0 System Error -
*/ public KeyDataResponse getCKMSMasterData(String clientKey, String product, String field) throws ApiException { ApiResponse localVarResp = getCKMSMasterDataWithHttpInfo(clientKey, product, field); return localVarResp.getData(); } /** * Get information about all option fields required in the UI get CKMS master data * * @param clientKey * <code>client_key</code> of the caller service issued by Orbipay at the time of client * onboarding. (required) * @param requestor * The identifier for the requestor of the API. (required) * @param requestorType * The identifier for the requestor type of the API. (required) * @param timestamp * The datetime when the API is invoked in the ISO8601 format with the timezone offset. (required) * @param product * The product identifier corresponding to the API. (optional) * @param idempotentRequestKey * <code>idempotent_request_key</code> for the API, used to identify the deuplicate requests * with in a time period. (optional) * @param field * specific field of which data has to be retrieved(optional) (optional) * @return ApiResponse<KeyDataResponse> * @throws ApiException * If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details * * * * * * *
Status Code Description Response Headers
200 OK -
400 Bad Request -
401 Unauthorized -
500 Internal Server Error -
0 System Error -
*/ public ApiResponse getCKMSMasterDataWithHttpInfo(String clientKey, String product, String field) throws ApiException { okhttp3.Call localVarCall = getCKMSMasterDataValidateBeforeCall(clientKey, product, field, null); Type localVarReturnType = new TypeToken() { }.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** * Get information about all option fields required in the UI (asynchronously) get CKMS master data * * @param clientKey * <code>client_key</code> of the caller service issued by Orbipay at the time of client * onboarding. (required) * @param requestor * The identifier for the requestor of the API. (required) * @param requestorType * The identifier for the requestor type of the API. (required) * @param timestamp * The datetime when the API is invoked in the ISO8601 format with the timezone offset. (required) * @param product * The product identifier corresponding to the API. (optional) * @param idempotentRequestKey * <code>idempotent_request_key</code> for the API, used to identify the deuplicate requests * with in a time period. (optional) * @param field * specific field of which data has to be retrieved(optional) (optional) * @param _callback * The callback to be executed when the API call finishes * @return The request call * @throws ApiException * If fail to process the API call, e.g. serializing the request body object * @http.response.details * * * * * * *
Status Code Description Response Headers
200 OK -
400 Bad Request -
401 Unauthorized -
500 Internal Server Error -
0 System Error -
*/ public okhttp3.Call getCKMSMasterDataAsync(String clientKey, String product, String field, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCKMSMasterDataValidateBeforeCall(clientKey, product, field, _callback); Type localVarReturnType = new TypeToken() { }.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; }