cybersource_rest_client 0.0.86 → 0.0.88
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/acp_checkout_api.rb +553 -0
- data/lib/cybersource_rest_client/api/agent_registration_api.rb +721 -0
- data/lib/cybersource_rest_client/api/bank_account_validation_api.rb +0 -1
- 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/enrollment_api.rb +104 -0
- 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/{merchant_capabilities_api.rb → merchant_registration_api.rb} +47 -391
- data/lib/cybersource_rest_client/api/offers_api.rb +3 -3
- data/lib/cybersource_rest_client/api/payment_events_api.rb +197 -0
- data/lib/cybersource_rest_client/api/product_feed_api.rb +365 -0
- data/lib/cybersource_rest_client/api/purchase_intent_api.rb +278 -0
- 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/ucp_checkout_api.rb +453 -0
- data/lib/cybersource_rest_client/api/visa_protect_risk_insights_api.rb +104 -0
- data/lib/cybersource_rest_client/models/activate_merchant_key_response200.rb +1 -1
- data/lib/cybersource_rest_client/models/add_agent_key_response201.rb +11 -11
- data/lib/cybersource_rest_client/models/agent_registration_response201.rb +13 -15
- data/lib/cybersource_rest_client/models/agent_registration_response201_keys.rb +8 -8
- data/lib/cybersource_rest_client/models/agent_request.rb +9 -11
- data/lib/cybersource_rest_client/models/agent_update.rb +7 -9
- data/lib/cybersource_rest_client/models/auth_reversal_request.rb +1 -1
- data/lib/cybersource_rest_client/models/boarding_payouts_configurations.rb +1 -1
- data/lib/cybersource_rest_client/models/boarding_payouts_configurations_acquirer.rb +216 -0
- data/lib/cybersource_rest_client/models/boarding_payouts_configurations_merchant_descriptor.rb +205 -0
- data/lib/cybersource_rest_client/models/boarding_payouts_configurations_processors.rb +581 -0
- data/lib/cybersource_rest_client/models/capture_payment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/create_order_request.rb +11 -1
- data/lib/cybersource_rest_client/models/create_payment_request.rb +14 -1
- data/lib/cybersource_rest_client/models/create_session_req.rb +14 -1
- data/lib/cybersource_rest_client/models/create_session_request.rb +14 -1
- data/lib/cybersource_rest_client/models/iccv1agents_keys.rb +4 -4
- data/lib/cybersource_rest_client/models/iccv1merchants_api_integrations.rb +2 -2
- data/lib/cybersource_rest_client/models/iccv1merchants_encryption_key.rb +6 -6
- data/lib/cybersource_rest_client/models/iccv1merchants_protocol_interactions.rb +1 -1
- data/lib/cybersource_rest_client/models/iccv1merchants_web_integrations.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_200_16.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_200_17.rb +60 -5
- data/lib/cybersource_rest_client/models/inline_response_200_18.rb +45 -5
- data/lib/cybersource_rest_client/models/inline_response_200_19.rb +30 -107
- data/lib/cybersource_rest_client/models/inline_response_200_19_processing.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19_syndication.rb +224 -0
- data/lib/cybersource_rest_client/models/inline_response_200_20_products.rb +80 -682
- 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 +141 -80
- 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} +31 -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} +16 -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} +16 -6
- data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_value_added_services.rb → inline_response_201_6_setups_value_added_services.rb} +16 -6
- 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_202_1.rb +191 -0
- 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/key_request.rb +4 -4
- data/lib/cybersource_rest_client/models/key_request_1.rb +5 -5
- data/lib/cybersource_rest_client/models/key_update.rb +5 -5
- data/lib/cybersource_rest_client/models/key_update_1.rb +5 -5
- data/lib/cybersource_rest_client/models/list_agent_keys_response200.rb +2 -2
- data/lib/cybersource_rest_client/models/merchant_registration_response201.rb +10 -10
- data/lib/cybersource_rest_client/models/merchant_registration_response201_api_integrations.rb +225 -0
- data/lib/cybersource_rest_client/models/merchant_registration_response201_keys.rb +1 -1
- data/lib/cybersource_rest_client/models/merchant_registration_response201_web_integrations.rb +225 -0
- data/lib/cybersource_rest_client/models/merchant_request.rb +7 -7
- data/lib/cybersource_rest_client/models/merchant_update.rb +7 -7
- data/lib/cybersource_rest_client/models/mit_reversal_request.rb +1 -1
- data/lib/cybersource_rest_client/models/mit_void_request.rb +15 -5
- data/lib/cybersource_rest_client/models/payments_configuration_setup.rb +11 -1
- data/lib/cybersource_rest_client/models/payments_products.rb +11 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +12 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1.rb +12 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information.rb +44 -1
- data/lib/cybersource_rest_client/models/{pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb → pts_v2_payments_post201_response_1_order_information_merchant_descriptor.rb} +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +18 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +101 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_ship_to.rb +12 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/{ptsv2paymentsidreversals_point_of_sale_information.rb → pts_v2_payments_reversals_post201_response_point_of_sale_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{ptsv2paymentsidreversals_point_of_sale_information_emv.rb → pts_v2_payments_reversals_post201_response_point_of_sale_information_emv.rb} +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2intents_buyer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv2intents_merchant_information_merchant_descriptor.rb +18 -1
- data/lib/cybersource_rest_client/models/ptsv2intents_order_information_bill_to.rb +154 -1
- data/lib/cybersource_rest_client/models/ptsv2intents_order_information_line_items.rb +16 -5
- data/lib/cybersource_rest_client/models/ptsv2intentsid_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2intentsid_merchant_information_merchant_descriptor.rb +207 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer.rb +247 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_3_results_risk_insights.rb → ptsv2payments_order_history.rb} +39 -36
- data/lib/cybersource_rest_client/models/ptsv2payments_ship_to.rb +281 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_point_of_sale_information.rb +1 -1
- data/lib/cybersource_rest_client/models/{ptsv2paymentsidcaptures_point_of_sale_information_emv.rb → ptsv2paymentsidrefunds_point_of_sale_information_emv.rb} +1 -1
- data/lib/cybersource_rest_client/models/risk_products.rb +15 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +1 -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/{deactivate_merchant_key_response200.rb → unifiedrisk_account.rb} +10 -16
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer.rb +302 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_19_google_merchant.rb → unifiedrisk_acquirer_merchant_account.rb} +42 -45
- 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/{label_request.rb → unifiedrisk_merchant_merchant_descriptor_limit_value.rb} +62 -73
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_trading_address.rb +301 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_19_google_merchant_products.rb → unifiedrisk_order.rb} +58 -61
- 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/unifiedrisk_order_shipping_store_store_address.rb +235 -0
- 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/{inline_response_200_19_errors.rb → unifiedrisk_payment_verification_digital.rb} +26 -27
- 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/value_added_services_products.rb +15 -5
- data/lib/cybersource_rest_client/models/void_capture_request.rb +15 -5
- data/lib/cybersource_rest_client/models/void_credit_request.rb +15 -5
- data/lib/cybersource_rest_client/models/void_payment_request.rb +15 -5
- data/lib/cybersource_rest_client/models/void_refund_request.rb +15 -5
- 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 +178 -72
- metadata +180 -74
- data/lib/cybersource_rest_client/api/agent_capabilities_api.rb +0 -2279
- 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
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +0 -223
|
@@ -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
|
|
|
@@ -0,0 +1,191 @@
|
|
|
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
|
+
# Acknowledgement returned when a product feed submission is accepted for asynchronous processing. Validation, ingestion, and syndication results are not available synchronously.
|
|
16
|
+
class InlineResponse2021
|
|
17
|
+
# Unique identifier for this feed submission job. Use this to track processing and syndication progress.
|
|
18
|
+
attr_accessor :job_id
|
|
19
|
+
|
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
|
+
def self.attribute_map
|
|
22
|
+
{
|
|
23
|
+
:'job_id' => :'jobId'
|
|
24
|
+
}
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
|
28
|
+
def self.json_map
|
|
29
|
+
{
|
|
30
|
+
:'job_id' => :'job_id'
|
|
31
|
+
}
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# Attribute type mapping.
|
|
35
|
+
def self.swagger_types
|
|
36
|
+
{
|
|
37
|
+
:'job_id' => :'String'
|
|
38
|
+
}
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Initializes the object
|
|
42
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
43
|
+
def initialize(attributes = {})
|
|
44
|
+
return unless attributes.is_a?(Hash)
|
|
45
|
+
|
|
46
|
+
# convert string to symbol for hash key
|
|
47
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
48
|
+
|
|
49
|
+
if attributes.has_key?(:'jobId')
|
|
50
|
+
self.job_id = attributes[:'jobId']
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
55
|
+
# @return Array for valid properties with the reasons
|
|
56
|
+
def list_invalid_properties
|
|
57
|
+
invalid_properties = Array.new
|
|
58
|
+
invalid_properties
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# Check to see if the all the properties in the model are valid
|
|
62
|
+
# @return true if the model is valid
|
|
63
|
+
def valid?
|
|
64
|
+
true
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# Checks equality by comparing each attribute.
|
|
68
|
+
# @param [Object] Object to be compared
|
|
69
|
+
def ==(o)
|
|
70
|
+
return true if self.equal?(o)
|
|
71
|
+
self.class == o.class &&
|
|
72
|
+
job_id == o.job_id
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# @see the `==` method
|
|
76
|
+
# @param [Object] Object to be compared
|
|
77
|
+
def eql?(o)
|
|
78
|
+
self == o
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Calculates hash code according to all attributes.
|
|
82
|
+
# @return [Fixnum] Hash code
|
|
83
|
+
def hash
|
|
84
|
+
[job_id].hash
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# Builds the object from hash
|
|
88
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
89
|
+
# @return [Object] Returns the model itself
|
|
90
|
+
def build_from_hash(attributes)
|
|
91
|
+
return nil unless attributes.is_a?(Hash)
|
|
92
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
93
|
+
if type =~ /\AArray<(.*)>/i
|
|
94
|
+
# check to ensure the input is an array given that the the attribute
|
|
95
|
+
# is documented as an array but the input is not
|
|
96
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
97
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
98
|
+
end
|
|
99
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
100
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
101
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
self
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# Deserializes the data based on type
|
|
108
|
+
# @param string type Data type
|
|
109
|
+
# @param string value Value to be deserialized
|
|
110
|
+
# @return [Object] Deserialized data
|
|
111
|
+
def _deserialize(type, value)
|
|
112
|
+
case type.to_sym
|
|
113
|
+
when :DateTime
|
|
114
|
+
DateTime.parse(value)
|
|
115
|
+
when :Date
|
|
116
|
+
Date.parse(value)
|
|
117
|
+
when :String
|
|
118
|
+
value.to_s
|
|
119
|
+
when :Integer
|
|
120
|
+
value.to_i
|
|
121
|
+
when :Float
|
|
122
|
+
value.to_f
|
|
123
|
+
when :BOOLEAN
|
|
124
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
125
|
+
true
|
|
126
|
+
else
|
|
127
|
+
false
|
|
128
|
+
end
|
|
129
|
+
when :Object
|
|
130
|
+
# generic object (usually a Hash), return directly
|
|
131
|
+
value
|
|
132
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
133
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
134
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
135
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
136
|
+
k_type = Regexp.last_match[:k_type]
|
|
137
|
+
v_type = Regexp.last_match[:v_type]
|
|
138
|
+
{}.tap do |hash|
|
|
139
|
+
value.each do |k, v|
|
|
140
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
else # model
|
|
144
|
+
temp_model = CyberSource.const_get(type).new
|
|
145
|
+
temp_model.build_from_hash(value)
|
|
146
|
+
end
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
# Returns the string representation of the object
|
|
150
|
+
# @return [String] String presentation of the object
|
|
151
|
+
def to_s
|
|
152
|
+
to_hash.to_s
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
156
|
+
# @return [Hash] Returns the object in the form of hash
|
|
157
|
+
def to_body
|
|
158
|
+
to_hash
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# Returns the object in the form of hash
|
|
162
|
+
# @return [Hash] Returns the object in the form of hash
|
|
163
|
+
def to_hash
|
|
164
|
+
hash = {}
|
|
165
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
166
|
+
value = self.send(attr)
|
|
167
|
+
next if value.nil?
|
|
168
|
+
hash[param] = _to_hash(value)
|
|
169
|
+
end
|
|
170
|
+
hash
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
# Outputs non-array value in the form of hash
|
|
174
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
175
|
+
# @param [Object] value Any valid value
|
|
176
|
+
# @return [Hash] Returns the value in the form of hash
|
|
177
|
+
def _to_hash(value)
|
|
178
|
+
if value.is_a?(Array)
|
|
179
|
+
value.compact.map { |v| _to_hash(v) }
|
|
180
|
+
elsif value.is_a?(Hash)
|
|
181
|
+
{}.tap do |hash|
|
|
182
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
183
|
+
end
|
|
184
|
+
elsif value.respond_to? :to_hash
|
|
185
|
+
value.to_hash
|
|
186
|
+
else
|
|
187
|
+
value
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
end
|
|
191
|
+
end
|