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
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cybersource_rest_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.77
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CyberSource
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -305,6 +305,8 @@ files:
|
|
305
305
|
- lib/AuthenticationSDK/logging/log_factory.rb
|
306
306
|
- lib/AuthenticationSDK/logging/sensitive_logging.rb
|
307
307
|
- lib/AuthenticationSDK/util/Cache.rb
|
308
|
+
- lib/AuthenticationSDK/util/CacheValue.rb
|
309
|
+
- lib/AuthenticationSDK/util/CertificateUtility.rb
|
308
310
|
- lib/AuthenticationSDK/util/Constants.rb
|
309
311
|
- lib/AuthenticationSDK/util/ExceptionHandler.rb
|
310
312
|
- lib/AuthenticationSDK/util/JWEUtility.rb
|
@@ -378,6 +380,7 @@ files:
|
|
378
380
|
- lib/cybersource_rest_client/api_client.rb
|
379
381
|
- lib/cybersource_rest_client/api_error.rb
|
380
382
|
- lib/cybersource_rest_client/configuration.rb
|
383
|
+
- lib/cybersource_rest_client/ethon_extensions.rb
|
381
384
|
- lib/cybersource_rest_client/models/access_token_response.rb
|
382
385
|
- lib/cybersource_rest_client/models/accountupdaterv1batches_included.rb
|
383
386
|
- lib/cybersource_rest_client/models/accountupdaterv1batches_included_tokens.rb
|
@@ -549,10 +552,14 @@ files:
|
|
549
552
|
- lib/cybersource_rest_client/models/inline_response_200.rb
|
550
553
|
- lib/cybersource_rest_client/models/inline_response_200_1.rb
|
551
554
|
- lib/cybersource_rest_client/models/inline_response_200_10.rb
|
552
|
-
- lib/cybersource_rest_client/models/
|
553
|
-
- lib/cybersource_rest_client/models/
|
554
|
-
- lib/cybersource_rest_client/models/
|
555
|
-
- lib/cybersource_rest_client/models/
|
555
|
+
- lib/cybersource_rest_client/models/inline_response_200_10__links.rb
|
556
|
+
- lib/cybersource_rest_client/models/inline_response_200_10__links_report.rb
|
557
|
+
- lib/cybersource_rest_client/models/inline_response_200_10_billing.rb
|
558
|
+
- lib/cybersource_rest_client/models/inline_response_200_11.rb
|
559
|
+
- lib/cybersource_rest_client/models/inline_response_200_11_records.rb
|
560
|
+
- lib/cybersource_rest_client/models/inline_response_200_11_response_record.rb
|
561
|
+
- lib/cybersource_rest_client/models/inline_response_200_11_response_record_additional_updates.rb
|
562
|
+
- lib/cybersource_rest_client/models/inline_response_200_11_source_record.rb
|
556
563
|
- lib/cybersource_rest_client/models/inline_response_200_1__embedded.rb
|
557
564
|
- lib/cybersource_rest_client/models/inline_response_200_1__embedded_capture.rb
|
558
565
|
- lib/cybersource_rest_client/models/inline_response_200_1__embedded_capture__links.rb
|
@@ -566,22 +573,19 @@ files:
|
|
566
573
|
- lib/cybersource_rest_client/models/inline_response_200_3.rb
|
567
574
|
- lib/cybersource_rest_client/models/inline_response_200_4.rb
|
568
575
|
- lib/cybersource_rest_client/models/inline_response_200_5.rb
|
569
|
-
- lib/cybersource_rest_client/models/inline_response_200_5_devices.rb
|
570
576
|
- lib/cybersource_rest_client/models/inline_response_200_6.rb
|
577
|
+
- lib/cybersource_rest_client/models/inline_response_200_6_devices.rb
|
571
578
|
- lib/cybersource_rest_client/models/inline_response_200_7.rb
|
572
|
-
- lib/cybersource_rest_client/models/inline_response_200_7_devices.rb
|
573
|
-
- lib/cybersource_rest_client/models/inline_response_200_7_payment_processor_to_terminal_map.rb
|
574
579
|
- lib/cybersource_rest_client/models/inline_response_200_8.rb
|
575
|
-
- lib/cybersource_rest_client/models/
|
576
|
-
- lib/cybersource_rest_client/models/
|
577
|
-
- lib/cybersource_rest_client/models/inline_response_200_8__embedded__links_reports.rb
|
578
|
-
- lib/cybersource_rest_client/models/inline_response_200_8__embedded_batches.rb
|
579
|
-
- lib/cybersource_rest_client/models/inline_response_200_8__embedded_totals.rb
|
580
|
-
- lib/cybersource_rest_client/models/inline_response_200_8__links.rb
|
580
|
+
- lib/cybersource_rest_client/models/inline_response_200_8_devices.rb
|
581
|
+
- lib/cybersource_rest_client/models/inline_response_200_8_payment_processor_to_terminal_map.rb
|
581
582
|
- lib/cybersource_rest_client/models/inline_response_200_9.rb
|
583
|
+
- lib/cybersource_rest_client/models/inline_response_200_9__embedded.rb
|
584
|
+
- lib/cybersource_rest_client/models/inline_response_200_9__embedded__links.rb
|
585
|
+
- lib/cybersource_rest_client/models/inline_response_200_9__embedded__links_reports.rb
|
586
|
+
- lib/cybersource_rest_client/models/inline_response_200_9__embedded_batches.rb
|
587
|
+
- lib/cybersource_rest_client/models/inline_response_200_9__embedded_totals.rb
|
582
588
|
- lib/cybersource_rest_client/models/inline_response_200_9__links.rb
|
583
|
-
- lib/cybersource_rest_client/models/inline_response_200_9__links_report.rb
|
584
|
-
- lib/cybersource_rest_client/models/inline_response_200_9_billing.rb
|
585
589
|
- lib/cybersource_rest_client/models/inline_response_200_content.rb
|
586
590
|
- lib/cybersource_rest_client/models/inline_response_201.rb
|
587
591
|
- lib/cybersource_rest_client/models/inline_response_201_1.rb
|
@@ -696,9 +700,11 @@ files:
|
|
696
700
|
- lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_transaction_details.rb
|
697
701
|
- lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb
|
698
702
|
- lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information.rb
|
703
|
+
- lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information_custom_labels.rb
|
699
704
|
- lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information.rb
|
700
705
|
- lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information_amount_details.rb
|
701
706
|
- lib/cybersource_rest_client/models/invoicing_v2_invoices_post202_response.rb
|
707
|
+
- lib/cybersource_rest_client/models/invoicing_v2_invoices_publish200_response.rb
|
702
708
|
- lib/cybersource_rest_client/models/invoicing_v2_invoices_put200_response.rb
|
703
709
|
- lib/cybersource_rest_client/models/invoicing_v2_invoices_send200_response.rb
|
704
710
|
- lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb
|
@@ -741,10 +747,8 @@ files:
|
|
741
747
|
- lib/cybersource_rest_client/models/notificationsubscriptionsv2webhooks_products_1.rb
|
742
748
|
- lib/cybersource_rest_client/models/notificationsubscriptionsv2webhooks_retry_policy.rb
|
743
749
|
- lib/cybersource_rest_client/models/notificationsubscriptionsv2webhooks_security_policy.rb
|
744
|
-
- lib/cybersource_rest_client/models/notificationsubscriptionsv2webhooks_security_policy_1.rb
|
745
|
-
- lib/cybersource_rest_client/models/notificationsubscriptionsv2webhooks_security_policy_1_config.rb
|
746
|
-
- lib/cybersource_rest_client/models/notificationsubscriptionsv2webhooks_security_policy_1_config_additional_config.rb
|
747
750
|
- lib/cybersource_rest_client/models/notificationsubscriptionsv2webhooks_security_policy_config.rb
|
751
|
+
- lib/cybersource_rest_client/models/notificationsubscriptionsv2webhooks_security_policy_config_additional_config.rb
|
748
752
|
- lib/cybersource_rest_client/models/oct_create_payment_request.rb
|
749
753
|
- lib/cybersource_rest_client/models/order_payment_request.rb
|
750
754
|
- lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb
|
@@ -1715,6 +1719,7 @@ files:
|
|
1715
1719
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response__links.rb
|
1716
1720
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information.rb
|
1717
1721
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information_applications.rb
|
1722
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_bank_account_validation.rb
|
1718
1723
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb
|
1719
1724
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb
|
1720
1725
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information_partner.rb
|
data/lib/cybersource_rest_client/models/notificationsubscriptionsv2webhooks_security_policy_1.rb
DELETED
@@ -1,201 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#CyberSource Merged Spec
|
3
|
-
|
4
|
-
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
5
|
-
|
6
|
-
OpenAPI spec version: 0.0.1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.38
|
10
|
-
=end
|
11
|
-
|
12
|
-
require 'date'
|
13
|
-
|
14
|
-
module CyberSource
|
15
|
-
# The security option to authenticate with your API or client server.
|
16
|
-
class Notificationsubscriptionsv2webhooksSecurityPolicy1
|
17
|
-
# Security Policy of the client server. Possible values: - key - oAuth - oAuth_JWT
|
18
|
-
attr_accessor :security_type
|
19
|
-
|
20
|
-
attr_accessor :config
|
21
|
-
|
22
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
23
|
-
def self.attribute_map
|
24
|
-
{
|
25
|
-
:'security_type' => :'securityType',
|
26
|
-
:'config' => :'config'
|
27
|
-
}
|
28
|
-
end
|
29
|
-
|
30
|
-
# Attribute mapping from JSON key to ruby-style variable name.
|
31
|
-
def self.json_map
|
32
|
-
{
|
33
|
-
:'security_type' => :'security_type',
|
34
|
-
:'config' => :'config'
|
35
|
-
}
|
36
|
-
end
|
37
|
-
|
38
|
-
# Attribute type mapping.
|
39
|
-
def self.swagger_types
|
40
|
-
{
|
41
|
-
:'security_type' => :'String',
|
42
|
-
:'config' => :'Notificationsubscriptionsv2webhooksSecurityPolicy1Config'
|
43
|
-
}
|
44
|
-
end
|
45
|
-
|
46
|
-
# Initializes the object
|
47
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
48
|
-
def initialize(attributes = {})
|
49
|
-
return unless attributes.is_a?(Hash)
|
50
|
-
|
51
|
-
# convert string to symbol for hash key
|
52
|
-
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
53
|
-
|
54
|
-
if attributes.has_key?(:'securityType')
|
55
|
-
self.security_type = attributes[:'securityType']
|
56
|
-
end
|
57
|
-
|
58
|
-
if attributes.has_key?(:'config')
|
59
|
-
self.config = attributes[:'config']
|
60
|
-
end
|
61
|
-
end
|
62
|
-
|
63
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
64
|
-
# @return Array for valid properties with the reasons
|
65
|
-
def list_invalid_properties
|
66
|
-
invalid_properties = Array.new
|
67
|
-
invalid_properties
|
68
|
-
end
|
69
|
-
|
70
|
-
# Check to see if the all the properties in the model are valid
|
71
|
-
# @return true if the model is valid
|
72
|
-
def valid?
|
73
|
-
true
|
74
|
-
end
|
75
|
-
|
76
|
-
# Checks equality by comparing each attribute.
|
77
|
-
# @param [Object] Object to be compared
|
78
|
-
def ==(o)
|
79
|
-
return true if self.equal?(o)
|
80
|
-
self.class == o.class &&
|
81
|
-
security_type == o.security_type &&
|
82
|
-
config == o.config
|
83
|
-
end
|
84
|
-
|
85
|
-
# @see the `==` method
|
86
|
-
# @param [Object] Object to be compared
|
87
|
-
def eql?(o)
|
88
|
-
self == o
|
89
|
-
end
|
90
|
-
|
91
|
-
# Calculates hash code according to all attributes.
|
92
|
-
# @return [Fixnum] Hash code
|
93
|
-
def hash
|
94
|
-
[security_type, config].hash
|
95
|
-
end
|
96
|
-
|
97
|
-
# Builds the object from hash
|
98
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
99
|
-
# @return [Object] Returns the model itself
|
100
|
-
def build_from_hash(attributes)
|
101
|
-
return nil unless attributes.is_a?(Hash)
|
102
|
-
self.class.swagger_types.each_pair do |key, type|
|
103
|
-
if type =~ /\AArray<(.*)>/i
|
104
|
-
# check to ensure the input is an array given that the the attribute
|
105
|
-
# is documented as an array but the input is not
|
106
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
107
|
-
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
108
|
-
end
|
109
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
110
|
-
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
111
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
112
|
-
end
|
113
|
-
|
114
|
-
self
|
115
|
-
end
|
116
|
-
|
117
|
-
# Deserializes the data based on type
|
118
|
-
# @param string type Data type
|
119
|
-
# @param string value Value to be deserialized
|
120
|
-
# @return [Object] Deserialized data
|
121
|
-
def _deserialize(type, value)
|
122
|
-
case type.to_sym
|
123
|
-
when :DateTime
|
124
|
-
DateTime.parse(value)
|
125
|
-
when :Date
|
126
|
-
Date.parse(value)
|
127
|
-
when :String
|
128
|
-
value.to_s
|
129
|
-
when :Integer
|
130
|
-
value.to_i
|
131
|
-
when :Float
|
132
|
-
value.to_f
|
133
|
-
when :BOOLEAN
|
134
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
135
|
-
true
|
136
|
-
else
|
137
|
-
false
|
138
|
-
end
|
139
|
-
when :Object
|
140
|
-
# generic object (usually a Hash), return directly
|
141
|
-
value
|
142
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
143
|
-
inner_type = Regexp.last_match[:inner_type]
|
144
|
-
value.map { |v| _deserialize(inner_type, v) }
|
145
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
146
|
-
k_type = Regexp.last_match[:k_type]
|
147
|
-
v_type = Regexp.last_match[:v_type]
|
148
|
-
{}.tap do |hash|
|
149
|
-
value.each do |k, v|
|
150
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
151
|
-
end
|
152
|
-
end
|
153
|
-
else # model
|
154
|
-
temp_model = CyberSource.const_get(type).new
|
155
|
-
temp_model.build_from_hash(value)
|
156
|
-
end
|
157
|
-
end
|
158
|
-
|
159
|
-
# Returns the string representation of the object
|
160
|
-
# @return [String] String presentation of the object
|
161
|
-
def to_s
|
162
|
-
to_hash.to_s
|
163
|
-
end
|
164
|
-
|
165
|
-
# to_body is an alias to to_hash (backward compatibility)
|
166
|
-
# @return [Hash] Returns the object in the form of hash
|
167
|
-
def to_body
|
168
|
-
to_hash
|
169
|
-
end
|
170
|
-
|
171
|
-
# Returns the object in the form of hash
|
172
|
-
# @return [Hash] Returns the object in the form of hash
|
173
|
-
def to_hash
|
174
|
-
hash = {}
|
175
|
-
self.class.attribute_map.each_pair do |attr, param|
|
176
|
-
value = self.send(attr)
|
177
|
-
next if value.nil?
|
178
|
-
hash[param] = _to_hash(value)
|
179
|
-
end
|
180
|
-
hash
|
181
|
-
end
|
182
|
-
|
183
|
-
# Outputs non-array value in the form of hash
|
184
|
-
# For object, use to_hash. Otherwise, just return the value
|
185
|
-
# @param [Object] value Any valid value
|
186
|
-
# @return [Hash] Returns the value in the form of hash
|
187
|
-
def _to_hash(value)
|
188
|
-
if value.is_a?(Array)
|
189
|
-
value.compact.map { |v| _to_hash(v) }
|
190
|
-
elsif value.is_a?(Hash)
|
191
|
-
{}.tap do |hash|
|
192
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
193
|
-
end
|
194
|
-
elsif value.respond_to? :to_hash
|
195
|
-
value.to_hash
|
196
|
-
else
|
197
|
-
value
|
198
|
-
end
|
199
|
-
end
|
200
|
-
end
|
201
|
-
end
|