Skip to content

Commit 18fd272

Browse files
committed
adding MLE true for enabled apis by cybs
1 parent 87593df commit 18fd272

File tree

11 files changed

+75
-50
lines changed

11 files changed

+75
-50
lines changed

generator/cybersource-rest-spec.json

Lines changed: 50 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,8 @@
377377
"categoryTag": "Payments",
378378
"testingTriggers": "https://developer.cybersource.com/hello-world/testing-guide.html",
379379
"responseCodes": "https://developer.cybersource.com/api/reference/response-codes.html",
380-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html"
380+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html",
381+
"isMLEsupported": true
381382
},
382383
"parameters": [
383384
{
@@ -10642,7 +10643,8 @@
1064210643
"operationId": "incrementAuth",
1064310644
"x-devcenter-metaData": {
1064410645
"categoryTag": "Payments",
10645-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html"
10646+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html",
10647+
"isMLEsupported": true
1064610648
},
1064710649
"parameters": [
1064810650
{
@@ -11187,7 +11189,8 @@
1118711189
"operationId": "authReversal",
1118811190
"x-devcenter-metaData": {
1118911191
"categoryTag": "Payments",
11190-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html"
11192+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html",
11193+
"isMLEsupported": true
1119111194
},
1119211195
"parameters": [
1119311196
{
@@ -11774,7 +11777,8 @@
1177411777
"x-devcenter-metaData": {
1177511778
"categoryTag": "Payments",
1177611779
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html",
11777-
"isClientSideApi": true
11780+
"isClientSideApi": true,
11781+
"isMLEsupported": true
1177811782
},
1177911783
"parameters": [
1178011784
{
@@ -12285,7 +12289,8 @@
1228512289
"operationId": "capturePayment",
1228612290
"x-devcenter-metaData": {
1228712291
"categoryTag": "Payments",
12288-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html"
12292+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html",
12293+
"isMLEsupported": true
1228912294
},
1229012295
"parameters": [
1229112296
{
@@ -15177,7 +15182,8 @@
1517715182
"operationId": "refundPayment",
1517815183
"x-devcenter-metaData": {
1517915184
"categoryTag": "Payments",
15180-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html"
15185+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html",
15186+
"isMLEsupported": true
1518115187
},
1518215188
"parameters": [
1518315189
{
@@ -17844,7 +17850,8 @@
1784417850
"operationId": "refundCapture",
1784517851
"x-devcenter-metaData": {
1784617852
"categoryTag": "Payments",
17847-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html"
17853+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html",
17854+
"isMLEsupported": true
1784817855
},
1784917856
"parameters": [
1785017857
{
@@ -20489,7 +20496,8 @@
2048920496
"operationId": "createCredit",
2049020497
"x-devcenter-metaData": {
2049120498
"categoryTag": "Payments",
20492-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html"
20499+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html",
20500+
"isMLEsupported": true
2049320501
},
2049420502
"parameters": [
2049520503
{
@@ -24032,7 +24040,8 @@
2403224040
"operationId": "voidPayment",
2403324041
"x-devcenter-metaData": {
2403424042
"categoryTag": "Payments",
24035-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html"
24043+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html",
24044+
"isMLEsupported": true
2403624045
},
2403724046
"parameters": [
2403824047
{
@@ -24497,7 +24506,8 @@
2449724506
"operationId": "voidCapture",
2449824507
"x-devcenter-metaData": {
2449924508
"categoryTag": "Payments",
24500-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html"
24509+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html",
24510+
"isMLEsupported": true
2450124511
},
2450224512
"parameters": [
2450324513
{
@@ -24891,7 +24901,8 @@
2489124901
"operationId": "voidRefund",
2489224902
"x-devcenter-metaData": {
2489324903
"categoryTag": "Payments",
24894-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html"
24904+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html",
24905+
"isMLEsupported": true
2489524906
},
2489624907
"parameters": [
2489724908
{
@@ -25285,7 +25296,8 @@
2528525296
"operationId": "voidCredit",
2528625297
"x-devcenter-metaData": {
2528725298
"categoryTag": "Payments",
25288-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html"
25299+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html",
25300+
"isMLEsupported": true
2528925301
},
2529025302
"parameters": [
2529125303
{
@@ -25679,7 +25691,8 @@
2567925691
"operationId": "mitVoid",
2568025692
"x-devcenter-metaData": {
2568125693
"categoryTag": "Payments",
25682-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html"
25694+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html",
25695+
"isMLEsupported": true
2568325696
},
2568425697
"x-example": {
2568525698
"example0": {
@@ -26903,7 +26916,8 @@
2690326916
"categoryTag": "Payments",
2690426917
"testingTriggers": "https://developer.cybersource.com/hello-world/testing-guide.html",
2690526918
"responseCodes": "https://developer.cybersource.com/api/reference/response-codes.html",
26906-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html"
26919+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html",
26920+
"isMLEsupported": true
2690726921
},
2690826922
"parameters": [
2690926923
{
@@ -27323,7 +27337,8 @@
2732327337
"operationId": "billingAgreementsRegistration",
2732427338
"x-devcenter-metaData": {
2732527339
"categoryTag": "Payments",
27326-
"developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html"
27340+
"developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html",
27341+
"isMLEsupported": true
2732727342
},
2732827343
"parameters": [
2732927344
{
@@ -28485,7 +28500,8 @@
2848528500
"operationId": "billingAgreementsDeRegistration",
2848628501
"x-devcenter-metaData": {
2848728502
"categoryTag": "Payments",
28488-
"developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html"
28503+
"developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html",
28504+
"isMLEsupported": true
2848928505
},
2849028506
"parameters": [
2849128507
{
@@ -29825,7 +29841,8 @@
2982529841
"operationId": "billingAgreementsIntimation",
2982629842
"x-devcenter-metaData": {
2982729843
"categoryTag": "Payments",
29828-
"developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html"
29844+
"developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html",
29845+
"isMLEsupported": true
2982929846
},
2983029847
"parameters": [
2983129848
{
@@ -30477,7 +30494,8 @@
3047730494
"operationId": "createOrderRequest",
3047830495
"x-devcenter-metaData": {
3047930496
"categoryTag": "Payments",
30480-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html"
30497+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html",
30498+
"isMLEsupported": true
3048130499
},
3048230500
"parameters": [
3048330501
{
@@ -31028,7 +31046,8 @@
3102831046
"operationId": "CreateSessionRequest",
3102931047
"x-devcenter-metaData": {
3103031048
"categoryTag": "Payments",
31031-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html"
31049+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html",
31050+
"isMLEsupported": true
3103231051
},
3103331052
"parameters": [
3103431053
{
@@ -32173,7 +32192,8 @@
3217332192
"operationId": "UpdateSessionReq",
3217432193
"x-devcenter-metaData": {
3217532194
"categoryTag": "Payments",
32176-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html"
32195+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html",
32196+
"isMLEsupported": true
3217732197
},
3217832198
"parameters": [
3217932199
{
@@ -67240,7 +67260,8 @@
6724067260
],
6724167261
"x-devcenter-metaData": {
6724267262
"categoryTag": "Payer_Authentication",
67243-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payer-authentication/developer/all/rest/payer-auth/pa-about-guide.html"
67263+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payer-authentication/developer/all/rest/payer-auth/pa-about-guide.html",
67264+
"isMLEsupported": true
6724467265
},
6724567266
"parameters": [
6724667267
{
@@ -67699,7 +67720,8 @@
6769967720
],
6770067721
"x-devcenter-metaData": {
6770167722
"categoryTag": "Payer_Authentication",
67702-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payer-authentication/developer/all/rest/payer-auth/pa-about-guide.html"
67723+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payer-authentication/developer/all/rest/payer-auth/pa-about-guide.html",
67724+
"isMLEsupported": true
6770367725
},
6770467726
"parameters": [
6770567727
{
@@ -70213,7 +70235,8 @@
7021370235
"operationId": "validateAuthenticationResults",
7021470236
"x-devcenter-metaData": {
7021570237
"categoryTag": "Payer_Authentication",
70216-
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payer-authentication/developer/all/rest/payer-auth/pa-about-guide.html"
70238+
"developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payer-authentication/developer/all/rest/payer-auth/pa-about-guide.html",
70239+
"isMLEsupported": true
7021770240
},
7021870241
"parameters": [
7021970242
{
@@ -74088,7 +74111,8 @@
7408874111
],
7408974112
"operationId": "octCreatePayment",
7409074113
"x-devcenter-metaData": {
74091-
"categoryTag": "Payouts"
74114+
"categoryTag": "Payouts",
74115+
"isMLEsupported": true
7409274116
},
7409374117
"parameters": [
7409474118
{
@@ -75199,7 +75223,8 @@
7519975223
"firstLevelApiLifeCycle": "hidden",
7520075224
"secondLevelApiLifeCycle": "hidden",
7520175225
"apiLifeCycle": "hidden",
75202-
"developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payouts/Introduction.html"
75226+
"developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payouts/Introduction.html",
75227+
"isMLEsupported": true
7520375228
},
7520475229
"parameters": [
7520575230
{

src/main/java/Api/BillingAgreementsApi.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public okhttp3.Call billingAgreementsDeRegistrationCall(ModifyBillingAgreement m
8383
SdkTracker sdkTracker = new SdkTracker();
8484
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(modifyBillingAgreement, ModifyBillingAgreement.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
8585

86-
boolean isMLESupportedByCybsForApi = false;
86+
boolean isMLESupportedByCybsForApi = true;
8787
if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, isMLESupportedByCybsForApi, "billingAgreementsDeRegistration,billingAgreementsDeRegistrationAsync,billingAgreementsDeRegistrationWithHttpInfo,billingAgreementsDeRegistrationCall")) {
8888
try {
8989
localVarPostBody = MLEUtility.encryptRequestPayload(apiClient.merchantConfig, localVarPostBody);
@@ -235,7 +235,7 @@ public okhttp3.Call billingAgreementsIntimationCall(IntimateBillingAgreement int
235235
SdkTracker sdkTracker = new SdkTracker();
236236
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(intimateBillingAgreement, IntimateBillingAgreement.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
237237

238-
boolean isMLESupportedByCybsForApi = false;
238+
boolean isMLESupportedByCybsForApi = true;
239239
if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, isMLESupportedByCybsForApi, "billingAgreementsIntimation,billingAgreementsIntimationAsync,billingAgreementsIntimationWithHttpInfo,billingAgreementsIntimationCall")) {
240240
try {
241241
localVarPostBody = MLEUtility.encryptRequestPayload(apiClient.merchantConfig, localVarPostBody);
@@ -386,7 +386,7 @@ public okhttp3.Call billingAgreementsRegistrationCall(CreateBillingAgreement cre
386386
SdkTracker sdkTracker = new SdkTracker();
387387
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createBillingAgreement, CreateBillingAgreement.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
388388

389-
boolean isMLESupportedByCybsForApi = false;
389+
boolean isMLESupportedByCybsForApi = true;
390390
if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, isMLESupportedByCybsForApi, "billingAgreementsRegistration,billingAgreementsRegistrationAsync,billingAgreementsRegistrationWithHttpInfo,billingAgreementsRegistrationCall")) {
391391
try {
392392
localVarPostBody = MLEUtility.encryptRequestPayload(apiClient.merchantConfig, localVarPostBody);

src/main/java/Api/CaptureApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public okhttp3.Call capturePaymentCall(CapturePaymentRequest capturePaymentReque
7979
SdkTracker sdkTracker = new SdkTracker();
8080
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(capturePaymentRequest, CapturePaymentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
8181

82-
boolean isMLESupportedByCybsForApi = false;
82+
boolean isMLESupportedByCybsForApi = true;
8383
if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, isMLESupportedByCybsForApi, "capturePayment,capturePaymentAsync,capturePaymentWithHttpInfo,capturePaymentCall")) {
8484
try {
8585
localVarPostBody = MLEUtility.encryptRequestPayload(apiClient.merchantConfig, localVarPostBody);

src/main/java/Api/CreditApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public okhttp3.Call createCreditCall(CreateCreditRequest createCreditRequest, fi
7878
SdkTracker sdkTracker = new SdkTracker();
7979
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createCreditRequest, CreateCreditRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
8080

81-
boolean isMLESupportedByCybsForApi = false;
81+
boolean isMLESupportedByCybsForApi = true;
8282
if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, isMLESupportedByCybsForApi, "createCredit,createCreditAsync,createCreditWithHttpInfo,createCreditCall")) {
8383
try {
8484
localVarPostBody = MLEUtility.encryptRequestPayload(apiClient.merchantConfig, localVarPostBody);

0 commit comments

Comments
 (0)