Skip to content

Commit dd6292e

Browse files
committed
"generating apis based on mustache"
1 parent 5902861 commit dd6292e

Some content is hidden

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

58 files changed

+141
-141
lines changed

lib/Api/BatchesApi.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function getBatchReportWithHttpInfo($batchId)
167167
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
168168
} catch (Exception $e) {
169169
self::$logger->error("Failed to encrypt request body: $e");
170-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
170+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
171171
}
172172
}
173173

@@ -289,7 +289,7 @@ public function getBatchStatusWithHttpInfo($batchId)
289289
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
290290
} catch (Exception $e) {
291291
self::$logger->error("Failed to encrypt request body: $e");
292-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
292+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
293293
}
294294
}
295295

@@ -420,7 +420,7 @@ public function getBatchesListWithHttpInfo($offset = '0', $limit = '20', $fromDa
420420
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
421421
} catch (Exception $e) {
422422
self::$logger->error("Failed to encrypt request body: $e");
423-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
423+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
424424
}
425425
}
426426

@@ -549,7 +549,7 @@ public function postBatchWithHttpInfo($body)
549549
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
550550
} catch (Exception $e) {
551551
self::$logger->error("Failed to encrypt request body: $e");
552-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
552+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
553553
}
554554
}
555555

lib/Api/BillingAgreementsApi.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function billingAgreementsDeRegistrationWithHttpInfo($modifyBillingAgreem
181181
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
182182
} catch (Exception $e) {
183183
self::$logger->error("Failed to encrypt request body: $e");
184-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
184+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
185185
}
186186
}
187187

@@ -321,7 +321,7 @@ public function billingAgreementsIntimationWithHttpInfo($intimateBillingAgreemen
321321
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
322322
} catch (Exception $e) {
323323
self::$logger->error("Failed to encrypt request body: $e");
324-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
324+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
325325
}
326326
}
327327

@@ -446,7 +446,7 @@ public function billingAgreementsRegistrationWithHttpInfo($createBillingAgreemen
446446
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
447447
} catch (Exception $e) {
448448
self::$logger->error("Failed to encrypt request body: $e");
449-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
449+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
450450
}
451451
}
452452

lib/Api/BinLookupApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public function getAccountInfoWithHttpInfo($createBinLookupRequest)
168168
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
169169
} catch (Exception $e) {
170170
self::$logger->error("Failed to encrypt request body: $e");
171-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
171+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
172172
}
173173
}
174174

lib/Api/CaptureApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function capturePaymentWithHttpInfo($capturePaymentRequest, $id)
181181
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
182182
} catch (Exception $e) {
183183
self::$logger->error("Failed to encrypt request body: $e");
184-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
184+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
185185
}
186186
}
187187

lib/Api/ChargebackDetailsApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public function getChargebackDetailsWithHttpInfo($startTime, $endTime, $organiza
180180
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
181181
} catch (Exception $e) {
182182
self::$logger->error("Failed to encrypt request body: $e");
183-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
183+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
184184
}
185185
}
186186

lib/Api/ChargebackSummariesApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public function getChargebackSummariesWithHttpInfo($startTime, $endTime, $organi
180180
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
181181
} catch (Exception $e) {
182182
self::$logger->error("Failed to encrypt request body: $e");
183-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
183+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
184184
}
185185
}
186186

lib/Api/ConversionDetailsApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public function getConversionDetailWithHttpInfo($startTime, $endTime, $organizat
180180
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
181181
} catch (Exception $e) {
182182
self::$logger->error("Failed to encrypt request body: $e");
183-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
183+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
184184
}
185185
}
186186

lib/Api/CreateNewWebhooksApi.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function createWebhookSubscriptionWithHttpInfo($createWebhookRequest = nu
163163
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
164164
} catch (Exception $e) {
165165
self::$logger->error("Failed to encrypt request body: $e");
166-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
166+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
167167
}
168168
}
169169

@@ -283,7 +283,7 @@ public function findProductsToSubscribeWithHttpInfo($organizationId)
283283
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
284284
} catch (Exception $e) {
285285
self::$logger->error("Failed to encrypt request body: $e");
286-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
286+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
287287
}
288288
}
289289

@@ -425,7 +425,7 @@ public function saveSymEgressKeyWithHttpInfo($vCSenderOrganizationId, $vCPermiss
425425
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
426426
} catch (Exception $e) {
427427
self::$logger->error("Failed to encrypt request body: $e");
428-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
428+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
429429
}
430430
}
431431

lib/Api/CreditApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public function createCreditWithHttpInfo($createCreditRequest)
166166
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
167167
} catch (Exception $e) {
168168
self::$logger->error("Failed to encrypt request body: $e");
169-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
169+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
170170
}
171171
}
172172

lib/Api/CustomerApi.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public function deleteCustomerWithHttpInfo($customerId, $profileId = null)
173173
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
174174
} catch (Exception $e) {
175175
self::$logger->error("Failed to encrypt request body: $e");
176-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
176+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
177177
}
178178
}
179179

@@ -317,7 +317,7 @@ public function getCustomerWithHttpInfo($customerId, $profileId = null)
317317
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
318318
} catch (Exception $e) {
319319
self::$logger->error("Failed to encrypt request body: $e");
320-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
320+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
321321
}
322322
}
323323

@@ -485,7 +485,7 @@ public function patchCustomerWithHttpInfo($customerId, $patchCustomerRequest, $p
485485
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
486486
} catch (Exception $e) {
487487
self::$logger->error("Failed to encrypt request body: $e");
488-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
488+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
489489
}
490490
}
491491

@@ -636,7 +636,7 @@ public function postCustomerWithHttpInfo($postCustomerRequest, $profileId = null
636636
$httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody);
637637
} catch (Exception $e) {
638638
self::$logger->error("Failed to encrypt request body: $e");
639-
throw new ApiException("Failed to encrypt request body : " + $e->getMessage());
639+
throw new ApiException("Failed to encrypt request body : " . $e->getMessage());
640640
}
641641
}
642642

0 commit comments

Comments
 (0)