cybersource_rest_client 0.0.86 → 0.0.87
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/util/CertificateUtility.rb +14 -6
- data/lib/cybersource_rest_client/api/agent_capabilities_api.rb +24 -24
- data/lib/cybersource_rest_client/api/bin_lookup_api.rb +3 -3
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
- data/lib/cybersource_rest_client/api/foreign_exchange_rates_api.rb +3 -3
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +9 -9
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +3 -3
- data/lib/cybersource_rest_client/api/offers_api.rb +3 -3
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +2 -2
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +1 -1
- data/lib/cybersource_rest_client/api/transaction_query_api.rb +3 -3
- data/lib/cybersource_rest_client/api/visa_protect_risk_insights_api.rb +104 -0
- data/lib/cybersource_rest_client/models/inline_response_200_16.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_200_17.rb +5 -5
- data/lib/cybersource_rest_client/models/inline_response_200_18.rb +5 -5
- data/lib/cybersource_rest_client/models/inline_response_200_4.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_10.rb +18 -93
- data/lib/cybersource_rest_client/models/inline_response_201_11.rb +103 -8
- data/lib/cybersource_rest_client/models/{inline_response_201_12_client_reference_information.rb → inline_response_201_11_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12_error_information.rb → inline_response_201_11_error_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information.rb → inline_response_201_11_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information_currency_conversion.rb → inline_response_201_11_order_information_currency_conversion.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information_currency_conversion_offer.rb → inline_response_201_11_order_information_currency_conversion_offer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12_processor_information.rb → inline_response_201_11_processor_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_12.rb +110 -89
- data/lib/cybersource_rest_client/models/{inline_response_201_13_fulfillment_address.rb → inline_response_201_12_fulfillment_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_fulfillment_options.rb → inline_response_201_12_fulfillment_options.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_14_item.rb → inline_response_201_12_item.rb} +20 -20
- data/lib/cybersource_rest_client/models/inline_response_201_12_line_items.rb +256 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_13_links.rb → inline_response_201_12_links.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_messages.rb → inline_response_201_12_messages.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_payment_provider.rb → inline_response_201_12_payment_provider.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_totals.rb → inline_response_201_12_totals.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_13.rb +61 -67
- data/lib/cybersource_rest_client/models/{inline_response_201_14_discounts.rb → inline_response_201_13_discounts.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_14_fulfillment.rb → inline_response_201_13_fulfillment.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_13_item.rb +19 -19
- data/lib/cybersource_rest_client/models/inline_response_201_13_line_items.rb +20 -51
- data/lib/cybersource_rest_client/models/{inline_response_201_14_order.rb → inline_response_201_13_order.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_14_payment.rb → inline_response_201_13_payment.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_14_ucp.rb → inline_response_201_13_ucp.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_14_ucp_capabilities.rb → inline_response_201_13_ucp_capabilities.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_3.rb +82 -39
- data/lib/cybersource_rest_client/models/{inline_response_201_5_error_information.rb → inline_response_201_3_error_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_5_error_information_details.rb → inline_response_201_3_error_information_details.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5_order_information.rb → inline_response_201_3_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/inline_response_201_3_order_information_amount_details.rb +315 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_processing_information.rb +189 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_4_processing_information_routing.rb → inline_response_201_3_processing_information_routing.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_3_processor_information.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4.rb +41 -30
- data/lib/cybersource_rest_client/models/{inline_response_201_5__links.rb → inline_response_201_4__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5__links_self.rb → inline_response_201_4__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_5_acquirer_information.rb → inline_response_201_4_acquirer_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_5_client_reference_information.rb → inline_response_201_4_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_error_information_details.rb +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_5_merchant_information.rb → inline_response_201_4_merchant_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_order_information_amount_details.rb +46 -97
- data/lib/cybersource_rest_client/models/{inline_response_201_5_payment_information.rb → inline_response_201_4_payment_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5_payment_information_card.rb → inline_response_201_4_payment_information_card.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information.rb +59 -8
- data/lib/cybersource_rest_client/models/{inline_response_201_5_processing_information_payouts_options.rb → inline_response_201_4_processing_information_payouts_options.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_processor_information.rb +342 -7
- data/lib/cybersource_rest_client/models/{inline_response_201_5_processor_information_card_verification.rb → inline_response_201_4_processor_information_card_verification.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_5_transactions.rb → inline_response_201_4_transactions.rb} +7 -7
- data/lib/cybersource_rest_client/models/inline_response_201_5.rb +35 -68
- data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information.rb → inline_response_201_5_payout_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information_pull_funds.rb → inline_response_201_5_payout_information_pull_funds.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information_push_funds.rb → inline_response_201_5_payout_information_push_funds.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_6.rb +59 -26
- data/lib/cybersource_rest_client/models/{inline_response_201_7_integration_information.rb → inline_response_201_6_integration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7_integration_information_tenant_configurations.rb → inline_response_201_6_integration_information_tenant_configurations.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_organization_information.rb → inline_response_201_6_organization_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_product_information_setups.rb → inline_response_201_6_product_information_setups.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7_registration_information.rb → inline_response_201_6_registration_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_setups.rb → inline_response_201_6_setups.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_commerce_solutions.rb → inline_response_201_6_setups_commerce_solutions.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_risk.rb → inline_response_201_6_setups_risk.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_value_added_services.rb → inline_response_201_6_setups_value_added_services.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_7.rb +19 -78
- data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information.rb → inline_response_201_7_key_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information_error_information.rb → inline_response_201_7_key_information_error_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information_error_information_details.rb → inline_response_201_7_key_information_error_information_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_8.rb +117 -25
- data/lib/cybersource_rest_client/models/inline_response_201_9.rb +68 -105
- data/lib/cybersource_rest_client/models/{inline_response_201_10_payloads.rb → inline_response_201_9_payloads.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_10_payloads_test_payload.rb → inline_response_201_9_payloads_test_payload.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_3.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_4.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_merchant_defined_field_values_with_definition.rb +11 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +16 -5
- data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +11 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_acquirer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_consumer_authentication_information.rb +16 -5
- data/lib/cybersource_rest_client/models/{inline_response_201_14_line_items.rb → unified_risk_post201_response.rb} +28 -42
- data/lib/cybersource_rest_client/models/{inline_response_201_3_results.rb → unified_risk_post201_response_results.rb} +3 -3
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights.rb +291 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_client.rb +208 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_error.rb +202 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages.rb +190 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights.rb +250 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights_insights.rb +219 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_transaction_insights_insights_warnings.rb +214 -0
- data/lib/cybersource_rest_client/models/{unified_risk_labels_post400_response.rb → unified_risk_post400_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{unified_risk_labels_post400_response_errors.rb → unified_risk_post400_response_errors.rb} +1 -1
- data/lib/cybersource_rest_client/models/unifiedrisk_account.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer.rb +302 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account.rb +234 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account_security_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authentication.rb +402 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authentication_challenge.rb +202 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authorization.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_browser.rb +420 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_customer.rb +403 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_customer_address.rb +279 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_5_processing_information.rb → unifiedrisk_customer_personal_identification.rb} +99 -42
- data/lib/cybersource_rest_client/models/unifiedrisk_device.rb +681 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_device_point_of_sale.rb +344 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_initiating_party.rb +223 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant.rb +326 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_address.rb +328 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor.rb +389 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_annual_sales.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_average_ticket_size.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_monthly_sales.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_hierarchy.rb +224 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_limit_value.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_trading_address.rb +301 -0
- data/lib/cybersource_rest_client/models/{label_request.rb → unifiedrisk_order.rb} +60 -72
- data/lib/cybersource_rest_client/models/unifiedrisk_order_billing.rb +360 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_line_items.rb +262 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping.rb +464 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store.rb +251 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store_address.rb +191 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_3_results_risk_insights.rb → unifiedrisk_order_shipping_store_store_address.rb} +43 -43
- data/lib/cybersource_rest_client/models/unifiedrisk_partner.rb +214 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment.rb +423 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_approvals.rb +193 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account.rb +451 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_5_order_information_amount_details.rb → unifiedrisk_payment_bank_account_balance_before.rb} +49 -56
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_branch_address.rb +328 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_credit_limit.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_financial_institution.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_batch.rb +323 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card.rb +461 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_par_details.rb +196 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_token_details.rb +380 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_check.rb +289 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_check_deposit_location.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty.rb +287 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_address.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_branch_address.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_sdk.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_token.rb +213 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification.rb +230 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_additional.rb +256 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication.rb +232 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_pin.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_three_ds.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security.rb +199 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_avs.rb +218 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_cvv.rb +196 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_digital.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_wallet.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_wire.rb +364 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment.rb +308 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history.rb +276 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_account_history.rb +207 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_customer_account.rb +273 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_14.rb → unifiedrisk_risk_assessment_buyer_history_customer_account_alertnate_authentication.rb} +59 -114
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_vital4.rb +191 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_session.rb +202 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_terminal.rb +238 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_terminal_address.rb +301 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_terminal_capabilities.rb +234 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk.rb +708 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk_raw_data.rb +189 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction.rb +305 -12
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_additional_fees.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_amount.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details.rb +220 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_credits_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_debits_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_credits.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_debits.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details_deposited_cash_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_recurring_details.rb +341 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_travel.rb +279 -0
- data/lib/cybersource_rest_client/models/vpri_request.rb +505 -0
- data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data.rb +190 -0
- data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data_card_bin_data.rb +357 -0
- data/lib/cybersource_rest_client.rb +153 -61
- metadata +155 -63
- data/lib/cybersource_rest_client/api/transaction_risk_labeling_api.rb +0 -104
- data/lib/cybersource_rest_client/models/inline_response_201_5_processor_information.rb +0 -548
|
@@ -12,45 +12,91 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
# Egress Key Information Response
|
|
16
15
|
class InlineResponse2018
|
|
17
|
-
#
|
|
18
|
-
attr_accessor :
|
|
16
|
+
# Webhook Id. This is generated by the server.
|
|
17
|
+
attr_accessor :webhook_id
|
|
19
18
|
|
|
20
|
-
#
|
|
19
|
+
# Organization ID.
|
|
20
|
+
attr_accessor :organization_id
|
|
21
|
+
|
|
22
|
+
attr_accessor :products
|
|
23
|
+
|
|
24
|
+
# The client's endpoint (URL) to receive webhooks.
|
|
25
|
+
attr_accessor :webhook_url
|
|
26
|
+
|
|
27
|
+
# The client's health check endpoint (URL).
|
|
28
|
+
attr_accessor :health_check_url
|
|
29
|
+
|
|
30
|
+
# Webhook status.
|
|
21
31
|
attr_accessor :status
|
|
22
32
|
|
|
23
|
-
|
|
33
|
+
# Client friendly webhook name.
|
|
34
|
+
attr_accessor :name
|
|
35
|
+
|
|
36
|
+
# Client friendly webhook description.
|
|
37
|
+
attr_accessor :description
|
|
38
|
+
|
|
39
|
+
attr_accessor :retry_policy
|
|
40
|
+
|
|
41
|
+
attr_accessor :security_policy
|
|
24
42
|
|
|
25
|
-
|
|
43
|
+
# Date on which webhook was created/registered.
|
|
44
|
+
attr_accessor :created_on
|
|
45
|
+
|
|
46
|
+
# The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS
|
|
47
|
+
attr_accessor :notification_scope
|
|
26
48
|
|
|
27
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
28
50
|
def self.attribute_map
|
|
29
51
|
{
|
|
30
|
-
:'
|
|
52
|
+
:'webhook_id' => :'webhookId',
|
|
53
|
+
:'organization_id' => :'organizationId',
|
|
54
|
+
:'products' => :'products',
|
|
55
|
+
:'webhook_url' => :'webhookUrl',
|
|
56
|
+
:'health_check_url' => :'healthCheckUrl',
|
|
31
57
|
:'status' => :'status',
|
|
32
|
-
:'
|
|
33
|
-
:'
|
|
58
|
+
:'name' => :'name',
|
|
59
|
+
:'description' => :'description',
|
|
60
|
+
:'retry_policy' => :'retryPolicy',
|
|
61
|
+
:'security_policy' => :'securityPolicy',
|
|
62
|
+
:'created_on' => :'createdOn',
|
|
63
|
+
:'notification_scope' => :'notificationScope'
|
|
34
64
|
}
|
|
35
65
|
end
|
|
36
66
|
|
|
37
67
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
38
68
|
def self.json_map
|
|
39
69
|
{
|
|
40
|
-
:'
|
|
70
|
+
:'webhook_id' => :'webhook_id',
|
|
71
|
+
:'organization_id' => :'organization_id',
|
|
72
|
+
:'products' => :'products',
|
|
73
|
+
:'webhook_url' => :'webhook_url',
|
|
74
|
+
:'health_check_url' => :'health_check_url',
|
|
41
75
|
:'status' => :'status',
|
|
42
|
-
:'
|
|
43
|
-
:'
|
|
76
|
+
:'name' => :'name',
|
|
77
|
+
:'description' => :'description',
|
|
78
|
+
:'retry_policy' => :'retry_policy',
|
|
79
|
+
:'security_policy' => :'security_policy',
|
|
80
|
+
:'created_on' => :'created_on',
|
|
81
|
+
:'notification_scope' => :'notification_scope'
|
|
44
82
|
}
|
|
45
83
|
end
|
|
46
84
|
|
|
47
85
|
# Attribute type mapping.
|
|
48
86
|
def self.swagger_types
|
|
49
87
|
{
|
|
50
|
-
:'
|
|
88
|
+
:'webhook_id' => :'String',
|
|
89
|
+
:'organization_id' => :'String',
|
|
90
|
+
:'products' => :'Array<Notificationsubscriptionsv2webhooksProducts>',
|
|
91
|
+
:'webhook_url' => :'String',
|
|
92
|
+
:'health_check_url' => :'String',
|
|
51
93
|
:'status' => :'String',
|
|
52
|
-
:'
|
|
53
|
-
:'
|
|
94
|
+
:'name' => :'String',
|
|
95
|
+
:'description' => :'String',
|
|
96
|
+
:'retry_policy' => :'Notificationsubscriptionsv2webhooksRetryPolicy',
|
|
97
|
+
:'security_policy' => :'Notificationsubscriptionsv2webhooksSecurityPolicy',
|
|
98
|
+
:'created_on' => :'String',
|
|
99
|
+
:'notification_scope' => :'String'
|
|
54
100
|
}
|
|
55
101
|
end
|
|
56
102
|
|
|
@@ -62,20 +108,58 @@ module CyberSource
|
|
|
62
108
|
# convert string to symbol for hash key
|
|
63
109
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
64
110
|
|
|
65
|
-
if attributes.has_key?(:'
|
|
66
|
-
self.
|
|
111
|
+
if attributes.has_key?(:'webhookId')
|
|
112
|
+
self.webhook_id = attributes[:'webhookId']
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
if attributes.has_key?(:'organizationId')
|
|
116
|
+
self.organization_id = attributes[:'organizationId']
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
if attributes.has_key?(:'products')
|
|
120
|
+
if (value = attributes[:'products']).is_a?(Array)
|
|
121
|
+
self.products = value
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
if attributes.has_key?(:'webhookUrl')
|
|
126
|
+
self.webhook_url = attributes[:'webhookUrl']
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
if attributes.has_key?(:'healthCheckUrl')
|
|
130
|
+
self.health_check_url = attributes[:'healthCheckUrl']
|
|
67
131
|
end
|
|
68
132
|
|
|
69
133
|
if attributes.has_key?(:'status')
|
|
70
134
|
self.status = attributes[:'status']
|
|
135
|
+
else
|
|
136
|
+
self.status = 'INACTIVE'
|
|
71
137
|
end
|
|
72
138
|
|
|
73
|
-
if attributes.has_key?(:'
|
|
74
|
-
self.
|
|
139
|
+
if attributes.has_key?(:'name')
|
|
140
|
+
self.name = attributes[:'name']
|
|
75
141
|
end
|
|
76
142
|
|
|
77
|
-
if attributes.has_key?(:'
|
|
78
|
-
self.
|
|
143
|
+
if attributes.has_key?(:'description')
|
|
144
|
+
self.description = attributes[:'description']
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
if attributes.has_key?(:'retryPolicy')
|
|
148
|
+
self.retry_policy = attributes[:'retryPolicy']
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
if attributes.has_key?(:'securityPolicy')
|
|
152
|
+
self.security_policy = attributes[:'securityPolicy']
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
if attributes.has_key?(:'createdOn')
|
|
156
|
+
self.created_on = attributes[:'createdOn']
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
if attributes.has_key?(:'notificationScope')
|
|
160
|
+
self.notification_scope = attributes[:'notificationScope']
|
|
161
|
+
else
|
|
162
|
+
self.notification_scope = 'DESCENDANTS'
|
|
79
163
|
end
|
|
80
164
|
end
|
|
81
165
|
|
|
@@ -97,10 +181,18 @@ module CyberSource
|
|
|
97
181
|
def ==(o)
|
|
98
182
|
return true if self.equal?(o)
|
|
99
183
|
self.class == o.class &&
|
|
100
|
-
|
|
184
|
+
webhook_id == o.webhook_id &&
|
|
185
|
+
organization_id == o.organization_id &&
|
|
186
|
+
products == o.products &&
|
|
187
|
+
webhook_url == o.webhook_url &&
|
|
188
|
+
health_check_url == o.health_check_url &&
|
|
101
189
|
status == o.status &&
|
|
102
|
-
|
|
103
|
-
|
|
190
|
+
name == o.name &&
|
|
191
|
+
description == o.description &&
|
|
192
|
+
retry_policy == o.retry_policy &&
|
|
193
|
+
security_policy == o.security_policy &&
|
|
194
|
+
created_on == o.created_on &&
|
|
195
|
+
notification_scope == o.notification_scope
|
|
104
196
|
end
|
|
105
197
|
|
|
106
198
|
# @see the `==` method
|
|
@@ -112,7 +204,7 @@ module CyberSource
|
|
|
112
204
|
# Calculates hash code according to all attributes.
|
|
113
205
|
# @return [Fixnum] Hash code
|
|
114
206
|
def hash
|
|
115
|
-
[
|
|
207
|
+
[webhook_id, organization_id, products, webhook_url, health_check_url, status, name, description, retry_policy, security_policy, created_on, notification_scope].hash
|
|
116
208
|
end
|
|
117
209
|
|
|
118
210
|
# Builds the object from hash
|
|
@@ -13,90 +13,74 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse2019
|
|
16
|
-
#
|
|
17
|
-
attr_accessor :
|
|
18
|
-
|
|
19
|
-
# Organization ID.
|
|
20
|
-
attr_accessor :organization_id
|
|
16
|
+
# Date that the webhook was delivered
|
|
17
|
+
attr_accessor :event_date
|
|
21
18
|
|
|
22
|
-
|
|
19
|
+
# The event name the webhook was delivered for
|
|
20
|
+
attr_accessor :event_type
|
|
23
21
|
|
|
24
|
-
# The
|
|
25
|
-
attr_accessor :
|
|
26
|
-
|
|
27
|
-
# The client's health check endpoint (URL).
|
|
28
|
-
attr_accessor :health_check_url
|
|
29
|
-
|
|
30
|
-
# Webhook status.
|
|
31
|
-
attr_accessor :status
|
|
22
|
+
# The Organization Identifier.
|
|
23
|
+
attr_accessor :organization_id
|
|
32
24
|
|
|
33
|
-
|
|
34
|
-
attr_accessor :name
|
|
25
|
+
attr_accessor :payloads
|
|
35
26
|
|
|
36
|
-
#
|
|
37
|
-
attr_accessor :
|
|
27
|
+
# The product the webhook was delivered for
|
|
28
|
+
attr_accessor :product_id
|
|
38
29
|
|
|
39
|
-
|
|
30
|
+
# Identifies the the type of request
|
|
31
|
+
attr_accessor :request_type
|
|
40
32
|
|
|
41
|
-
|
|
33
|
+
# The number of retry attempts for a given webhook
|
|
34
|
+
attr_accessor :retry_number
|
|
42
35
|
|
|
43
|
-
#
|
|
44
|
-
attr_accessor :
|
|
36
|
+
# The identifier for the webhook
|
|
37
|
+
attr_accessor :transaction_trace_id
|
|
45
38
|
|
|
46
|
-
# The
|
|
47
|
-
attr_accessor :
|
|
39
|
+
# The identifier of the subscription
|
|
40
|
+
attr_accessor :webhook_id
|
|
48
41
|
|
|
49
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
50
43
|
def self.attribute_map
|
|
51
44
|
{
|
|
52
|
-
:'
|
|
45
|
+
:'event_date' => :'eventDate',
|
|
46
|
+
:'event_type' => :'eventType',
|
|
53
47
|
:'organization_id' => :'organizationId',
|
|
54
|
-
:'
|
|
55
|
-
:'
|
|
56
|
-
:'
|
|
57
|
-
:'
|
|
58
|
-
:'
|
|
59
|
-
:'
|
|
60
|
-
:'retry_policy' => :'retryPolicy',
|
|
61
|
-
:'security_policy' => :'securityPolicy',
|
|
62
|
-
:'created_on' => :'createdOn',
|
|
63
|
-
:'notification_scope' => :'notificationScope'
|
|
48
|
+
:'payloads' => :'payloads',
|
|
49
|
+
:'product_id' => :'productId',
|
|
50
|
+
:'request_type' => :'requestType',
|
|
51
|
+
:'retry_number' => :'retryNumber',
|
|
52
|
+
:'transaction_trace_id' => :'transactionTraceId',
|
|
53
|
+
:'webhook_id' => :'webhookId'
|
|
64
54
|
}
|
|
65
55
|
end
|
|
66
56
|
|
|
67
57
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
68
58
|
def self.json_map
|
|
69
59
|
{
|
|
70
|
-
:'
|
|
60
|
+
:'event_date' => :'event_date',
|
|
61
|
+
:'event_type' => :'event_type',
|
|
71
62
|
:'organization_id' => :'organization_id',
|
|
72
|
-
:'
|
|
73
|
-
:'
|
|
74
|
-
:'
|
|
75
|
-
:'
|
|
76
|
-
:'
|
|
77
|
-
:'
|
|
78
|
-
:'retry_policy' => :'retry_policy',
|
|
79
|
-
:'security_policy' => :'security_policy',
|
|
80
|
-
:'created_on' => :'created_on',
|
|
81
|
-
:'notification_scope' => :'notification_scope'
|
|
63
|
+
:'payloads' => :'payloads',
|
|
64
|
+
:'product_id' => :'product_id',
|
|
65
|
+
:'request_type' => :'request_type',
|
|
66
|
+
:'retry_number' => :'retry_number',
|
|
67
|
+
:'transaction_trace_id' => :'transaction_trace_id',
|
|
68
|
+
:'webhook_id' => :'webhook_id'
|
|
82
69
|
}
|
|
83
70
|
end
|
|
84
71
|
|
|
85
72
|
# Attribute type mapping.
|
|
86
73
|
def self.swagger_types
|
|
87
74
|
{
|
|
88
|
-
:'
|
|
75
|
+
:'event_date' => :'String',
|
|
76
|
+
:'event_type' => :'String',
|
|
89
77
|
:'organization_id' => :'String',
|
|
90
|
-
:'
|
|
91
|
-
:'
|
|
92
|
-
:'
|
|
93
|
-
:'
|
|
94
|
-
:'
|
|
95
|
-
:'
|
|
96
|
-
:'retry_policy' => :'Notificationsubscriptionsv2webhooksRetryPolicy',
|
|
97
|
-
:'security_policy' => :'Notificationsubscriptionsv2webhooksSecurityPolicy',
|
|
98
|
-
:'created_on' => :'String',
|
|
99
|
-
:'notification_scope' => :'String'
|
|
78
|
+
:'payloads' => :'InlineResponse2019Payloads',
|
|
79
|
+
:'product_id' => :'String',
|
|
80
|
+
:'request_type' => :'String',
|
|
81
|
+
:'retry_number' => :'Integer',
|
|
82
|
+
:'transaction_trace_id' => :'String',
|
|
83
|
+
:'webhook_id' => :'String'
|
|
100
84
|
}
|
|
101
85
|
end
|
|
102
86
|
|
|
@@ -108,58 +92,40 @@ module CyberSource
|
|
|
108
92
|
# convert string to symbol for hash key
|
|
109
93
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
110
94
|
|
|
111
|
-
if attributes.has_key?(:'
|
|
112
|
-
self.
|
|
113
|
-
end
|
|
114
|
-
|
|
115
|
-
if attributes.has_key?(:'organizationId')
|
|
116
|
-
self.organization_id = attributes[:'organizationId']
|
|
117
|
-
end
|
|
118
|
-
|
|
119
|
-
if attributes.has_key?(:'products')
|
|
120
|
-
if (value = attributes[:'products']).is_a?(Array)
|
|
121
|
-
self.products = value
|
|
122
|
-
end
|
|
123
|
-
end
|
|
124
|
-
|
|
125
|
-
if attributes.has_key?(:'webhookUrl')
|
|
126
|
-
self.webhook_url = attributes[:'webhookUrl']
|
|
95
|
+
if attributes.has_key?(:'eventDate')
|
|
96
|
+
self.event_date = attributes[:'eventDate']
|
|
127
97
|
end
|
|
128
98
|
|
|
129
|
-
if attributes.has_key?(:'
|
|
130
|
-
self.
|
|
99
|
+
if attributes.has_key?(:'eventType')
|
|
100
|
+
self.event_type = attributes[:'eventType']
|
|
131
101
|
end
|
|
132
102
|
|
|
133
|
-
if attributes.has_key?(:'
|
|
134
|
-
self.
|
|
135
|
-
else
|
|
136
|
-
self.status = 'INACTIVE'
|
|
103
|
+
if attributes.has_key?(:'organizationId')
|
|
104
|
+
self.organization_id = attributes[:'organizationId']
|
|
137
105
|
end
|
|
138
106
|
|
|
139
|
-
if attributes.has_key?(:'
|
|
140
|
-
self.
|
|
107
|
+
if attributes.has_key?(:'payloads')
|
|
108
|
+
self.payloads = attributes[:'payloads']
|
|
141
109
|
end
|
|
142
110
|
|
|
143
|
-
if attributes.has_key?(:'
|
|
144
|
-
self.
|
|
111
|
+
if attributes.has_key?(:'productId')
|
|
112
|
+
self.product_id = attributes[:'productId']
|
|
145
113
|
end
|
|
146
114
|
|
|
147
|
-
if attributes.has_key?(:'
|
|
148
|
-
self.
|
|
115
|
+
if attributes.has_key?(:'requestType')
|
|
116
|
+
self.request_type = attributes[:'requestType']
|
|
149
117
|
end
|
|
150
118
|
|
|
151
|
-
if attributes.has_key?(:'
|
|
152
|
-
self.
|
|
119
|
+
if attributes.has_key?(:'retryNumber')
|
|
120
|
+
self.retry_number = attributes[:'retryNumber']
|
|
153
121
|
end
|
|
154
122
|
|
|
155
|
-
if attributes.has_key?(:'
|
|
156
|
-
self.
|
|
123
|
+
if attributes.has_key?(:'transactionTraceId')
|
|
124
|
+
self.transaction_trace_id = attributes[:'transactionTraceId']
|
|
157
125
|
end
|
|
158
126
|
|
|
159
|
-
if attributes.has_key?(:'
|
|
160
|
-
self.
|
|
161
|
-
else
|
|
162
|
-
self.notification_scope = 'DESCENDANTS'
|
|
127
|
+
if attributes.has_key?(:'webhookId')
|
|
128
|
+
self.webhook_id = attributes[:'webhookId']
|
|
163
129
|
end
|
|
164
130
|
end
|
|
165
131
|
|
|
@@ -181,18 +147,15 @@ module CyberSource
|
|
|
181
147
|
def ==(o)
|
|
182
148
|
return true if self.equal?(o)
|
|
183
149
|
self.class == o.class &&
|
|
184
|
-
|
|
150
|
+
event_date == o.event_date &&
|
|
151
|
+
event_type == o.event_type &&
|
|
185
152
|
organization_id == o.organization_id &&
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
retry_policy == o.retry_policy &&
|
|
193
|
-
security_policy == o.security_policy &&
|
|
194
|
-
created_on == o.created_on &&
|
|
195
|
-
notification_scope == o.notification_scope
|
|
153
|
+
payloads == o.payloads &&
|
|
154
|
+
product_id == o.product_id &&
|
|
155
|
+
request_type == o.request_type &&
|
|
156
|
+
retry_number == o.retry_number &&
|
|
157
|
+
transaction_trace_id == o.transaction_trace_id &&
|
|
158
|
+
webhook_id == o.webhook_id
|
|
196
159
|
end
|
|
197
160
|
|
|
198
161
|
# @see the `==` method
|
|
@@ -204,7 +167,7 @@ module CyberSource
|
|
|
204
167
|
# Calculates hash code according to all attributes.
|
|
205
168
|
# @return [Fixnum] Hash code
|
|
206
169
|
def hash
|
|
207
|
-
[
|
|
170
|
+
[event_date, event_type, organization_id, payloads, product_id, request_type, retry_number, transaction_trace_id, webhook_id].hash
|
|
208
171
|
end
|
|
209
172
|
|
|
210
173
|
# Builds the object from hash
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
class
|
|
15
|
+
class InlineResponse2019Payloads
|
|
16
16
|
attr_accessor :test_payload
|
|
17
17
|
|
|
18
18
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -32,7 +32,7 @@ module CyberSource
|
|
|
32
32
|
# Attribute type mapping.
|
|
33
33
|
def self.swagger_types
|
|
34
34
|
{
|
|
35
|
-
:'test_payload' => :'
|
|
35
|
+
:'test_payload' => :'InlineResponse2019PayloadsTestPayload'
|
|
36
36
|
}
|
|
37
37
|
end
|
|
38
38
|
|
|
@@ -13,6 +13,8 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition
|
|
16
|
+
attr_accessor :mdf_value_id
|
|
17
|
+
|
|
16
18
|
attr_accessor :reference_type
|
|
17
19
|
|
|
18
20
|
attr_accessor :label
|
|
@@ -42,6 +44,7 @@ module CyberSource
|
|
|
42
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
43
45
|
def self.attribute_map
|
|
44
46
|
{
|
|
47
|
+
:'mdf_value_id' => :'mdfValueId',
|
|
45
48
|
:'reference_type' => :'referenceType',
|
|
46
49
|
:'label' => :'label',
|
|
47
50
|
:'field_type' => :'fieldType',
|
|
@@ -61,6 +64,7 @@ module CyberSource
|
|
|
61
64
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
62
65
|
def self.json_map
|
|
63
66
|
{
|
|
67
|
+
:'mdf_value_id' => :'mdf_value_id',
|
|
64
68
|
:'reference_type' => :'reference_type',
|
|
65
69
|
:'label' => :'label',
|
|
66
70
|
:'field_type' => :'field_type',
|
|
@@ -80,6 +84,7 @@ module CyberSource
|
|
|
80
84
|
# Attribute type mapping.
|
|
81
85
|
def self.swagger_types
|
|
82
86
|
{
|
|
87
|
+
:'mdf_value_id' => :'String',
|
|
83
88
|
:'reference_type' => :'String',
|
|
84
89
|
:'label' => :'String',
|
|
85
90
|
:'field_type' => :'String',
|
|
@@ -104,6 +109,10 @@ module CyberSource
|
|
|
104
109
|
# convert string to symbol for hash key
|
|
105
110
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
106
111
|
|
|
112
|
+
if attributes.has_key?(:'mdfValueId')
|
|
113
|
+
self.mdf_value_id = attributes[:'mdfValueId']
|
|
114
|
+
end
|
|
115
|
+
|
|
107
116
|
if attributes.has_key?(:'referenceType')
|
|
108
117
|
self.reference_type = attributes[:'referenceType']
|
|
109
118
|
end
|
|
@@ -175,6 +184,7 @@ module CyberSource
|
|
|
175
184
|
def ==(o)
|
|
176
185
|
return true if self.equal?(o)
|
|
177
186
|
self.class == o.class &&
|
|
187
|
+
mdf_value_id == o.mdf_value_id &&
|
|
178
188
|
reference_type == o.reference_type &&
|
|
179
189
|
label == o.label &&
|
|
180
190
|
field_type == o.field_type &&
|
|
@@ -199,7 +209,7 @@ module CyberSource
|
|
|
199
209
|
# Calculates hash code according to all attributes.
|
|
200
210
|
# @return [Fixnum] Hash code
|
|
201
211
|
def hash
|
|
202
|
-
[reference_type, label, field_type, customer_visible, read_only, text_min_length, text_max_length, text_default_value, possible_values, value, position, definition_id, merchant_defined_data_index].hash
|
|
212
|
+
[mdf_value_id, reference_type, label, field_type, customer_visible, read_only, text_min_length, text_max_length, text_default_value, possible_values, value, position, definition_id, merchant_defined_data_index].hash
|
|
203
213
|
end
|
|
204
214
|
|
|
205
215
|
# Builds the object from hash
|
|
@@ -25,13 +25,17 @@ module CyberSource
|
|
|
25
25
|
# Configure Unified Checkout to determine whether Consumer Authentication is invoked during service orchestration. Possible values: - PASSKEY - 3DS - NONE<br><br> Setting this value to PASSKEY performs Payer Authentication with an existing Visa Payment Passkey or create a new Passkey (Post a traditional 3DS Authentication) attempt to perform authentication using the Payer Authentication Service.<br> Setting this value to 3DS will attempt to perform authentication using the Payer Authentication Service.<br> Setting this value to NONE indicates that you do not wish to perform authentication using the Payer Authentication Service.<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
|
|
26
26
|
attr_accessor :consumer_authentication
|
|
27
27
|
|
|
28
|
+
# Controls whether the Complete Mandate experience or related processing is suppressed.
|
|
29
|
+
attr_accessor :suppress
|
|
30
|
+
|
|
28
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
32
|
def self.attribute_map
|
|
30
33
|
{
|
|
31
34
|
:'type' => :'type',
|
|
32
35
|
:'tms' => :'tms',
|
|
33
36
|
:'decision_manager' => :'decisionManager',
|
|
34
|
-
:'consumer_authentication' => :'consumerAuthentication'
|
|
37
|
+
:'consumer_authentication' => :'consumerAuthentication',
|
|
38
|
+
:'suppress' => :'suppress'
|
|
35
39
|
}
|
|
36
40
|
end
|
|
37
41
|
|
|
@@ -41,7 +45,8 @@ module CyberSource
|
|
|
41
45
|
:'type' => :'type',
|
|
42
46
|
:'tms' => :'tms',
|
|
43
47
|
:'decision_manager' => :'decision_manager',
|
|
44
|
-
:'consumer_authentication' => :'consumer_authentication'
|
|
48
|
+
:'consumer_authentication' => :'consumer_authentication',
|
|
49
|
+
:'suppress' => :'suppress'
|
|
45
50
|
}
|
|
46
51
|
end
|
|
47
52
|
|
|
@@ -51,7 +56,8 @@ module CyberSource
|
|
|
51
56
|
:'type' => :'String',
|
|
52
57
|
:'tms' => :'Ucv1sessionsCompleteMandateTms',
|
|
53
58
|
:'decision_manager' => :'BOOLEAN',
|
|
54
|
-
:'consumer_authentication' => :'String'
|
|
59
|
+
:'consumer_authentication' => :'String',
|
|
60
|
+
:'suppress' => :'BOOLEAN'
|
|
55
61
|
}
|
|
56
62
|
end
|
|
57
63
|
|
|
@@ -78,6 +84,10 @@ module CyberSource
|
|
|
78
84
|
if attributes.has_key?(:'consumerAuthentication')
|
|
79
85
|
self.consumer_authentication = attributes[:'consumerAuthentication']
|
|
80
86
|
end
|
|
87
|
+
|
|
88
|
+
if attributes.has_key?(:'suppress')
|
|
89
|
+
self.suppress = attributes[:'suppress']
|
|
90
|
+
end
|
|
81
91
|
end
|
|
82
92
|
|
|
83
93
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -107,7 +117,8 @@ module CyberSource
|
|
|
107
117
|
type == o.type &&
|
|
108
118
|
tms == o.tms &&
|
|
109
119
|
decision_manager == o.decision_manager &&
|
|
110
|
-
consumer_authentication == o.consumer_authentication
|
|
120
|
+
consumer_authentication == o.consumer_authentication &&
|
|
121
|
+
suppress == o.suppress
|
|
111
122
|
end
|
|
112
123
|
|
|
113
124
|
# @see the `==` method
|
|
@@ -119,7 +130,7 @@ module CyberSource
|
|
|
119
130
|
# Calculates hash code according to all attributes.
|
|
120
131
|
# @return [Fixnum] Hash code
|
|
121
132
|
def hash
|
|
122
|
-
[type, tms, decision_manager, consumer_authentication].hash
|
|
133
|
+
[type, tms, decision_manager, consumer_authentication, suppress].hash
|
|
123
134
|
end
|
|
124
135
|
|
|
125
136
|
# Builds the object from hash
|