cybersource_rest_client 0.0.75 → 0.0.77
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 +6 -17
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +132 -54
- data/lib/AuthenticationSDK/util/Cache.rb +135 -30
- data/lib/AuthenticationSDK/util/CacheValue.rb +18 -0
- data/lib/AuthenticationSDK/util/CertificateUtility.rb +124 -0
- data/lib/AuthenticationSDK/util/Constants.rb +6 -0
- data/lib/AuthenticationSDK/util/JWEUtility.rb +1 -2
- data/lib/AuthenticationSDK/util/MLEUtility.rb +26 -35
- data/lib/AuthenticationSDK/util/Utility.rb +1 -16
- data/lib/cybersource_rest_client/api/batches_api.rb +17 -17
- data/lib/cybersource_rest_client/api/billing_agreements_api.rb +6 -6
- data/lib/cybersource_rest_client/api/bin_lookup_api.rb +2 -2
- data/lib/cybersource_rest_client/api/capture_api.rb +2 -2
- data/lib/cybersource_rest_client/api/chargeback_details_api.rb +2 -2
- data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +2 -2
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +2 -2
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
- data/lib/cybersource_rest_client/api/credit_api.rb +2 -2
- data/lib/cybersource_rest_client/api/customer_api.rb +8 -8
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +10 -10
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +10 -10
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +10 -10
- data/lib/cybersource_rest_client/api/device_de_association_api.rb +7 -7
- data/lib/cybersource_rest_client/api/device_search_api.rb +10 -10
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +2 -2
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +2 -2
- data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +4 -4
- data/lib/cybersource_rest_client/api/flex_api_api.rb +2 -2
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +12 -12
- data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +2 -2
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +4 -4
- data/lib/cybersource_rest_client/api/invoices_api.rb +87 -12
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +18 -17
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +4 -4
- data/lib/cybersource_rest_client/api/microform_integration_api.rb +2 -2
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +2 -2
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +2 -2
- data/lib/cybersource_rest_client/api/orders_api.rb +4 -4
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +6 -6
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +2 -2
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +8 -8
- data/lib/cybersource_rest_client/api/payment_links_api.rb +12 -12
- data/lib/cybersource_rest_client/api/payment_tokens_api.rb +2 -2
- data/lib/cybersource_rest_client/api/payments_api.rb +12 -12
- data/lib/cybersource_rest_client/api/payouts_api.rb +2 -2
- data/lib/cybersource_rest_client/api/plans_api.rb +16 -16
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +2 -2
- data/lib/cybersource_rest_client/api/push_funds_api.rb +2 -2
- data/lib/cybersource_rest_client/api/refund_api.rb +4 -4
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +4 -4
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +2 -2
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +10 -10
- data/lib/cybersource_rest_client/api/reports_api.rb +6 -6
- data/lib/cybersource_rest_client/api/retrieval_details_api.rb +2 -2
- data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +2 -2
- data/lib/cybersource_rest_client/api/reversal_api.rb +4 -4
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +4 -4
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +4 -4
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +16 -16
- data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +4 -4
- data/lib/cybersource_rest_client/api/taxes_api.rb +4 -4
- data/lib/cybersource_rest_client/api/token_api.rb +4 -4
- data/lib/cybersource_rest_client/api/tokenized_card_api.rb +6 -6
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +8 -8
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +2 -2
- data/lib/cybersource_rest_client/api/transient_token_data_api.rb +4 -4
- data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +2 -2
- data/lib/cybersource_rest_client/api/user_management_api.rb +2 -2
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +2 -2
- data/lib/cybersource_rest_client/api/verification_api.rb +4 -4
- data/lib/cybersource_rest_client/api/void_api.rb +10 -10
- data/lib/cybersource_rest_client/api_client.rb +3 -1
- data/lib/cybersource_rest_client/ethon_extensions.rb +38 -0
- data/lib/cybersource_rest_client/models/create_order_request.rb +269 -269
- data/lib/cybersource_rest_client/models/create_webhook.rb +16 -3
- data/lib/cybersource_rest_client/models/inline_response_200_10.rb +47 -49
- data/lib/cybersource_rest_client/models/{inline_response_200_8__links.rb → inline_response_200_10__links.rb} +18 -17
- data/lib/cybersource_rest_client/models/{inline_response_200_9__links_report.rb → inline_response_200_10__links_report.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_9_billing.rb → inline_response_200_10_billing.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_11.rb +292 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_10_records.rb → inline_response_200_11_records.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_10_response_record.rb → inline_response_200_11_response_record.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_10_response_record_additional_updates.rb → inline_response_200_11_response_record_additional_updates.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_10_source_record.rb → inline_response_200_11_source_record.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_2.rb +253 -253
- data/lib/cybersource_rest_client/models/inline_response_200_4.rb +12 -10
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +129 -51
- data/lib/cybersource_rest_client/models/inline_response_200_6.rb +55 -10
- data/lib/cybersource_rest_client/models/{inline_response_200_5_devices.rb → inline_response_200_6_devices.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_7.rb +10 -55
- data/lib/cybersource_rest_client/models/inline_response_200_8.rb +33 -37
- data/lib/cybersource_rest_client/models/{inline_response_200_7_devices.rb → inline_response_200_8_devices.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_7_payment_processor_to_terminal_map.rb → inline_response_200_8_payment_processor_to_terminal_map.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_9.rb +47 -86
- data/lib/cybersource_rest_client/models/{inline_response_200_8__embedded.rb → inline_response_200_9__embedded.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_8__embedded__links.rb → inline_response_200_9__embedded__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_8__embedded__links_reports.rb → inline_response_200_9__embedded__links_reports.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_8__embedded_batches.rb → inline_response_200_9__embedded_batches.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_8__embedded_totals.rb → inline_response_200_9__embedded_totals.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_9__links.rb +16 -17
- data/lib/cybersource_rest_client/models/inline_response_201.rb +227 -227
- data/lib/cybersource_rest_client/models/inline_response_201_1.rb +218 -218
- data/lib/cybersource_rest_client/models/inline_response_201_2.rb +248 -248
- data/lib/cybersource_rest_client/models/inline_response_201_2_payout_information.rb +216 -216
- data/lib/cybersource_rest_client/models/inline_response_201_2_payout_information_pull_funds.rb +213 -213
- data/lib/cybersource_rest_client/models/inline_response_201_2_payout_information_push_funds.rb +417 -417
- data/lib/cybersource_rest_client/models/inline_response_201_3.rb +281 -281
- data/lib/cybersource_rest_client/models/inline_response_201_3_integration_information.rb +192 -192
- data/lib/cybersource_rest_client/models/inline_response_201_3_integration_information_tenant_configurations.rb +253 -253
- data/lib/cybersource_rest_client/models/inline_response_201_3_organization_information.rb +217 -217
- data/lib/cybersource_rest_client/models/inline_response_201_3_product_information_setups.rb +214 -214
- data/lib/cybersource_rest_client/models/inline_response_201_3_registration_information.rb +222 -222
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups.rb +219 -219
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_commerce_solutions.rb +209 -209
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments.rb +369 -369
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments_alternative_payment_methods.rb +221 -221
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments_alternative_payment_methods_configuration_status.rb +200 -200
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments_card_processing.rb +199 -199
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments_card_processing_configuration_status.rb +255 -255
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments_card_processing_subscription_status.rb +234 -234
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments_digital_payments.rb +189 -189
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_risk.rb +199 -199
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_value_added_services.rb +209 -209
- data/lib/cybersource_rest_client/models/inline_response_201_4.rb +222 -222
- data/lib/cybersource_rest_client/models/inline_response_201_4_key_information.rb +300 -300
- data/lib/cybersource_rest_client/models/inline_response_201_4_key_information_error_information.rb +202 -202
- data/lib/cybersource_rest_client/models/inline_response_201_4_key_information_error_information_details.rb +201 -201
- data/lib/cybersource_rest_client/models/inline_response_201_5.rb +314 -312
- data/lib/cybersource_rest_client/models/inline_response_201_6.rb +277 -277
- data/lib/cybersource_rest_client/models/inline_response_201_6_payloads.rb +189 -189
- data/lib/cybersource_rest_client/models/inline_response_201_6_payloads_test_payload.rb +190 -190
- data/lib/cybersource_rest_client/models/inline_response_201_7.rb +202 -202
- data/lib/cybersource_rest_client/models/inline_response_201_order_information.rb +189 -189
- data/lib/cybersource_rest_client/models/inline_response_201_order_information_ship_to.rb +315 -315
- data/lib/cybersource_rest_client/models/inline_response_201_payment_information.rb +199 -199
- data/lib/cybersource_rest_client/models/inline_response_201_payment_information_e_wallet.rb +196 -196
- data/lib/cybersource_rest_client/models/inline_response_201_payment_information_tokenized_payment_method.rb +213 -213
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +18 -5
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information.rb +18 -5
- data/lib/cybersource_rest_client/models/{notificationsubscriptionsv2webhooks_security_policy_1_config.rb → invoicing_v2_invoices_post201_response_invoice_information_custom_labels.rb} +57 -34
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_publish200_response.rb +268 -0
- data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +18 -5
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv2webhooks_retry_policy.rb +2 -0
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv2webhooks_security_policy.rb +1 -1
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv2webhooks_security_policy_config.rb +16 -17
- data/lib/cybersource_rest_client/models/{notificationsubscriptionsv2webhooks_security_policy_1_config_additional_config.rb → notificationsubscriptionsv2webhooks_security_policy_config_additional_config.rb} +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +609 -609
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb +269 -269
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +364 -364
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +309 -309
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_payment_method.rb +213 -213
- data/lib/cybersource_rest_client/models/pts_v2_retrieve_payment_token_get400_response.rb +252 -252
- data/lib/cybersource_rest_client/models/pts_v2_retrieve_payment_token_get502_response.rb +240 -240
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_card.rb +258 -258
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +275 -275
- data/lib/cybersource_rest_client/models/ptsv2intents_event_information.rb +212 -212
- data/lib/cybersource_rest_client/models/ptsv2intents_order_information_ship_to.rb +354 -354
- data/lib/cybersource_rest_client/models/ptsv2intents_payment_information.rb +220 -220
- data/lib/cybersource_rest_client/models/ptsv2intents_payment_information_e_wallet.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv2intents_payment_information_tokenized_payment_method.rb +241 -241
- data/lib/cybersource_rest_client/models/ptsv2intents_processing_information.rb +351 -351
- data/lib/cybersource_rest_client/models/ptsv2intents_recipient_information.rb +245 -245
- data/lib/cybersource_rest_client/models/ptsv2intents_sender_information.rb +277 -277
- data/lib/cybersource_rest_client/models/ptsv2intents_sender_information_account.rb +190 -190
- data/lib/cybersource_rest_client/models/ptsv2intents_travel_information.rb +211 -211
- data/lib/cybersource_rest_client/models/ptsv2intents_travel_information_agency.rb +245 -245
- data/lib/cybersource_rest_client/models/ptsv2intentsid_payment_information.rb +189 -189
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_amount_details.rb +417 -417
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_card.rb +275 -275
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +461 -433
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +668 -668
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +716 -716
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +356 -356
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +445 -445
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type_method.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +377 -377
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_payment_method.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +604 -604
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_payment_type_method.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +377 -377
- data/lib/cybersource_rest_client/models/ptsv2paymenttokens_payment_information.rb +199 -199
- data/lib/cybersource_rest_client/models/ptsv2paymenttokens_processing_information.rb +192 -192
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +258 -258
- data/lib/cybersource_rest_client/models/request.rb +199 -199
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +241 -241
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +258 -258
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +351 -351
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +268 -268
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +299 -299
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +259 -259
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +259 -259
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +224 -224
- data/lib/cybersource_rest_client/models/tms_bin_lookup_issuer_information.rb +264 -264
- data/lib/cybersource_rest_client/models/tms_bin_lookup_payment_account_information_card.rb +277 -277
- data/lib/cybersource_rest_client/models/tms_bin_lookup_payment_account_information_card_brands.rb +213 -213
- data/lib/cybersource_rest_client/models/tms_bin_lookup_payment_account_information_features.rb +430 -430
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +11 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_bank_account_validation.rb +211 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_brands.rb +201 -201
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +365 -365
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +16 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +15 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +218 -218
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processor_information.rb +245 -245
- data/lib/cybersource_rest_client/models/update_order_request.rb +229 -229
- data/lib/cybersource_rest_client/models/update_webhook.rb +19 -19
- data/lib/cybersource_rest_client.rb +20 -18
- metadata +25 -20
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv2webhooks_security_policy_1.rb +0 -201
@@ -70,8 +70,8 @@ module CyberSource
|
|
70
70
|
post_body = @api_client.object_to_http_body(de_association_request_body)
|
71
71
|
sdk_tracker = SdkTracker.new
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'DeAssociationRequestBody', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
73
|
-
|
74
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
73
|
+
inbound_mle_status = "false"
|
74
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["delete_terminal_association","delete_terminal_association_with_http_info"])
|
75
75
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
76
76
|
end
|
77
77
|
auth_names = []
|
@@ -96,7 +96,7 @@ module CyberSource
|
|
96
96
|
#
|
97
97
|
# @param device_de_associate_v3_request deviceId that has to be de-associated to the destination organizationId.
|
98
98
|
# @param [Hash] opts the optional parameters
|
99
|
-
# @return [Array<
|
99
|
+
# @return [Array<InlineResponse2007>]
|
100
100
|
#
|
101
101
|
def post_de_associate_v3_terminal(device_de_associate_v3_request, opts = {})
|
102
102
|
data, status_code, headers = post_de_associate_v3_terminal_with_http_info(device_de_associate_v3_request, opts)
|
@@ -107,7 +107,7 @@ module CyberSource
|
|
107
107
|
# A device will be de-associated from its current organization and moved up in the hierarchy. The device's new position will be determined by a specified destination, either an account or a portfolio. If no destination is provided, the device will default to the currently logged-in user.
|
108
108
|
# @param device_de_associate_v3_request deviceId that has to be de-associated to the destination organizationId.
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @return [Array<(Array<
|
110
|
+
# @return [Array<(Array<InlineResponse2007>, Fixnum, Hash)>] Array<InlineResponse2007> data, response status code and response headers
|
111
111
|
def post_de_associate_v3_terminal_with_http_info(device_de_associate_v3_request, opts = {})
|
112
112
|
|
113
113
|
if @api_client.config.debugging
|
@@ -142,8 +142,8 @@ module CyberSource
|
|
142
142
|
post_body = @api_client.object_to_http_body(device_de_associate_v3_request)
|
143
143
|
sdk_tracker = SdkTracker.new
|
144
144
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'Array<DeviceDeAssociateV3Request>', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
145
|
-
|
146
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
145
|
+
inbound_mle_status = "false"
|
146
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["post_de_associate_v3_terminal","post_de_associate_v3_terminal_with_http_info"])
|
147
147
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
148
148
|
end
|
149
149
|
auth_names = []
|
@@ -153,7 +153,7 @@ module CyberSource
|
|
153
153
|
:form_params => form_params,
|
154
154
|
:body => post_body,
|
155
155
|
:auth_names => auth_names,
|
156
|
-
:return_type => 'Array<
|
156
|
+
:return_type => 'Array<InlineResponse2007>')
|
157
157
|
if @api_client.config.debugging
|
158
158
|
begin
|
159
159
|
raise
|
@@ -24,7 +24,7 @@ module CyberSource
|
|
24
24
|
#
|
25
25
|
# @param post_device_search_request
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
-
# @return [
|
27
|
+
# @return [InlineResponse2006]
|
28
28
|
#
|
29
29
|
def post_search_query(post_device_search_request, opts = {})
|
30
30
|
data, status_code, headers = post_search_query_with_http_info(post_device_search_request, opts)
|
@@ -35,7 +35,7 @@ module CyberSource
|
|
35
35
|
# Retrieves list of terminals in paginated format.
|
36
36
|
# @param post_device_search_request
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
|
-
# @return [Array<(
|
38
|
+
# @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
|
39
39
|
def post_search_query_with_http_info(post_device_search_request, opts = {})
|
40
40
|
|
41
41
|
if @api_client.config.debugging
|
@@ -70,8 +70,8 @@ module CyberSource
|
|
70
70
|
post_body = @api_client.object_to_http_body(post_device_search_request)
|
71
71
|
sdk_tracker = SdkTracker.new
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostDeviceSearchRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
73
|
-
|
74
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
73
|
+
inbound_mle_status = "false"
|
74
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["post_search_query","post_search_query_with_http_info"])
|
75
75
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
76
76
|
end
|
77
77
|
auth_names = []
|
@@ -81,7 +81,7 @@ module CyberSource
|
|
81
81
|
:form_params => form_params,
|
82
82
|
:body => post_body,
|
83
83
|
:auth_names => auth_names,
|
84
|
-
:return_type => '
|
84
|
+
:return_type => 'InlineResponse2006')
|
85
85
|
if @api_client.config.debugging
|
86
86
|
begin
|
87
87
|
raise
|
@@ -97,7 +97,7 @@ module CyberSource
|
|
97
97
|
#
|
98
98
|
# @param post_device_search_request_v3
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
|
-
# @return [
|
100
|
+
# @return [InlineResponse2008]
|
101
101
|
#
|
102
102
|
def post_search_query_v3(post_device_search_request_v3, opts = {})
|
103
103
|
data, status_code, headers = post_search_query_v3_with_http_info(post_device_search_request_v3, opts)
|
@@ -108,7 +108,7 @@ module CyberSource
|
|
108
108
|
# Search for devices matching a given search query. The search query supports serialNumber, readerId, terminalId, status, statusChangeReason or organizationId Matching results are paginated.
|
109
109
|
# @param post_device_search_request_v3
|
110
110
|
# @param [Hash] opts the optional parameters
|
111
|
-
# @return [Array<(
|
111
|
+
# @return [Array<(InlineResponse2008, Fixnum, Hash)>] InlineResponse2008 data, response status code and response headers
|
112
112
|
def post_search_query_v3_with_http_info(post_device_search_request_v3, opts = {})
|
113
113
|
|
114
114
|
if @api_client.config.debugging
|
@@ -143,8 +143,8 @@ module CyberSource
|
|
143
143
|
post_body = @api_client.object_to_http_body(post_device_search_request_v3)
|
144
144
|
sdk_tracker = SdkTracker.new
|
145
145
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostDeviceSearchRequestV3', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
146
|
-
|
147
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
146
|
+
inbound_mle_status = "false"
|
147
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["post_search_query_v3","post_search_query_v3_with_http_info"])
|
148
148
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
149
149
|
end
|
150
150
|
auth_names = []
|
@@ -154,7 +154,7 @@ module CyberSource
|
|
154
154
|
:form_params => form_params,
|
155
155
|
:body => post_body,
|
156
156
|
:auth_names => auth_names,
|
157
|
-
:return_type => '
|
157
|
+
:return_type => 'InlineResponse2008')
|
158
158
|
if @api_client.config.debugging
|
159
159
|
begin
|
160
160
|
raise
|
@@ -72,8 +72,8 @@ module CyberSource
|
|
72
72
|
else
|
73
73
|
post_body = nil
|
74
74
|
end
|
75
|
-
|
76
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
75
|
+
inbound_mle_status = "false"
|
76
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_dtdv2","get_dtdv2_with_http_info"])
|
77
77
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
78
78
|
end
|
79
79
|
auth_names = []
|
@@ -72,8 +72,8 @@ module CyberSource
|
|
72
72
|
else
|
73
73
|
post_body = nil
|
74
74
|
end
|
75
|
-
|
76
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
75
|
+
inbound_mle_status = "false"
|
76
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_xsdv2","get_xsdv2_with_http_info"])
|
77
77
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
78
78
|
end
|
79
79
|
auth_names = []
|
@@ -66,8 +66,8 @@ module CyberSource
|
|
66
66
|
else
|
67
67
|
post_body = nil
|
68
68
|
end
|
69
|
-
|
70
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
69
|
+
inbound_mle_status = "false"
|
70
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_emv_tags","get_emv_tags_with_http_info"])
|
71
71
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
72
72
|
end
|
73
73
|
auth_names = []
|
@@ -139,8 +139,8 @@ module CyberSource
|
|
139
139
|
post_body = @api_client.object_to_http_body(body)
|
140
140
|
sdk_tracker = SdkTracker.new
|
141
141
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'Body', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
142
|
-
|
143
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
142
|
+
inbound_mle_status = "false"
|
143
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["parse_emv_tags","parse_emv_tags_with_http_info"])
|
144
144
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
145
145
|
end
|
146
146
|
auth_names = []
|
@@ -70,8 +70,8 @@ module CyberSource
|
|
70
70
|
post_body = @api_client.object_to_http_body(generate_flex_api_capture_context_request)
|
71
71
|
sdk_tracker = SdkTracker.new
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'GenerateFlexAPICaptureContextRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
73
|
-
|
74
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
73
|
+
inbound_mle_status = "false"
|
74
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["generate_flex_api_capture_context","generate_flex_api_capture_context_with_http_info"])
|
75
75
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
76
76
|
end
|
77
77
|
auth_names = []
|
@@ -75,8 +75,8 @@ module CyberSource
|
|
75
75
|
else
|
76
76
|
post_body = nil
|
77
77
|
end
|
78
|
-
|
79
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
78
|
+
inbound_mle_status = "false"
|
79
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["delete_instrument_identifier","delete_instrument_identifier_with_http_info"])
|
80
80
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
81
81
|
end
|
82
82
|
auth_names = []
|
@@ -155,8 +155,8 @@ module CyberSource
|
|
155
155
|
else
|
156
156
|
post_body = nil
|
157
157
|
end
|
158
|
-
|
159
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
158
|
+
inbound_mle_status = "false"
|
159
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_instrument_identifier","get_instrument_identifier_with_http_info"])
|
160
160
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
161
161
|
end
|
162
162
|
auth_names = []
|
@@ -242,8 +242,8 @@ module CyberSource
|
|
242
242
|
else
|
243
243
|
post_body = nil
|
244
244
|
end
|
245
|
-
|
246
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
245
|
+
inbound_mle_status = "false"
|
246
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_instrument_identifier_payment_instruments_list","get_instrument_identifier_payment_instruments_list_with_http_info"])
|
247
247
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
248
248
|
end
|
249
249
|
auth_names = []
|
@@ -330,8 +330,8 @@ module CyberSource
|
|
330
330
|
post_body = @api_client.object_to_http_body(patch_instrument_identifier_request)
|
331
331
|
sdk_tracker = SdkTracker.new
|
332
332
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PatchInstrumentIdentifierRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
333
|
-
|
334
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
333
|
+
inbound_mle_status = "false"
|
334
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["patch_instrument_identifier","patch_instrument_identifier_with_http_info"])
|
335
335
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
336
336
|
end
|
337
337
|
auth_names = []
|
@@ -409,8 +409,8 @@ module CyberSource
|
|
409
409
|
post_body = @api_client.object_to_http_body(post_instrument_identifier_request)
|
410
410
|
sdk_tracker = SdkTracker.new
|
411
411
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostInstrumentIdentifierRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
412
|
-
|
413
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
412
|
+
inbound_mle_status = "false"
|
413
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["post_instrument_identifier","post_instrument_identifier_with_http_info"])
|
414
414
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
415
415
|
end
|
416
416
|
auth_names = []
|
@@ -491,8 +491,8 @@ module CyberSource
|
|
491
491
|
post_body = @api_client.object_to_http_body(post_instrument_identifier_enrollment_request)
|
492
492
|
sdk_tracker = SdkTracker.new
|
493
493
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostInstrumentIdentifierEnrollmentRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
494
|
-
|
495
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
494
|
+
inbound_mle_status = "false"
|
495
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["post_instrument_identifier_enrollment","post_instrument_identifier_enrollment_with_http_info"])
|
496
496
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
497
497
|
end
|
498
498
|
auth_names = []
|
@@ -87,8 +87,8 @@ module CyberSource
|
|
87
87
|
else
|
88
88
|
post_body = nil
|
89
89
|
end
|
90
|
-
|
91
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
90
|
+
inbound_mle_status = "false"
|
91
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_interchange_clearing_level_details","get_interchange_clearing_level_details_with_http_info"])
|
92
92
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
93
93
|
end
|
94
94
|
auth_names = []
|
@@ -66,8 +66,8 @@ module CyberSource
|
|
66
66
|
else
|
67
67
|
post_body = nil
|
68
68
|
end
|
69
|
-
|
70
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
69
|
+
inbound_mle_status = "false"
|
70
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_invoice_settings","get_invoice_settings_with_http_info"])
|
71
71
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
72
72
|
end
|
73
73
|
auth_names = []
|
@@ -139,8 +139,8 @@ module CyberSource
|
|
139
139
|
post_body = @api_client.object_to_http_body(invoice_settings_request)
|
140
140
|
sdk_tracker = SdkTracker.new
|
141
141
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'InvoiceSettingsRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
142
|
-
|
143
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
142
|
+
inbound_mle_status = "false"
|
143
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["update_invoice_settings","update_invoice_settings_with_http_info"])
|
144
144
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
145
145
|
end
|
146
146
|
auth_names = []
|
@@ -70,8 +70,8 @@ module CyberSource
|
|
70
70
|
post_body = @api_client.object_to_http_body(create_invoice_request)
|
71
71
|
sdk_tracker = SdkTracker.new
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateInvoiceRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
73
|
-
|
74
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
73
|
+
inbound_mle_status = "false"
|
74
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_invoice","create_invoice_with_http_info"])
|
75
75
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
76
76
|
end
|
77
77
|
auth_names = []
|
@@ -156,8 +156,8 @@ module CyberSource
|
|
156
156
|
else
|
157
157
|
post_body = nil
|
158
158
|
end
|
159
|
-
|
160
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
159
|
+
inbound_mle_status = "false"
|
160
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_all_invoices","get_all_invoices_with_http_info"])
|
161
161
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
162
162
|
end
|
163
163
|
auth_names = []
|
@@ -231,8 +231,8 @@ module CyberSource
|
|
231
231
|
else
|
232
232
|
post_body = nil
|
233
233
|
end
|
234
|
-
|
235
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
234
|
+
inbound_mle_status = "false"
|
235
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_invoice","get_invoice_with_http_info"])
|
236
236
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
237
237
|
end
|
238
238
|
auth_names = []
|
@@ -306,8 +306,8 @@ module CyberSource
|
|
306
306
|
else
|
307
307
|
post_body = nil
|
308
308
|
end
|
309
|
-
|
310
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
309
|
+
inbound_mle_status = "false"
|
310
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["perform_cancel_action","perform_cancel_action_with_http_info"])
|
311
311
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
312
312
|
end
|
313
313
|
auth_names = []
|
@@ -328,6 +328,81 @@ module CyberSource
|
|
328
328
|
end
|
329
329
|
return data, status_code, headers
|
330
330
|
end
|
331
|
+
# Publish an Invoice
|
332
|
+
# You can publish an invoice in DRAFT status. After invoking this method, the invoice status is changed to CREATED.
|
333
|
+
#
|
334
|
+
# @param id The invoice number.
|
335
|
+
# @param [Hash] opts the optional parameters
|
336
|
+
# @return [InvoicingV2InvoicesPublish200Response]
|
337
|
+
#
|
338
|
+
def perform_publish_action(id, opts = {})
|
339
|
+
data, status_code, headers = perform_publish_action_with_http_info(id, opts)
|
340
|
+
return data, status_code, headers
|
341
|
+
end
|
342
|
+
|
343
|
+
# Publish an Invoice
|
344
|
+
# You can publish an invoice in DRAFT status. After invoking this method, the invoice status is changed to CREATED.
|
345
|
+
# @param id The invoice number.
|
346
|
+
# @param [Hash] opts the optional parameters
|
347
|
+
# @return [Array<(InvoicingV2InvoicesPublish200Response, Fixnum, Hash)>] InvoicingV2InvoicesPublish200Response data, response status code and response headers
|
348
|
+
def perform_publish_action_with_http_info(id, opts = {})
|
349
|
+
|
350
|
+
if @api_client.config.debugging
|
351
|
+
begin
|
352
|
+
raise
|
353
|
+
@api_client.config.logger.debug 'Calling API: InvoicesApi.perform_publish_action ...'
|
354
|
+
rescue
|
355
|
+
puts 'Cannot write to log'
|
356
|
+
end
|
357
|
+
end
|
358
|
+
# verify the required parameter 'id' is set
|
359
|
+
if @api_client.config.client_side_validation && id.nil?
|
360
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling InvoicesApi.perform_publish_action"
|
361
|
+
end
|
362
|
+
# resource path
|
363
|
+
local_var_path = 'invoicing/v2/invoices/{id}/publication'.sub('{' + 'id' + '}', id.to_s)
|
364
|
+
|
365
|
+
# query parameters
|
366
|
+
query_params = {}
|
367
|
+
|
368
|
+
# header parameters
|
369
|
+
header_params = {}
|
370
|
+
# HTTP header 'Accept' (if needed)
|
371
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
|
372
|
+
# HTTP header 'Content-Type'
|
373
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
374
|
+
|
375
|
+
# form parameters
|
376
|
+
form_params = {}
|
377
|
+
|
378
|
+
# http body (model)
|
379
|
+
if 'POST' == 'POST'
|
380
|
+
post_body = '{}'
|
381
|
+
else
|
382
|
+
post_body = nil
|
383
|
+
end
|
384
|
+
inbound_mle_status = "false"
|
385
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["perform_publish_action","perform_publish_action_with_http_info"])
|
386
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
387
|
+
end
|
388
|
+
auth_names = []
|
389
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
390
|
+
:header_params => header_params,
|
391
|
+
:query_params => query_params,
|
392
|
+
:form_params => form_params,
|
393
|
+
:body => post_body,
|
394
|
+
:auth_names => auth_names,
|
395
|
+
:return_type => 'InvoicingV2InvoicesPublish200Response')
|
396
|
+
if @api_client.config.debugging
|
397
|
+
begin
|
398
|
+
raise
|
399
|
+
@api_client.config.logger.debug "API called: InvoicesApi#perform_publish_action\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
400
|
+
rescue
|
401
|
+
puts 'Cannot write to log'
|
402
|
+
end
|
403
|
+
end
|
404
|
+
return data, status_code, headers
|
405
|
+
end
|
331
406
|
# Send an Invoice
|
332
407
|
# You can send an invoice in draft or created state or resend a sent or partially paid invoice. Fully paid or canceled invoices cannot be resent.
|
333
408
|
#
|
@@ -381,8 +456,8 @@ module CyberSource
|
|
381
456
|
else
|
382
457
|
post_body = nil
|
383
458
|
end
|
384
|
-
|
385
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
459
|
+
inbound_mle_status = "false"
|
460
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["perform_send_action","perform_send_action_with_http_info"])
|
386
461
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
387
462
|
end
|
388
463
|
auth_names = []
|
@@ -460,8 +535,8 @@ module CyberSource
|
|
460
535
|
post_body = @api_client.object_to_http_body(update_invoice_request)
|
461
536
|
sdk_tracker = SdkTracker.new
|
462
537
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateInvoiceRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
463
|
-
|
464
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
538
|
+
inbound_mle_status = "false"
|
539
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["update_invoice","update_invoice_with_http_info"])
|
465
540
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
466
541
|
end
|
467
542
|
auth_names = []
|
@@ -72,8 +72,8 @@ module CyberSource
|
|
72
72
|
else
|
73
73
|
post_body = nil
|
74
74
|
end
|
75
|
-
|
76
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
75
|
+
inbound_mle_status = "false"
|
76
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["delete_webhook_subscription","delete_webhook_subscription_with_http_info"])
|
77
77
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
78
78
|
end
|
79
79
|
auth_names = []
|
@@ -146,8 +146,8 @@ module CyberSource
|
|
146
146
|
else
|
147
147
|
post_body = nil
|
148
148
|
end
|
149
|
-
|
150
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
149
|
+
inbound_mle_status = "false"
|
150
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_webhook_subscription_by_id","get_webhook_subscription_by_id_with_http_info"])
|
151
151
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
152
152
|
end
|
153
153
|
auth_names = []
|
@@ -228,8 +228,8 @@ module CyberSource
|
|
228
228
|
else
|
229
229
|
post_body = nil
|
230
230
|
end
|
231
|
-
|
232
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
231
|
+
inbound_mle_status = "false"
|
232
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_webhook_subscriptions_by_org","get_webhook_subscriptions_by_org_with_http_info"])
|
233
233
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
234
234
|
end
|
235
235
|
auth_names = []
|
@@ -303,8 +303,8 @@ module CyberSource
|
|
303
303
|
else
|
304
304
|
post_body = nil
|
305
305
|
end
|
306
|
-
|
307
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
306
|
+
inbound_mle_status = "false"
|
307
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["notification_subscriptions_v1_webhooks_webhook_id_post","notification_subscriptions_v1_webhooks_webhook_id_post_with_http_info"])
|
308
308
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
309
309
|
end
|
310
310
|
auth_names = []
|
@@ -331,7 +331,7 @@ module CyberSource
|
|
331
331
|
# @param webhook_id The Webhook Identifier.
|
332
332
|
# @param [Hash] opts the optional parameters
|
333
333
|
# @option opts [UpdateWebhook] :update_webhook The webhook payload or changes to apply.
|
334
|
-
# @return [
|
334
|
+
# @return [InlineResponse2005]
|
335
335
|
#
|
336
336
|
def notification_subscriptions_v2_webhooks_webhook_id_patch(webhook_id, opts = {})
|
337
337
|
data, status_code, headers = notification_subscriptions_v2_webhooks_webhook_id_patch_with_http_info(webhook_id, opts)
|
@@ -343,7 +343,7 @@ module CyberSource
|
|
343
343
|
# @param webhook_id The Webhook Identifier.
|
344
344
|
# @param [Hash] opts the optional parameters
|
345
345
|
# @option opts [UpdateWebhook] :update_webhook The webhook payload or changes to apply.
|
346
|
-
# @return [Array<(
|
346
|
+
# @return [Array<(InlineResponse2005, Fixnum, Hash)>] InlineResponse2005 data, response status code and response headers
|
347
347
|
def notification_subscriptions_v2_webhooks_webhook_id_patch_with_http_info(webhook_id, opts = {})
|
348
348
|
|
349
349
|
if @api_client.config.debugging
|
@@ -378,8 +378,8 @@ module CyberSource
|
|
378
378
|
post_body = @api_client.object_to_http_body(opts[:'update_webhook'])
|
379
379
|
sdk_tracker = SdkTracker.new
|
380
380
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateWebhook', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
381
|
-
|
382
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
381
|
+
inbound_mle_status = "false"
|
382
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["notification_subscriptions_v2_webhooks_webhook_id_patch","notification_subscriptions_v2_webhooks_webhook_id_patch_with_http_info"])
|
383
383
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
384
384
|
end
|
385
385
|
auth_names = []
|
@@ -388,7 +388,8 @@ module CyberSource
|
|
388
388
|
:query_params => query_params,
|
389
389
|
:form_params => form_params,
|
390
390
|
:body => post_body,
|
391
|
-
:auth_names => auth_names
|
391
|
+
:auth_names => auth_names,
|
392
|
+
:return_type => 'InlineResponse2005')
|
392
393
|
if @api_client.config.debugging
|
393
394
|
begin
|
394
395
|
raise
|
@@ -452,8 +453,8 @@ module CyberSource
|
|
452
453
|
post_body = @api_client.object_to_http_body(opts[:'update_status'])
|
453
454
|
sdk_tracker = SdkTracker.new
|
454
455
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateStatus', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
455
|
-
|
456
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
456
|
+
inbound_mle_status = "false"
|
457
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["notification_subscriptions_v2_webhooks_webhook_id_status_put","notification_subscriptions_v2_webhooks_webhook_id_status_put_with_http_info"])
|
457
458
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
458
459
|
end
|
459
460
|
auth_names = []
|
@@ -549,8 +550,8 @@ module CyberSource
|
|
549
550
|
post_body = @api_client.object_to_http_body(save_asym_egress_key)
|
550
551
|
sdk_tracker = SdkTracker.new
|
551
552
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'SaveAsymEgressKey', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
552
|
-
|
553
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
553
|
+
inbound_mle_status = "false"
|
554
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["save_asym_egress_key","save_asym_egress_key_with_http_info"])
|
554
555
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
555
556
|
end
|
556
557
|
auth_names = []
|
@@ -72,8 +72,8 @@ module CyberSource
|
|
72
72
|
else
|
73
73
|
post_body = nil
|
74
74
|
end
|
75
|
-
|
76
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
75
|
+
inbound_mle_status = "false"
|
76
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_registration","get_registration_with_http_info"])
|
77
77
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
78
78
|
end
|
79
79
|
auth_names = []
|
@@ -148,8 +148,8 @@ module CyberSource
|
|
148
148
|
post_body = @api_client.object_to_http_body(post_registration_body)
|
149
149
|
sdk_tracker = SdkTracker.new
|
150
150
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostRegistrationBody', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
151
|
-
|
152
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
151
|
+
inbound_mle_status = "false"
|
152
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["post_registration","post_registration_with_http_info"])
|
153
153
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
154
154
|
end
|
155
155
|
auth_names = []
|
@@ -70,8 +70,8 @@ module CyberSource
|
|
70
70
|
post_body = @api_client.object_to_http_body(generate_capture_context_request)
|
71
71
|
sdk_tracker = SdkTracker.new
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'GenerateCaptureContextRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
73
|
-
|
74
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
73
|
+
inbound_mle_status = "false"
|
74
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["generate_capture_context","generate_capture_context_with_http_info"])
|
75
75
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
76
76
|
end
|
77
77
|
auth_names = []
|
@@ -90,8 +90,8 @@ module CyberSource
|
|
90
90
|
else
|
91
91
|
post_body = nil
|
92
92
|
end
|
93
|
-
|
94
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
93
|
+
inbound_mle_status = "false"
|
94
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_net_funding_details","get_net_funding_details_with_http_info"])
|
95
95
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
96
96
|
end
|
97
97
|
auth_names = []
|
@@ -80,8 +80,8 @@ module CyberSource
|
|
80
80
|
else
|
81
81
|
post_body = nil
|
82
82
|
end
|
83
|
-
|
84
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
83
|
+
inbound_mle_status = "false"
|
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
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
86
86
|
end
|
87
87
|
auth_names = []
|
@@ -70,8 +70,8 @@ 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
|
-
|
74
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
73
|
+
inbound_mle_status = "false"
|
74
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_order","create_order_with_http_info"])
|
75
75
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
76
76
|
end
|
77
77
|
auth_names = []
|
@@ -149,8 +149,8 @@ module CyberSource
|
|
149
149
|
post_body = @api_client.object_to_http_body(update_order_request)
|
150
150
|
sdk_tracker = SdkTracker.new
|
151
151
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateOrderRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
152
|
-
|
153
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig,
|
152
|
+
inbound_mle_status = "false"
|
153
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["update_order","update_order_with_http_info"])
|
154
154
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
155
155
|
end
|
156
156
|
auth_names = []
|