Skip to content

Commit 7ca5d78

Browse files
committed
Correcting spelling mistake for fraudUpdate
1 parent 25fa7b6 commit 7ca5d78

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

generator/cybersource-rest-spec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29451,7 +29451,7 @@
2945129451
"post": {
2945229452
"summary": "Fraud Marking",
2945329453
"description": "This can be used to -\n1. Add known fraudulent data to the fraud history\n2. Remove data added to history with Transaction Marking Tool or by uploading chargeback files\n3. Remove chargeback data from history that was automatically added.\nFor detailed information, contact your Cybersource representative\n\nPlace the request ID of the transaction you want to mark as suspect (or remove from history) as the path parameter in this request.\n",
29454-
"operationId": "fraudUdate",
29454+
"operationId": "fraudUpdate",
2945529455
"tags": [
2945629456
"Decision Manager"
2945729457
],

src/main/java/Api/DecisionManagerApi.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -322,15 +322,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
322322
return call;
323323
}
324324
/**
325-
* Build call for fraudUdate
325+
* Build call for FraudUpdate
326326
* @param id Request ID of the transaction that you want to mark as suspect or remove from history. (required)
327327
* @param fraudMarkingActionRequest (required)
328328
* @param progressListener Progress listener
329329
* @param progressRequestListener Progress request listener
330330
* @return Call to execute
331331
* @throws ApiException If fail to serialize the request body object
332332
*/
333-
public okhttp3.Call fraudUdateCall(String id, FraudMarkingActionRequest fraudMarkingActionRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
333+
public okhttp3.Call FraudUpdateCall(String id, FraudMarkingActionRequest fraudMarkingActionRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
334334
Object localVarPostBody = fraudMarkingActionRequest;
335335

336336
// create path and map variables
@@ -372,20 +372,20 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
372372
}
373373

374374
@SuppressWarnings("rawtypes")
375-
private okhttp3.Call fraudUdateValidateBeforeCall(String id, FraudMarkingActionRequest fraudMarkingActionRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
375+
private okhttp3.Call FraudUpdateValidateBeforeCall(String id, FraudMarkingActionRequest fraudMarkingActionRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
376376

377377
// verify the required parameter 'id' is set
378378
if (id == null) {
379-
throw new ApiException("Missing the required parameter 'id' when calling fraudUdate(Async)");
379+
throw new ApiException("Missing the required parameter 'id' when calling FraudUpdate(Async)");
380380
}
381381

382382
// verify the required parameter 'fraudMarkingActionRequest' is set
383383
if (fraudMarkingActionRequest == null) {
384-
throw new ApiException("Missing the required parameter 'fraudMarkingActionRequest' when calling fraudUdate(Async)");
384+
throw new ApiException("Missing the required parameter 'fraudMarkingActionRequest' when calling FraudUpdate(Async)");
385385
}
386386

387387

388-
okhttp3.Call call = fraudUdateCall(id, fraudMarkingActionRequest, progressListener, progressRequestListener);
388+
okhttp3.Call call = FraudUpdateCall(id, fraudMarkingActionRequest, progressListener, progressRequestListener);
389389
return call;
390390

391391

@@ -402,8 +402,8 @@ private okhttp3.Call fraudUdateValidateBeforeCall(String id, FraudMarkingActionR
402402
* @return RiskV1UpdatePost201Response
403403
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
404404
*/
405-
public RiskV1UpdatePost201Response fraudUdate(String id, FraudMarkingActionRequest fraudMarkingActionRequest) throws ApiException {
406-
ApiResponse<RiskV1UpdatePost201Response> resp = fraudUdateWithHttpInfo(id, fraudMarkingActionRequest);
405+
public RiskV1UpdatePost201Response FraudUpdate(String id, FraudMarkingActionRequest fraudMarkingActionRequest) throws ApiException {
406+
ApiResponse<RiskV1UpdatePost201Response> resp = FraudUpdateWithHttpInfo(id, fraudMarkingActionRequest);
407407
return resp.getData();
408408
}
409409

@@ -415,8 +415,8 @@ public RiskV1UpdatePost201Response fraudUdate(String id, FraudMarkingActionReque
415415
* @return ApiResponse&lt;RiskV1UpdatePost201Response&gt;
416416
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
417417
*/
418-
public ApiResponse<RiskV1UpdatePost201Response> fraudUdateWithHttpInfo(String id, FraudMarkingActionRequest fraudMarkingActionRequest) throws ApiException {
419-
okhttp3.Call call = fraudUdateValidateBeforeCall(id, fraudMarkingActionRequest, null, null);
418+
public ApiResponse<RiskV1UpdatePost201Response> FraudUpdateWithHttpInfo(String id, FraudMarkingActionRequest fraudMarkingActionRequest) throws ApiException {
419+
okhttp3.Call call = FraudUpdateValidateBeforeCall(id, fraudMarkingActionRequest, null, null);
420420
Type localVarReturnType = new TypeToken<RiskV1UpdatePost201Response>(){}.getType();
421421
return apiClient.execute(call, localVarReturnType);
422422
}
@@ -430,7 +430,7 @@ public ApiResponse<RiskV1UpdatePost201Response> fraudUdateWithHttpInfo(String id
430430
* @return The request call
431431
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
432432
*/
433-
public okhttp3.Call fraudUdateAsync(String id, FraudMarkingActionRequest fraudMarkingActionRequest, final ApiCallback<RiskV1UpdatePost201Response> callback) throws ApiException {
433+
public okhttp3.Call FraudUpdateAsync(String id, FraudMarkingActionRequest fraudMarkingActionRequest, final ApiCallback<RiskV1UpdatePost201Response> callback) throws ApiException {
434434

435435
ProgressResponseBody.ProgressListener progressListener = null;
436436
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -451,7 +451,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
451451
};
452452
}
453453

454-
okhttp3.Call call = fraudUdateValidateBeforeCall(id, fraudMarkingActionRequest, progressListener, progressRequestListener);
454+
okhttp3.Call call = FraudUpdateValidateBeforeCall(id, fraudMarkingActionRequest, progressListener, progressRequestListener);
455455
Type localVarReturnType = new TypeToken<RiskV1UpdatePost201Response>(){}.getType();
456456
apiClient.executeAsync(call, localVarReturnType, callback);
457457
return call;

0 commit comments

Comments
 (0)