cybersource_rest_client 0.0.79 → 0.0.80
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/core/MerchantConfig.rb +1 -0
- data/lib/AuthenticationSDK/util/Cache.rb +14 -0
- data/lib/AuthenticationSDK/util/Constants.rb +2 -0
- data/lib/AuthenticationSDK/util/JWT/JWTExceptions.rb +81 -0
- data/lib/AuthenticationSDK/util/JWT/JWTUtility.rb +154 -0
- data/lib/cybersource_rest_client/api/bank_account_validation_api.rb +8 -4
- data/lib/cybersource_rest_client/api/batches_api.rb +29 -13
- data/lib/cybersource_rest_client/api/billing_agreements_api.rb +15 -3
- data/lib/cybersource_rest_client/api/bin_lookup_api.rb +5 -1
- data/lib/cybersource_rest_client/api/capture_api.rb +5 -1
- data/lib/cybersource_rest_client/api/chargeback_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +5 -1
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +18 -6
- data/lib/cybersource_rest_client/api/credit_api.rb +5 -1
- data/lib/cybersource_rest_client/api/customer_api.rb +22 -6
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +27 -7
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +27 -7
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +28 -8
- data/lib/cybersource_rest_client/api/device_de_association_api.rb +13 -5
- data/lib/cybersource_rest_client/api/device_search_api.rb +16 -8
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +5 -1
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +5 -1
- data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +10 -2
- data/lib/cybersource_rest_client/api/flex_api_api.rb +5 -1
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +33 -9
- data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +10 -2
- data/lib/cybersource_rest_client/api/invoices_api.rb +35 -7
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +41 -13
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +13 -5
- data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +29 -13
- data/lib/cybersource_rest_client/api/microform_integration_api.rb +5 -1
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +5 -1
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +5 -1
- data/lib/cybersource_rest_client/api/offers_api.rb +13 -5
- data/lib/cybersource_rest_client/api/orders_api.rb +10 -2
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +15 -3
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +5 -1
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +22 -6
- data/lib/cybersource_rest_client/api/payment_links_api.rb +20 -4
- data/lib/cybersource_rest_client/api/payment_tokens_api.rb +5 -1
- data/lib/cybersource_rest_client/api/payments_api.rb +30 -6
- data/lib/cybersource_rest_client/api/payouts_api.rb +5 -1
- data/lib/cybersource_rest_client/api/plans_api.rb +40 -8
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/push_funds_api.rb +5 -1
- data/lib/cybersource_rest_client/api/refund_api.rb +10 -2
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +10 -2
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +5 -1
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +25 -5
- data/lib/cybersource_rest_client/api/reports_api.rb +15 -3
- data/lib/cybersource_rest_client/api/retrieval_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +5 -1
- data/lib/cybersource_rest_client/api/reversal_api.rb +10 -2
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +10 -2
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +10 -2
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +49 -17
- data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +10 -2
- data/lib/cybersource_rest_client/api/taxes_api.rb +10 -2
- data/lib/cybersource_rest_client/api/token_api.rb +14 -6
- data/lib/cybersource_rest_client/api/tokenize_api.rb +103 -0
- data/lib/cybersource_rest_client/api/tokenized_card_api.rb +105 -4
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +20 -4
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/transient_token_data_api.rb +10 -2
- data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +5 -1
- data/lib/cybersource_rest_client/api/user_management_api.rb +5 -1
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +5 -1
- data/lib/cybersource_rest_client/api/verification_api.rb +10 -2
- data/lib/cybersource_rest_client/api/void_api.rb +25 -5
- data/lib/cybersource_rest_client/models/create_plan_request.rb +1 -11
- data/lib/cybersource_rest_client/models/create_subscription_request.rb +1 -1
- data/lib/cybersource_rest_client/models/create_subscription_request_1.rb +1 -1
- data/lib/cybersource_rest_client/models/create_subscription_response.rb +15 -5
- data/lib/cybersource_rest_client/models/generate_unified_checkout_capture_context_request.rb +13 -2
- data/lib/cybersource_rest_client/models/get_all_subscriptions_response_client_reference_information.rb +196 -0
- data/lib/cybersource_rest_client/models/get_all_subscriptions_response_subscriptions.rb +11 -1
- data/lib/cybersource_rest_client/models/get_subscription_response.rb +11 -1
- data/lib/cybersource_rest_client/models/get_subscription_response_1_payment_instrument.rb +1 -1
- data/lib/cybersource_rest_client/models/get_subscription_response_1_payment_instrument_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/get_subscription_response_1_shipping_address.rb +1 -1
- data/lib/cybersource_rest_client/models/get_subscription_response_reactivation_information.rb +22 -22
- data/lib/cybersource_rest_client/models/inline_response_200.rb +9 -44
- data/lib/cybersource_rest_client/models/inline_response_200_1.rb +29 -31
- data/lib/cybersource_rest_client/models/inline_response_200_10.rb +33 -37
- data/lib/cybersource_rest_client/models/{inline_response_200_9_devices.rb → inline_response_200_10_devices.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_9_payment_processor_to_terminal_map.rb → inline_response_200_10_payment_processor_to_terminal_map.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_11.rb +47 -86
- data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded.rb → inline_response_200_11__embedded.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded__links.rb → inline_response_200_11__embedded__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded__links_reports.rb → inline_response_200_11__embedded__links_reports.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded_batches.rb → inline_response_200_11__embedded_batches.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded_totals.rb → inline_response_200_11__embedded_totals.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_11__links.rb +16 -17
- data/lib/cybersource_rest_client/models/inline_response_200_12.rb +47 -49
- data/lib/cybersource_rest_client/models/inline_response_200_12__links.rb +201 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_11__links_report.rb → inline_response_200_12__links_report.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_11_billing.rb → inline_response_200_12_billing.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_13.rb +102 -31
- data/lib/cybersource_rest_client/models/{inline_response_200_12_records.rb → inline_response_200_13_records.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_12_response_record.rb → inline_response_200_13_response_record.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_12_response_record_additional_updates.rb → inline_response_200_13_response_record_additional_updates.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_source_record.rb → inline_response_200_13_source_record.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_14.rb +18 -84
- data/lib/cybersource_rest_client/models/inline_response_200_15.rb +287 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_14_client_reference_information.rb → inline_response_200_15_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_content.rb → inline_response_200_1_content.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_2.rb +32 -103
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded.rb → inline_response_200_2__embedded.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_capture.rb → inline_response_200_2__embedded_capture.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_capture__links.rb → inline_response_200_2__embedded_capture__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_capture__links_self.rb → inline_response_200_2__embedded_capture__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_reversal.rb → inline_response_200_2__embedded_reversal.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_reversal__links.rb → inline_response_200_2__embedded_reversal__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_reversal__links_self.rb → inline_response_200_2__embedded_reversal__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_3.rb +100 -54
- data/lib/cybersource_rest_client/models/inline_response_200_4.rb +65 -25
- data/lib/cybersource_rest_client/models/{inline_response_200_3_integration_information.rb → inline_response_200_4_integration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_3_integration_information_tenant_configurations.rb → inline_response_200_4_integration_information_tenant_configurations.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +25 -126
- data/lib/cybersource_rest_client/models/inline_response_200_6.rb +1 -12
- data/lib/cybersource_rest_client/models/inline_response_200_7.rb +129 -51
- data/lib/cybersource_rest_client/models/inline_response_200_8.rb +55 -10
- data/lib/cybersource_rest_client/models/{inline_response_200_7_devices.rb → inline_response_200_8_devices.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_9.rb +10 -55
- data/lib/cybersource_rest_client/models/{inline_response_200_10__links.rb → inline_response_200_details.rb} +18 -17
- data/lib/cybersource_rest_client/models/inline_response_200_errors.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_200_responses.rb +224 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments.rb +15 -5
- data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +9 -9
- data/lib/cybersource_rest_client/models/patch_customer_request.rb +9 -9
- data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +3 -3
- data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +9 -9
- data/lib/cybersource_rest_client/models/payment_instrument_list_1__embedded_payment_instruments.rb +8 -8
- data/lib/cybersource_rest_client/models/payment_instrument_list__embedded.rb +1 -1
- data/lib/cybersource_rest_client/models/payments_products.rb +15 -5
- data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +9 -9
- data/lib/cybersource_rest_client/models/post_customer_request.rb +9 -9
- data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +3 -3
- data/lib/cybersource_rest_client/models/post_issuer_life_cycle_simulation_request.rb +211 -0
- data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +9 -9
- data/lib/cybersource_rest_client/models/post_tokenize_request.rb +199 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +22 -5
- data/lib/cybersource_rest_client/models/shipping_address_list_for_customer__embedded.rb +1 -1
- data/lib/cybersource_rest_client/models/tms_issuerlifecycleeventsimulations_metadata_card_art_combined_asset.rb +190 -0
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_merchant_information.rb → tms_merchant_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb → tms_merchant_information_merchant_descriptor.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb → tmsv2tokenize_default_payment_instrument_buyer_info_issued_by.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb → tmsv2tokenize_default_payment_instrument_buyer_info_personal_identification.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb → tmsv2tokenize_default_payment_instrument_card_tokenized_info.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb → tmsv2tokenize_default_payment_instrument_instrument_identifier.rb} +1 -1
- data/lib/cybersource_rest_client/models/tmsv2tokenize_processing_information.rb +205 -0
- data/lib/cybersource_rest_client/models/tmsv2tokenize_token_information.rb +247 -0
- data/lib/cybersource_rest_client/models/tmsv2tokenize_token_information_customer.rb +289 -0
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded.rb → tmsv2tokenize_token_information_customer__embedded.rb} +3 -3
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument.rb} +10 -10
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__embedded.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__links.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__links.rb} +3 -3
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__links_self.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_bank_account.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_bank_account.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_bill_to.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_bill_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_buyer_information.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_buyer_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_card.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_card.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_metadata.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_metadata.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address.rb} +4 -4
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address__links.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links.rb} +3 -3
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address__links_customer.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links_customer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address__links_self.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address_metadata.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address_metadata.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address_ship_to.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address_ship_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__links.rb → tmsv2tokenize_token_information_customer__links.rb} +4 -4
- data/lib/cybersource_rest_client/models/{tmsv2customers__links_payment_instruments.rb → tmsv2tokenize_token_information_customer__links_payment_instruments.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__links_self.rb → tmsv2tokenize_token_information_customer__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__links_shipping_address.rb → tmsv2tokenize_token_information_customer__links_shipping_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_buyer_information.rb → tmsv2tokenize_token_information_customer_buyer_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_client_reference_information.rb → tmsv2tokenize_token_information_customer_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_default_payment_instrument.rb → tmsv2tokenize_token_information_customer_default_payment_instrument.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_default_shipping_address.rb → tmsv2tokenize_token_information_customer_default_shipping_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_merchant_defined_information.rb → tmsv2tokenize_token_information_customer_merchant_defined_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_metadata.rb → tmsv2tokenize_token_information_customer_metadata.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_object_information.rb → tmsv2tokenize_token_information_customer_object_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{rbsv1subscriptions_client_reference_information_partner.rb → tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_card.rb} +41 -24
- data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata.rb +189 -0
- data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art.rb +189 -0
- data/lib/cybersource_rest_client/models/update_subscription.rb +1 -1
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data.rb +25 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_buyer_information.rb +41 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_buyer_information_personal_identification.rb +1 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_client_reference_information_partner.rb +3 -3
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_consumer_authentication_information.rb +24 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_device_information.rb +196 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_merchant_information_merchant_descriptor.rb +124 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information.rb +15 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_amount_details.rb +15 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_amount_details_tax_details.rb +213 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_invoice_details.rb +213 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items.rb +30 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items_passenger.rb +8 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items_tax_details.rb +7 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_payment_information.rb +189 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_payment_information_card.rb +196 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information.rb +1 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information_authorization_options.rb +74 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information_authorization_options_initiator.rb +1 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_recipient_information.rb +39 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information.rb +1 -0
- data/lib/cybersource_rest_client/utilities/capture_context/capture_context_parsing_utility.rb +113 -0
- data/lib/cybersource_rest_client/utilities/capture_context/public_key_fetcher.rb +131 -0
- data/lib/cybersource_rest_client.rb +80 -62
- metadata +85 -64
- data/lib/cybersource_rest_client/models/rbsv1plans_client_reference_information.rb +0 -239
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_client_reference_information.rb +0 -256
|
@@ -72,7 +72,11 @@ module CyberSource
|
|
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateInvoiceRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
73
73
|
inbound_mle_status = "false"
|
|
74
74
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_invoice","create_invoice_with_http_info"])
|
|
75
|
-
|
|
75
|
+
begin
|
|
76
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
77
|
+
rescue
|
|
78
|
+
raise
|
|
79
|
+
end
|
|
76
80
|
end
|
|
77
81
|
auth_names = []
|
|
78
82
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -158,7 +162,11 @@ module CyberSource
|
|
|
158
162
|
end
|
|
159
163
|
inbound_mle_status = "false"
|
|
160
164
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_all_invoices","get_all_invoices_with_http_info"])
|
|
161
|
-
|
|
165
|
+
begin
|
|
166
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
167
|
+
rescue
|
|
168
|
+
raise
|
|
169
|
+
end
|
|
162
170
|
end
|
|
163
171
|
auth_names = []
|
|
164
172
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
@@ -233,7 +241,11 @@ module CyberSource
|
|
|
233
241
|
end
|
|
234
242
|
inbound_mle_status = "false"
|
|
235
243
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_invoice","get_invoice_with_http_info"])
|
|
236
|
-
|
|
244
|
+
begin
|
|
245
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
246
|
+
rescue
|
|
247
|
+
raise
|
|
248
|
+
end
|
|
237
249
|
end
|
|
238
250
|
auth_names = []
|
|
239
251
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
@@ -308,7 +320,11 @@ module CyberSource
|
|
|
308
320
|
end
|
|
309
321
|
inbound_mle_status = "false"
|
|
310
322
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["perform_cancel_action","perform_cancel_action_with_http_info"])
|
|
311
|
-
|
|
323
|
+
begin
|
|
324
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
325
|
+
rescue
|
|
326
|
+
raise
|
|
327
|
+
end
|
|
312
328
|
end
|
|
313
329
|
auth_names = []
|
|
314
330
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -383,7 +399,11 @@ module CyberSource
|
|
|
383
399
|
end
|
|
384
400
|
inbound_mle_status = "false"
|
|
385
401
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["perform_publish_action","perform_publish_action_with_http_info"])
|
|
386
|
-
|
|
402
|
+
begin
|
|
403
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
404
|
+
rescue
|
|
405
|
+
raise
|
|
406
|
+
end
|
|
387
407
|
end
|
|
388
408
|
auth_names = []
|
|
389
409
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -458,7 +478,11 @@ module CyberSource
|
|
|
458
478
|
end
|
|
459
479
|
inbound_mle_status = "false"
|
|
460
480
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["perform_send_action","perform_send_action_with_http_info"])
|
|
461
|
-
|
|
481
|
+
begin
|
|
482
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
483
|
+
rescue
|
|
484
|
+
raise
|
|
485
|
+
end
|
|
462
486
|
end
|
|
463
487
|
auth_names = []
|
|
464
488
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -537,7 +561,11 @@ module CyberSource
|
|
|
537
561
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateInvoiceRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
538
562
|
inbound_mle_status = "false"
|
|
539
563
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["update_invoice","update_invoice_with_http_info"])
|
|
540
|
-
|
|
564
|
+
begin
|
|
565
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
566
|
+
rescue
|
|
567
|
+
raise
|
|
568
|
+
end
|
|
541
569
|
end
|
|
542
570
|
auth_names = []
|
|
543
571
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
@@ -74,7 +74,11 @@ module CyberSource
|
|
|
74
74
|
end
|
|
75
75
|
inbound_mle_status = "false"
|
|
76
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
|
+
begin
|
|
78
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
79
|
+
rescue
|
|
80
|
+
raise
|
|
81
|
+
end
|
|
78
82
|
end
|
|
79
83
|
auth_names = []
|
|
80
84
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
@@ -148,7 +152,11 @@ module CyberSource
|
|
|
148
152
|
end
|
|
149
153
|
inbound_mle_status = "false"
|
|
150
154
|
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
|
-
|
|
155
|
+
begin
|
|
156
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
157
|
+
rescue
|
|
158
|
+
raise
|
|
159
|
+
end
|
|
152
160
|
end
|
|
153
161
|
auth_names = []
|
|
154
162
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
@@ -175,7 +183,7 @@ module CyberSource
|
|
|
175
183
|
# @param [Hash] opts the optional parameters
|
|
176
184
|
# @option opts [String] :product_id The Product Identifier.
|
|
177
185
|
# @option opts [String] :event_type The Event Type.
|
|
178
|
-
# @return [Array<
|
|
186
|
+
# @return [Array<InlineResponse2006>]
|
|
179
187
|
#
|
|
180
188
|
def get_webhook_subscriptions_by_org(organization_id, opts = {})
|
|
181
189
|
data, status_code, headers = get_webhook_subscriptions_by_org_with_http_info(organization_id, opts)
|
|
@@ -188,7 +196,7 @@ module CyberSource
|
|
|
188
196
|
# @param [Hash] opts the optional parameters
|
|
189
197
|
# @option opts [String] :product_id The Product Identifier.
|
|
190
198
|
# @option opts [String] :event_type The Event Type.
|
|
191
|
-
# @return [Array<(Array<
|
|
199
|
+
# @return [Array<(Array<InlineResponse2006>, Fixnum, Hash)>] Array<InlineResponse2006> data, response status code and response headers
|
|
192
200
|
def get_webhook_subscriptions_by_org_with_http_info(organization_id, opts = {})
|
|
193
201
|
|
|
194
202
|
if @api_client.config.debugging
|
|
@@ -230,7 +238,11 @@ module CyberSource
|
|
|
230
238
|
end
|
|
231
239
|
inbound_mle_status = "false"
|
|
232
240
|
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
|
-
|
|
241
|
+
begin
|
|
242
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
243
|
+
rescue
|
|
244
|
+
raise
|
|
245
|
+
end
|
|
234
246
|
end
|
|
235
247
|
auth_names = []
|
|
236
248
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
@@ -239,7 +251,7 @@ module CyberSource
|
|
|
239
251
|
:form_params => form_params,
|
|
240
252
|
:body => post_body,
|
|
241
253
|
:auth_names => auth_names,
|
|
242
|
-
:return_type => 'Array<
|
|
254
|
+
:return_type => 'Array<InlineResponse2006>')
|
|
243
255
|
if @api_client.config.debugging
|
|
244
256
|
begin
|
|
245
257
|
raise
|
|
@@ -305,7 +317,11 @@ module CyberSource
|
|
|
305
317
|
end
|
|
306
318
|
inbound_mle_status = "false"
|
|
307
319
|
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
|
-
|
|
320
|
+
begin
|
|
321
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
322
|
+
rescue
|
|
323
|
+
raise
|
|
324
|
+
end
|
|
309
325
|
end
|
|
310
326
|
auth_names = []
|
|
311
327
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -331,7 +347,7 @@ module CyberSource
|
|
|
331
347
|
# @param webhook_id The Webhook Identifier.
|
|
332
348
|
# @param [Hash] opts the optional parameters
|
|
333
349
|
# @option opts [UpdateWebhook] :update_webhook The webhook payload or changes to apply.
|
|
334
|
-
# @return [
|
|
350
|
+
# @return [InlineResponse2007]
|
|
335
351
|
#
|
|
336
352
|
def notification_subscriptions_v2_webhooks_webhook_id_patch(webhook_id, opts = {})
|
|
337
353
|
data, status_code, headers = notification_subscriptions_v2_webhooks_webhook_id_patch_with_http_info(webhook_id, opts)
|
|
@@ -343,7 +359,7 @@ module CyberSource
|
|
|
343
359
|
# @param webhook_id The Webhook Identifier.
|
|
344
360
|
# @param [Hash] opts the optional parameters
|
|
345
361
|
# @option opts [UpdateWebhook] :update_webhook The webhook payload or changes to apply.
|
|
346
|
-
# @return [Array<(
|
|
362
|
+
# @return [Array<(InlineResponse2007, Fixnum, Hash)>] InlineResponse2007 data, response status code and response headers
|
|
347
363
|
def notification_subscriptions_v2_webhooks_webhook_id_patch_with_http_info(webhook_id, opts = {})
|
|
348
364
|
|
|
349
365
|
if @api_client.config.debugging
|
|
@@ -380,7 +396,11 @@ module CyberSource
|
|
|
380
396
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateWebhook', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
381
397
|
inbound_mle_status = "false"
|
|
382
398
|
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
|
-
|
|
399
|
+
begin
|
|
400
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
401
|
+
rescue
|
|
402
|
+
raise
|
|
403
|
+
end
|
|
384
404
|
end
|
|
385
405
|
auth_names = []
|
|
386
406
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
@@ -389,7 +409,7 @@ module CyberSource
|
|
|
389
409
|
:form_params => form_params,
|
|
390
410
|
:body => post_body,
|
|
391
411
|
:auth_names => auth_names,
|
|
392
|
-
:return_type => '
|
|
412
|
+
:return_type => 'InlineResponse2007')
|
|
393
413
|
if @api_client.config.debugging
|
|
394
414
|
begin
|
|
395
415
|
raise
|
|
@@ -455,7 +475,11 @@ module CyberSource
|
|
|
455
475
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateStatus', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
456
476
|
inbound_mle_status = "false"
|
|
457
477
|
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"])
|
|
458
|
-
|
|
478
|
+
begin
|
|
479
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
480
|
+
rescue
|
|
481
|
+
raise
|
|
482
|
+
end
|
|
459
483
|
end
|
|
460
484
|
auth_names = []
|
|
461
485
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
@@ -552,7 +576,11 @@ module CyberSource
|
|
|
552
576
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'SaveAsymEgressKey', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
553
577
|
inbound_mle_status = "false"
|
|
554
578
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["save_asym_egress_key","save_asym_egress_key_with_http_info"])
|
|
555
|
-
|
|
579
|
+
begin
|
|
580
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
581
|
+
rescue
|
|
582
|
+
raise
|
|
583
|
+
end
|
|
556
584
|
end
|
|
557
585
|
auth_names = []
|
|
558
586
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -24,7 +24,7 @@ module CyberSource
|
|
|
24
24
|
#
|
|
25
25
|
# @param registration_id Identifies the boarding registration to be updated
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
-
# @return [
|
|
27
|
+
# @return [InlineResponse2004]
|
|
28
28
|
#
|
|
29
29
|
def get_registration(registration_id, opts = {})
|
|
30
30
|
data, status_code, headers = get_registration_with_http_info(registration_id, opts)
|
|
@@ -35,7 +35,7 @@ module CyberSource
|
|
|
35
35
|
# This end point will get all information of a boarding registration
|
|
36
36
|
# @param registration_id Identifies the boarding registration to be updated
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
|
-
# @return [Array<(
|
|
38
|
+
# @return [Array<(InlineResponse2004, Fixnum, Hash)>] InlineResponse2004 data, response status code and response headers
|
|
39
39
|
def get_registration_with_http_info(registration_id, opts = {})
|
|
40
40
|
|
|
41
41
|
if @api_client.config.debugging
|
|
@@ -74,7 +74,11 @@ module CyberSource
|
|
|
74
74
|
end
|
|
75
75
|
inbound_mle_status = "false"
|
|
76
76
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_registration","get_registration_with_http_info"])
|
|
77
|
-
|
|
77
|
+
begin
|
|
78
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
79
|
+
rescue
|
|
80
|
+
raise
|
|
81
|
+
end
|
|
78
82
|
end
|
|
79
83
|
auth_names = []
|
|
80
84
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
@@ -83,7 +87,7 @@ module CyberSource
|
|
|
83
87
|
:form_params => form_params,
|
|
84
88
|
:body => post_body,
|
|
85
89
|
:auth_names => auth_names,
|
|
86
|
-
:return_type => '
|
|
90
|
+
:return_type => 'InlineResponse2004')
|
|
87
91
|
if @api_client.config.debugging
|
|
88
92
|
begin
|
|
89
93
|
raise
|
|
@@ -150,7 +154,11 @@ module CyberSource
|
|
|
150
154
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostRegistrationBody', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
151
155
|
inbound_mle_status = "false"
|
|
152
156
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["post_registration","post_registration_with_http_info"])
|
|
153
|
-
|
|
157
|
+
begin
|
|
158
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
159
|
+
rescue
|
|
160
|
+
raise
|
|
161
|
+
end
|
|
154
162
|
end
|
|
155
163
|
auth_names = []
|
|
156
164
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -24,7 +24,7 @@ module CyberSource
|
|
|
24
24
|
# @param reference_type The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation
|
|
25
25
|
# @param merchant_defined_field_definition_request
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
-
# @return [Array<
|
|
27
|
+
# @return [Array<InlineResponse2003>]
|
|
28
28
|
#
|
|
29
29
|
def create_merchant_defined_field_definition(reference_type, merchant_defined_field_definition_request, opts = {})
|
|
30
30
|
data, status_code, headers = create_merchant_defined_field_definition_with_http_info(reference_type, merchant_defined_field_definition_request, opts)
|
|
@@ -35,7 +35,7 @@ module CyberSource
|
|
|
35
35
|
# @param reference_type The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation
|
|
36
36
|
# @param merchant_defined_field_definition_request
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
|
-
# @return [Array<(Array<
|
|
38
|
+
# @return [Array<(Array<InlineResponse2003>, Fixnum, Hash)>] Array<InlineResponse2003> data, response status code and response headers
|
|
39
39
|
def create_merchant_defined_field_definition_with_http_info(reference_type, merchant_defined_field_definition_request, opts = {})
|
|
40
40
|
|
|
41
41
|
if @api_client.config.debugging
|
|
@@ -80,7 +80,11 @@ module CyberSource
|
|
|
80
80
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'MerchantDefinedFieldDefinitionRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
81
81
|
inbound_mle_status = "false"
|
|
82
82
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_merchant_defined_field_definition","create_merchant_defined_field_definition_with_http_info"])
|
|
83
|
-
|
|
83
|
+
begin
|
|
84
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
85
|
+
rescue
|
|
86
|
+
raise
|
|
87
|
+
end
|
|
84
88
|
end
|
|
85
89
|
auth_names = []
|
|
86
90
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -89,7 +93,7 @@ module CyberSource
|
|
|
89
93
|
:form_params => form_params,
|
|
90
94
|
:body => post_body,
|
|
91
95
|
:auth_names => auth_names,
|
|
92
|
-
:return_type => 'Array<
|
|
96
|
+
:return_type => 'Array<InlineResponse2003>')
|
|
93
97
|
if @api_client.config.debugging
|
|
94
98
|
begin
|
|
95
99
|
raise
|
|
@@ -163,7 +167,11 @@ module CyberSource
|
|
|
163
167
|
end
|
|
164
168
|
inbound_mle_status = "false"
|
|
165
169
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["delete_merchant_defined_fields_definitions","delete_merchant_defined_fields_definitions_with_http_info"])
|
|
166
|
-
|
|
170
|
+
begin
|
|
171
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
172
|
+
rescue
|
|
173
|
+
raise
|
|
174
|
+
end
|
|
167
175
|
end
|
|
168
176
|
auth_names = []
|
|
169
177
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
@@ -186,7 +194,7 @@ module CyberSource
|
|
|
186
194
|
#
|
|
187
195
|
# @param reference_type The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation
|
|
188
196
|
# @param [Hash] opts the optional parameters
|
|
189
|
-
# @return [Array<
|
|
197
|
+
# @return [Array<InlineResponse2003>]
|
|
190
198
|
#
|
|
191
199
|
def get_merchant_defined_fields_definitions(reference_type, opts = {})
|
|
192
200
|
data, status_code, headers = get_merchant_defined_fields_definitions_with_http_info(reference_type, opts)
|
|
@@ -196,7 +204,7 @@ module CyberSource
|
|
|
196
204
|
# Get all merchant defined fields for a given reference type
|
|
197
205
|
# @param reference_type The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation
|
|
198
206
|
# @param [Hash] opts the optional parameters
|
|
199
|
-
# @return [Array<(Array<
|
|
207
|
+
# @return [Array<(Array<InlineResponse2003>, Fixnum, Hash)>] Array<InlineResponse2003> data, response status code and response headers
|
|
200
208
|
def get_merchant_defined_fields_definitions_with_http_info(reference_type, opts = {})
|
|
201
209
|
|
|
202
210
|
if @api_client.config.debugging
|
|
@@ -239,7 +247,11 @@ module CyberSource
|
|
|
239
247
|
end
|
|
240
248
|
inbound_mle_status = "false"
|
|
241
249
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_merchant_defined_fields_definitions","get_merchant_defined_fields_definitions_with_http_info"])
|
|
242
|
-
|
|
250
|
+
begin
|
|
251
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
252
|
+
rescue
|
|
253
|
+
raise
|
|
254
|
+
end
|
|
243
255
|
end
|
|
244
256
|
auth_names = []
|
|
245
257
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
@@ -248,7 +260,7 @@ module CyberSource
|
|
|
248
260
|
:form_params => form_params,
|
|
249
261
|
:body => post_body,
|
|
250
262
|
:auth_names => auth_names,
|
|
251
|
-
:return_type => 'Array<
|
|
263
|
+
:return_type => 'Array<InlineResponse2003>')
|
|
252
264
|
if @api_client.config.debugging
|
|
253
265
|
begin
|
|
254
266
|
raise
|
|
@@ -265,7 +277,7 @@ module CyberSource
|
|
|
265
277
|
# @param id
|
|
266
278
|
# @param merchant_defined_field_core
|
|
267
279
|
# @param [Hash] opts the optional parameters
|
|
268
|
-
# @return [Array<
|
|
280
|
+
# @return [Array<InlineResponse2003>]
|
|
269
281
|
#
|
|
270
282
|
def put_merchant_defined_fields_definitions(reference_type, id, merchant_defined_field_core, opts = {})
|
|
271
283
|
data, status_code, headers = put_merchant_defined_fields_definitions_with_http_info(reference_type, id, merchant_defined_field_core, opts)
|
|
@@ -277,7 +289,7 @@ module CyberSource
|
|
|
277
289
|
# @param id
|
|
278
290
|
# @param merchant_defined_field_core
|
|
279
291
|
# @param [Hash] opts the optional parameters
|
|
280
|
-
# @return [Array<(Array<
|
|
292
|
+
# @return [Array<(Array<InlineResponse2003>, Fixnum, Hash)>] Array<InlineResponse2003> data, response status code and response headers
|
|
281
293
|
def put_merchant_defined_fields_definitions_with_http_info(reference_type, id, merchant_defined_field_core, opts = {})
|
|
282
294
|
|
|
283
295
|
if @api_client.config.debugging
|
|
@@ -326,7 +338,11 @@ module CyberSource
|
|
|
326
338
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'MerchantDefinedFieldCore', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
327
339
|
inbound_mle_status = "false"
|
|
328
340
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["put_merchant_defined_fields_definitions","put_merchant_defined_fields_definitions_with_http_info"])
|
|
329
|
-
|
|
341
|
+
begin
|
|
342
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
343
|
+
rescue
|
|
344
|
+
raise
|
|
345
|
+
end
|
|
330
346
|
end
|
|
331
347
|
auth_names = []
|
|
332
348
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
@@ -335,7 +351,7 @@ module CyberSource
|
|
|
335
351
|
:form_params => form_params,
|
|
336
352
|
:body => post_body,
|
|
337
353
|
:auth_names => auth_names,
|
|
338
|
-
:return_type => 'Array<
|
|
354
|
+
:return_type => 'Array<InlineResponse2003>')
|
|
339
355
|
if @api_client.config.debugging
|
|
340
356
|
begin
|
|
341
357
|
raise
|
|
@@ -72,7 +72,11 @@ module CyberSource
|
|
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'GenerateCaptureContextRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
73
73
|
inbound_mle_status = "false"
|
|
74
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
|
+
begin
|
|
76
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
77
|
+
rescue
|
|
78
|
+
raise
|
|
79
|
+
end
|
|
76
80
|
end
|
|
77
81
|
auth_names = []
|
|
78
82
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -92,7 +92,11 @@ module CyberSource
|
|
|
92
92
|
end
|
|
93
93
|
inbound_mle_status = "false"
|
|
94
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
|
+
begin
|
|
96
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
97
|
+
rescue
|
|
98
|
+
raise
|
|
99
|
+
end
|
|
96
100
|
end
|
|
97
101
|
auth_names = []
|
|
98
102
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
@@ -82,7 +82,11 @@ module CyberSource
|
|
|
82
82
|
end
|
|
83
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
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
87
|
+
rescue
|
|
88
|
+
raise
|
|
89
|
+
end
|
|
86
90
|
end
|
|
87
91
|
auth_names = []
|
|
88
92
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
@@ -107,7 +107,11 @@ module CyberSource
|
|
|
107
107
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'OfferRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
108
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
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
112
|
+
rescue
|
|
113
|
+
raise
|
|
114
|
+
end
|
|
111
115
|
end
|
|
112
116
|
auth_names = []
|
|
113
117
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -137,7 +141,7 @@ module CyberSource
|
|
|
137
141
|
# @param v_c_organization_id
|
|
138
142
|
# @param id Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id
|
|
139
143
|
# @param [Hash] opts the optional parameters
|
|
140
|
-
# @return [
|
|
144
|
+
# @return [InlineResponse20015]
|
|
141
145
|
#
|
|
142
146
|
def get_offer(content_type, x_requestid, v_c_merchant_id, v_c_correlation_id, v_c_organization_id, id, opts = {})
|
|
143
147
|
data, status_code, headers = get_offer_with_http_info(content_type, x_requestid, v_c_merchant_id, v_c_correlation_id, v_c_organization_id, id, opts)
|
|
@@ -153,7 +157,7 @@ module CyberSource
|
|
|
153
157
|
# @param v_c_organization_id
|
|
154
158
|
# @param id Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id
|
|
155
159
|
# @param [Hash] opts the optional parameters
|
|
156
|
-
# @return [Array<(
|
|
160
|
+
# @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
|
|
157
161
|
def get_offer_with_http_info(content_type, x_requestid, v_c_merchant_id, v_c_correlation_id, v_c_organization_id, id, opts = {})
|
|
158
162
|
|
|
159
163
|
if @api_client.config.debugging
|
|
@@ -217,7 +221,11 @@ module CyberSource
|
|
|
217
221
|
end
|
|
218
222
|
inbound_mle_status = "false"
|
|
219
223
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_offer","get_offer_with_http_info"])
|
|
220
|
-
|
|
224
|
+
begin
|
|
225
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
226
|
+
rescue
|
|
227
|
+
raise
|
|
228
|
+
end
|
|
221
229
|
end
|
|
222
230
|
auth_names = []
|
|
223
231
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
@@ -226,7 +234,7 @@ module CyberSource
|
|
|
226
234
|
:form_params => form_params,
|
|
227
235
|
:body => post_body,
|
|
228
236
|
:auth_names => auth_names,
|
|
229
|
-
:return_type => '
|
|
237
|
+
:return_type => 'InlineResponse20015')
|
|
230
238
|
if @api_client.config.debugging
|
|
231
239
|
begin
|
|
232
240
|
raise
|
|
@@ -72,7 +72,11 @@ module CyberSource
|
|
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateOrderRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
73
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
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
77
|
+
rescue
|
|
78
|
+
raise
|
|
79
|
+
end
|
|
76
80
|
end
|
|
77
81
|
auth_names = []
|
|
78
82
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -151,7 +155,11 @@ module CyberSource
|
|
|
151
155
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateOrderRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
152
156
|
inbound_mle_status = "false"
|
|
153
157
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["update_order","update_order_with_http_info"])
|
|
154
|
-
|
|
158
|
+
begin
|
|
159
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
160
|
+
rescue
|
|
161
|
+
raise
|
|
162
|
+
end
|
|
155
163
|
end
|
|
156
164
|
auth_names = []
|
|
157
165
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
@@ -72,7 +72,11 @@ module CyberSource
|
|
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CheckPayerAuthEnrollmentRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
73
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
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
77
|
+
rescue
|
|
78
|
+
raise
|
|
79
|
+
end
|
|
76
80
|
end
|
|
77
81
|
auth_names = []
|
|
78
82
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -145,7 +149,11 @@ module CyberSource
|
|
|
145
149
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PayerAuthSetupRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
146
150
|
inbound_mle_status = "optional"
|
|
147
151
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["payer_auth_setup","payer_auth_setup_with_http_info"])
|
|
148
|
-
|
|
152
|
+
begin
|
|
153
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
154
|
+
rescue
|
|
155
|
+
raise
|
|
156
|
+
end
|
|
149
157
|
end
|
|
150
158
|
auth_names = []
|
|
151
159
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -218,7 +226,11 @@ module CyberSource
|
|
|
218
226
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'ValidateRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
219
227
|
inbound_mle_status = "optional"
|
|
220
228
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["validate_authentication_results","validate_authentication_results_with_http_info"])
|
|
221
|
-
|
|
229
|
+
begin
|
|
230
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
231
|
+
rescue
|
|
232
|
+
raise
|
|
233
|
+
end
|
|
222
234
|
end
|
|
223
235
|
auth_names = []
|
|
224
236
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -98,7 +98,11 @@ module CyberSource
|
|
|
98
98
|
end
|
|
99
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
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
103
|
+
rescue
|
|
104
|
+
raise
|
|
105
|
+
end
|
|
102
106
|
end
|
|
103
107
|
auth_names = []
|
|
104
108
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
@@ -77,7 +77,11 @@ module CyberSource
|
|
|
77
77
|
end
|
|
78
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
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
82
|
+
rescue
|
|
83
|
+
raise
|
|
84
|
+
end
|
|
81
85
|
end
|
|
82
86
|
auth_names = []
|
|
83
87
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
@@ -157,7 +161,11 @@ module CyberSource
|
|
|
157
161
|
end
|
|
158
162
|
inbound_mle_status = "false"
|
|
159
163
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_payment_instrument","get_payment_instrument_with_http_info"])
|
|
160
|
-
|
|
164
|
+
begin
|
|
165
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
166
|
+
rescue
|
|
167
|
+
raise
|
|
168
|
+
end
|
|
161
169
|
end
|
|
162
170
|
auth_names = []
|
|
163
171
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
@@ -243,9 +251,13 @@ module CyberSource
|
|
|
243
251
|
post_body = @api_client.object_to_http_body(patch_payment_instrument_request)
|
|
244
252
|
sdk_tracker = SdkTracker.new
|
|
245
253
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PatchPaymentInstrumentRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
246
|
-
inbound_mle_status = "
|
|
254
|
+
inbound_mle_status = "optional"
|
|
247
255
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["patch_payment_instrument","patch_payment_instrument_with_http_info"])
|
|
248
|
-
|
|
256
|
+
begin
|
|
257
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
258
|
+
rescue
|
|
259
|
+
raise
|
|
260
|
+
end
|
|
249
261
|
end
|
|
250
262
|
auth_names = []
|
|
251
263
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
@@ -322,9 +334,13 @@ module CyberSource
|
|
|
322
334
|
post_body = @api_client.object_to_http_body(post_payment_instrument_request)
|
|
323
335
|
sdk_tracker = SdkTracker.new
|
|
324
336
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostPaymentInstrumentRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
325
|
-
inbound_mle_status = "
|
|
337
|
+
inbound_mle_status = "optional"
|
|
326
338
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["post_payment_instrument","post_payment_instrument_with_http_info"])
|
|
327
|
-
|
|
339
|
+
begin
|
|
340
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
341
|
+
rescue
|
|
342
|
+
raise
|
|
343
|
+
end
|
|
328
344
|
end
|
|
329
345
|
auth_names = []
|
|
330
346
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|