cybersource_rest_client 0.0.36 → 0.0.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/authentication/http/GetSignatureParameter.rb +13 -6
- data/lib/AuthenticationSDK/authentication/http/HttpSignatureHeader.rb +13 -5
- data/lib/AuthenticationSDK/authentication/jwt/JwtToken.rb +26 -11
- data/lib/AuthenticationSDK/authentication/oauth/OAuthToken.rb +11 -5
- data/lib/AuthenticationSDK/authentication/payloadDigest/digest.rb +2 -2
- data/lib/AuthenticationSDK/core/Authorization.rb +28 -20
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +72 -78
- data/lib/AuthenticationSDK/logging/log_configuration.rb +71 -0
- data/lib/AuthenticationSDK/logging/log_factory.rb +65 -0
- data/lib/AuthenticationSDK/logging/sensitive_logging.rb +101 -0
- data/lib/AuthenticationSDK/util/Cache.rb +1 -1
- data/lib/AuthenticationSDK/util/Constants.rb +25 -17
- data/lib/AuthenticationSDK/util/ExceptionHandler.rb +26 -0
- data/lib/AuthenticationSDK/util/PropertiesUtil.rb +2 -2
- data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +46 -46
- data/lib/cybersource_rest_client/api/capture_api.rb +16 -16
- data/lib/cybersource_rest_client/api/chargeback_details_api.rb +16 -16
- data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +16 -16
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +16 -16
- data/lib/cybersource_rest_client/api/credit_api.rb +16 -16
- data/lib/cybersource_rest_client/api/customer_api.rb +61 -61
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +76 -76
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +76 -76
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +46 -46
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +16 -16
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +16 -16
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +91 -91
- data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +16 -16
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +31 -31
- data/lib/cybersource_rest_client/api/invoices_api.rb +97 -97
- data/lib/cybersource_rest_client/api/key_generation_api.rb +16 -16
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +16 -16
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +16 -16
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +46 -46
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +16 -16
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +61 -61
- data/lib/cybersource_rest_client/api/payments_api.rb +33 -33
- data/lib/cybersource_rest_client/api/payouts_api.rb +16 -16
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +16 -16
- data/lib/cybersource_rest_client/api/refund_api.rb +31 -31
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +31 -31
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +16 -16
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +76 -76
- data/lib/cybersource_rest_client/api/reports_api.rb +46 -46
- data/lib/cybersource_rest_client/api/retrieval_details_api.rb +16 -16
- data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +16 -16
- data/lib/cybersource_rest_client/api/reversal_api.rb +31 -31
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +31 -31
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +31 -31
- data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +46 -46
- data/lib/cybersource_rest_client/api/taxes_api.rb +31 -31
- data/lib/cybersource_rest_client/api/tokenization_api.rb +16 -16
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +46 -46
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +16 -16
- data/lib/cybersource_rest_client/api/user_management_api.rb +16 -16
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +16 -16
- data/lib/cybersource_rest_client/api/verification_api.rb +31 -31
- data/lib/cybersource_rest_client/api/void_api.rb +76 -76
- data/lib/cybersource_rest_client/api_client.rb +7 -8
- data/lib/cybersource_rest_client/models/create_adhoc_report_request.rb +2 -5
- data/lib/cybersource_rest_client/models/create_payment_request.rb +19 -1
- data/lib/cybersource_rest_client/models/create_search_request.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +20 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +10 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_buyer_information.rb +243 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +10 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_issuer_information.rb +206 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication.rb +183 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +52 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +17 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +33 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +15 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +17 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +17 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +17 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +24 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_invoice_details.rb +191 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +65 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +17 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +33 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +13 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +14 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_e_wallet.rb +190 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +191 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +17 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +14 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb +215 -0
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +36 -4
- data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +17 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +17 -1
- data/lib/cybersource_rest_client/models/reportingv3reports_report_filters.rb +218 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +17 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +17 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +17 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +10 -11
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +10 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information_partner.rb +190 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_installment_information.rb +14 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +13 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information.rb +32 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +206 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_instrument_identifier.rb +190 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +36 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_token_information.rb +210 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +13 -4
- data/lib/cybersource_rest_client/utilities/flex/token_verification.rb +4 -4
- data/lib/cybersource_rest_client.rb +17 -3
- metadata +18 -4
- data/lib/AuthenticationSDK/core/Logger.rb +0 -26
- data/lib/AuthenticationSDK/util/ApiException.rb +0 -19
@@ -15,9 +15,11 @@ require 'AuthenticationSDK/util/Utility.rb'
|
|
15
15
|
require 'AuthenticationSDK/util/PropertiesUtil.rb'
|
16
16
|
require 'AuthenticationSDK/util/Constants.rb'
|
17
17
|
require 'AuthenticationSDK/util/Cache.rb'
|
18
|
-
require 'AuthenticationSDK/util/
|
18
|
+
require 'AuthenticationSDK/util/ExceptionHandler.rb'
|
19
|
+
require 'AuthenticationSDK/logging/log_configuration.rb'
|
20
|
+
require 'AuthenticationSDK/logging/log_factory.rb'
|
21
|
+
require 'AuthenticationSDK/logging/sensitive_logging.rb'
|
19
22
|
require 'AuthenticationSDK/core/MerchantConfig.rb'
|
20
|
-
require 'AuthenticationSDK/core/Logger.rb'
|
21
23
|
require 'AuthenticationSDK/core/ITokenGeneration.rb'
|
22
24
|
require 'AuthenticationSDK/core/Authorization.rb'
|
23
25
|
require 'AuthenticationSDK/authentication/payloadDigest/digest.rb'
|
@@ -181,9 +183,12 @@ require 'cybersource_rest_client/models/pts_v2_payments_captures_post201_respons
|
|
181
183
|
require 'cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information'
|
182
184
|
require 'cybersource_rest_client/models/pts_v2_payments_captures_post400_response'
|
183
185
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response'
|
186
|
+
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_buyer_information'
|
184
187
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information'
|
185
188
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information'
|
186
189
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_ivr'
|
190
|
+
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication'
|
191
|
+
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_issuer_information'
|
187
192
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_error_information'
|
188
193
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_error_information_details'
|
189
194
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information'
|
@@ -284,6 +289,7 @@ require 'cybersource_rest_client/models/ptsv2payments_device_information_raw_dat
|
|
284
289
|
require 'cybersource_rest_client/models/ptsv2payments_health_care_information'
|
285
290
|
require 'cybersource_rest_client/models/ptsv2payments_health_care_information_amount_details'
|
286
291
|
require 'cybersource_rest_client/models/ptsv2payments_installment_information'
|
292
|
+
require 'cybersource_rest_client/models/ptsv2payments_invoice_details'
|
287
293
|
require 'cybersource_rest_client/models/ptsv2payments_issuer_information'
|
288
294
|
require 'cybersource_rest_client/models/ptsv2payments_merchant_defined_information'
|
289
295
|
require 'cybersource_rest_client/models/ptsv2payments_merchant_information'
|
@@ -308,6 +314,7 @@ require 'cybersource_rest_client/models/ptsv2payments_payment_information_bank'
|
|
308
314
|
require 'cybersource_rest_client/models/ptsv2payments_payment_information_bank_account'
|
309
315
|
require 'cybersource_rest_client/models/ptsv2payments_payment_information_card'
|
310
316
|
require 'cybersource_rest_client/models/ptsv2payments_payment_information_customer'
|
317
|
+
require 'cybersource_rest_client/models/ptsv2payments_payment_information_e_wallet'
|
311
318
|
require 'cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data'
|
312
319
|
require 'cybersource_rest_client/models/ptsv2payments_payment_information_instrument_identifier'
|
313
320
|
require 'cybersource_rest_client/models/ptsv2payments_payment_information_legacy_token'
|
@@ -329,6 +336,7 @@ require 'cybersource_rest_client/models/ptsv2payments_processing_information_jap
|
|
329
336
|
require 'cybersource_rest_client/models/ptsv2payments_processing_information_loan_options'
|
330
337
|
require 'cybersource_rest_client/models/ptsv2payments_processing_information_purchase_options'
|
331
338
|
require 'cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options'
|
339
|
+
require 'cybersource_rest_client/models/ptsv2payments_processor_information'
|
332
340
|
require 'cybersource_rest_client/models/ptsv2payments_promotion_information'
|
333
341
|
require 'cybersource_rest_client/models/ptsv2payments_recipient_information'
|
334
342
|
require 'cybersource_rest_client/models/ptsv2payments_recurring_payment_information'
|
@@ -387,6 +395,7 @@ require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_informat
|
|
387
395
|
require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information'
|
388
396
|
require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items'
|
389
397
|
require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information'
|
398
|
+
require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank'
|
390
399
|
require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card'
|
391
400
|
require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_point_of_sale_information'
|
392
401
|
require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information'
|
@@ -426,7 +435,7 @@ require 'cybersource_rest_client/models/reporting_v3_conversion_details_get200_r
|
|
426
435
|
require 'cybersource_rest_client/models/reporting_v3_conversion_details_get200_response_conversion_details'
|
427
436
|
require 'cybersource_rest_client/models/reporting_v3_conversion_details_get200_response_notes'
|
428
437
|
require 'cybersource_rest_client/models/reporting_v3_interchange_clearing_level_details_get200_response'
|
429
|
-
require 'cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details
|
438
|
+
require 'cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details'
|
430
439
|
require 'cybersource_rest_client/models/reporting_v3_net_fundings_get200_response'
|
431
440
|
require 'cybersource_rest_client/models/reporting_v3_net_fundings_get200_response_net_funding_summaries'
|
432
441
|
require 'cybersource_rest_client/models/reporting_v3_net_fundings_get200_response_total_purchases'
|
@@ -458,6 +467,7 @@ require 'cybersource_rest_client/models/reporting_v3_retrieval_details_get200_re
|
|
458
467
|
require 'cybersource_rest_client/models/reporting_v3_retrieval_summaries_get200_response'
|
459
468
|
require 'cybersource_rest_client/models/reportingv3_report_downloads_get400_response'
|
460
469
|
require 'cybersource_rest_client/models/reportingv3_report_downloads_get400_response_details'
|
470
|
+
require 'cybersource_rest_client/models/reportingv3reports_report_filters'
|
461
471
|
require 'cybersource_rest_client/models/reportingv3reports_report_preferences'
|
462
472
|
require 'cybersource_rest_client/models/risk_v1_address_verifications_post201_response'
|
463
473
|
require 'cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information'
|
@@ -636,6 +646,7 @@ require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_appl
|
|
636
646
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information_applications'
|
637
647
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information'
|
638
648
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information'
|
649
|
+
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information_partner'
|
639
650
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information'
|
640
651
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information_strong_authentication'
|
641
652
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information'
|
@@ -658,6 +669,8 @@ require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_paym
|
|
658
669
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account'
|
659
670
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate'
|
660
671
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card'
|
672
|
+
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer'
|
673
|
+
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_instrument_identifier'
|
661
674
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_invoice'
|
662
675
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type'
|
663
676
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information'
|
@@ -674,6 +687,7 @@ require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_risk
|
|
674
687
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_rules'
|
675
688
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_score'
|
676
689
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information'
|
690
|
+
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_token_information'
|
677
691
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response'
|
678
692
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded'
|
679
693
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_application_information'
|
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.39
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CyberSource
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -306,11 +306,13 @@ files:
|
|
306
306
|
- lib/AuthenticationSDK/authentication/payloadDigest/digest.rb
|
307
307
|
- lib/AuthenticationSDK/core/Authorization.rb
|
308
308
|
- lib/AuthenticationSDK/core/ITokenGeneration.rb
|
309
|
-
- lib/AuthenticationSDK/core/Logger.rb
|
310
309
|
- lib/AuthenticationSDK/core/MerchantConfig.rb
|
311
|
-
- lib/AuthenticationSDK/
|
310
|
+
- lib/AuthenticationSDK/logging/log_configuration.rb
|
311
|
+
- lib/AuthenticationSDK/logging/log_factory.rb
|
312
|
+
- lib/AuthenticationSDK/logging/sensitive_logging.rb
|
312
313
|
- lib/AuthenticationSDK/util/Cache.rb
|
313
314
|
- lib/AuthenticationSDK/util/Constants.rb
|
315
|
+
- lib/AuthenticationSDK/util/ExceptionHandler.rb
|
314
316
|
- lib/AuthenticationSDK/util/PropertiesUtil.rb
|
315
317
|
- lib/AuthenticationSDK/util/Utility.rb
|
316
318
|
- lib/cybersource_rest_client.rb
|
@@ -511,9 +513,12 @@ files:
|
|
511
513
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb
|
512
514
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response__links.rb
|
513
515
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response__links_self.rb
|
516
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_buyer_information.rb
|
514
517
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb
|
515
518
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb
|
519
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_issuer_information.rb
|
516
520
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_ivr.rb
|
521
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication.rb
|
517
522
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information.rb
|
518
523
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information_details.rb
|
519
524
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb
|
@@ -612,6 +617,7 @@ files:
|
|
612
617
|
- lib/cybersource_rest_client/models/ptsv2payments_health_care_information.rb
|
613
618
|
- lib/cybersource_rest_client/models/ptsv2payments_health_care_information_amount_details.rb
|
614
619
|
- lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb
|
620
|
+
- lib/cybersource_rest_client/models/ptsv2payments_invoice_details.rb
|
615
621
|
- lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb
|
616
622
|
- lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb
|
617
623
|
- lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb
|
@@ -637,6 +643,7 @@ files:
|
|
637
643
|
- lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb
|
638
644
|
- lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb
|
639
645
|
- lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb
|
646
|
+
- lib/cybersource_rest_client/models/ptsv2payments_payment_information_e_wallet.rb
|
640
647
|
- lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb
|
641
648
|
- lib/cybersource_rest_client/models/ptsv2payments_payment_information_instrument_identifier.rb
|
642
649
|
- lib/cybersource_rest_client/models/ptsv2payments_payment_information_legacy_token.rb
|
@@ -657,6 +664,7 @@ files:
|
|
657
664
|
- lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb
|
658
665
|
- lib/cybersource_rest_client/models/ptsv2payments_processing_information_purchase_options.rb
|
659
666
|
- lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb
|
667
|
+
- lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb
|
660
668
|
- lib/cybersource_rest_client/models/ptsv2payments_promotion_information.rb
|
661
669
|
- lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb
|
662
670
|
- lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb
|
@@ -715,6 +723,7 @@ files:
|
|
715
723
|
- lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information.rb
|
716
724
|
- lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb
|
717
725
|
- lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb
|
726
|
+
- lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb
|
718
727
|
- lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb
|
719
728
|
- lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_point_of_sale_information.rb
|
720
729
|
- lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb
|
@@ -786,6 +795,7 @@ files:
|
|
786
795
|
- lib/cybersource_rest_client/models/reporting_v3_retrieval_summaries_get200_response.rb
|
787
796
|
- lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response.rb
|
788
797
|
- lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response_details.rb
|
798
|
+
- lib/cybersource_rest_client/models/reportingv3reports_report_filters.rb
|
789
799
|
- lib/cybersource_rest_client/models/reportingv3reports_report_preferences.rb
|
790
800
|
- lib/cybersource_rest_client/models/resource_not_found_error.rb
|
791
801
|
- lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb
|
@@ -966,6 +976,7 @@ files:
|
|
966
976
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information_applications.rb
|
967
977
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb
|
968
978
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb
|
979
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information_partner.rb
|
969
980
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb
|
970
981
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information_strong_authentication.rb
|
971
982
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb
|
@@ -987,6 +998,8 @@ files:
|
|
987
998
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb
|
988
999
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate.rb
|
989
1000
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb
|
1001
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb
|
1002
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_instrument_identifier.rb
|
990
1003
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_invoice.rb
|
991
1004
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type.rb
|
992
1005
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb
|
@@ -1003,6 +1016,7 @@ files:
|
|
1003
1016
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_rules.rb
|
1004
1017
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_score.rb
|
1005
1018
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb
|
1019
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_token_information.rb
|
1006
1020
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb
|
1007
1021
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded.rb
|
1008
1022
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded__links.rb
|
@@ -1,26 +0,0 @@
|
|
1
|
-
require_relative '../util/ApiException.rb'
|
2
|
-
require 'logger'
|
3
|
-
public
|
4
|
-
# Logger Class
|
5
|
-
class Log
|
6
|
-
def initialize(logDirectory, logFilename, logSize, enableLog)
|
7
|
-
#log
|
8
|
-
if enableLog == true
|
9
|
-
filename = logDirectory + '/' + logFilename + '.log'
|
10
|
-
datetime = DateTime.now
|
11
|
-
if File.exist?(filename) && File.size(filename) >= logSize
|
12
|
-
updatedFileName = logDirectory + '/' + logFilename + '_' + datetime.strftime('%Y%m%d%H%M%S') + '.log'
|
13
|
-
File.rename(filename, updatedFileName)
|
14
|
-
end
|
15
|
-
@logger = Logger.new(STDOUT)
|
16
|
-
@logger = Logger.new(filename, logSize)
|
17
|
-
@logger.datetime_format = datetime.strftime('%Y-%m-%d %H:%M:%S')
|
18
|
-
else
|
19
|
-
@logger = Logger.new(false)
|
20
|
-
end
|
21
|
-
rescue StandardError => err
|
22
|
-
puts err
|
23
|
-
exit!
|
24
|
-
end
|
25
|
-
attr_accessor :logger
|
26
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
public
|
2
|
-
class ApiException
|
3
|
-
def apiexception(err,log_Obj)
|
4
|
-
log_Obj.logger.error(err.message)
|
5
|
-
if !err.backtrace.to_s.empty?
|
6
|
-
log_Obj.logger.error(err.backtrace)
|
7
|
-
end
|
8
|
-
log_Obj.logger.info('END> =======================================')
|
9
|
-
puts 'Check log for more details.'
|
10
|
-
end
|
11
|
-
def apiwarning(message,log_Obj)
|
12
|
-
log_Obj.logger.warn(message)
|
13
|
-
end
|
14
|
-
def customerror(message,log_Obj)
|
15
|
-
log_Obj.logger.error(message)
|
16
|
-
log_Obj.logger.info('END> =======================================')
|
17
|
-
puts 'Check log for more details.'
|
18
|
-
end
|
19
|
-
end
|