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
|
@@ -0,0 +1,279 @@
|
|
|
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
|
+
# Travel-specific information for airline/hotel transactions including routes, legs, and passenger details
|
|
16
|
+
class UnifiedriskTravel
|
|
17
|
+
# IATA Code for the actual final destination that the customer intends to travel to. It should be a destination on the completeRoute.
|
|
18
|
+
attr_accessor :actual_final_destination
|
|
19
|
+
|
|
20
|
+
# Concatenation of individual travel legs in the format ORIG1-DEST1[:ORIG2-DEST2...:ORIGn-DESTn], for example, SFO-JFK:JFK-LHR:LHR-CDG. For airport codes, see the IATA Airline and Airport Code Search. Note In your request, send either the complete route or the individual legs (_leg#_orig and _leg#_dest). If you send all the fields, the value of _complete_route takes precedence over that of the _leg# fields.
|
|
21
|
+
attr_accessor :complete_route
|
|
22
|
+
|
|
23
|
+
# Departure date and time of the first leg of the trip. Use one of the following formats: - yyyy-MM-dd HH:mm z - yyyy-MM-dd hh:mm a z - yyyy-MM-dd hh:mma z HH = hour in 24-hour format hh = hou
|
|
24
|
+
attr_accessor :departure_time
|
|
25
|
+
|
|
26
|
+
# Type of travel, for example one way or round trip.
|
|
27
|
+
attr_accessor :journey_type
|
|
28
|
+
|
|
29
|
+
# Number of passengers for whom the ticket was issued. If you do not include this field in your request, CyberSource uses a default value of 1. Required for American Express SafeKey (U.S.) for travel-related requests.
|
|
30
|
+
attr_accessor :number_of_passengers
|
|
31
|
+
|
|
32
|
+
attr_accessor :legs
|
|
33
|
+
|
|
34
|
+
attr_accessor :passengers
|
|
35
|
+
|
|
36
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
|
+
def self.attribute_map
|
|
38
|
+
{
|
|
39
|
+
:'actual_final_destination' => :'actualFinalDestination',
|
|
40
|
+
:'complete_route' => :'completeRoute',
|
|
41
|
+
:'departure_time' => :'departureTime',
|
|
42
|
+
:'journey_type' => :'journeyType',
|
|
43
|
+
:'number_of_passengers' => :'numberOfPassengers',
|
|
44
|
+
:'legs' => :'legs',
|
|
45
|
+
:'passengers' => :'passengers'
|
|
46
|
+
}
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
|
50
|
+
def self.json_map
|
|
51
|
+
{
|
|
52
|
+
:'actual_final_destination' => :'actual_final_destination',
|
|
53
|
+
:'complete_route' => :'complete_route',
|
|
54
|
+
:'departure_time' => :'departure_time',
|
|
55
|
+
:'journey_type' => :'journey_type',
|
|
56
|
+
:'number_of_passengers' => :'number_of_passengers',
|
|
57
|
+
:'legs' => :'legs',
|
|
58
|
+
:'passengers' => :'passengers'
|
|
59
|
+
}
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Attribute type mapping.
|
|
63
|
+
def self.swagger_types
|
|
64
|
+
{
|
|
65
|
+
:'actual_final_destination' => :'String',
|
|
66
|
+
:'complete_route' => :'String',
|
|
67
|
+
:'departure_time' => :'String',
|
|
68
|
+
:'journey_type' => :'String',
|
|
69
|
+
:'number_of_passengers' => :'Integer',
|
|
70
|
+
:'legs' => :'Object',
|
|
71
|
+
:'passengers' => :'Object'
|
|
72
|
+
}
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# Initializes the object
|
|
76
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
77
|
+
def initialize(attributes = {})
|
|
78
|
+
return unless attributes.is_a?(Hash)
|
|
79
|
+
|
|
80
|
+
# convert string to symbol for hash key
|
|
81
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
82
|
+
|
|
83
|
+
if attributes.has_key?(:'actualFinalDestination')
|
|
84
|
+
self.actual_final_destination = attributes[:'actualFinalDestination']
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
if attributes.has_key?(:'completeRoute')
|
|
88
|
+
self.complete_route = attributes[:'completeRoute']
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
if attributes.has_key?(:'departureTime')
|
|
92
|
+
self.departure_time = attributes[:'departureTime']
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
if attributes.has_key?(:'journeyType')
|
|
96
|
+
self.journey_type = attributes[:'journeyType']
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
if attributes.has_key?(:'numberOfPassengers')
|
|
100
|
+
self.number_of_passengers = attributes[:'numberOfPassengers']
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
if attributes.has_key?(:'legs')
|
|
104
|
+
self.legs = attributes[:'legs']
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
if attributes.has_key?(:'passengers')
|
|
108
|
+
self.passengers = attributes[:'passengers']
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
113
|
+
# @return Array for valid properties with the reasons
|
|
114
|
+
def list_invalid_properties
|
|
115
|
+
invalid_properties = Array.new
|
|
116
|
+
invalid_properties
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# Check to see if the all the properties in the model are valid
|
|
120
|
+
# @return true if the model is valid
|
|
121
|
+
def valid?
|
|
122
|
+
true
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
# Custom attribute writer method with validation
|
|
126
|
+
# @param [Object] actual_final_destination Value to be assigned
|
|
127
|
+
def actual_final_destination=(actual_final_destination)
|
|
128
|
+
@actual_final_destination = actual_final_destination
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
# Custom attribute writer method with validation
|
|
132
|
+
# @param [Object] complete_route Value to be assigned
|
|
133
|
+
def complete_route=(complete_route)
|
|
134
|
+
@complete_route = complete_route
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# Custom attribute writer method with validation
|
|
138
|
+
# @param [Object] departure_time Value to be assigned
|
|
139
|
+
def departure_time=(departure_time)
|
|
140
|
+
@departure_time = departure_time
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# Custom attribute writer method with validation
|
|
144
|
+
# @param [Object] journey_type Value to be assigned
|
|
145
|
+
def journey_type=(journey_type)
|
|
146
|
+
@journey_type = journey_type
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
# Checks equality by comparing each attribute.
|
|
150
|
+
# @param [Object] Object to be compared
|
|
151
|
+
def ==(o)
|
|
152
|
+
return true if self.equal?(o)
|
|
153
|
+
self.class == o.class &&
|
|
154
|
+
actual_final_destination == o.actual_final_destination &&
|
|
155
|
+
complete_route == o.complete_route &&
|
|
156
|
+
departure_time == o.departure_time &&
|
|
157
|
+
journey_type == o.journey_type &&
|
|
158
|
+
number_of_passengers == o.number_of_passengers &&
|
|
159
|
+
legs == o.legs &&
|
|
160
|
+
passengers == o.passengers
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
# @see the `==` method
|
|
164
|
+
# @param [Object] Object to be compared
|
|
165
|
+
def eql?(o)
|
|
166
|
+
self == o
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
# Calculates hash code according to all attributes.
|
|
170
|
+
# @return [Fixnum] Hash code
|
|
171
|
+
def hash
|
|
172
|
+
[actual_final_destination, complete_route, departure_time, journey_type, number_of_passengers, legs, passengers].hash
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# Builds the object from hash
|
|
176
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
177
|
+
# @return [Object] Returns the model itself
|
|
178
|
+
def build_from_hash(attributes)
|
|
179
|
+
return nil unless attributes.is_a?(Hash)
|
|
180
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
181
|
+
if type =~ /\AArray<(.*)>/i
|
|
182
|
+
# check to ensure the input is an array given that the the attribute
|
|
183
|
+
# is documented as an array but the input is not
|
|
184
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
185
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
186
|
+
end
|
|
187
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
188
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
189
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
self
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
# Deserializes the data based on type
|
|
196
|
+
# @param string type Data type
|
|
197
|
+
# @param string value Value to be deserialized
|
|
198
|
+
# @return [Object] Deserialized data
|
|
199
|
+
def _deserialize(type, value)
|
|
200
|
+
case type.to_sym
|
|
201
|
+
when :DateTime
|
|
202
|
+
DateTime.parse(value)
|
|
203
|
+
when :Date
|
|
204
|
+
Date.parse(value)
|
|
205
|
+
when :String
|
|
206
|
+
value.to_s
|
|
207
|
+
when :Integer
|
|
208
|
+
value.to_i
|
|
209
|
+
when :Float
|
|
210
|
+
value.to_f
|
|
211
|
+
when :BOOLEAN
|
|
212
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
213
|
+
true
|
|
214
|
+
else
|
|
215
|
+
false
|
|
216
|
+
end
|
|
217
|
+
when :Object
|
|
218
|
+
# generic object (usually a Hash), return directly
|
|
219
|
+
value
|
|
220
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
221
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
222
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
223
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
224
|
+
k_type = Regexp.last_match[:k_type]
|
|
225
|
+
v_type = Regexp.last_match[:v_type]
|
|
226
|
+
{}.tap do |hash|
|
|
227
|
+
value.each do |k, v|
|
|
228
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
229
|
+
end
|
|
230
|
+
end
|
|
231
|
+
else # model
|
|
232
|
+
temp_model = CyberSource.const_get(type).new
|
|
233
|
+
temp_model.build_from_hash(value)
|
|
234
|
+
end
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
# Returns the string representation of the object
|
|
238
|
+
# @return [String] String presentation of the object
|
|
239
|
+
def to_s
|
|
240
|
+
to_hash.to_s
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
244
|
+
# @return [Hash] Returns the object in the form of hash
|
|
245
|
+
def to_body
|
|
246
|
+
to_hash
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
# Returns the object in the form of hash
|
|
250
|
+
# @return [Hash] Returns the object in the form of hash
|
|
251
|
+
def to_hash
|
|
252
|
+
hash = {}
|
|
253
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
254
|
+
value = self.send(attr)
|
|
255
|
+
next if value.nil?
|
|
256
|
+
hash[param] = _to_hash(value)
|
|
257
|
+
end
|
|
258
|
+
hash
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
# Outputs non-array value in the form of hash
|
|
262
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
263
|
+
# @param [Object] value Any valid value
|
|
264
|
+
# @return [Hash] Returns the value in the form of hash
|
|
265
|
+
def _to_hash(value)
|
|
266
|
+
if value.is_a?(Array)
|
|
267
|
+
value.compact.map { |v| _to_hash(v) }
|
|
268
|
+
elsif value.is_a?(Hash)
|
|
269
|
+
{}.tap do |hash|
|
|
270
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
271
|
+
end
|
|
272
|
+
elsif value.respond_to? :to_hash
|
|
273
|
+
value.to_hash
|
|
274
|
+
else
|
|
275
|
+
value
|
|
276
|
+
end
|
|
277
|
+
end
|
|
278
|
+
end
|
|
279
|
+
end
|
|
@@ -23,6 +23,8 @@ module CyberSource
|
|
|
23
23
|
|
|
24
24
|
attr_accessor :webhooks
|
|
25
25
|
|
|
26
|
+
attr_accessor :smarter_retry
|
|
27
|
+
|
|
26
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
27
29
|
def self.attribute_map
|
|
28
30
|
{
|
|
@@ -30,7 +32,8 @@ module CyberSource
|
|
|
30
32
|
:'transaction_search' => :'transactionSearch',
|
|
31
33
|
:'bank_account_validation' => :'bankAccountValidation',
|
|
32
34
|
:'flexapi' => :'flexapi',
|
|
33
|
-
:'webhooks' => :'webhooks'
|
|
35
|
+
:'webhooks' => :'webhooks',
|
|
36
|
+
:'smarter_retry' => :'smarterRetry'
|
|
34
37
|
}
|
|
35
38
|
end
|
|
36
39
|
|
|
@@ -41,7 +44,8 @@ module CyberSource
|
|
|
41
44
|
:'transaction_search' => :'transaction_search',
|
|
42
45
|
:'bank_account_validation' => :'bank_account_validation',
|
|
43
46
|
:'flexapi' => :'flexapi',
|
|
44
|
-
:'webhooks' => :'webhooks'
|
|
47
|
+
:'webhooks' => :'webhooks',
|
|
48
|
+
:'smarter_retry' => :'smarter_retry'
|
|
45
49
|
}
|
|
46
50
|
end
|
|
47
51
|
|
|
@@ -52,7 +56,8 @@ module CyberSource
|
|
|
52
56
|
:'transaction_search' => :'PaymentsProductsTax',
|
|
53
57
|
:'bank_account_validation' => :'PaymentsProductsTax',
|
|
54
58
|
:'flexapi' => :'PaymentsProductsTax',
|
|
55
|
-
:'webhooks' => :'PaymentsProductsTax'
|
|
59
|
+
:'webhooks' => :'PaymentsProductsTax',
|
|
60
|
+
:'smarter_retry' => :'PaymentsProductsTax'
|
|
56
61
|
}
|
|
57
62
|
end
|
|
58
63
|
|
|
@@ -83,6 +88,10 @@ module CyberSource
|
|
|
83
88
|
if attributes.has_key?(:'webhooks')
|
|
84
89
|
self.webhooks = attributes[:'webhooks']
|
|
85
90
|
end
|
|
91
|
+
|
|
92
|
+
if attributes.has_key?(:'smarterRetry')
|
|
93
|
+
self.smarter_retry = attributes[:'smarterRetry']
|
|
94
|
+
end
|
|
86
95
|
end
|
|
87
96
|
|
|
88
97
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -107,7 +116,8 @@ module CyberSource
|
|
|
107
116
|
transaction_search == o.transaction_search &&
|
|
108
117
|
bank_account_validation == o.bank_account_validation &&
|
|
109
118
|
flexapi == o.flexapi &&
|
|
110
|
-
webhooks == o.webhooks
|
|
119
|
+
webhooks == o.webhooks &&
|
|
120
|
+
smarter_retry == o.smarter_retry
|
|
111
121
|
end
|
|
112
122
|
|
|
113
123
|
# @see the `==` method
|
|
@@ -119,7 +129,7 @@ module CyberSource
|
|
|
119
129
|
# Calculates hash code according to all attributes.
|
|
120
130
|
# @return [Fixnum] Hash code
|
|
121
131
|
def hash
|
|
122
|
-
[reporting, transaction_search, bank_account_validation, flexapi, webhooks].hash
|
|
132
|
+
[reporting, transaction_search, bank_account_validation, flexapi, webhooks, smarter_retry].hash
|
|
123
133
|
end
|
|
124
134
|
|
|
125
135
|
# Builds the object from hash
|
|
@@ -25,6 +25,8 @@ module CyberSource
|
|
|
25
25
|
|
|
26
26
|
attr_accessor :processing_information
|
|
27
27
|
|
|
28
|
+
attr_accessor :point_of_sale_information
|
|
29
|
+
|
|
28
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
31
|
def self.attribute_map
|
|
30
32
|
{
|
|
@@ -33,7 +35,8 @@ module CyberSource
|
|
|
33
35
|
:'order_information' => :'orderInformation',
|
|
34
36
|
:'agreement_information' => :'agreementInformation',
|
|
35
37
|
:'merchant_information' => :'merchantInformation',
|
|
36
|
-
:'processing_information' => :'processingInformation'
|
|
38
|
+
:'processing_information' => :'processingInformation',
|
|
39
|
+
:'point_of_sale_information' => :'pointOfSaleInformation'
|
|
37
40
|
}
|
|
38
41
|
end
|
|
39
42
|
|
|
@@ -45,7 +48,8 @@ module CyberSource
|
|
|
45
48
|
:'order_information' => :'order_information',
|
|
46
49
|
:'agreement_information' => :'agreement_information',
|
|
47
50
|
:'merchant_information' => :'merchant_information',
|
|
48
|
-
:'processing_information' => :'processing_information'
|
|
51
|
+
:'processing_information' => :'processing_information',
|
|
52
|
+
:'point_of_sale_information' => :'point_of_sale_information'
|
|
49
53
|
}
|
|
50
54
|
end
|
|
51
55
|
|
|
@@ -57,7 +61,8 @@ module CyberSource
|
|
|
57
61
|
:'order_information' => :'Ptsv2paymentsidvoidsOrderInformation',
|
|
58
62
|
:'agreement_information' => :'Ptsv2paymentsidvoidsAgreementInformation',
|
|
59
63
|
:'merchant_information' => :'Ptsv2paymentsidvoidsMerchantInformation',
|
|
60
|
-
:'processing_information' => :'Ptsv2paymentsidvoidsProcessingInformation'
|
|
64
|
+
:'processing_information' => :'Ptsv2paymentsidvoidsProcessingInformation',
|
|
65
|
+
:'point_of_sale_information' => :'Ptsv2paymentsPointOfSaleInformation'
|
|
61
66
|
}
|
|
62
67
|
end
|
|
63
68
|
|
|
@@ -92,6 +97,10 @@ module CyberSource
|
|
|
92
97
|
if attributes.has_key?(:'processingInformation')
|
|
93
98
|
self.processing_information = attributes[:'processingInformation']
|
|
94
99
|
end
|
|
100
|
+
|
|
101
|
+
if attributes.has_key?(:'pointOfSaleInformation')
|
|
102
|
+
self.point_of_sale_information = attributes[:'pointOfSaleInformation']
|
|
103
|
+
end
|
|
95
104
|
end
|
|
96
105
|
|
|
97
106
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -117,7 +126,8 @@ module CyberSource
|
|
|
117
126
|
order_information == o.order_information &&
|
|
118
127
|
agreement_information == o.agreement_information &&
|
|
119
128
|
merchant_information == o.merchant_information &&
|
|
120
|
-
processing_information == o.processing_information
|
|
129
|
+
processing_information == o.processing_information &&
|
|
130
|
+
point_of_sale_information == o.point_of_sale_information
|
|
121
131
|
end
|
|
122
132
|
|
|
123
133
|
# @see the `==` method
|
|
@@ -129,7 +139,7 @@ module CyberSource
|
|
|
129
139
|
# Calculates hash code according to all attributes.
|
|
130
140
|
# @return [Fixnum] Hash code
|
|
131
141
|
def hash
|
|
132
|
-
[client_reference_information, payment_information, order_information, agreement_information, merchant_information, processing_information].hash
|
|
142
|
+
[client_reference_information, payment_information, order_information, agreement_information, merchant_information, processing_information, point_of_sale_information].hash
|
|
133
143
|
end
|
|
134
144
|
|
|
135
145
|
# Builds the object from hash
|
|
@@ -25,6 +25,8 @@ module CyberSource
|
|
|
25
25
|
|
|
26
26
|
attr_accessor :processing_information
|
|
27
27
|
|
|
28
|
+
attr_accessor :point_of_sale_information
|
|
29
|
+
|
|
28
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
31
|
def self.attribute_map
|
|
30
32
|
{
|
|
@@ -33,7 +35,8 @@ module CyberSource
|
|
|
33
35
|
:'order_information' => :'orderInformation',
|
|
34
36
|
:'agreement_information' => :'agreementInformation',
|
|
35
37
|
:'merchant_information' => :'merchantInformation',
|
|
36
|
-
:'processing_information' => :'processingInformation'
|
|
38
|
+
:'processing_information' => :'processingInformation',
|
|
39
|
+
:'point_of_sale_information' => :'pointOfSaleInformation'
|
|
37
40
|
}
|
|
38
41
|
end
|
|
39
42
|
|
|
@@ -45,7 +48,8 @@ module CyberSource
|
|
|
45
48
|
:'order_information' => :'order_information',
|
|
46
49
|
:'agreement_information' => :'agreement_information',
|
|
47
50
|
:'merchant_information' => :'merchant_information',
|
|
48
|
-
:'processing_information' => :'processing_information'
|
|
51
|
+
:'processing_information' => :'processing_information',
|
|
52
|
+
:'point_of_sale_information' => :'point_of_sale_information'
|
|
49
53
|
}
|
|
50
54
|
end
|
|
51
55
|
|
|
@@ -57,7 +61,8 @@ module CyberSource
|
|
|
57
61
|
:'order_information' => :'Ptsv2paymentsidvoidsOrderInformation',
|
|
58
62
|
:'agreement_information' => :'Ptsv2paymentsidvoidsAgreementInformation',
|
|
59
63
|
:'merchant_information' => :'Ptsv2paymentsidvoidsMerchantInformation',
|
|
60
|
-
:'processing_information' => :'Ptsv2paymentsidvoidsProcessingInformation'
|
|
64
|
+
:'processing_information' => :'Ptsv2paymentsidvoidsProcessingInformation',
|
|
65
|
+
:'point_of_sale_information' => :'Ptsv2paymentsPointOfSaleInformation'
|
|
61
66
|
}
|
|
62
67
|
end
|
|
63
68
|
|
|
@@ -92,6 +97,10 @@ module CyberSource
|
|
|
92
97
|
if attributes.has_key?(:'processingInformation')
|
|
93
98
|
self.processing_information = attributes[:'processingInformation']
|
|
94
99
|
end
|
|
100
|
+
|
|
101
|
+
if attributes.has_key?(:'pointOfSaleInformation')
|
|
102
|
+
self.point_of_sale_information = attributes[:'pointOfSaleInformation']
|
|
103
|
+
end
|
|
95
104
|
end
|
|
96
105
|
|
|
97
106
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -117,7 +126,8 @@ module CyberSource
|
|
|
117
126
|
order_information == o.order_information &&
|
|
118
127
|
agreement_information == o.agreement_information &&
|
|
119
128
|
merchant_information == o.merchant_information &&
|
|
120
|
-
processing_information == o.processing_information
|
|
129
|
+
processing_information == o.processing_information &&
|
|
130
|
+
point_of_sale_information == o.point_of_sale_information
|
|
121
131
|
end
|
|
122
132
|
|
|
123
133
|
# @see the `==` method
|
|
@@ -129,7 +139,7 @@ module CyberSource
|
|
|
129
139
|
# Calculates hash code according to all attributes.
|
|
130
140
|
# @return [Fixnum] Hash code
|
|
131
141
|
def hash
|
|
132
|
-
[client_reference_information, payment_information, order_information, agreement_information, merchant_information, processing_information].hash
|
|
142
|
+
[client_reference_information, payment_information, order_information, agreement_information, merchant_information, processing_information, point_of_sale_information].hash
|
|
133
143
|
end
|
|
134
144
|
|
|
135
145
|
# Builds the object from hash
|
|
@@ -25,6 +25,8 @@ module CyberSource
|
|
|
25
25
|
|
|
26
26
|
attr_accessor :processing_information
|
|
27
27
|
|
|
28
|
+
attr_accessor :point_of_sale_information
|
|
29
|
+
|
|
28
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
31
|
def self.attribute_map
|
|
30
32
|
{
|
|
@@ -33,7 +35,8 @@ module CyberSource
|
|
|
33
35
|
:'order_information' => :'orderInformation',
|
|
34
36
|
:'agreement_information' => :'agreementInformation',
|
|
35
37
|
:'merchant_information' => :'merchantInformation',
|
|
36
|
-
:'processing_information' => :'processingInformation'
|
|
38
|
+
:'processing_information' => :'processingInformation',
|
|
39
|
+
:'point_of_sale_information' => :'pointOfSaleInformation'
|
|
37
40
|
}
|
|
38
41
|
end
|
|
39
42
|
|
|
@@ -45,7 +48,8 @@ module CyberSource
|
|
|
45
48
|
:'order_information' => :'order_information',
|
|
46
49
|
:'agreement_information' => :'agreement_information',
|
|
47
50
|
:'merchant_information' => :'merchant_information',
|
|
48
|
-
:'processing_information' => :'processing_information'
|
|
51
|
+
:'processing_information' => :'processing_information',
|
|
52
|
+
:'point_of_sale_information' => :'point_of_sale_information'
|
|
49
53
|
}
|
|
50
54
|
end
|
|
51
55
|
|
|
@@ -57,7 +61,8 @@ module CyberSource
|
|
|
57
61
|
:'order_information' => :'Ptsv2paymentsidvoidsOrderInformation',
|
|
58
62
|
:'agreement_information' => :'Ptsv2paymentsidvoidsAgreementInformation',
|
|
59
63
|
:'merchant_information' => :'Ptsv2paymentsidvoidsMerchantInformation',
|
|
60
|
-
:'processing_information' => :'Ptsv2paymentsidvoidsProcessingInformation'
|
|
64
|
+
:'processing_information' => :'Ptsv2paymentsidvoidsProcessingInformation',
|
|
65
|
+
:'point_of_sale_information' => :'Ptsv2paymentsPointOfSaleInformation'
|
|
61
66
|
}
|
|
62
67
|
end
|
|
63
68
|
|
|
@@ -92,6 +97,10 @@ module CyberSource
|
|
|
92
97
|
if attributes.has_key?(:'processingInformation')
|
|
93
98
|
self.processing_information = attributes[:'processingInformation']
|
|
94
99
|
end
|
|
100
|
+
|
|
101
|
+
if attributes.has_key?(:'pointOfSaleInformation')
|
|
102
|
+
self.point_of_sale_information = attributes[:'pointOfSaleInformation']
|
|
103
|
+
end
|
|
95
104
|
end
|
|
96
105
|
|
|
97
106
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -117,7 +126,8 @@ module CyberSource
|
|
|
117
126
|
order_information == o.order_information &&
|
|
118
127
|
agreement_information == o.agreement_information &&
|
|
119
128
|
merchant_information == o.merchant_information &&
|
|
120
|
-
processing_information == o.processing_information
|
|
129
|
+
processing_information == o.processing_information &&
|
|
130
|
+
point_of_sale_information == o.point_of_sale_information
|
|
121
131
|
end
|
|
122
132
|
|
|
123
133
|
# @see the `==` method
|
|
@@ -129,7 +139,7 @@ module CyberSource
|
|
|
129
139
|
# Calculates hash code according to all attributes.
|
|
130
140
|
# @return [Fixnum] Hash code
|
|
131
141
|
def hash
|
|
132
|
-
[client_reference_information, payment_information, order_information, agreement_information, merchant_information, processing_information].hash
|
|
142
|
+
[client_reference_information, payment_information, order_information, agreement_information, merchant_information, processing_information, point_of_sale_information].hash
|
|
133
143
|
end
|
|
134
144
|
|
|
135
145
|
# Builds the object from hash
|
|
@@ -25,6 +25,8 @@ module CyberSource
|
|
|
25
25
|
|
|
26
26
|
attr_accessor :processing_information
|
|
27
27
|
|
|
28
|
+
attr_accessor :point_of_sale_information
|
|
29
|
+
|
|
28
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
31
|
def self.attribute_map
|
|
30
32
|
{
|
|
@@ -33,7 +35,8 @@ module CyberSource
|
|
|
33
35
|
:'order_information' => :'orderInformation',
|
|
34
36
|
:'agreement_information' => :'agreementInformation',
|
|
35
37
|
:'merchant_information' => :'merchantInformation',
|
|
36
|
-
:'processing_information' => :'processingInformation'
|
|
38
|
+
:'processing_information' => :'processingInformation',
|
|
39
|
+
:'point_of_sale_information' => :'pointOfSaleInformation'
|
|
37
40
|
}
|
|
38
41
|
end
|
|
39
42
|
|
|
@@ -45,7 +48,8 @@ module CyberSource
|
|
|
45
48
|
:'order_information' => :'order_information',
|
|
46
49
|
:'agreement_information' => :'agreement_information',
|
|
47
50
|
:'merchant_information' => :'merchant_information',
|
|
48
|
-
:'processing_information' => :'processing_information'
|
|
51
|
+
:'processing_information' => :'processing_information',
|
|
52
|
+
:'point_of_sale_information' => :'point_of_sale_information'
|
|
49
53
|
}
|
|
50
54
|
end
|
|
51
55
|
|
|
@@ -57,7 +61,8 @@ module CyberSource
|
|
|
57
61
|
:'order_information' => :'Ptsv2paymentsidvoidsOrderInformation',
|
|
58
62
|
:'agreement_information' => :'Ptsv2paymentsidvoidsAgreementInformation',
|
|
59
63
|
:'merchant_information' => :'Ptsv2paymentsidvoidsMerchantInformation',
|
|
60
|
-
:'processing_information' => :'Ptsv2paymentsidvoidsProcessingInformation'
|
|
64
|
+
:'processing_information' => :'Ptsv2paymentsidvoidsProcessingInformation',
|
|
65
|
+
:'point_of_sale_information' => :'Ptsv2paymentsPointOfSaleInformation'
|
|
61
66
|
}
|
|
62
67
|
end
|
|
63
68
|
|
|
@@ -92,6 +97,10 @@ module CyberSource
|
|
|
92
97
|
if attributes.has_key?(:'processingInformation')
|
|
93
98
|
self.processing_information = attributes[:'processingInformation']
|
|
94
99
|
end
|
|
100
|
+
|
|
101
|
+
if attributes.has_key?(:'pointOfSaleInformation')
|
|
102
|
+
self.point_of_sale_information = attributes[:'pointOfSaleInformation']
|
|
103
|
+
end
|
|
95
104
|
end
|
|
96
105
|
|
|
97
106
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -117,7 +126,8 @@ module CyberSource
|
|
|
117
126
|
order_information == o.order_information &&
|
|
118
127
|
agreement_information == o.agreement_information &&
|
|
119
128
|
merchant_information == o.merchant_information &&
|
|
120
|
-
processing_information == o.processing_information
|
|
129
|
+
processing_information == o.processing_information &&
|
|
130
|
+
point_of_sale_information == o.point_of_sale_information
|
|
121
131
|
end
|
|
122
132
|
|
|
123
133
|
# @see the `==` method
|
|
@@ -129,7 +139,7 @@ module CyberSource
|
|
|
129
139
|
# Calculates hash code according to all attributes.
|
|
130
140
|
# @return [Fixnum] Hash code
|
|
131
141
|
def hash
|
|
132
|
-
[client_reference_information, payment_information, order_information, agreement_information, merchant_information, processing_information].hash
|
|
142
|
+
[client_reference_information, payment_information, order_information, agreement_information, merchant_information, processing_information, point_of_sale_information].hash
|
|
133
143
|
end
|
|
134
144
|
|
|
135
145
|
# Builds the object from hash
|