cybersource_rest_client 0.0.85 → 0.0.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/util/Cache.rb +9 -6
- data/lib/AuthenticationSDK/util/CertificateUtility.rb +14 -6
- data/lib/AuthenticationSDK/util/Utility.rb +16 -5
- data/lib/cybersource_rest_client/api/agent_capabilities_api.rb +1868 -122
- 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/emv_tag_details_api.rb +1 -1
- data/lib/cybersource_rest_client/api/foreign_exchange_rates_api.rb +146 -0
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +9 -9
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +94 -4
- data/lib/cybersource_rest_client/api/merchant_capabilities_api.rb +1065 -0
- data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +361 -0
- data/lib/cybersource_rest_client/api/network_tokens_api.rb +4 -4
- data/lib/cybersource_rest_client/api/offers_api.rb +3 -3
- data/lib/cybersource_rest_client/api/orders_api.rb +2 -2
- data/lib/cybersource_rest_client/api/payment_tokens_api.rb +1 -1
- data/lib/cybersource_rest_client/api/plans_api.rb +1 -1
- data/lib/cybersource_rest_client/api/pull_funds_api.rb +3 -3
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +2 -2
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +2 -2
- data/lib/cybersource_rest_client/api/subscriptions_follow_ons_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 +158 -0
- data/lib/cybersource_rest_client/api/visa_protect_risk_insights_api.rb +104 -0
- data/lib/cybersource_rest_client/models/acp_checkout_session_response_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_complete_checkout_request.rb +205 -0
- data/lib/cybersource_rest_client/models/acp_complete_checkout_response_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_complete_checkout_session_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_create_checkout_session_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_create_checkout_session_request.rb +217 -0
- data/lib/cybersource_rest_client/models/acp_update_checkout_session_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_update_checkout_session_request.rb +224 -0
- data/lib/cybersource_rest_client/models/activate_merchant_key_response200.rb +356 -0
- data/lib/cybersource_rest_client/models/add_agent_key_response201.rb +356 -0
- data/lib/cybersource_rest_client/models/agent_registration_conflict_response409.rb +196 -0
- data/lib/cybersource_rest_client/models/agent_registration_response201.rb +356 -0
- data/lib/cybersource_rest_client/models/agent_registration_response201_keys.rb +308 -0
- data/lib/cybersource_rest_client/models/agent_registration_validation_error_response422.rb +214 -0
- data/lib/cybersource_rest_client/models/agent_registration_validation_error_response422_errors.rb +212 -0
- data/lib/cybersource_rest_client/models/agent_request.rb +286 -0
- data/lib/cybersource_rest_client/models/agent_update.rb +237 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_configurations.rb +1 -1
- data/lib/cybersource_rest_client/models/body_1.rb +189 -0
- data/lib/cybersource_rest_client/models/body_2.rb +224 -0
- data/lib/cybersource_rest_client/models/consumer_authentication_response.rb +196 -0
- data/lib/cybersource_rest_client/models/create_payment_link_request.rb +17 -5
- data/lib/cybersource_rest_client/models/deactivate_merchant_key_response200.rb +196 -0
- data/lib/cybersource_rest_client/models/iccv1agents_keys.rb +239 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessions_fulfillment_address.rb +344 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessions_items.rb +222 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_id_fulfillment_address.rb +344 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_idcomplete_payment_data.rb +222 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_idcomplete_payment_data_billing_address.rb +344 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_discounts.rb +206 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_discounts_allocations.rb +202 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_discounts_applied.rb +237 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment.rb +193 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_destinations.rb +246 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_groups.rb +228 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_methods.rb +252 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_options.rb +215 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_totals.rb +202 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_item.rb +207 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_line_items.rb +211 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment.rb +217 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_billing_address.rb +235 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_credential.rb +202 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_handlers.rb +259 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_instruments.rb +288 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessionssession_id_discounts.rb +206 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessionssession_id_fulfillment.rb +193 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessionssession_id_payment.rb +217 -0
- data/lib/cybersource_rest_client/models/iccv1merchants_api_integrations.rb +225 -0
- data/lib/cybersource_rest_client/models/iccv1merchants_encryption_key.rb +245 -0
- data/lib/cybersource_rest_client/models/iccv1merchants_protocol_interactions.rb +236 -0
- data/lib/cybersource_rest_client/models/iccv1merchants_web_integrations.rb +225 -0
- data/lib/cybersource_rest_client/models/iccv1productsfeed_products.rb +1368 -0
- data/lib/cybersource_rest_client/models/inline_response_200_16.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_200_17.rb +317 -0
- data/lib/cybersource_rest_client/models/inline_response_200_17_fulfillment_address.rb +344 -0
- data/lib/cybersource_rest_client/models/inline_response_200_17_order.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_200_18.rb +308 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19.rb +302 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19_errors.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19_google_merchant.rb +237 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19_google_merchant_products.rb +259 -0
- data/lib/cybersource_rest_client/models/inline_response_200_20.rb +259 -0
- data/lib/cybersource_rest_client/models/inline_response_200_20_products.rb +1081 -0
- data/lib/cybersource_rest_client/models/inline_response_200_21.rb +201 -0
- 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_200_5_integration_information_tenant_configurations.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_10.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_201_11.rb +297 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_9_client_reference_information.rb → inline_response_201_11_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_9_error_information.rb → inline_response_201_11_error_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_9_order_information.rb → inline_response_201_11_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_9_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_9_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_9_processor_information.rb → inline_response_201_11_processor_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_12.rb +318 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_fulfillment_address.rb +344 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_fulfillment_options.rb +290 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_item.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_line_items.rb +256 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_links.rb +212 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_messages.rb +250 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_payment_provider.rb +204 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_totals.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13.rb +312 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_discounts.rb +206 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_fulfillment.rb +193 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_item.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_line_items.rb +225 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_order.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_payment.rb +217 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_ucp.rb +204 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_ucp_capabilities.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3.rb +57 -35
- data/lib/cybersource_rest_client/models/inline_response_201_3_error_information.rb +225 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_error_information_details.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_order_information.rb +189 -0
- 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_3_processing_information_routing.rb +196 -0
- 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 +61 -61
- data/lib/cybersource_rest_client/models/{inline_response_401_1__links.rb → inline_response_201_4__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/inline_response_201_4__links_self.rb +201 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_acquirer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_client_reference_information.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_error_information.rb +225 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_error_information_details.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_merchant_information.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_order_information.rb +189 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_order_information_amount_details.rb +264 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_payment_information.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_payment_information_card.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information.rb +240 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information_payouts_options.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_processor_information.rb +548 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_processor_information_card_verification.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_transactions.rb +239 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5.rb +44 -18
- data/lib/cybersource_rest_client/models/{inline_response_201_3_payout_information.rb → inline_response_201_5_payout_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_3_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_3_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 +69 -102
- data/lib/cybersource_rest_client/models/{inline_response_201_4_integration_information.rb → inline_response_201_6_integration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_4_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_4_organization_information.rb → inline_response_201_6_organization_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_product_information_setups.rb → inline_response_201_6_product_information_setups.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_4_registration_information.rb → inline_response_201_6_registration_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups.rb → inline_response_201_6_setups.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_commerce_solutions.rb → inline_response_201_6_setups_commerce_solutions.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_risk.rb → inline_response_201_6_setups_risk.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_value_added_services.rb → inline_response_201_6_setups_value_added_services.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_7.rb +32 -87
- data/lib/cybersource_rest_client/models/{inline_response_201_5_key_information.rb → inline_response_201_7_key_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5_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_5_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 +127 -15
- data/lib/cybersource_rest_client/models/inline_response_201_9.rb +78 -98
- data/lib/cybersource_rest_client/models/{inline_response_201_7_payloads.rb → inline_response_201_9_payloads.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7_payloads_test_payload.rb → inline_response_201_9_payloads_test_payload.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_202__links.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_10.rb +58 -36
- data/lib/cybersource_rest_client/models/{inline_response_400_8_fields.rb → inline_response_400_10_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_11.rb +35 -42
- data/lib/cybersource_rest_client/models/{inline_response_400_9_details.rb → inline_response_400_11_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_12.rb +27 -26
- data/lib/cybersource_rest_client/models/inline_response_400_12_details.rb +18 -7
- data/lib/cybersource_rest_client/models/inline_response_400_13.rb +38 -77
- data/lib/cybersource_rest_client/models/inline_response_400_14.rb +235 -0
- data/lib/cybersource_rest_client/models/{inline_response_400_10_details.rb → inline_response_400_14_details.rb} +8 -19
- data/lib/cybersource_rest_client/models/inline_response_400_15.rb +281 -0
- data/lib/cybersource_rest_client/models/inline_response_400_16.rb +235 -0
- data/lib/cybersource_rest_client/models/inline_response_400_3.rb +42 -13
- data/lib/cybersource_rest_client/models/inline_response_400_4.rb +47 -13
- data/lib/cybersource_rest_client/models/inline_response_400_5.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_6.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_7.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_8.rb +37 -60
- data/lib/cybersource_rest_client/models/inline_response_400_9.rb +6 -6
- data/lib/cybersource_rest_client/models/inline_response_401.rb +51 -33
- data/lib/cybersource_rest_client/models/inline_response_401_1.rb +44 -56
- data/lib/cybersource_rest_client/models/inline_response_401_2.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_401_3.rb +253 -0
- data/lib/cybersource_rest_client/models/inline_response_401_3__links.rb +189 -0
- data/lib/cybersource_rest_client/models/{inline_response_401_1__links_self.rb → inline_response_401_3__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_401_1_fields.rb → inline_response_401_3_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_404_3.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_422_1.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_502_2.rb +55 -26
- data/lib/cybersource_rest_client/models/inline_response_502_3.rb +21 -15
- data/lib/cybersource_rest_client/models/inline_response_502_4.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_502_5.rb +251 -0
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +18 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoice_information.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_cancel200_response.rb +17 -5
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information.rb +20 -3
- 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/invoicing_v2_invoices_publish200_response.rb +17 -5
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_send200_response.rb +17 -5
- data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +18 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_invoice_information.rb +20 -3
- data/lib/cybersource_rest_client/models/invoicingv2invoicesid_invoice_information.rb +20 -3
- data/lib/cybersource_rest_client/models/iplv2paymentlinks_order_information_line_items.rb +26 -9
- data/lib/cybersource_rest_client/models/iplv2paymentlinks_purchase_information.rb +85 -5
- data/lib/cybersource_rest_client/models/iplv2paymentlinksid_purchase_information.rb +85 -5
- data/lib/cybersource_rest_client/models/key_request.rb +239 -0
- data/lib/cybersource_rest_client/models/key_request_1.rb +245 -0
- data/lib/cybersource_rest_client/models/key_update.rb +224 -0
- data/lib/cybersource_rest_client/models/key_update_1.rb +235 -0
- data/lib/cybersource_rest_client/models/list_agent_keys_response200.rb +245 -0
- data/lib/cybersource_rest_client/models/list_agent_keys_response200_pagination.rb +276 -0
- data/lib/cybersource_rest_client/models/list_merchant_keys_response200.rb +262 -0
- data/lib/cybersource_rest_client/models/merchant_defined_field_core_1.rb +315 -0
- data/lib/cybersource_rest_client/models/merchant_defined_field_definition_request_1.rb +315 -0
- data/lib/cybersource_rest_client/models/merchant_registration_response201.rb +395 -0
- data/lib/cybersource_rest_client/models/merchant_registration_response201_keys.rb +324 -0
- data/lib/cybersource_rest_client/models/merchant_registration_validation_error_response422.rb +193 -0
- data/lib/cybersource_rest_client/models/merchant_registration_validation_error_response422_detail.rb +215 -0
- data/lib/cybersource_rest_client/models/merchant_request.rb +317 -0
- data/lib/cybersource_rest_client/models/merchant_update.rb +270 -0
- data/lib/cybersource_rest_client/models/patch_registration_body.rb +234 -0
- data/lib/cybersource_rest_client/models/pbl_payment_links_get200_response.rb +17 -5
- data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response.rb +17 -5
- data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response_purchase_information.rb +81 -1
- data/lib/cybersource_rest_client/models/{tms_tokenized_card_delete_request.rb → post_tokenized_card_delete_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/processing_info_authorization_options.rb +14 -1
- data/lib/cybersource_rest_client/models/product_feed_request.rb +230 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +37 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +11 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_card_verification.rb +214 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb +0 -14
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_acquirer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_client_reference_information.rb +257 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_client_reference_information_partner.rb +213 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_order_information.rb +189 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_order_information_amount_details.rb +299 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_processing_information.rb +240 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_processing_information_routing.rb +205 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutstransactionqueryid_client_reference_information.rb +247 -0
- data/lib/cybersource_rest_client/models/{boardingv1registrations_integration_information_tenant_information.rb → tenant_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +12 -1
- data/lib/cybersource_rest_client/models/ucp_checkout_session_response_buyer.rb +202 -0
- data/lib/cybersource_rest_client/models/ucp_complete_checkout_request.rb +201 -0
- data/lib/cybersource_rest_client/models/ucp_create_checkout_session_buyer.rb +202 -0
- data/lib/cybersource_rest_client/models/ucp_create_checkout_session_request.rb +249 -0
- data/lib/cybersource_rest_client/models/ucp_update_checkout_session_buyer.rb +202 -0
- data/lib/cybersource_rest_client/models/ucp_update_checkout_session_request.rb +255 -0
- 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/unified_risk_post201_response.rb +211 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results.rb +190 -0
- 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_post400_response.rb +230 -0
- data/lib/cybersource_rest_client/models/unified_risk_post400_response_errors.rb +223 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_account.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer.rb +302 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account.rb +234 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account_security_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authentication.rb +402 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authentication_challenge.rb +202 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authorization.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_browser.rb +420 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_customer.rb +403 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_customer_address.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_customer_personal_identification.rb +297 -0
- 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_labels.rb +230 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_authentication_outcome.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_payment_authorization_decision.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_return.rb +202 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_transaction_decision.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_transaction_outcome.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant.rb +326 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_address.rb +328 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor.rb +389 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_annual_sales.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_average_ticket_size.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_monthly_sales.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_hierarchy.rb +224 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_limit_value.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_trading_address.rb +301 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order.rb +256 -0
- 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/unifiedrisk_payment_bank_account_balance_before.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_branch_address.rb +328 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_credit_limit.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_financial_institution.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_batch.rb +323 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card.rb +461 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_par_details.rb +196 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_token_details.rb +380 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_check.rb +289 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_check_deposit_location.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty.rb +287 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_address.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_branch_address.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_sdk.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_token.rb +213 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification.rb +230 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_additional.rb +256 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication.rb +232 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_pin.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_three_ds.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security.rb +199 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_avs.rb +218 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_cvv.rb +196 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_digital.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_wallet.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_wire.rb +364 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment.rb +308 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history.rb +276 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_account_history.rb +207 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_customer_account.rb +273 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_customer_account_alertnate_authentication.rb +257 -0
- 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 +489 -0
- 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/update_payment_link_request.rb +17 -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 +2264 -2011
- metadata +286 -33
|
@@ -13,47 +13,50 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse40011
|
|
16
|
-
|
|
16
|
+
# Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC.
|
|
17
|
+
attr_accessor :submit_time_utc
|
|
17
18
|
|
|
18
|
-
|
|
19
|
+
# The http status description of the submitted request.
|
|
20
|
+
attr_accessor :status
|
|
19
21
|
|
|
20
|
-
|
|
22
|
+
# Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND'
|
|
23
|
+
attr_accessor :reason
|
|
21
24
|
|
|
25
|
+
# Descriptive message for the error.
|
|
22
26
|
attr_accessor :message
|
|
23
27
|
|
|
24
|
-
|
|
25
|
-
attr_accessor :reason
|
|
28
|
+
attr_accessor :details
|
|
26
29
|
|
|
27
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
28
31
|
def self.attribute_map
|
|
29
32
|
{
|
|
30
|
-
:'
|
|
31
|
-
:'
|
|
32
|
-
:'
|
|
33
|
+
:'submit_time_utc' => :'submitTimeUtc',
|
|
34
|
+
:'status' => :'status',
|
|
35
|
+
:'reason' => :'reason',
|
|
33
36
|
:'message' => :'message',
|
|
34
|
-
:'
|
|
37
|
+
:'details' => :'details'
|
|
35
38
|
}
|
|
36
39
|
end
|
|
37
40
|
|
|
38
41
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
39
42
|
def self.json_map
|
|
40
43
|
{
|
|
41
|
-
:'
|
|
42
|
-
:'
|
|
43
|
-
:'
|
|
44
|
+
:'submit_time_utc' => :'submit_time_utc',
|
|
45
|
+
:'status' => :'status',
|
|
46
|
+
:'reason' => :'reason',
|
|
44
47
|
:'message' => :'message',
|
|
45
|
-
:'
|
|
48
|
+
:'details' => :'details'
|
|
46
49
|
}
|
|
47
50
|
end
|
|
48
51
|
|
|
49
52
|
# Attribute type mapping.
|
|
50
53
|
def self.swagger_types
|
|
51
54
|
{
|
|
52
|
-
:'
|
|
53
|
-
:'
|
|
54
|
-
:'
|
|
55
|
+
:'submit_time_utc' => :'DateTime',
|
|
56
|
+
:'status' => :'String',
|
|
57
|
+
:'reason' => :'String',
|
|
55
58
|
:'message' => :'String',
|
|
56
|
-
:'
|
|
59
|
+
:'details' => :'Array<InlineResponse40011Details>'
|
|
57
60
|
}
|
|
58
61
|
end
|
|
59
62
|
|
|
@@ -65,26 +68,26 @@ module CyberSource
|
|
|
65
68
|
# convert string to symbol for hash key
|
|
66
69
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
67
70
|
|
|
68
|
-
if attributes.has_key?(:'
|
|
69
|
-
self.
|
|
71
|
+
if attributes.has_key?(:'submitTimeUtc')
|
|
72
|
+
self.submit_time_utc = attributes[:'submitTimeUtc']
|
|
70
73
|
end
|
|
71
74
|
|
|
72
|
-
if attributes.has_key?(:'
|
|
73
|
-
|
|
74
|
-
self.details = value
|
|
75
|
-
end
|
|
75
|
+
if attributes.has_key?(:'status')
|
|
76
|
+
self.status = attributes[:'status']
|
|
76
77
|
end
|
|
77
78
|
|
|
78
|
-
if attributes.has_key?(:'
|
|
79
|
-
self.
|
|
79
|
+
if attributes.has_key?(:'reason')
|
|
80
|
+
self.reason = attributes[:'reason']
|
|
80
81
|
end
|
|
81
82
|
|
|
82
83
|
if attributes.has_key?(:'message')
|
|
83
84
|
self.message = attributes[:'message']
|
|
84
85
|
end
|
|
85
86
|
|
|
86
|
-
if attributes.has_key?(:'
|
|
87
|
-
|
|
87
|
+
if attributes.has_key?(:'details')
|
|
88
|
+
if (value = attributes[:'details']).is_a?(Array)
|
|
89
|
+
self.details = value
|
|
90
|
+
end
|
|
88
91
|
end
|
|
89
92
|
end
|
|
90
93
|
|
|
@@ -92,22 +95,12 @@ module CyberSource
|
|
|
92
95
|
# @return Array for valid properties with the reasons
|
|
93
96
|
def list_invalid_properties
|
|
94
97
|
invalid_properties = Array.new
|
|
95
|
-
if @message.nil?
|
|
96
|
-
invalid_properties.push('invalid value for "message", message cannot be nil.')
|
|
97
|
-
end
|
|
98
|
-
|
|
99
|
-
if @reason.nil?
|
|
100
|
-
invalid_properties.push('invalid value for "reason", reason cannot be nil.')
|
|
101
|
-
end
|
|
102
|
-
|
|
103
98
|
invalid_properties
|
|
104
99
|
end
|
|
105
100
|
|
|
106
101
|
# Check to see if the all the properties in the model are valid
|
|
107
102
|
# @return true if the model is valid
|
|
108
103
|
def valid?
|
|
109
|
-
return false if @message.nil?
|
|
110
|
-
return false if @reason.nil?
|
|
111
104
|
true
|
|
112
105
|
end
|
|
113
106
|
|
|
@@ -116,11 +109,11 @@ module CyberSource
|
|
|
116
109
|
def ==(o)
|
|
117
110
|
return true if self.equal?(o)
|
|
118
111
|
self.class == o.class &&
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
112
|
+
submit_time_utc == o.submit_time_utc &&
|
|
113
|
+
status == o.status &&
|
|
114
|
+
reason == o.reason &&
|
|
122
115
|
message == o.message &&
|
|
123
|
-
|
|
116
|
+
details == o.details
|
|
124
117
|
end
|
|
125
118
|
|
|
126
119
|
# @see the `==` method
|
|
@@ -132,7 +125,7 @@ module CyberSource
|
|
|
132
125
|
# Calculates hash code according to all attributes.
|
|
133
126
|
# @return [Fixnum] Hash code
|
|
134
127
|
def hash
|
|
135
|
-
[
|
|
128
|
+
[submit_time_utc, status, reason, message, details].hash
|
|
136
129
|
end
|
|
137
130
|
|
|
138
131
|
# 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 InlineResponse40011Details
|
|
16
16
|
# This is the flattened JSON object field name/path that is either missing or invalid.
|
|
17
17
|
attr_accessor :field
|
|
18
18
|
|
|
@@ -13,50 +13,51 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse40012
|
|
16
|
-
#
|
|
17
|
-
attr_accessor :submit_time_utc
|
|
18
|
-
|
|
19
|
-
# Possible values: - `INVALID_REQUEST`
|
|
16
|
+
# The status of the submitted request. Possible values: - BAD_REQUEST
|
|
20
17
|
attr_accessor :status
|
|
21
18
|
|
|
22
|
-
# The detail message related to the status and reason
|
|
19
|
+
# The detail message related to the status and reason listed above.
|
|
23
20
|
attr_accessor :message
|
|
24
21
|
|
|
25
|
-
#
|
|
26
|
-
attr_accessor :
|
|
22
|
+
# An optional short string which identifies the exact error.
|
|
23
|
+
attr_accessor :code
|
|
27
24
|
|
|
25
|
+
# An optional array which provides more details of the error.
|
|
28
26
|
attr_accessor :details
|
|
29
27
|
|
|
28
|
+
# Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC.
|
|
29
|
+
attr_accessor :submit_time_utc
|
|
30
|
+
|
|
30
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
31
32
|
def self.attribute_map
|
|
32
33
|
{
|
|
33
|
-
:'submit_time_utc' => :'submitTimeUtc',
|
|
34
34
|
:'status' => :'status',
|
|
35
35
|
:'message' => :'message',
|
|
36
|
-
:'
|
|
37
|
-
:'details' => :'details'
|
|
36
|
+
:'code' => :'code',
|
|
37
|
+
:'details' => :'details',
|
|
38
|
+
:'submit_time_utc' => :'submitTimeUtc'
|
|
38
39
|
}
|
|
39
40
|
end
|
|
40
41
|
|
|
41
42
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
42
43
|
def self.json_map
|
|
43
44
|
{
|
|
44
|
-
:'submit_time_utc' => :'submit_time_utc',
|
|
45
45
|
:'status' => :'status',
|
|
46
46
|
:'message' => :'message',
|
|
47
|
-
:'
|
|
48
|
-
:'details' => :'details'
|
|
47
|
+
:'code' => :'code',
|
|
48
|
+
:'details' => :'details',
|
|
49
|
+
:'submit_time_utc' => :'submit_time_utc'
|
|
49
50
|
}
|
|
50
51
|
end
|
|
51
52
|
|
|
52
53
|
# Attribute type mapping.
|
|
53
54
|
def self.swagger_types
|
|
54
55
|
{
|
|
55
|
-
:'submit_time_utc' => :'String',
|
|
56
56
|
:'status' => :'String',
|
|
57
57
|
:'message' => :'String',
|
|
58
|
-
:'
|
|
59
|
-
:'details' => :'Array<InlineResponse40012Details>'
|
|
58
|
+
:'code' => :'String',
|
|
59
|
+
:'details' => :'Array<InlineResponse40012Details>',
|
|
60
|
+
:'submit_time_utc' => :'String'
|
|
60
61
|
}
|
|
61
62
|
end
|
|
62
63
|
|
|
@@ -68,10 +69,6 @@ module CyberSource
|
|
|
68
69
|
# convert string to symbol for hash key
|
|
69
70
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
70
71
|
|
|
71
|
-
if attributes.has_key?(:'submitTimeUtc')
|
|
72
|
-
self.submit_time_utc = attributes[:'submitTimeUtc']
|
|
73
|
-
end
|
|
74
|
-
|
|
75
72
|
if attributes.has_key?(:'status')
|
|
76
73
|
self.status = attributes[:'status']
|
|
77
74
|
end
|
|
@@ -80,8 +77,8 @@ module CyberSource
|
|
|
80
77
|
self.message = attributes[:'message']
|
|
81
78
|
end
|
|
82
79
|
|
|
83
|
-
if attributes.has_key?(:'
|
|
84
|
-
self.
|
|
80
|
+
if attributes.has_key?(:'code')
|
|
81
|
+
self.code = attributes[:'code']
|
|
85
82
|
end
|
|
86
83
|
|
|
87
84
|
if attributes.has_key?(:'details')
|
|
@@ -89,6 +86,10 @@ module CyberSource
|
|
|
89
86
|
self.details = value
|
|
90
87
|
end
|
|
91
88
|
end
|
|
89
|
+
|
|
90
|
+
if attributes.has_key?(:'submitTimeUtc')
|
|
91
|
+
self.submit_time_utc = attributes[:'submitTimeUtc']
|
|
92
|
+
end
|
|
92
93
|
end
|
|
93
94
|
|
|
94
95
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -109,11 +110,11 @@ module CyberSource
|
|
|
109
110
|
def ==(o)
|
|
110
111
|
return true if self.equal?(o)
|
|
111
112
|
self.class == o.class &&
|
|
112
|
-
submit_time_utc == o.submit_time_utc &&
|
|
113
113
|
status == o.status &&
|
|
114
114
|
message == o.message &&
|
|
115
|
-
|
|
116
|
-
details == o.details
|
|
115
|
+
code == o.code &&
|
|
116
|
+
details == o.details &&
|
|
117
|
+
submit_time_utc == o.submit_time_utc
|
|
117
118
|
end
|
|
118
119
|
|
|
119
120
|
# @see the `==` method
|
|
@@ -125,7 +126,7 @@ module CyberSource
|
|
|
125
126
|
# Calculates hash code according to all attributes.
|
|
126
127
|
# @return [Fixnum] Hash code
|
|
127
128
|
def hash
|
|
128
|
-
[
|
|
129
|
+
[status, message, code, details, submit_time_utc].hash
|
|
129
130
|
end
|
|
130
131
|
|
|
131
132
|
# Builds the object from hash
|
|
@@ -13,17 +13,21 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse40012Details
|
|
16
|
-
# This is the flattened JSON object field name/path that is either missing or invalid.
|
|
16
|
+
# This is the flattened JSON object field name/path that is either missing or invalid.
|
|
17
17
|
attr_accessor :field
|
|
18
18
|
|
|
19
|
-
# Possible reasons for the error.
|
|
19
|
+
# Possible reasons for the error.
|
|
20
20
|
attr_accessor :reason
|
|
21
21
|
|
|
22
|
+
# An optional short string which identifies the exact field error.
|
|
23
|
+
attr_accessor :code
|
|
24
|
+
|
|
22
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
26
|
def self.attribute_map
|
|
24
27
|
{
|
|
25
28
|
:'field' => :'field',
|
|
26
|
-
:'reason' => :'reason'
|
|
29
|
+
:'reason' => :'reason',
|
|
30
|
+
:'code' => :'code'
|
|
27
31
|
}
|
|
28
32
|
end
|
|
29
33
|
|
|
@@ -31,7 +35,8 @@ module CyberSource
|
|
|
31
35
|
def self.json_map
|
|
32
36
|
{
|
|
33
37
|
:'field' => :'field',
|
|
34
|
-
:'reason' => :'reason'
|
|
38
|
+
:'reason' => :'reason',
|
|
39
|
+
:'code' => :'code'
|
|
35
40
|
}
|
|
36
41
|
end
|
|
37
42
|
|
|
@@ -39,7 +44,8 @@ module CyberSource
|
|
|
39
44
|
def self.swagger_types
|
|
40
45
|
{
|
|
41
46
|
:'field' => :'String',
|
|
42
|
-
:'reason' => :'String'
|
|
47
|
+
:'reason' => :'String',
|
|
48
|
+
:'code' => :'String'
|
|
43
49
|
}
|
|
44
50
|
end
|
|
45
51
|
|
|
@@ -58,6 +64,10 @@ module CyberSource
|
|
|
58
64
|
if attributes.has_key?(:'reason')
|
|
59
65
|
self.reason = attributes[:'reason']
|
|
60
66
|
end
|
|
67
|
+
|
|
68
|
+
if attributes.has_key?(:'code')
|
|
69
|
+
self.code = attributes[:'code']
|
|
70
|
+
end
|
|
61
71
|
end
|
|
62
72
|
|
|
63
73
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -79,7 +89,8 @@ module CyberSource
|
|
|
79
89
|
return true if self.equal?(o)
|
|
80
90
|
self.class == o.class &&
|
|
81
91
|
field == o.field &&
|
|
82
|
-
reason == o.reason
|
|
92
|
+
reason == o.reason &&
|
|
93
|
+
code == o.code
|
|
83
94
|
end
|
|
84
95
|
|
|
85
96
|
# @see the `==` method
|
|
@@ -91,7 +102,7 @@ module CyberSource
|
|
|
91
102
|
# Calculates hash code according to all attributes.
|
|
92
103
|
# @return [Fixnum] Hash code
|
|
93
104
|
def hash
|
|
94
|
-
[field, reason].hash
|
|
105
|
+
[field, reason, code].hash
|
|
95
106
|
end
|
|
96
107
|
|
|
97
108
|
# Builds the object from hash
|
|
@@ -13,56 +13,47 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse40013
|
|
16
|
-
|
|
17
|
-
attr_accessor :id
|
|
16
|
+
attr_accessor :correlation_id
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
attr_accessor :submit_time_utc
|
|
21
|
-
|
|
22
|
-
# Message describing the status of the currency conversion request. Possible values: - INVALID_REQUEST
|
|
23
|
-
attr_accessor :status
|
|
18
|
+
attr_accessor :details
|
|
24
19
|
|
|
25
|
-
|
|
26
|
-
attr_accessor :reason
|
|
20
|
+
attr_accessor :information_link
|
|
27
21
|
|
|
28
|
-
# Descriptive message to add more detail to the status
|
|
29
22
|
attr_accessor :message
|
|
30
23
|
|
|
31
|
-
|
|
24
|
+
# Possible values: - INVALID_APIKEY - INVALID_SHIPPING_INPUT_PARAMS - CAPTURE_CONTEXT_INVALID - CAPTURE_CONTEXT_EXPIRED - SDK_XHR_ERROR - UNIFIEDPAYMENTS_VALIDATION_PARAMS - UNIFIEDPAYMENTS_VALIDATION_FIELDS - UNIFIEDPAYMENT_PAYMENT_PARAMITERS - CREATE_TOKEN_TIMEOUT - CREATE_TOKEN_XHR_ERROR - SHOW_LOAD_CONTAINER_SELECTOR - SHOW_LOAD_INVALID_CONTAINER - SHOW_TOKEN_TIMEOUT - SHOW_TOKEN_XHR_ERROR - SHOW_PAYMENT_TIMEOUT
|
|
25
|
+
attr_accessor :reason
|
|
32
26
|
|
|
33
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
28
|
def self.attribute_map
|
|
35
29
|
{
|
|
36
|
-
:'
|
|
37
|
-
:'
|
|
38
|
-
:'
|
|
39
|
-
:'reason' => :'reason',
|
|
30
|
+
:'correlation_id' => :'correlationId',
|
|
31
|
+
:'details' => :'details',
|
|
32
|
+
:'information_link' => :'informationLink',
|
|
40
33
|
:'message' => :'message',
|
|
41
|
-
:'
|
|
34
|
+
:'reason' => :'reason'
|
|
42
35
|
}
|
|
43
36
|
end
|
|
44
37
|
|
|
45
38
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
46
39
|
def self.json_map
|
|
47
40
|
{
|
|
48
|
-
:'
|
|
49
|
-
:'
|
|
50
|
-
:'
|
|
51
|
-
:'reason' => :'reason',
|
|
41
|
+
:'correlation_id' => :'correlation_id',
|
|
42
|
+
:'details' => :'details',
|
|
43
|
+
:'information_link' => :'information_link',
|
|
52
44
|
:'message' => :'message',
|
|
53
|
-
:'
|
|
45
|
+
:'reason' => :'reason'
|
|
54
46
|
}
|
|
55
47
|
end
|
|
56
48
|
|
|
57
49
|
# Attribute type mapping.
|
|
58
50
|
def self.swagger_types
|
|
59
51
|
{
|
|
60
|
-
:'
|
|
61
|
-
:'
|
|
62
|
-
:'
|
|
63
|
-
:'reason' => :'String',
|
|
52
|
+
:'correlation_id' => :'String',
|
|
53
|
+
:'details' => :'Array<InlineResponse4001Details>',
|
|
54
|
+
:'information_link' => :'String',
|
|
64
55
|
:'message' => :'String',
|
|
65
|
-
:'
|
|
56
|
+
:'reason' => :'String'
|
|
66
57
|
}
|
|
67
58
|
end
|
|
68
59
|
|
|
@@ -74,30 +65,26 @@ module CyberSource
|
|
|
74
65
|
# convert string to symbol for hash key
|
|
75
66
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
76
67
|
|
|
77
|
-
if attributes.has_key?(:'
|
|
78
|
-
self.
|
|
79
|
-
end
|
|
80
|
-
|
|
81
|
-
if attributes.has_key?(:'submitTimeUtc')
|
|
82
|
-
self.submit_time_utc = attributes[:'submitTimeUtc']
|
|
68
|
+
if attributes.has_key?(:'correlationId')
|
|
69
|
+
self.correlation_id = attributes[:'correlationId']
|
|
83
70
|
end
|
|
84
71
|
|
|
85
|
-
if attributes.has_key?(:'
|
|
86
|
-
|
|
72
|
+
if attributes.has_key?(:'details')
|
|
73
|
+
if (value = attributes[:'details']).is_a?(Array)
|
|
74
|
+
self.details = value
|
|
75
|
+
end
|
|
87
76
|
end
|
|
88
77
|
|
|
89
|
-
if attributes.has_key?(:'
|
|
90
|
-
self.
|
|
78
|
+
if attributes.has_key?(:'informationLink')
|
|
79
|
+
self.information_link = attributes[:'informationLink']
|
|
91
80
|
end
|
|
92
81
|
|
|
93
82
|
if attributes.has_key?(:'message')
|
|
94
83
|
self.message = attributes[:'message']
|
|
95
84
|
end
|
|
96
85
|
|
|
97
|
-
if attributes.has_key?(:'
|
|
98
|
-
|
|
99
|
-
self.details = value
|
|
100
|
-
end
|
|
86
|
+
if attributes.has_key?(:'reason')
|
|
87
|
+
self.reason = attributes[:'reason']
|
|
101
88
|
end
|
|
102
89
|
end
|
|
103
90
|
|
|
@@ -105,16 +92,12 @@ module CyberSource
|
|
|
105
92
|
# @return Array for valid properties with the reasons
|
|
106
93
|
def list_invalid_properties
|
|
107
94
|
invalid_properties = Array.new
|
|
108
|
-
if @
|
|
109
|
-
invalid_properties.push('invalid value for "
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
if @submit_time_utc.nil?
|
|
113
|
-
invalid_properties.push('invalid value for "submit_time_utc", submit_time_utc cannot be nil.')
|
|
95
|
+
if @message.nil?
|
|
96
|
+
invalid_properties.push('invalid value for "message", message cannot be nil.')
|
|
114
97
|
end
|
|
115
98
|
|
|
116
|
-
if @
|
|
117
|
-
invalid_properties.push('invalid value for "
|
|
99
|
+
if @reason.nil?
|
|
100
|
+
invalid_properties.push('invalid value for "reason", reason cannot be nil.')
|
|
118
101
|
end
|
|
119
102
|
|
|
120
103
|
invalid_properties
|
|
@@ -123,43 +106,21 @@ module CyberSource
|
|
|
123
106
|
# Check to see if the all the properties in the model are valid
|
|
124
107
|
# @return true if the model is valid
|
|
125
108
|
def valid?
|
|
126
|
-
return false if @
|
|
127
|
-
return false if @
|
|
128
|
-
return false if @status.nil?
|
|
109
|
+
return false if @message.nil?
|
|
110
|
+
return false if @reason.nil?
|
|
129
111
|
true
|
|
130
112
|
end
|
|
131
113
|
|
|
132
|
-
# Custom attribute writer method with validation
|
|
133
|
-
# @param [Object] id Value to be assigned
|
|
134
|
-
def id=(id)
|
|
135
|
-
#if id.nil?
|
|
136
|
-
#fail ArgumentError, 'id cannot be nil'
|
|
137
|
-
#end
|
|
138
|
-
|
|
139
|
-
@id = id
|
|
140
|
-
end
|
|
141
|
-
|
|
142
|
-
# Custom attribute writer method with validation
|
|
143
|
-
# @param [Object] submit_time_utc Value to be assigned
|
|
144
|
-
def submit_time_utc=(submit_time_utc)
|
|
145
|
-
#if submit_time_utc.nil?
|
|
146
|
-
#fail ArgumentError, 'submit_time_utc cannot be nil'
|
|
147
|
-
#end
|
|
148
|
-
|
|
149
|
-
@submit_time_utc = submit_time_utc
|
|
150
|
-
end
|
|
151
|
-
|
|
152
114
|
# Checks equality by comparing each attribute.
|
|
153
115
|
# @param [Object] Object to be compared
|
|
154
116
|
def ==(o)
|
|
155
117
|
return true if self.equal?(o)
|
|
156
118
|
self.class == o.class &&
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
reason == o.reason &&
|
|
119
|
+
correlation_id == o.correlation_id &&
|
|
120
|
+
details == o.details &&
|
|
121
|
+
information_link == o.information_link &&
|
|
161
122
|
message == o.message &&
|
|
162
|
-
|
|
123
|
+
reason == o.reason
|
|
163
124
|
end
|
|
164
125
|
|
|
165
126
|
# @see the `==` method
|
|
@@ -171,7 +132,7 @@ module CyberSource
|
|
|
171
132
|
# Calculates hash code according to all attributes.
|
|
172
133
|
# @return [Fixnum] Hash code
|
|
173
134
|
def hash
|
|
174
|
-
[
|
|
135
|
+
[correlation_id, details, information_link, message, reason].hash
|
|
175
136
|
end
|
|
176
137
|
|
|
177
138
|
# Builds the object from hash
|