Skip to content

Commit 6d86c17

Browse files
committed
changes for computation time in api classes in sdk
1 parent e2006b3 commit 6d86c17

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+141
-141
lines changed

src/main/java/Api/BatchesApi.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ private okhttp3.Call getBatchReportValidateBeforeCall(String batchId, final Prog
159159
*/
160160
public InlineResponse2007 getBatchReport(String batchId) throws ApiException {
161161
logger.info("CALL TO METHOD 'getBatchReport' STARTED");
162-
this.apiClient.setComputationStartTime(System.nanoTime());
163162
ApiResponse<InlineResponse2007> resp = getBatchReportWithHttpInfo(batchId);
164163
logger.info("CALL TO METHOD 'getBatchReport' ENDED");
165164
return resp.getData();
@@ -173,6 +172,7 @@ public InlineResponse2007 getBatchReport(String batchId) throws ApiException {
173172
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
174173
*/
175174
public ApiResponse<InlineResponse2007> getBatchReportWithHttpInfo(String batchId) throws ApiException {
175+
this.apiClient.setComputationStartTime(System.nanoTime());
176176
okhttp3.Call call = getBatchReportValidateBeforeCall(batchId, null, null);
177177
Type localVarReturnType = new TypeToken<InlineResponse2007>(){}.getType();
178178
return apiClient.execute(call, localVarReturnType);
@@ -304,7 +304,6 @@ private okhttp3.Call getBatchStatusValidateBeforeCall(String batchId, final Prog
304304
*/
305305
public InlineResponse2006 getBatchStatus(String batchId) throws ApiException {
306306
logger.info("CALL TO METHOD 'getBatchStatus' STARTED");
307-
this.apiClient.setComputationStartTime(System.nanoTime());
308307
ApiResponse<InlineResponse2006> resp = getBatchStatusWithHttpInfo(batchId);
309308
logger.info("CALL TO METHOD 'getBatchStatus' ENDED");
310309
return resp.getData();
@@ -318,6 +317,7 @@ public InlineResponse2006 getBatchStatus(String batchId) throws ApiException {
318317
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
319318
*/
320319
public ApiResponse<InlineResponse2006> getBatchStatusWithHttpInfo(String batchId) throws ApiException {
320+
this.apiClient.setComputationStartTime(System.nanoTime());
321321
okhttp3.Call call = getBatchStatusValidateBeforeCall(batchId, null, null);
322322
Type localVarReturnType = new TypeToken<InlineResponse2006>(){}.getType();
323323
return apiClient.execute(call, localVarReturnType);
@@ -456,7 +456,6 @@ private okhttp3.Call getBatchesListValidateBeforeCall(Long offset, Long limit, S
456456
*/
457457
public InlineResponse2005 getBatchesList(Long offset, Long limit, String fromDate, String toDate) throws ApiException {
458458
logger.info("CALL TO METHOD 'getBatchesList' STARTED");
459-
this.apiClient.setComputationStartTime(System.nanoTime());
460459
ApiResponse<InlineResponse2005> resp = getBatchesListWithHttpInfo(offset, limit, fromDate, toDate);
461460
logger.info("CALL TO METHOD 'getBatchesList' ENDED");
462461
return resp.getData();
@@ -473,6 +472,7 @@ public InlineResponse2005 getBatchesList(Long offset, Long limit, String fromDat
473472
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
474473
*/
475474
public ApiResponse<InlineResponse2005> getBatchesListWithHttpInfo(Long offset, Long limit, String fromDate, String toDate) throws ApiException {
475+
this.apiClient.setComputationStartTime(System.nanoTime());
476476
okhttp3.Call call = getBatchesListValidateBeforeCall(offset, limit, fromDate, toDate, null, null);
477477
Type localVarReturnType = new TypeToken<InlineResponse2005>(){}.getType();
478478
return apiClient.execute(call, localVarReturnType);
@@ -603,7 +603,6 @@ private okhttp3.Call postBatchValidateBeforeCall(Body body, final ProgressRespon
603603
*/
604604
public InlineResponse202 postBatch(Body body) throws ApiException {
605605
logger.info("CALL TO METHOD 'postBatch' STARTED");
606-
this.apiClient.setComputationStartTime(System.nanoTime());
607606
ApiResponse<InlineResponse202> resp = postBatchWithHttpInfo(body);
608607
logger.info("CALL TO METHOD 'postBatch' ENDED");
609608
return resp.getData();
@@ -617,6 +616,7 @@ public InlineResponse202 postBatch(Body body) throws ApiException {
617616
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
618617
*/
619618
public ApiResponse<InlineResponse202> postBatchWithHttpInfo(Body body) throws ApiException {
619+
this.apiClient.setComputationStartTime(System.nanoTime());
620620
okhttp3.Call call = postBatchValidateBeforeCall(body, null, null);
621621
Type localVarReturnType = new TypeToken<InlineResponse202>(){}.getType();
622622
return apiClient.execute(call, localVarReturnType);

src/main/java/Api/BillingAgreementsApi.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ private okhttp3.Call billingAgreementsDeRegistrationValidateBeforeCall(ModifyBil
166166
*/
167167
public PtsV2ModifyBillingAgreementPost201Response billingAgreementsDeRegistration(ModifyBillingAgreement modifyBillingAgreement, String id) throws ApiException {
168168
logger.info("CALL TO METHOD 'billingAgreementsDeRegistration' STARTED");
169-
this.apiClient.setComputationStartTime(System.nanoTime());
170169
ApiResponse<PtsV2ModifyBillingAgreementPost201Response> resp = billingAgreementsDeRegistrationWithHttpInfo(modifyBillingAgreement, id);
171170
logger.info("CALL TO METHOD 'billingAgreementsDeRegistration' ENDED");
172171
return resp.getData();
@@ -181,6 +180,7 @@ public PtsV2ModifyBillingAgreementPost201Response billingAgreementsDeRegistratio
181180
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
182181
*/
183182
public ApiResponse<PtsV2ModifyBillingAgreementPost201Response> billingAgreementsDeRegistrationWithHttpInfo(ModifyBillingAgreement modifyBillingAgreement, String id) throws ApiException {
183+
this.apiClient.setComputationStartTime(System.nanoTime());
184184
okhttp3.Call call = billingAgreementsDeRegistrationValidateBeforeCall(modifyBillingAgreement, id, null, null);
185185
Type localVarReturnType = new TypeToken<PtsV2ModifyBillingAgreementPost201Response>(){}.getType();
186186
return apiClient.execute(call, localVarReturnType);
@@ -318,7 +318,6 @@ private okhttp3.Call billingAgreementsIntimationValidateBeforeCall(IntimateBilli
318318
*/
319319
public PtsV2CreditsPost201Response1 billingAgreementsIntimation(IntimateBillingAgreement intimateBillingAgreement, String id) throws ApiException {
320320
logger.info("CALL TO METHOD 'billingAgreementsIntimation' STARTED");
321-
this.apiClient.setComputationStartTime(System.nanoTime());
322321
ApiResponse<PtsV2CreditsPost201Response1> resp = billingAgreementsIntimationWithHttpInfo(intimateBillingAgreement, id);
323322
logger.info("CALL TO METHOD 'billingAgreementsIntimation' ENDED");
324323
return resp.getData();
@@ -333,6 +332,7 @@ public PtsV2CreditsPost201Response1 billingAgreementsIntimation(IntimateBillingA
333332
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
334333
*/
335334
public ApiResponse<PtsV2CreditsPost201Response1> billingAgreementsIntimationWithHttpInfo(IntimateBillingAgreement intimateBillingAgreement, String id) throws ApiException {
335+
this.apiClient.setComputationStartTime(System.nanoTime());
336336
okhttp3.Call call = billingAgreementsIntimationValidateBeforeCall(intimateBillingAgreement, id, null, null);
337337
Type localVarReturnType = new TypeToken<PtsV2CreditsPost201Response1>(){}.getType();
338338
return apiClient.execute(call, localVarReturnType);
@@ -461,7 +461,6 @@ private okhttp3.Call billingAgreementsRegistrationValidateBeforeCall(CreateBilli
461461
*/
462462
public PtsV2CreateBillingAgreementPost201Response billingAgreementsRegistration(CreateBillingAgreement createBillingAgreement) throws ApiException {
463463
logger.info("CALL TO METHOD 'billingAgreementsRegistration' STARTED");
464-
this.apiClient.setComputationStartTime(System.nanoTime());
465464
ApiResponse<PtsV2CreateBillingAgreementPost201Response> resp = billingAgreementsRegistrationWithHttpInfo(createBillingAgreement);
466465
logger.info("CALL TO METHOD 'billingAgreementsRegistration' ENDED");
467466
return resp.getData();
@@ -475,6 +474,7 @@ public PtsV2CreateBillingAgreementPost201Response billingAgreementsRegistration(
475474
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
476475
*/
477476
public ApiResponse<PtsV2CreateBillingAgreementPost201Response> billingAgreementsRegistrationWithHttpInfo(CreateBillingAgreement createBillingAgreement) throws ApiException {
477+
this.apiClient.setComputationStartTime(System.nanoTime());
478478
okhttp3.Call call = billingAgreementsRegistrationValidateBeforeCall(createBillingAgreement, null, null);
479479
Type localVarReturnType = new TypeToken<PtsV2CreateBillingAgreementPost201Response>(){}.getType();
480480
return apiClient.execute(call, localVarReturnType);

src/main/java/Api/BinLookupApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ private okhttp3.Call getAccountInfoValidateBeforeCall(CreateBinLookupRequest cre
154154
*/
155155
public InlineResponse2011 getAccountInfo(CreateBinLookupRequest createBinLookupRequest) throws ApiException {
156156
logger.info("CALL TO METHOD 'getAccountInfo' STARTED");
157-
this.apiClient.setComputationStartTime(System.nanoTime());
158157
ApiResponse<InlineResponse2011> resp = getAccountInfoWithHttpInfo(createBinLookupRequest);
159158
logger.info("CALL TO METHOD 'getAccountInfo' ENDED");
160159
return resp.getData();
@@ -168,6 +167,7 @@ public InlineResponse2011 getAccountInfo(CreateBinLookupRequest createBinLookupR
168167
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
169168
*/
170169
public ApiResponse<InlineResponse2011> getAccountInfoWithHttpInfo(CreateBinLookupRequest createBinLookupRequest) throws ApiException {
170+
this.apiClient.setComputationStartTime(System.nanoTime());
171171
okhttp3.Call call = getAccountInfoValidateBeforeCall(createBinLookupRequest, null, null);
172172
Type localVarReturnType = new TypeToken<InlineResponse2011>(){}.getType();
173173
return apiClient.execute(call, localVarReturnType);

src/main/java/Api/CaptureApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ private okhttp3.Call capturePaymentValidateBeforeCall(CapturePaymentRequest capt
162162
*/
163163
public PtsV2PaymentsCapturesPost201Response capturePayment(CapturePaymentRequest capturePaymentRequest, String id) throws ApiException {
164164
logger.info("CALL TO METHOD 'capturePayment' STARTED");
165-
this.apiClient.setComputationStartTime(System.nanoTime());
166165
ApiResponse<PtsV2PaymentsCapturesPost201Response> resp = capturePaymentWithHttpInfo(capturePaymentRequest, id);
167166
logger.info("CALL TO METHOD 'capturePayment' ENDED");
168167
return resp.getData();
@@ -177,6 +176,7 @@ public PtsV2PaymentsCapturesPost201Response capturePayment(CapturePaymentRequest
177176
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
178177
*/
179178
public ApiResponse<PtsV2PaymentsCapturesPost201Response> capturePaymentWithHttpInfo(CapturePaymentRequest capturePaymentRequest, String id) throws ApiException {
179+
this.apiClient.setComputationStartTime(System.nanoTime());
180180
okhttp3.Call call = capturePaymentValidateBeforeCall(capturePaymentRequest, id, null, null);
181181
Type localVarReturnType = new TypeToken<PtsV2PaymentsCapturesPost201Response>(){}.getType();
182182
return apiClient.execute(call, localVarReturnType);

src/main/java/Api/ChargebackDetailsApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ private okhttp3.Call getChargebackDetailsValidateBeforeCall(DateTime startTime,
170170
*/
171171
public ReportingV3ChargebackDetailsGet200Response getChargebackDetails(DateTime startTime, DateTime endTime, String organizationId) throws ApiException {
172172
logger.info("CALL TO METHOD 'getChargebackDetails' STARTED");
173-
this.apiClient.setComputationStartTime(System.nanoTime());
174173
ApiResponse<ReportingV3ChargebackDetailsGet200Response> resp = getChargebackDetailsWithHttpInfo(startTime, endTime, organizationId);
175174
logger.info("CALL TO METHOD 'getChargebackDetails' ENDED");
176175
return resp.getData();
@@ -186,6 +185,7 @@ public ReportingV3ChargebackDetailsGet200Response getChargebackDetails(DateTime
186185
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
187186
*/
188187
public ApiResponse<ReportingV3ChargebackDetailsGet200Response> getChargebackDetailsWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException {
188+
this.apiClient.setComputationStartTime(System.nanoTime());
189189
okhttp3.Call call = getChargebackDetailsValidateBeforeCall(startTime, endTime, organizationId, null, null);
190190
Type localVarReturnType = new TypeToken<ReportingV3ChargebackDetailsGet200Response>(){}.getType();
191191
return apiClient.execute(call, localVarReturnType);

src/main/java/Api/ChargebackSummariesApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ private okhttp3.Call getChargebackSummariesValidateBeforeCall(DateTime startTime
170170
*/
171171
public ReportingV3ChargebackSummariesGet200Response getChargebackSummaries(DateTime startTime, DateTime endTime, String organizationId) throws ApiException {
172172
logger.info("CALL TO METHOD 'getChargebackSummaries' STARTED");
173-
this.apiClient.setComputationStartTime(System.nanoTime());
174173
ApiResponse<ReportingV3ChargebackSummariesGet200Response> resp = getChargebackSummariesWithHttpInfo(startTime, endTime, organizationId);
175174
logger.info("CALL TO METHOD 'getChargebackSummaries' ENDED");
176175
return resp.getData();
@@ -186,6 +185,7 @@ public ReportingV3ChargebackSummariesGet200Response getChargebackSummaries(DateT
186185
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
187186
*/
188187
public ApiResponse<ReportingV3ChargebackSummariesGet200Response> getChargebackSummariesWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException {
188+
this.apiClient.setComputationStartTime(System.nanoTime());
189189
okhttp3.Call call = getChargebackSummariesValidateBeforeCall(startTime, endTime, organizationId, null, null);
190190
Type localVarReturnType = new TypeToken<ReportingV3ChargebackSummariesGet200Response>(){}.getType();
191191
return apiClient.execute(call, localVarReturnType);

src/main/java/Api/ConversionDetailsApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ private okhttp3.Call getConversionDetailValidateBeforeCall(DateTime startTime, D
171171
*/
172172
public ReportingV3ConversionDetailsGet200Response getConversionDetail(DateTime startTime, DateTime endTime, String organizationId) throws ApiException {
173173
logger.info("CALL TO METHOD 'getConversionDetail' STARTED");
174-
this.apiClient.setComputationStartTime(System.nanoTime());
175174
ApiResponse<ReportingV3ConversionDetailsGet200Response> resp = getConversionDetailWithHttpInfo(startTime, endTime, organizationId);
176175
logger.info("CALL TO METHOD 'getConversionDetail' ENDED");
177176
return resp.getData();
@@ -187,6 +186,7 @@ public ReportingV3ConversionDetailsGet200Response getConversionDetail(DateTime s
187186
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
188187
*/
189188
public ApiResponse<ReportingV3ConversionDetailsGet200Response> getConversionDetailWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException {
189+
this.apiClient.setComputationStartTime(System.nanoTime());
190190
okhttp3.Call call = getConversionDetailValidateBeforeCall(startTime, endTime, organizationId, null, null);
191191
Type localVarReturnType = new TypeToken<ReportingV3ConversionDetailsGet200Response>(){}.getType();
192192
return apiClient.execute(call, localVarReturnType);

src/main/java/Api/CreateNewWebhooksApi.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ private okhttp3.Call createWebhookSubscriptionValidateBeforeCall(CreateWebhookRe
149149
*/
150150
public InlineResponse2014 createWebhookSubscription(CreateWebhookRequest createWebhookRequest) throws ApiException {
151151
logger.info("CALL TO METHOD 'createWebhookSubscription' STARTED");
152-
this.apiClient.setComputationStartTime(System.nanoTime());
153152
ApiResponse<InlineResponse2014> resp = createWebhookSubscriptionWithHttpInfo(createWebhookRequest);
154153
logger.info("CALL TO METHOD 'createWebhookSubscription' ENDED");
155154
return resp.getData();
@@ -163,6 +162,7 @@ public InlineResponse2014 createWebhookSubscription(CreateWebhookRequest createW
163162
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
164163
*/
165164
public ApiResponse<InlineResponse2014> createWebhookSubscriptionWithHttpInfo(CreateWebhookRequest createWebhookRequest) throws ApiException {
165+
this.apiClient.setComputationStartTime(System.nanoTime());
166166
okhttp3.Call call = createWebhookSubscriptionValidateBeforeCall(createWebhookRequest, null, null);
167167
Type localVarReturnType = new TypeToken<InlineResponse2014>(){}.getType();
168168
return apiClient.execute(call, localVarReturnType);
@@ -295,7 +295,6 @@ private okhttp3.Call findProductsToSubscribeValidateBeforeCall(String organizati
295295
*/
296296
public List<InlineResponse2002> findProductsToSubscribe(String organizationId) throws ApiException {
297297
logger.info("CALL TO METHOD 'findProductsToSubscribe' STARTED");
298-
this.apiClient.setComputationStartTime(System.nanoTime());
299298
ApiResponse<List<InlineResponse2002>> resp = findProductsToSubscribeWithHttpInfo(organizationId);
300299
logger.info("CALL TO METHOD 'findProductsToSubscribe' ENDED");
301300
return resp.getData();
@@ -309,6 +308,7 @@ public List<InlineResponse2002> findProductsToSubscribe(String organizationId) t
309308
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
310309
*/
311310
public ApiResponse<List<InlineResponse2002>> findProductsToSubscribeWithHttpInfo(String organizationId) throws ApiException {
311+
this.apiClient.setComputationStartTime(System.nanoTime());
312312
okhttp3.Call call = findProductsToSubscribeValidateBeforeCall(organizationId, null, null);
313313
Type localVarReturnType = new TypeToken<List<InlineResponse2002>>(){}.getType();
314314
return apiClient.execute(call, localVarReturnType);
@@ -455,7 +455,6 @@ private okhttp3.Call saveSymEgressKeyValidateBeforeCall(String vCSenderOrganizat
455455
*/
456456
public InlineResponse2013 saveSymEgressKey(String vCSenderOrganizationId, String vCPermissions, String vCCorrelationId, SaveSymEgressKey saveSymEgressKey) throws ApiException {
457457
logger.info("CALL TO METHOD 'saveSymEgressKey' STARTED");
458-
this.apiClient.setComputationStartTime(System.nanoTime());
459458
ApiResponse<InlineResponse2013> resp = saveSymEgressKeyWithHttpInfo(vCSenderOrganizationId, vCPermissions, vCCorrelationId, saveSymEgressKey);
460459
logger.info("CALL TO METHOD 'saveSymEgressKey' ENDED");
461460
return resp.getData();
@@ -472,6 +471,7 @@ public InlineResponse2013 saveSymEgressKey(String vCSenderOrganizationId, String
472471
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
473472
*/
474473
public ApiResponse<InlineResponse2013> saveSymEgressKeyWithHttpInfo(String vCSenderOrganizationId, String vCPermissions, String vCCorrelationId, SaveSymEgressKey saveSymEgressKey) throws ApiException {
474+
this.apiClient.setComputationStartTime(System.nanoTime());
475475
okhttp3.Call call = saveSymEgressKeyValidateBeforeCall(vCSenderOrganizationId, vCPermissions, vCCorrelationId, saveSymEgressKey, null, null);
476476
Type localVarReturnType = new TypeToken<InlineResponse2013>(){}.getType();
477477
return apiClient.execute(call, localVarReturnType);

0 commit comments

Comments
 (0)