cybersource_rest_client 0.0.85 → 0.0.86
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/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/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_query_api.rb +158 -0
- data/lib/cybersource_rest_client/api/transaction_risk_labeling_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_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 +277 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_7_payloads.rb → inline_response_201_10_payloads.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7_payloads_test_payload.rb → inline_response_201_10_payloads_test_payload.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_11.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12.rb +297 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_9_client_reference_information.rb → inline_response_201_12_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_9_error_information.rb → inline_response_201_12_error_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_9_order_information.rb → inline_response_201_12_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_9_order_information_currency_conversion.rb → inline_response_201_12_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_12_order_information_currency_conversion_offer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_9_processor_information.rb → inline_response_201_12_processor_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_13.rb +318 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_fulfillment_address.rb +344 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_fulfillment_options.rb +290 -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 +256 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_links.rb +212 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_messages.rb +250 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_payment_provider.rb +204 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_totals.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_14.rb +312 -0
- data/lib/cybersource_rest_client/models/inline_response_201_14_discounts.rb +206 -0
- data/lib/cybersource_rest_client/models/inline_response_201_14_fulfillment.rb +193 -0
- data/lib/cybersource_rest_client/models/inline_response_201_14_item.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_14_line_items.rb +225 -0
- data/lib/cybersource_rest_client/models/inline_response_201_14_order.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_201_14_payment.rb +217 -0
- data/lib/cybersource_rest_client/models/inline_response_201_14_ucp.rb +204 -0
- data/lib/cybersource_rest_client/models/inline_response_201_14_ucp_capabilities.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3.rb +33 -54
- data/lib/cybersource_rest_client/models/inline_response_201_3_results.rb +190 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_results_risk_insights.rb +235 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4.rb +51 -62
- 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_order_information.rb +189 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_order_information_amount_details.rb +315 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information.rb +189 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information_routing.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_processor_information.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5.rb +78 -19
- data/lib/cybersource_rest_client/models/{inline_response_401_1__links.rb → inline_response_201_5__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/inline_response_201_5__links_self.rb +201 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_acquirer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_client_reference_information.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_error_information.rb +225 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_error_information_details.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_merchant_information.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_order_information.rb +189 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_order_information_amount_details.rb +264 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_payment_information.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_payment_information_card.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_processing_information.rb +240 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_processing_information_payouts_options.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_processor_information.rb +548 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_processor_information_card_verification.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_transactions.rb +239 -0
- data/lib/cybersource_rest_client/models/inline_response_201_6.rb +45 -111
- data/lib/cybersource_rest_client/models/{inline_response_201_3_payout_information.rb → inline_response_201_6_payout_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_3_payout_information_pull_funds.rb → inline_response_201_6_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_6_payout_information_push_funds.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_7.rb +76 -72
- data/lib/cybersource_rest_client/models/{inline_response_201_4_integration_information.rb → inline_response_201_7_integration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_4_integration_information_tenant_configurations.rb → inline_response_201_7_integration_information_tenant_configurations.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_organization_information.rb → inline_response_201_7_organization_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_product_information_setups.rb → inline_response_201_7_product_information_setups.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_4_registration_information.rb → inline_response_201_7_registration_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups.rb → inline_response_201_7_setups.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_commerce_solutions.rb → inline_response_201_7_setups_commerce_solutions.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_risk.rb → inline_response_201_7_setups_risk.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_value_added_services.rb → inline_response_201_7_setups_value_added_services.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_8.rb +26 -6
- data/lib/cybersource_rest_client/models/{inline_response_201_5_key_information.rb → inline_response_201_8_key_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5_key_information_error_information.rb → inline_response_201_8_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_8_key_information_error_information_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_9.rb +107 -90
- 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_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/label_request.rb +268 -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/unified_risk_labels_post400_response.rb +230 -0
- data/lib/cybersource_rest_client/models/unified_risk_labels_post400_response_errors.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_transaction.rb +196 -0
- data/lib/cybersource_rest_client/models/update_payment_link_request.rb +17 -5
- data/lib/cybersource_rest_client.rb +2172 -2011
- metadata +194 -33
|
@@ -13,59 +13,90 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse2019
|
|
16
|
-
|
|
16
|
+
# Webhook Id. This is generated by the server.
|
|
17
|
+
attr_accessor :webhook_id
|
|
17
18
|
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
19
|
+
# Organization ID.
|
|
20
|
+
attr_accessor :organization_id
|
|
20
21
|
|
|
21
|
-
|
|
22
|
-
attr_accessor :submit_time_utc
|
|
22
|
+
attr_accessor :products
|
|
23
23
|
|
|
24
|
-
#
|
|
24
|
+
# The client's endpoint (URL) to receive webhooks.
|
|
25
|
+
attr_accessor :webhook_url
|
|
26
|
+
|
|
27
|
+
# The client's health check endpoint (URL).
|
|
28
|
+
attr_accessor :health_check_url
|
|
29
|
+
|
|
30
|
+
# Webhook status.
|
|
25
31
|
attr_accessor :status
|
|
26
32
|
|
|
27
|
-
|
|
33
|
+
# Client friendly webhook name.
|
|
34
|
+
attr_accessor :name
|
|
35
|
+
|
|
36
|
+
# Client friendly webhook description.
|
|
37
|
+
attr_accessor :description
|
|
38
|
+
|
|
39
|
+
attr_accessor :retry_policy
|
|
28
40
|
|
|
29
|
-
attr_accessor :
|
|
41
|
+
attr_accessor :security_policy
|
|
30
42
|
|
|
31
|
-
|
|
43
|
+
# Date on which webhook was created/registered.
|
|
44
|
+
attr_accessor :created_on
|
|
45
|
+
|
|
46
|
+
# The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS
|
|
47
|
+
attr_accessor :notification_scope
|
|
32
48
|
|
|
33
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
50
|
def self.attribute_map
|
|
35
51
|
{
|
|
36
|
-
:'
|
|
37
|
-
:'
|
|
38
|
-
:'
|
|
52
|
+
:'webhook_id' => :'webhookId',
|
|
53
|
+
:'organization_id' => :'organizationId',
|
|
54
|
+
:'products' => :'products',
|
|
55
|
+
:'webhook_url' => :'webhookUrl',
|
|
56
|
+
:'health_check_url' => :'healthCheckUrl',
|
|
39
57
|
:'status' => :'status',
|
|
40
|
-
:'
|
|
41
|
-
:'
|
|
42
|
-
:'
|
|
58
|
+
:'name' => :'name',
|
|
59
|
+
:'description' => :'description',
|
|
60
|
+
:'retry_policy' => :'retryPolicy',
|
|
61
|
+
:'security_policy' => :'securityPolicy',
|
|
62
|
+
:'created_on' => :'createdOn',
|
|
63
|
+
:'notification_scope' => :'notificationScope'
|
|
43
64
|
}
|
|
44
65
|
end
|
|
45
66
|
|
|
46
67
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
47
68
|
def self.json_map
|
|
48
69
|
{
|
|
49
|
-
:'
|
|
50
|
-
:'
|
|
51
|
-
:'
|
|
70
|
+
:'webhook_id' => :'webhook_id',
|
|
71
|
+
:'organization_id' => :'organization_id',
|
|
72
|
+
:'products' => :'products',
|
|
73
|
+
:'webhook_url' => :'webhook_url',
|
|
74
|
+
:'health_check_url' => :'health_check_url',
|
|
52
75
|
:'status' => :'status',
|
|
53
|
-
:'
|
|
54
|
-
:'
|
|
55
|
-
:'
|
|
76
|
+
:'name' => :'name',
|
|
77
|
+
:'description' => :'description',
|
|
78
|
+
:'retry_policy' => :'retry_policy',
|
|
79
|
+
:'security_policy' => :'security_policy',
|
|
80
|
+
:'created_on' => :'created_on',
|
|
81
|
+
:'notification_scope' => :'notification_scope'
|
|
56
82
|
}
|
|
57
83
|
end
|
|
58
84
|
|
|
59
85
|
# Attribute type mapping.
|
|
60
86
|
def self.swagger_types
|
|
61
87
|
{
|
|
62
|
-
:'
|
|
63
|
-
:'
|
|
64
|
-
:'
|
|
88
|
+
:'webhook_id' => :'String',
|
|
89
|
+
:'organization_id' => :'String',
|
|
90
|
+
:'products' => :'Array<Notificationsubscriptionsv2webhooksProducts>',
|
|
91
|
+
:'webhook_url' => :'String',
|
|
92
|
+
:'health_check_url' => :'String',
|
|
65
93
|
:'status' => :'String',
|
|
66
|
-
:'
|
|
67
|
-
:'
|
|
68
|
-
:'
|
|
94
|
+
:'name' => :'String',
|
|
95
|
+
:'description' => :'String',
|
|
96
|
+
:'retry_policy' => :'Notificationsubscriptionsv2webhooksRetryPolicy',
|
|
97
|
+
:'security_policy' => :'Notificationsubscriptionsv2webhooksSecurityPolicy',
|
|
98
|
+
:'created_on' => :'String',
|
|
99
|
+
:'notification_scope' => :'String'
|
|
69
100
|
}
|
|
70
101
|
end
|
|
71
102
|
|
|
@@ -77,105 +108,91 @@ module CyberSource
|
|
|
77
108
|
# convert string to symbol for hash key
|
|
78
109
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
79
110
|
|
|
80
|
-
if attributes.has_key?(:'
|
|
81
|
-
self.
|
|
111
|
+
if attributes.has_key?(:'webhookId')
|
|
112
|
+
self.webhook_id = attributes[:'webhookId']
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
if attributes.has_key?(:'organizationId')
|
|
116
|
+
self.organization_id = attributes[:'organizationId']
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
if attributes.has_key?(:'products')
|
|
120
|
+
if (value = attributes[:'products']).is_a?(Array)
|
|
121
|
+
self.products = value
|
|
122
|
+
end
|
|
82
123
|
end
|
|
83
124
|
|
|
84
|
-
if attributes.has_key?(:'
|
|
85
|
-
self.
|
|
125
|
+
if attributes.has_key?(:'webhookUrl')
|
|
126
|
+
self.webhook_url = attributes[:'webhookUrl']
|
|
86
127
|
end
|
|
87
128
|
|
|
88
|
-
if attributes.has_key?(:'
|
|
89
|
-
self.
|
|
129
|
+
if attributes.has_key?(:'healthCheckUrl')
|
|
130
|
+
self.health_check_url = attributes[:'healthCheckUrl']
|
|
90
131
|
end
|
|
91
132
|
|
|
92
133
|
if attributes.has_key?(:'status')
|
|
93
134
|
self.status = attributes[:'status']
|
|
135
|
+
else
|
|
136
|
+
self.status = 'INACTIVE'
|
|
94
137
|
end
|
|
95
138
|
|
|
96
|
-
if attributes.has_key?(:'
|
|
97
|
-
self.
|
|
139
|
+
if attributes.has_key?(:'name')
|
|
140
|
+
self.name = attributes[:'name']
|
|
98
141
|
end
|
|
99
142
|
|
|
100
|
-
if attributes.has_key?(:'
|
|
101
|
-
self.
|
|
143
|
+
if attributes.has_key?(:'description')
|
|
144
|
+
self.description = attributes[:'description']
|
|
102
145
|
end
|
|
103
146
|
|
|
104
|
-
if attributes.has_key?(:'
|
|
105
|
-
self.
|
|
147
|
+
if attributes.has_key?(:'retryPolicy')
|
|
148
|
+
self.retry_policy = attributes[:'retryPolicy']
|
|
106
149
|
end
|
|
107
|
-
end
|
|
108
150
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
def list_invalid_properties
|
|
112
|
-
invalid_properties = Array.new
|
|
113
|
-
if @id.nil?
|
|
114
|
-
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
|
151
|
+
if attributes.has_key?(:'securityPolicy')
|
|
152
|
+
self.security_policy = attributes[:'securityPolicy']
|
|
115
153
|
end
|
|
116
154
|
|
|
117
|
-
if
|
|
118
|
-
|
|
155
|
+
if attributes.has_key?(:'createdOn')
|
|
156
|
+
self.created_on = attributes[:'createdOn']
|
|
119
157
|
end
|
|
120
158
|
|
|
121
|
-
if
|
|
122
|
-
|
|
159
|
+
if attributes.has_key?(:'notificationScope')
|
|
160
|
+
self.notification_scope = attributes[:'notificationScope']
|
|
161
|
+
else
|
|
162
|
+
self.notification_scope = 'DESCENDANTS'
|
|
123
163
|
end
|
|
164
|
+
end
|
|
124
165
|
|
|
166
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
167
|
+
# @return Array for valid properties with the reasons
|
|
168
|
+
def list_invalid_properties
|
|
169
|
+
invalid_properties = Array.new
|
|
125
170
|
invalid_properties
|
|
126
171
|
end
|
|
127
172
|
|
|
128
173
|
# Check to see if the all the properties in the model are valid
|
|
129
174
|
# @return true if the model is valid
|
|
130
175
|
def valid?
|
|
131
|
-
return false if @id.nil?
|
|
132
|
-
return false if @submit_time_utc.nil?
|
|
133
|
-
return false if @status.nil?
|
|
134
176
|
true
|
|
135
177
|
end
|
|
136
178
|
|
|
137
|
-
# Custom attribute writer method with validation
|
|
138
|
-
# @param [Object] id Value to be assigned
|
|
139
|
-
def id=(id)
|
|
140
|
-
#if id.nil?
|
|
141
|
-
#fail ArgumentError, 'id cannot be nil'
|
|
142
|
-
#end
|
|
143
|
-
|
|
144
|
-
@id = id
|
|
145
|
-
end
|
|
146
|
-
|
|
147
|
-
# Custom attribute writer method with validation
|
|
148
|
-
# @param [Object] submit_time_utc Value to be assigned
|
|
149
|
-
def submit_time_utc=(submit_time_utc)
|
|
150
|
-
#if submit_time_utc.nil?
|
|
151
|
-
#fail ArgumentError, 'submit_time_utc cannot be nil'
|
|
152
|
-
#end
|
|
153
|
-
|
|
154
|
-
@submit_time_utc = submit_time_utc
|
|
155
|
-
end
|
|
156
|
-
|
|
157
|
-
# Custom attribute writer method with validation
|
|
158
|
-
# @param [Object] status Value to be assigned
|
|
159
|
-
def status=(status)
|
|
160
|
-
#if status.nil?
|
|
161
|
-
#fail ArgumentError, 'status cannot be nil'
|
|
162
|
-
#end
|
|
163
|
-
|
|
164
|
-
@status = status
|
|
165
|
-
end
|
|
166
|
-
|
|
167
179
|
# Checks equality by comparing each attribute.
|
|
168
180
|
# @param [Object] Object to be compared
|
|
169
181
|
def ==(o)
|
|
170
182
|
return true if self.equal?(o)
|
|
171
183
|
self.class == o.class &&
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
184
|
+
webhook_id == o.webhook_id &&
|
|
185
|
+
organization_id == o.organization_id &&
|
|
186
|
+
products == o.products &&
|
|
187
|
+
webhook_url == o.webhook_url &&
|
|
188
|
+
health_check_url == o.health_check_url &&
|
|
175
189
|
status == o.status &&
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
190
|
+
name == o.name &&
|
|
191
|
+
description == o.description &&
|
|
192
|
+
retry_policy == o.retry_policy &&
|
|
193
|
+
security_policy == o.security_policy &&
|
|
194
|
+
created_on == o.created_on &&
|
|
195
|
+
notification_scope == o.notification_scope
|
|
179
196
|
end
|
|
180
197
|
|
|
181
198
|
# @see the `==` method
|
|
@@ -187,7 +204,7 @@ module CyberSource
|
|
|
187
204
|
# Calculates hash code according to all attributes.
|
|
188
205
|
# @return [Fixnum] Hash code
|
|
189
206
|
def hash
|
|
190
|
-
[
|
|
207
|
+
[webhook_id, organization_id, products, webhook_url, health_check_url, status, name, description, retry_policy, security_policy, created_on, notification_scope].hash
|
|
191
208
|
end
|
|
192
209
|
|
|
193
210
|
# Builds the object from hash
|
|
@@ -12,52 +12,59 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
+
# Error Bean
|
|
15
16
|
class InlineResponse40010
|
|
16
|
-
#
|
|
17
|
-
attr_accessor :
|
|
17
|
+
# Error code
|
|
18
|
+
attr_accessor :code
|
|
18
19
|
|
|
19
|
-
#
|
|
20
|
+
# Error message
|
|
20
21
|
attr_accessor :message
|
|
21
22
|
|
|
22
|
-
#
|
|
23
|
-
attr_accessor :
|
|
23
|
+
# Localization Key Name
|
|
24
|
+
attr_accessor :localization_key
|
|
25
|
+
|
|
26
|
+
# Correlation Id
|
|
27
|
+
attr_accessor :correlation_id
|
|
24
28
|
|
|
25
|
-
#
|
|
26
|
-
attr_accessor :
|
|
29
|
+
# Error Detail
|
|
30
|
+
attr_accessor :detail
|
|
27
31
|
|
|
28
|
-
#
|
|
29
|
-
attr_accessor :
|
|
32
|
+
# Error fields List
|
|
33
|
+
attr_accessor :fields
|
|
30
34
|
|
|
31
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
32
36
|
def self.attribute_map
|
|
33
37
|
{
|
|
34
|
-
:'status' => :'status',
|
|
35
|
-
:'message' => :'message',
|
|
36
38
|
:'code' => :'code',
|
|
37
|
-
:'
|
|
38
|
-
:'
|
|
39
|
+
:'message' => :'message',
|
|
40
|
+
:'localization_key' => :'localizationKey',
|
|
41
|
+
:'correlation_id' => :'correlationId',
|
|
42
|
+
:'detail' => :'detail',
|
|
43
|
+
:'fields' => :'fields'
|
|
39
44
|
}
|
|
40
45
|
end
|
|
41
46
|
|
|
42
47
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
43
48
|
def self.json_map
|
|
44
49
|
{
|
|
45
|
-
:'status' => :'status',
|
|
46
|
-
:'message' => :'message',
|
|
47
50
|
:'code' => :'code',
|
|
48
|
-
:'
|
|
49
|
-
:'
|
|
51
|
+
:'message' => :'message',
|
|
52
|
+
:'localization_key' => :'localization_key',
|
|
53
|
+
:'correlation_id' => :'correlation_id',
|
|
54
|
+
:'detail' => :'detail',
|
|
55
|
+
:'fields' => :'fields'
|
|
50
56
|
}
|
|
51
57
|
end
|
|
52
58
|
|
|
53
59
|
# Attribute type mapping.
|
|
54
60
|
def self.swagger_types
|
|
55
61
|
{
|
|
56
|
-
:'status' => :'String',
|
|
57
|
-
:'message' => :'String',
|
|
58
62
|
:'code' => :'String',
|
|
59
|
-
:'
|
|
60
|
-
:'
|
|
63
|
+
:'message' => :'String',
|
|
64
|
+
:'localization_key' => :'String',
|
|
65
|
+
:'correlation_id' => :'String',
|
|
66
|
+
:'detail' => :'String',
|
|
67
|
+
:'fields' => :'Array<InlineResponse40010Fields>'
|
|
61
68
|
}
|
|
62
69
|
end
|
|
63
70
|
|
|
@@ -69,26 +76,30 @@ module CyberSource
|
|
|
69
76
|
# convert string to symbol for hash key
|
|
70
77
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
71
78
|
|
|
72
|
-
if attributes.has_key?(:'
|
|
73
|
-
self.
|
|
79
|
+
if attributes.has_key?(:'code')
|
|
80
|
+
self.code = attributes[:'code']
|
|
74
81
|
end
|
|
75
82
|
|
|
76
83
|
if attributes.has_key?(:'message')
|
|
77
84
|
self.message = attributes[:'message']
|
|
78
85
|
end
|
|
79
86
|
|
|
80
|
-
if attributes.has_key?(:'
|
|
81
|
-
self.
|
|
87
|
+
if attributes.has_key?(:'localizationKey')
|
|
88
|
+
self.localization_key = attributes[:'localizationKey']
|
|
82
89
|
end
|
|
83
90
|
|
|
84
|
-
if attributes.has_key?(:'
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
91
|
+
if attributes.has_key?(:'correlationId')
|
|
92
|
+
self.correlation_id = attributes[:'correlationId']
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
if attributes.has_key?(:'detail')
|
|
96
|
+
self.detail = attributes[:'detail']
|
|
88
97
|
end
|
|
89
98
|
|
|
90
|
-
if attributes.has_key?(:'
|
|
91
|
-
|
|
99
|
+
if attributes.has_key?(:'fields')
|
|
100
|
+
if (value = attributes[:'fields']).is_a?(Array)
|
|
101
|
+
self.fields = value
|
|
102
|
+
end
|
|
92
103
|
end
|
|
93
104
|
end
|
|
94
105
|
|
|
@@ -96,12 +107,22 @@ module CyberSource
|
|
|
96
107
|
# @return Array for valid properties with the reasons
|
|
97
108
|
def list_invalid_properties
|
|
98
109
|
invalid_properties = Array.new
|
|
110
|
+
if @code.nil?
|
|
111
|
+
invalid_properties.push('invalid value for "code", code cannot be nil.')
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
if @message.nil?
|
|
115
|
+
invalid_properties.push('invalid value for "message", message cannot be nil.')
|
|
116
|
+
end
|
|
117
|
+
|
|
99
118
|
invalid_properties
|
|
100
119
|
end
|
|
101
120
|
|
|
102
121
|
# Check to see if the all the properties in the model are valid
|
|
103
122
|
# @return true if the model is valid
|
|
104
123
|
def valid?
|
|
124
|
+
return false if @code.nil?
|
|
125
|
+
return false if @message.nil?
|
|
105
126
|
true
|
|
106
127
|
end
|
|
107
128
|
|
|
@@ -110,11 +131,12 @@ module CyberSource
|
|
|
110
131
|
def ==(o)
|
|
111
132
|
return true if self.equal?(o)
|
|
112
133
|
self.class == o.class &&
|
|
113
|
-
status == o.status &&
|
|
114
|
-
message == o.message &&
|
|
115
134
|
code == o.code &&
|
|
116
|
-
|
|
117
|
-
|
|
135
|
+
message == o.message &&
|
|
136
|
+
localization_key == o.localization_key &&
|
|
137
|
+
correlation_id == o.correlation_id &&
|
|
138
|
+
detail == o.detail &&
|
|
139
|
+
fields == o.fields
|
|
118
140
|
end
|
|
119
141
|
|
|
120
142
|
# @see the `==` method
|
|
@@ -126,7 +148,7 @@ module CyberSource
|
|
|
126
148
|
# Calculates hash code according to all attributes.
|
|
127
149
|
# @return [Fixnum] Hash code
|
|
128
150
|
def hash
|
|
129
|
-
[
|
|
151
|
+
[code, message, localization_key, correlation_id, detail, fields].hash
|
|
130
152
|
end
|
|
131
153
|
|
|
132
154
|
# Builds the object from hash
|
|
@@ -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
|
|