cybersource_rest_client 0.0.80 → 0.0.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/authentication/jwt/JwtToken.rb +17 -7
- data/lib/AuthenticationSDK/core/Authorization.rb +2 -2
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +277 -23
- data/lib/AuthenticationSDK/util/Cache.rb +144 -8
- data/lib/AuthenticationSDK/util/CachedMLEKId.rb +17 -0
- data/lib/AuthenticationSDK/util/CertificateUtility.rb +109 -29
- data/lib/AuthenticationSDK/util/Constants.rb +4 -0
- data/lib/AuthenticationSDK/util/MLEUtility.rb +167 -11
- data/lib/AuthenticationSDK/util/Utility.rb +37 -1
- data/lib/cybersource_rest_client/api/bank_account_validation_api.rb +6 -2
- data/lib/cybersource_rest_client/api/batches_api.rb +24 -8
- data/lib/cybersource_rest_client/api/billing_agreements_api.rb +18 -6
- data/lib/cybersource_rest_client/api/bin_lookup_api.rb +6 -2
- data/lib/cybersource_rest_client/api/capture_api.rb +6 -2
- data/lib/cybersource_rest_client/api/chargeback_details_api.rb +6 -2
- data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +6 -2
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +6 -2
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +18 -6
- data/lib/cybersource_rest_client/api/credit_api.rb +6 -2
- data/lib/cybersource_rest_client/api/customer_api.rb +24 -8
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +30 -10
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +30 -10
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +30 -10
- data/lib/cybersource_rest_client/api/device_de_association_api.rb +12 -4
- data/lib/cybersource_rest_client/api/device_search_api.rb +12 -4
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +6 -2
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +6 -2
- data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +12 -4
- data/lib/cybersource_rest_client/api/enrollment_api.rb +104 -0
- data/lib/cybersource_rest_client/api/flex_api_api.rb +6 -2
- data/lib/cybersource_rest_client/api/instructions_api.rb +452 -0
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +36 -12
- data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +6 -2
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +12 -4
- data/lib/cybersource_rest_client/api/invoices_api.rb +42 -14
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +42 -14
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +12 -4
- data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +24 -8
- data/lib/cybersource_rest_client/api/microform_integration_api.rb +6 -2
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +6 -2
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +6 -2
- data/lib/cybersource_rest_client/api/offers_api.rb +12 -4
- data/lib/cybersource_rest_client/api/orders_api.rb +12 -4
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +18 -6
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +6 -2
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +24 -8
- data/lib/cybersource_rest_client/api/payment_links_api.rb +24 -8
- data/lib/cybersource_rest_client/api/payment_tokens_api.rb +6 -2
- data/lib/cybersource_rest_client/api/payments_api.rb +36 -12
- data/lib/cybersource_rest_client/api/payouts_api.rb +6 -2
- data/lib/cybersource_rest_client/api/plans_api.rb +48 -16
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +6 -2
- data/lib/cybersource_rest_client/api/push_funds_api.rb +6 -2
- data/lib/cybersource_rest_client/api/refund_api.rb +12 -4
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +12 -4
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +6 -2
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +30 -10
- data/lib/cybersource_rest_client/api/reports_api.rb +18 -6
- data/lib/cybersource_rest_client/api/retrieval_details_api.rb +6 -2
- data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +6 -2
- data/lib/cybersource_rest_client/api/reversal_api.rb +12 -4
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +12 -4
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +12 -4
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +48 -16
- data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +12 -4
- data/lib/cybersource_rest_client/api/taxes_api.rb +12 -4
- data/lib/cybersource_rest_client/api/token_api.rb +12 -4
- data/lib/cybersource_rest_client/api/tokenize_api.rb +6 -2
- data/lib/cybersource_rest_client/api/tokenized_card_api.rb +24 -8
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +24 -8
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +6 -2
- data/lib/cybersource_rest_client/api/transient_token_data_api.rb +12 -4
- data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +6 -2
- data/lib/cybersource_rest_client/api/user_management_api.rb +6 -2
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +6 -2
- data/lib/cybersource_rest_client/api/verification_api.rb +12 -4
- data/lib/cybersource_rest_client/api/void_api.rb +30 -10
- data/lib/cybersource_rest_client/api_client.rb +20 -3
- data/lib/cybersource_rest_client/models/acpv1instructions_decline_threshold.rb +232 -0
- data/lib/cybersource_rest_client/models/acpv1instructions_mandates.rb +405 -0
- data/lib/cybersource_rest_client/models/acpv1instructions_recurring_payment_information.rb +191 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconf_processor_info_payment_instrument_verifi_results.rb +213 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_confirmation_data.rb +229 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_merchant_information.rb +258 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_order_information.rb +377 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_order_information_shipping_details.rb +206 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information.rb +425 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information_payment_instrument.rb +190 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_attachments.rb +258 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_client_reference_information.rb +215 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_mandate_reference_data.rb +205 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_merchant_information.rb +334 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_merchant_information_merchant_descriptor.rb +250 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information.rb +228 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_amount_detail.rb +354 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items.rb +367 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items_additional_info.rb +231 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items_policies.rb +346 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_line_items.rb +190 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_ship_to.rb +686 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_payment_options.rb +217 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_transaction_data.rb +348 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_assurance_data.rb +313 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_authenticated_identities.rb +237 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_authentication_context.rb +191 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_bill_to.rb +400 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_buyer_information.rb +229 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_buyer_information_personal_identification.rb +212 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_consent_data.rb +297 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_consumer_identity.rb +268 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_device_information.rb +378 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_device_information_device_data.rb +302 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_enrollment_reference_data.rb +207 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information.rb +215 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information_customer.rb +197 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information_instrument_identifier.rb +206 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information_payment_instrument.rb +197 -0
- data/lib/cybersource_rest_client/models/agentic_cancel_purchase_intent_request.rb +257 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400.rb +189 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400_error.rb +238 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400_error_detail.rb +224 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_request.rb +325 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_response200.rb +206 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_response202.rb +219 -0
- data/lib/cybersource_rest_client/models/agentic_confirm_transaction_events_request.rb +247 -0
- data/lib/cybersource_rest_client/models/agentic_confirm_transaction_events_response202.rb +195 -0
- data/lib/cybersource_rest_client/models/agentic_create_purchase_intent_request.rb +327 -0
- data/lib/cybersource_rest_client/models/agentic_create_purchase_intent_response200.rb +222 -0
- data/lib/cybersource_rest_client/models/agentic_pending_purchase_intent_response202.rb +241 -0
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_request.rb +247 -0
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200.rb +200 -0
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200_transaction_response_complete.rb +244 -0
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200_transaction_response_with_pending_events.rb +235 -0
- data/lib/cybersource_rest_client/models/agentic_update_purchase_intent_request.rb +315 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +36 -1
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_localized_names.rb +254 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +39 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information.rb +246 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit.rb +189 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline.rb +889 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline_ancillary_information.rb +259 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline_ancillary_information_service.rb +213 -0
- data/lib/cybersource_rest_client/models/refund_capture_request.rb +1 -1
- data/lib/cybersource_rest_client/models/refund_payment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data.rb +4 -2
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_merchant_defined_information.rb +3 -2
- data/lib/cybersource_rest_client/utilities/jwe_utility.rb +1 -1
- data/lib/cybersource_rest_client.rb +64 -0
- metadata +68 -3
- /data/lib/AuthenticationSDK/util/{JWEUtility.rb → AuthJWEUtility.rb} +0 -0
|
@@ -80,7 +80,7 @@ module CyberSource
|
|
|
80
80
|
else
|
|
81
81
|
post_body = nil
|
|
82
82
|
end
|
|
83
|
-
inbound_mle_status = "false"
|
|
83
|
+
inbound_mle_status = "false"
|
|
84
84
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_notification_of_change_report","get_notification_of_change_report_with_http_info"])
|
|
85
85
|
begin
|
|
86
86
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -88,6 +88,9 @@ module CyberSource
|
|
|
88
88
|
raise
|
|
89
89
|
end
|
|
90
90
|
end
|
|
91
|
+
|
|
92
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_notification_of_change_report","get_notification_of_change_report_with_http_info"])
|
|
93
|
+
|
|
91
94
|
auth_names = []
|
|
92
95
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
93
96
|
:header_params => header_params,
|
|
@@ -95,7 +98,8 @@ module CyberSource
|
|
|
95
98
|
:form_params => form_params,
|
|
96
99
|
:body => post_body,
|
|
97
100
|
:auth_names => auth_names,
|
|
98
|
-
:return_type => 'ReportingV3NotificationofChangesGet200Response'
|
|
101
|
+
:return_type => 'ReportingV3NotificationofChangesGet200Response',
|
|
102
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
99
103
|
if @api_client.config.debugging
|
|
100
104
|
begin
|
|
101
105
|
raise
|
|
@@ -105,7 +105,7 @@ module CyberSource
|
|
|
105
105
|
post_body = @api_client.object_to_http_body(offer_request)
|
|
106
106
|
sdk_tracker = SdkTracker.new
|
|
107
107
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'OfferRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
108
|
-
inbound_mle_status = "false"
|
|
108
|
+
inbound_mle_status = "false"
|
|
109
109
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_offer","create_offer_with_http_info"])
|
|
110
110
|
begin
|
|
111
111
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -113,6 +113,9 @@ module CyberSource
|
|
|
113
113
|
raise
|
|
114
114
|
end
|
|
115
115
|
end
|
|
116
|
+
|
|
117
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["create_offer","create_offer_with_http_info"])
|
|
118
|
+
|
|
116
119
|
auth_names = []
|
|
117
120
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
118
121
|
:header_params => header_params,
|
|
@@ -120,7 +123,8 @@ module CyberSource
|
|
|
120
123
|
:form_params => form_params,
|
|
121
124
|
:body => post_body,
|
|
122
125
|
:auth_names => auth_names,
|
|
123
|
-
:return_type => 'InlineResponse2018'
|
|
126
|
+
:return_type => 'InlineResponse2018',
|
|
127
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
124
128
|
if @api_client.config.debugging
|
|
125
129
|
begin
|
|
126
130
|
raise
|
|
@@ -219,7 +223,7 @@ module CyberSource
|
|
|
219
223
|
else
|
|
220
224
|
post_body = nil
|
|
221
225
|
end
|
|
222
|
-
inbound_mle_status = "false"
|
|
226
|
+
inbound_mle_status = "false"
|
|
223
227
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_offer","get_offer_with_http_info"])
|
|
224
228
|
begin
|
|
225
229
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -227,6 +231,9 @@ module CyberSource
|
|
|
227
231
|
raise
|
|
228
232
|
end
|
|
229
233
|
end
|
|
234
|
+
|
|
235
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_offer","get_offer_with_http_info"])
|
|
236
|
+
|
|
230
237
|
auth_names = []
|
|
231
238
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
232
239
|
:header_params => header_params,
|
|
@@ -234,7 +241,8 @@ module CyberSource
|
|
|
234
241
|
:form_params => form_params,
|
|
235
242
|
:body => post_body,
|
|
236
243
|
:auth_names => auth_names,
|
|
237
|
-
:return_type => 'InlineResponse20015'
|
|
244
|
+
:return_type => 'InlineResponse20015',
|
|
245
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
238
246
|
if @api_client.config.debugging
|
|
239
247
|
begin
|
|
240
248
|
raise
|
|
@@ -70,7 +70,7 @@ module CyberSource
|
|
|
70
70
|
post_body = @api_client.object_to_http_body(create_order_request)
|
|
71
71
|
sdk_tracker = SdkTracker.new
|
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateOrderRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
73
|
-
inbound_mle_status = "false"
|
|
73
|
+
inbound_mle_status = "false"
|
|
74
74
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_order","create_order_with_http_info"])
|
|
75
75
|
begin
|
|
76
76
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -78,6 +78,9 @@ module CyberSource
|
|
|
78
78
|
raise
|
|
79
79
|
end
|
|
80
80
|
end
|
|
81
|
+
|
|
82
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["create_order","create_order_with_http_info"])
|
|
83
|
+
|
|
81
84
|
auth_names = []
|
|
82
85
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
83
86
|
:header_params => header_params,
|
|
@@ -85,7 +88,8 @@ module CyberSource
|
|
|
85
88
|
:form_params => form_params,
|
|
86
89
|
:body => post_body,
|
|
87
90
|
:auth_names => auth_names,
|
|
88
|
-
:return_type => 'PtsV2CreateOrderPost201Response'
|
|
91
|
+
:return_type => 'PtsV2CreateOrderPost201Response',
|
|
92
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
89
93
|
if @api_client.config.debugging
|
|
90
94
|
begin
|
|
91
95
|
raise
|
|
@@ -153,7 +157,7 @@ module CyberSource
|
|
|
153
157
|
post_body = @api_client.object_to_http_body(update_order_request)
|
|
154
158
|
sdk_tracker = SdkTracker.new
|
|
155
159
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateOrderRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
156
|
-
inbound_mle_status = "false"
|
|
160
|
+
inbound_mle_status = "false"
|
|
157
161
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["update_order","update_order_with_http_info"])
|
|
158
162
|
begin
|
|
159
163
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -161,6 +165,9 @@ module CyberSource
|
|
|
161
165
|
raise
|
|
162
166
|
end
|
|
163
167
|
end
|
|
168
|
+
|
|
169
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["update_order","update_order_with_http_info"])
|
|
170
|
+
|
|
164
171
|
auth_names = []
|
|
165
172
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
166
173
|
:header_params => header_params,
|
|
@@ -168,7 +175,8 @@ module CyberSource
|
|
|
168
175
|
:form_params => form_params,
|
|
169
176
|
:body => post_body,
|
|
170
177
|
:auth_names => auth_names,
|
|
171
|
-
:return_type => 'PtsV2UpdateOrderPatch201Response'
|
|
178
|
+
:return_type => 'PtsV2UpdateOrderPatch201Response',
|
|
179
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
172
180
|
if @api_client.config.debugging
|
|
173
181
|
begin
|
|
174
182
|
raise
|
|
@@ -70,7 +70,7 @@ module CyberSource
|
|
|
70
70
|
post_body = @api_client.object_to_http_body(check_payer_auth_enrollment_request)
|
|
71
71
|
sdk_tracker = SdkTracker.new
|
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CheckPayerAuthEnrollmentRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
73
|
-
inbound_mle_status = "optional"
|
|
73
|
+
inbound_mle_status = "optional"
|
|
74
74
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["check_payer_auth_enrollment","check_payer_auth_enrollment_with_http_info"])
|
|
75
75
|
begin
|
|
76
76
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -78,6 +78,9 @@ module CyberSource
|
|
|
78
78
|
raise
|
|
79
79
|
end
|
|
80
80
|
end
|
|
81
|
+
|
|
82
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["check_payer_auth_enrollment","check_payer_auth_enrollment_with_http_info"])
|
|
83
|
+
|
|
81
84
|
auth_names = []
|
|
82
85
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
83
86
|
:header_params => header_params,
|
|
@@ -85,7 +88,8 @@ module CyberSource
|
|
|
85
88
|
:form_params => form_params,
|
|
86
89
|
:body => post_body,
|
|
87
90
|
:auth_names => auth_names,
|
|
88
|
-
:return_type => 'RiskV1AuthenticationsPost201Response'
|
|
91
|
+
:return_type => 'RiskV1AuthenticationsPost201Response',
|
|
92
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
89
93
|
if @api_client.config.debugging
|
|
90
94
|
begin
|
|
91
95
|
raise
|
|
@@ -147,7 +151,7 @@ module CyberSource
|
|
|
147
151
|
post_body = @api_client.object_to_http_body(payer_auth_setup_request)
|
|
148
152
|
sdk_tracker = SdkTracker.new
|
|
149
153
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PayerAuthSetupRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
150
|
-
inbound_mle_status = "optional"
|
|
154
|
+
inbound_mle_status = "optional"
|
|
151
155
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["payer_auth_setup","payer_auth_setup_with_http_info"])
|
|
152
156
|
begin
|
|
153
157
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -155,6 +159,9 @@ module CyberSource
|
|
|
155
159
|
raise
|
|
156
160
|
end
|
|
157
161
|
end
|
|
162
|
+
|
|
163
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["payer_auth_setup","payer_auth_setup_with_http_info"])
|
|
164
|
+
|
|
158
165
|
auth_names = []
|
|
159
166
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
160
167
|
:header_params => header_params,
|
|
@@ -162,7 +169,8 @@ module CyberSource
|
|
|
162
169
|
:form_params => form_params,
|
|
163
170
|
:body => post_body,
|
|
164
171
|
:auth_names => auth_names,
|
|
165
|
-
:return_type => 'RiskV1AuthenticationSetupsPost201Response'
|
|
172
|
+
:return_type => 'RiskV1AuthenticationSetupsPost201Response',
|
|
173
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
166
174
|
if @api_client.config.debugging
|
|
167
175
|
begin
|
|
168
176
|
raise
|
|
@@ -224,7 +232,7 @@ module CyberSource
|
|
|
224
232
|
post_body = @api_client.object_to_http_body(validate_request)
|
|
225
233
|
sdk_tracker = SdkTracker.new
|
|
226
234
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'ValidateRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
227
|
-
inbound_mle_status = "optional"
|
|
235
|
+
inbound_mle_status = "optional"
|
|
228
236
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["validate_authentication_results","validate_authentication_results_with_http_info"])
|
|
229
237
|
begin
|
|
230
238
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -232,6 +240,9 @@ module CyberSource
|
|
|
232
240
|
raise
|
|
233
241
|
end
|
|
234
242
|
end
|
|
243
|
+
|
|
244
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["validate_authentication_results","validate_authentication_results_with_http_info"])
|
|
245
|
+
|
|
235
246
|
auth_names = []
|
|
236
247
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
237
248
|
:header_params => header_params,
|
|
@@ -239,7 +250,8 @@ module CyberSource
|
|
|
239
250
|
:form_params => form_params,
|
|
240
251
|
:body => post_body,
|
|
241
252
|
:auth_names => auth_names,
|
|
242
|
-
:return_type => 'RiskV1AuthenticationResultsPost201Response'
|
|
253
|
+
:return_type => 'RiskV1AuthenticationResultsPost201Response',
|
|
254
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
243
255
|
if @api_client.config.debugging
|
|
244
256
|
begin
|
|
245
257
|
raise
|
|
@@ -96,7 +96,7 @@ module CyberSource
|
|
|
96
96
|
else
|
|
97
97
|
post_body = nil
|
|
98
98
|
end
|
|
99
|
-
inbound_mle_status = "false"
|
|
99
|
+
inbound_mle_status = "false"
|
|
100
100
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_payment_batch_summary","get_payment_batch_summary_with_http_info"])
|
|
101
101
|
begin
|
|
102
102
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -104,6 +104,9 @@ module CyberSource
|
|
|
104
104
|
raise
|
|
105
105
|
end
|
|
106
106
|
end
|
|
107
|
+
|
|
108
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_payment_batch_summary","get_payment_batch_summary_with_http_info"])
|
|
109
|
+
|
|
107
110
|
auth_names = []
|
|
108
111
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
109
112
|
:header_params => header_params,
|
|
@@ -111,7 +114,8 @@ module CyberSource
|
|
|
111
114
|
:form_params => form_params,
|
|
112
115
|
:body => post_body,
|
|
113
116
|
:auth_names => auth_names,
|
|
114
|
-
:return_type => 'ReportingV3PaymentBatchSummariesGet200Response'
|
|
117
|
+
:return_type => 'ReportingV3PaymentBatchSummariesGet200Response',
|
|
118
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
115
119
|
if @api_client.config.debugging
|
|
116
120
|
begin
|
|
117
121
|
raise
|
|
@@ -75,7 +75,7 @@ module CyberSource
|
|
|
75
75
|
else
|
|
76
76
|
post_body = nil
|
|
77
77
|
end
|
|
78
|
-
inbound_mle_status = "false"
|
|
78
|
+
inbound_mle_status = "false"
|
|
79
79
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["delete_payment_instrument","delete_payment_instrument_with_http_info"])
|
|
80
80
|
begin
|
|
81
81
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -83,13 +83,17 @@ module CyberSource
|
|
|
83
83
|
raise
|
|
84
84
|
end
|
|
85
85
|
end
|
|
86
|
+
|
|
87
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["delete_payment_instrument","delete_payment_instrument_with_http_info"])
|
|
88
|
+
|
|
86
89
|
auth_names = []
|
|
87
90
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
88
91
|
:header_params => header_params,
|
|
89
92
|
:query_params => query_params,
|
|
90
93
|
:form_params => form_params,
|
|
91
94
|
:body => post_body,
|
|
92
|
-
:auth_names => auth_names
|
|
95
|
+
:auth_names => auth_names,
|
|
96
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
93
97
|
if @api_client.config.debugging
|
|
94
98
|
begin
|
|
95
99
|
raise
|
|
@@ -159,7 +163,7 @@ module CyberSource
|
|
|
159
163
|
else
|
|
160
164
|
post_body = nil
|
|
161
165
|
end
|
|
162
|
-
inbound_mle_status = "false"
|
|
166
|
+
inbound_mle_status = "false"
|
|
163
167
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_payment_instrument","get_payment_instrument_with_http_info"])
|
|
164
168
|
begin
|
|
165
169
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -167,6 +171,9 @@ module CyberSource
|
|
|
167
171
|
raise
|
|
168
172
|
end
|
|
169
173
|
end
|
|
174
|
+
|
|
175
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_payment_instrument","get_payment_instrument_with_http_info"])
|
|
176
|
+
|
|
170
177
|
auth_names = []
|
|
171
178
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
172
179
|
:header_params => header_params,
|
|
@@ -174,7 +181,8 @@ module CyberSource
|
|
|
174
181
|
:form_params => form_params,
|
|
175
182
|
:body => post_body,
|
|
176
183
|
:auth_names => auth_names,
|
|
177
|
-
:return_type => 'PostPaymentInstrumentRequest'
|
|
184
|
+
:return_type => 'PostPaymentInstrumentRequest',
|
|
185
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
178
186
|
if @api_client.config.debugging
|
|
179
187
|
begin
|
|
180
188
|
raise
|
|
@@ -251,7 +259,7 @@ module CyberSource
|
|
|
251
259
|
post_body = @api_client.object_to_http_body(patch_payment_instrument_request)
|
|
252
260
|
sdk_tracker = SdkTracker.new
|
|
253
261
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PatchPaymentInstrumentRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
254
|
-
inbound_mle_status = "optional"
|
|
262
|
+
inbound_mle_status = "optional"
|
|
255
263
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["patch_payment_instrument","patch_payment_instrument_with_http_info"])
|
|
256
264
|
begin
|
|
257
265
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -259,6 +267,9 @@ module CyberSource
|
|
|
259
267
|
raise
|
|
260
268
|
end
|
|
261
269
|
end
|
|
270
|
+
|
|
271
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["patch_payment_instrument","patch_payment_instrument_with_http_info"])
|
|
272
|
+
|
|
262
273
|
auth_names = []
|
|
263
274
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
264
275
|
:header_params => header_params,
|
|
@@ -266,7 +277,8 @@ module CyberSource
|
|
|
266
277
|
:form_params => form_params,
|
|
267
278
|
:body => post_body,
|
|
268
279
|
:auth_names => auth_names,
|
|
269
|
-
:return_type => 'PatchPaymentInstrumentRequest'
|
|
280
|
+
:return_type => 'PatchPaymentInstrumentRequest',
|
|
281
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
270
282
|
if @api_client.config.debugging
|
|
271
283
|
begin
|
|
272
284
|
raise
|
|
@@ -334,7 +346,7 @@ module CyberSource
|
|
|
334
346
|
post_body = @api_client.object_to_http_body(post_payment_instrument_request)
|
|
335
347
|
sdk_tracker = SdkTracker.new
|
|
336
348
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostPaymentInstrumentRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
337
|
-
inbound_mle_status = "optional"
|
|
349
|
+
inbound_mle_status = "optional"
|
|
338
350
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["post_payment_instrument","post_payment_instrument_with_http_info"])
|
|
339
351
|
begin
|
|
340
352
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -342,6 +354,9 @@ module CyberSource
|
|
|
342
354
|
raise
|
|
343
355
|
end
|
|
344
356
|
end
|
|
357
|
+
|
|
358
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["post_payment_instrument","post_payment_instrument_with_http_info"])
|
|
359
|
+
|
|
345
360
|
auth_names = []
|
|
346
361
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
347
362
|
:header_params => header_params,
|
|
@@ -349,7 +364,8 @@ module CyberSource
|
|
|
349
364
|
:form_params => form_params,
|
|
350
365
|
:body => post_body,
|
|
351
366
|
:auth_names => auth_names,
|
|
352
|
-
:return_type => 'PostPaymentInstrumentRequest'
|
|
367
|
+
:return_type => 'PostPaymentInstrumentRequest',
|
|
368
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
353
369
|
if @api_client.config.debugging
|
|
354
370
|
begin
|
|
355
371
|
raise
|
|
@@ -70,7 +70,7 @@ module CyberSource
|
|
|
70
70
|
post_body = @api_client.object_to_http_body(create_payment_link_request)
|
|
71
71
|
sdk_tracker = SdkTracker.new
|
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreatePaymentLinkRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
73
|
-
inbound_mle_status = "false"
|
|
73
|
+
inbound_mle_status = "false"
|
|
74
74
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_payment_link","create_payment_link_with_http_info"])
|
|
75
75
|
begin
|
|
76
76
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -78,6 +78,9 @@ module CyberSource
|
|
|
78
78
|
raise
|
|
79
79
|
end
|
|
80
80
|
end
|
|
81
|
+
|
|
82
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["create_payment_link","create_payment_link_with_http_info"])
|
|
83
|
+
|
|
81
84
|
auth_names = []
|
|
82
85
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
83
86
|
:header_params => header_params,
|
|
@@ -85,7 +88,8 @@ module CyberSource
|
|
|
85
88
|
:form_params => form_params,
|
|
86
89
|
:body => post_body,
|
|
87
90
|
:auth_names => auth_names,
|
|
88
|
-
:return_type => 'PblPaymentLinksPost201Response'
|
|
91
|
+
:return_type => 'PblPaymentLinksPost201Response',
|
|
92
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
89
93
|
if @api_client.config.debugging
|
|
90
94
|
begin
|
|
91
95
|
raise
|
|
@@ -160,7 +164,7 @@ module CyberSource
|
|
|
160
164
|
else
|
|
161
165
|
post_body = nil
|
|
162
166
|
end
|
|
163
|
-
inbound_mle_status = "false"
|
|
167
|
+
inbound_mle_status = "false"
|
|
164
168
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_all_payment_links","get_all_payment_links_with_http_info"])
|
|
165
169
|
begin
|
|
166
170
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -168,6 +172,9 @@ module CyberSource
|
|
|
168
172
|
raise
|
|
169
173
|
end
|
|
170
174
|
end
|
|
175
|
+
|
|
176
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_all_payment_links","get_all_payment_links_with_http_info"])
|
|
177
|
+
|
|
171
178
|
auth_names = []
|
|
172
179
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
173
180
|
:header_params => header_params,
|
|
@@ -175,7 +182,8 @@ module CyberSource
|
|
|
175
182
|
:form_params => form_params,
|
|
176
183
|
:body => post_body,
|
|
177
184
|
:auth_names => auth_names,
|
|
178
|
-
:return_type => 'PblPaymentLinksAllGet200Response'
|
|
185
|
+
:return_type => 'PblPaymentLinksAllGet200Response',
|
|
186
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
179
187
|
if @api_client.config.debugging
|
|
180
188
|
begin
|
|
181
189
|
raise
|
|
@@ -239,7 +247,7 @@ module CyberSource
|
|
|
239
247
|
else
|
|
240
248
|
post_body = nil
|
|
241
249
|
end
|
|
242
|
-
inbound_mle_status = "false"
|
|
250
|
+
inbound_mle_status = "false"
|
|
243
251
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_payment_link","get_payment_link_with_http_info"])
|
|
244
252
|
begin
|
|
245
253
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -247,6 +255,9 @@ module CyberSource
|
|
|
247
255
|
raise
|
|
248
256
|
end
|
|
249
257
|
end
|
|
258
|
+
|
|
259
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_payment_link","get_payment_link_with_http_info"])
|
|
260
|
+
|
|
250
261
|
auth_names = []
|
|
251
262
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
252
263
|
:header_params => header_params,
|
|
@@ -254,7 +265,8 @@ module CyberSource
|
|
|
254
265
|
:form_params => form_params,
|
|
255
266
|
:body => post_body,
|
|
256
267
|
:auth_names => auth_names,
|
|
257
|
-
:return_type => 'PblPaymentLinksGet200Response'
|
|
268
|
+
:return_type => 'PblPaymentLinksGet200Response',
|
|
269
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
258
270
|
if @api_client.config.debugging
|
|
259
271
|
begin
|
|
260
272
|
raise
|
|
@@ -322,7 +334,7 @@ module CyberSource
|
|
|
322
334
|
post_body = @api_client.object_to_http_body(update_payment_link_request)
|
|
323
335
|
sdk_tracker = SdkTracker.new
|
|
324
336
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdatePaymentLinkRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
325
|
-
inbound_mle_status = "false"
|
|
337
|
+
inbound_mle_status = "false"
|
|
326
338
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["update_payment_link","update_payment_link_with_http_info"])
|
|
327
339
|
begin
|
|
328
340
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -330,6 +342,9 @@ module CyberSource
|
|
|
330
342
|
raise
|
|
331
343
|
end
|
|
332
344
|
end
|
|
345
|
+
|
|
346
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["update_payment_link","update_payment_link_with_http_info"])
|
|
347
|
+
|
|
333
348
|
auth_names = []
|
|
334
349
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
335
350
|
:header_params => header_params,
|
|
@@ -337,7 +352,8 @@ module CyberSource
|
|
|
337
352
|
:form_params => form_params,
|
|
338
353
|
:body => post_body,
|
|
339
354
|
:auth_names => auth_names,
|
|
340
|
-
:return_type => 'PblPaymentLinksPost201Response'
|
|
355
|
+
:return_type => 'PblPaymentLinksPost201Response',
|
|
356
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
341
357
|
if @api_client.config.debugging
|
|
342
358
|
begin
|
|
343
359
|
raise
|
|
@@ -70,7 +70,7 @@ module CyberSource
|
|
|
70
70
|
post_body = @api_client.object_to_http_body(request)
|
|
71
71
|
sdk_tracker = SdkTracker.new
|
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'Request', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
73
|
-
inbound_mle_status = "false"
|
|
73
|
+
inbound_mle_status = "false"
|
|
74
74
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["retrieve_or_delete_payment_token","retrieve_or_delete_payment_token_with_http_info"])
|
|
75
75
|
begin
|
|
76
76
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -78,6 +78,9 @@ module CyberSource
|
|
|
78
78
|
raise
|
|
79
79
|
end
|
|
80
80
|
end
|
|
81
|
+
|
|
82
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["retrieve_or_delete_payment_token","retrieve_or_delete_payment_token_with_http_info"])
|
|
83
|
+
|
|
81
84
|
auth_names = []
|
|
82
85
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
83
86
|
:header_params => header_params,
|
|
@@ -85,7 +88,8 @@ module CyberSource
|
|
|
85
88
|
:form_params => form_params,
|
|
86
89
|
:body => post_body,
|
|
87
90
|
:auth_names => auth_names,
|
|
88
|
-
:return_type => 'InlineResponse201'
|
|
91
|
+
:return_type => 'InlineResponse201',
|
|
92
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
89
93
|
if @api_client.config.debugging
|
|
90
94
|
begin
|
|
91
95
|
raise
|