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
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#CyberSource Merged Spec
|
|
3
|
+
|
|
4
|
+
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.0.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.38
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'date'
|
|
13
|
+
|
|
14
|
+
module CyberSource
|
|
15
|
+
class InlineResponse2015ProcessorInformationCardVerification
|
|
16
|
+
# CVN result code.
|
|
17
|
+
attr_accessor :result_code
|
|
18
|
+
|
|
19
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
|
+
def self.attribute_map
|
|
21
|
+
{
|
|
22
|
+
:'result_code' => :'resultCode'
|
|
23
|
+
}
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
|
27
|
+
def self.json_map
|
|
28
|
+
{
|
|
29
|
+
:'result_code' => :'result_code'
|
|
30
|
+
}
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Attribute type mapping.
|
|
34
|
+
def self.swagger_types
|
|
35
|
+
{
|
|
36
|
+
:'result_code' => :'String'
|
|
37
|
+
}
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# Initializes the object
|
|
41
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
42
|
+
def initialize(attributes = {})
|
|
43
|
+
return unless attributes.is_a?(Hash)
|
|
44
|
+
|
|
45
|
+
# convert string to symbol for hash key
|
|
46
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
47
|
+
|
|
48
|
+
if attributes.has_key?(:'resultCode')
|
|
49
|
+
self.result_code = attributes[:'resultCode']
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
54
|
+
# @return Array for valid properties with the reasons
|
|
55
|
+
def list_invalid_properties
|
|
56
|
+
invalid_properties = Array.new
|
|
57
|
+
invalid_properties
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# Check to see if the all the properties in the model are valid
|
|
61
|
+
# @return true if the model is valid
|
|
62
|
+
def valid?
|
|
63
|
+
true
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# Custom attribute writer method with validation
|
|
67
|
+
# @param [Object] result_code Value to be assigned
|
|
68
|
+
def result_code=(result_code)
|
|
69
|
+
@result_code = result_code
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# Checks equality by comparing each attribute.
|
|
73
|
+
# @param [Object] Object to be compared
|
|
74
|
+
def ==(o)
|
|
75
|
+
return true if self.equal?(o)
|
|
76
|
+
self.class == o.class &&
|
|
77
|
+
result_code == o.result_code
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# @see the `==` method
|
|
81
|
+
# @param [Object] Object to be compared
|
|
82
|
+
def eql?(o)
|
|
83
|
+
self == o
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Calculates hash code according to all attributes.
|
|
87
|
+
# @return [Fixnum] Hash code
|
|
88
|
+
def hash
|
|
89
|
+
[result_code].hash
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# Builds the object from hash
|
|
93
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
94
|
+
# @return [Object] Returns the model itself
|
|
95
|
+
def build_from_hash(attributes)
|
|
96
|
+
return nil unless attributes.is_a?(Hash)
|
|
97
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
98
|
+
if type =~ /\AArray<(.*)>/i
|
|
99
|
+
# check to ensure the input is an array given that the the attribute
|
|
100
|
+
# is documented as an array but the input is not
|
|
101
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
102
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
103
|
+
end
|
|
104
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
105
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
106
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
self
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# Deserializes the data based on type
|
|
113
|
+
# @param string type Data type
|
|
114
|
+
# @param string value Value to be deserialized
|
|
115
|
+
# @return [Object] Deserialized data
|
|
116
|
+
def _deserialize(type, value)
|
|
117
|
+
case type.to_sym
|
|
118
|
+
when :DateTime
|
|
119
|
+
DateTime.parse(value)
|
|
120
|
+
when :Date
|
|
121
|
+
Date.parse(value)
|
|
122
|
+
when :String
|
|
123
|
+
value.to_s
|
|
124
|
+
when :Integer
|
|
125
|
+
value.to_i
|
|
126
|
+
when :Float
|
|
127
|
+
value.to_f
|
|
128
|
+
when :BOOLEAN
|
|
129
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
130
|
+
true
|
|
131
|
+
else
|
|
132
|
+
false
|
|
133
|
+
end
|
|
134
|
+
when :Object
|
|
135
|
+
# generic object (usually a Hash), return directly
|
|
136
|
+
value
|
|
137
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
138
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
139
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
140
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
141
|
+
k_type = Regexp.last_match[:k_type]
|
|
142
|
+
v_type = Regexp.last_match[:v_type]
|
|
143
|
+
{}.tap do |hash|
|
|
144
|
+
value.each do |k, v|
|
|
145
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
146
|
+
end
|
|
147
|
+
end
|
|
148
|
+
else # model
|
|
149
|
+
temp_model = CyberSource.const_get(type).new
|
|
150
|
+
temp_model.build_from_hash(value)
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
# Returns the string representation of the object
|
|
155
|
+
# @return [String] String presentation of the object
|
|
156
|
+
def to_s
|
|
157
|
+
to_hash.to_s
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
161
|
+
# @return [Hash] Returns the object in the form of hash
|
|
162
|
+
def to_body
|
|
163
|
+
to_hash
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# Returns the object in the form of hash
|
|
167
|
+
# @return [Hash] Returns the object in the form of hash
|
|
168
|
+
def to_hash
|
|
169
|
+
hash = {}
|
|
170
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
171
|
+
value = self.send(attr)
|
|
172
|
+
next if value.nil?
|
|
173
|
+
hash[param] = _to_hash(value)
|
|
174
|
+
end
|
|
175
|
+
hash
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# Outputs non-array value in the form of hash
|
|
179
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
180
|
+
# @param [Object] value Any valid value
|
|
181
|
+
# @return [Hash] Returns the value in the form of hash
|
|
182
|
+
def _to_hash(value)
|
|
183
|
+
if value.is_a?(Array)
|
|
184
|
+
value.compact.map { |v| _to_hash(v) }
|
|
185
|
+
elsif value.is_a?(Hash)
|
|
186
|
+
{}.tap do |hash|
|
|
187
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
188
|
+
end
|
|
189
|
+
elsif value.respond_to? :to_hash
|
|
190
|
+
value.to_hash
|
|
191
|
+
else
|
|
192
|
+
value
|
|
193
|
+
end
|
|
194
|
+
end
|
|
195
|
+
end
|
|
196
|
+
end
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#CyberSource Merged Spec
|
|
3
|
+
|
|
4
|
+
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.0.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.38
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'date'
|
|
13
|
+
|
|
14
|
+
module CyberSource
|
|
15
|
+
class InlineResponse2015Transactions
|
|
16
|
+
attr_accessor :merchant_information
|
|
17
|
+
|
|
18
|
+
attr_accessor :order_information
|
|
19
|
+
|
|
20
|
+
attr_accessor :payment_information
|
|
21
|
+
|
|
22
|
+
attr_accessor :acquirer_information
|
|
23
|
+
|
|
24
|
+
attr_accessor :processing_information
|
|
25
|
+
|
|
26
|
+
attr_accessor :processor_information
|
|
27
|
+
|
|
28
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
|
+
def self.attribute_map
|
|
30
|
+
{
|
|
31
|
+
:'merchant_information' => :'merchantInformation',
|
|
32
|
+
:'order_information' => :'orderInformation',
|
|
33
|
+
:'payment_information' => :'paymentInformation',
|
|
34
|
+
:'acquirer_information' => :'acquirerInformation',
|
|
35
|
+
:'processing_information' => :'processingInformation',
|
|
36
|
+
:'processor_information' => :'processorInformation'
|
|
37
|
+
}
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
|
41
|
+
def self.json_map
|
|
42
|
+
{
|
|
43
|
+
:'merchant_information' => :'merchant_information',
|
|
44
|
+
:'order_information' => :'order_information',
|
|
45
|
+
:'payment_information' => :'payment_information',
|
|
46
|
+
:'acquirer_information' => :'acquirer_information',
|
|
47
|
+
:'processing_information' => :'processing_information',
|
|
48
|
+
:'processor_information' => :'processor_information'
|
|
49
|
+
}
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# Attribute type mapping.
|
|
53
|
+
def self.swagger_types
|
|
54
|
+
{
|
|
55
|
+
:'merchant_information' => :'InlineResponse2015MerchantInformation',
|
|
56
|
+
:'order_information' => :'InlineResponse2015OrderInformation',
|
|
57
|
+
:'payment_information' => :'InlineResponse2015PaymentInformation',
|
|
58
|
+
:'acquirer_information' => :'InlineResponse2015AcquirerInformation',
|
|
59
|
+
:'processing_information' => :'InlineResponse2015ProcessingInformation',
|
|
60
|
+
:'processor_information' => :'InlineResponse2015ProcessorInformation'
|
|
61
|
+
}
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# Initializes the object
|
|
65
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
66
|
+
def initialize(attributes = {})
|
|
67
|
+
return unless attributes.is_a?(Hash)
|
|
68
|
+
|
|
69
|
+
# convert string to symbol for hash key
|
|
70
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
71
|
+
|
|
72
|
+
if attributes.has_key?(:'merchantInformation')
|
|
73
|
+
self.merchant_information = attributes[:'merchantInformation']
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
if attributes.has_key?(:'orderInformation')
|
|
77
|
+
self.order_information = attributes[:'orderInformation']
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
if attributes.has_key?(:'paymentInformation')
|
|
81
|
+
self.payment_information = attributes[:'paymentInformation']
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
if attributes.has_key?(:'acquirerInformation')
|
|
85
|
+
self.acquirer_information = attributes[:'acquirerInformation']
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
if attributes.has_key?(:'processingInformation')
|
|
89
|
+
self.processing_information = attributes[:'processingInformation']
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
if attributes.has_key?(:'processorInformation')
|
|
93
|
+
self.processor_information = attributes[:'processorInformation']
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
98
|
+
# @return Array for valid properties with the reasons
|
|
99
|
+
def list_invalid_properties
|
|
100
|
+
invalid_properties = Array.new
|
|
101
|
+
invalid_properties
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# Check to see if the all the properties in the model are valid
|
|
105
|
+
# @return true if the model is valid
|
|
106
|
+
def valid?
|
|
107
|
+
true
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# Checks equality by comparing each attribute.
|
|
111
|
+
# @param [Object] Object to be compared
|
|
112
|
+
def ==(o)
|
|
113
|
+
return true if self.equal?(o)
|
|
114
|
+
self.class == o.class &&
|
|
115
|
+
merchant_information == o.merchant_information &&
|
|
116
|
+
order_information == o.order_information &&
|
|
117
|
+
payment_information == o.payment_information &&
|
|
118
|
+
acquirer_information == o.acquirer_information &&
|
|
119
|
+
processing_information == o.processing_information &&
|
|
120
|
+
processor_information == o.processor_information
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# @see the `==` method
|
|
124
|
+
# @param [Object] Object to be compared
|
|
125
|
+
def eql?(o)
|
|
126
|
+
self == o
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# Calculates hash code according to all attributes.
|
|
130
|
+
# @return [Fixnum] Hash code
|
|
131
|
+
def hash
|
|
132
|
+
[merchant_information, order_information, payment_information, acquirer_information, processing_information, processor_information].hash
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# Builds the object from hash
|
|
136
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
137
|
+
# @return [Object] Returns the model itself
|
|
138
|
+
def build_from_hash(attributes)
|
|
139
|
+
return nil unless attributes.is_a?(Hash)
|
|
140
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
141
|
+
if type =~ /\AArray<(.*)>/i
|
|
142
|
+
# check to ensure the input is an array given that the the attribute
|
|
143
|
+
# is documented as an array but the input is not
|
|
144
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
145
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
146
|
+
end
|
|
147
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
148
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
149
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
self
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
# Deserializes the data based on type
|
|
156
|
+
# @param string type Data type
|
|
157
|
+
# @param string value Value to be deserialized
|
|
158
|
+
# @return [Object] Deserialized data
|
|
159
|
+
def _deserialize(type, value)
|
|
160
|
+
case type.to_sym
|
|
161
|
+
when :DateTime
|
|
162
|
+
DateTime.parse(value)
|
|
163
|
+
when :Date
|
|
164
|
+
Date.parse(value)
|
|
165
|
+
when :String
|
|
166
|
+
value.to_s
|
|
167
|
+
when :Integer
|
|
168
|
+
value.to_i
|
|
169
|
+
when :Float
|
|
170
|
+
value.to_f
|
|
171
|
+
when :BOOLEAN
|
|
172
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
173
|
+
true
|
|
174
|
+
else
|
|
175
|
+
false
|
|
176
|
+
end
|
|
177
|
+
when :Object
|
|
178
|
+
# generic object (usually a Hash), return directly
|
|
179
|
+
value
|
|
180
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
181
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
182
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
183
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
184
|
+
k_type = Regexp.last_match[:k_type]
|
|
185
|
+
v_type = Regexp.last_match[:v_type]
|
|
186
|
+
{}.tap do |hash|
|
|
187
|
+
value.each do |k, v|
|
|
188
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
189
|
+
end
|
|
190
|
+
end
|
|
191
|
+
else # model
|
|
192
|
+
temp_model = CyberSource.const_get(type).new
|
|
193
|
+
temp_model.build_from_hash(value)
|
|
194
|
+
end
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
# Returns the string representation of the object
|
|
198
|
+
# @return [String] String presentation of the object
|
|
199
|
+
def to_s
|
|
200
|
+
to_hash.to_s
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
204
|
+
# @return [Hash] Returns the object in the form of hash
|
|
205
|
+
def to_body
|
|
206
|
+
to_hash
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
# Returns the object in the form of hash
|
|
210
|
+
# @return [Hash] Returns the object in the form of hash
|
|
211
|
+
def to_hash
|
|
212
|
+
hash = {}
|
|
213
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
214
|
+
value = self.send(attr)
|
|
215
|
+
next if value.nil?
|
|
216
|
+
hash[param] = _to_hash(value)
|
|
217
|
+
end
|
|
218
|
+
hash
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
# Outputs non-array value in the form of hash
|
|
222
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
223
|
+
# @param [Object] value Any valid value
|
|
224
|
+
# @return [Hash] Returns the value in the form of hash
|
|
225
|
+
def _to_hash(value)
|
|
226
|
+
if value.is_a?(Array)
|
|
227
|
+
value.compact.map { |v| _to_hash(v) }
|
|
228
|
+
elsif value.is_a?(Hash)
|
|
229
|
+
{}.tap do |hash|
|
|
230
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
231
|
+
end
|
|
232
|
+
elsif value.respond_to? :to_hash
|
|
233
|
+
value.to_hash
|
|
234
|
+
else
|
|
235
|
+
value
|
|
236
|
+
end
|
|
237
|
+
end
|
|
238
|
+
end
|
|
239
|
+
end
|
|
@@ -13,90 +13,54 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse2016
|
|
16
|
-
#
|
|
17
|
-
attr_accessor :
|
|
16
|
+
# An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response.
|
|
17
|
+
attr_accessor :id
|
|
18
18
|
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
19
|
+
# 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. Returned by Cybersource for all services.
|
|
20
|
+
attr_accessor :submit_time_utc
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
# The client's endpoint (URL) to receive webhooks.
|
|
25
|
-
attr_accessor :webhook_url
|
|
26
|
-
|
|
27
|
-
# The client's health check endpoint (URL).
|
|
28
|
-
attr_accessor :health_check_url
|
|
29
|
-
|
|
30
|
-
# Webhook status.
|
|
22
|
+
# The status of the submitted transaction. Possible values: - COMPLETED - MULTIPLE - NO MATCH
|
|
31
23
|
attr_accessor :status
|
|
32
24
|
|
|
33
|
-
|
|
34
|
-
attr_accessor :name
|
|
35
|
-
|
|
36
|
-
# Client friendly webhook description.
|
|
37
|
-
attr_accessor :description
|
|
38
|
-
|
|
39
|
-
attr_accessor :retry_policy
|
|
40
|
-
|
|
41
|
-
attr_accessor :security_policy
|
|
25
|
+
attr_accessor :payment_account_information
|
|
42
26
|
|
|
43
|
-
|
|
44
|
-
attr_accessor :created_on
|
|
27
|
+
attr_accessor :issuer_information
|
|
45
28
|
|
|
46
|
-
|
|
47
|
-
attr_accessor :notification_scope
|
|
29
|
+
attr_accessor :payout_information
|
|
48
30
|
|
|
49
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
50
32
|
def self.attribute_map
|
|
51
33
|
{
|
|
52
|
-
:'
|
|
53
|
-
:'
|
|
54
|
-
:'products' => :'products',
|
|
55
|
-
:'webhook_url' => :'webhookUrl',
|
|
56
|
-
:'health_check_url' => :'healthCheckUrl',
|
|
34
|
+
:'id' => :'id',
|
|
35
|
+
:'submit_time_utc' => :'submitTimeUtc',
|
|
57
36
|
:'status' => :'status',
|
|
58
|
-
:'
|
|
59
|
-
:'
|
|
60
|
-
:'
|
|
61
|
-
:'security_policy' => :'securityPolicy',
|
|
62
|
-
:'created_on' => :'createdOn',
|
|
63
|
-
:'notification_scope' => :'notificationScope'
|
|
37
|
+
:'payment_account_information' => :'paymentAccountInformation',
|
|
38
|
+
:'issuer_information' => :'issuerInformation',
|
|
39
|
+
:'payout_information' => :'payoutInformation'
|
|
64
40
|
}
|
|
65
41
|
end
|
|
66
42
|
|
|
67
43
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
68
44
|
def self.json_map
|
|
69
45
|
{
|
|
70
|
-
:'
|
|
71
|
-
:'
|
|
72
|
-
:'products' => :'products',
|
|
73
|
-
:'webhook_url' => :'webhook_url',
|
|
74
|
-
:'health_check_url' => :'health_check_url',
|
|
46
|
+
:'id' => :'id',
|
|
47
|
+
:'submit_time_utc' => :'submit_time_utc',
|
|
75
48
|
:'status' => :'status',
|
|
76
|
-
:'
|
|
77
|
-
:'
|
|
78
|
-
:'
|
|
79
|
-
:'security_policy' => :'security_policy',
|
|
80
|
-
:'created_on' => :'created_on',
|
|
81
|
-
:'notification_scope' => :'notification_scope'
|
|
49
|
+
:'payment_account_information' => :'payment_account_information',
|
|
50
|
+
:'issuer_information' => :'issuer_information',
|
|
51
|
+
:'payout_information' => :'payout_information'
|
|
82
52
|
}
|
|
83
53
|
end
|
|
84
54
|
|
|
85
55
|
# Attribute type mapping.
|
|
86
56
|
def self.swagger_types
|
|
87
57
|
{
|
|
88
|
-
:'
|
|
89
|
-
:'
|
|
90
|
-
:'products' => :'Array<Notificationsubscriptionsv2webhooksProducts>',
|
|
91
|
-
:'webhook_url' => :'String',
|
|
92
|
-
:'health_check_url' => :'String',
|
|
58
|
+
:'id' => :'String',
|
|
59
|
+
:'submit_time_utc' => :'String',
|
|
93
60
|
:'status' => :'String',
|
|
94
|
-
:'
|
|
95
|
-
:'
|
|
96
|
-
:'
|
|
97
|
-
:'security_policy' => :'Notificationsubscriptionsv2webhooksSecurityPolicy',
|
|
98
|
-
:'created_on' => :'String',
|
|
99
|
-
:'notification_scope' => :'String'
|
|
61
|
+
:'payment_account_information' => :'TmsBinLookupPaymentAccountInformation',
|
|
62
|
+
:'issuer_information' => :'TmsBinLookupIssuerInformation',
|
|
63
|
+
:'payout_information' => :'InlineResponse2016PayoutInformation'
|
|
100
64
|
}
|
|
101
65
|
end
|
|
102
66
|
|
|
@@ -108,58 +72,28 @@ module CyberSource
|
|
|
108
72
|
# convert string to symbol for hash key
|
|
109
73
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
110
74
|
|
|
111
|
-
if attributes.has_key?(:'
|
|
112
|
-
self.
|
|
75
|
+
if attributes.has_key?(:'id')
|
|
76
|
+
self.id = attributes[:'id']
|
|
113
77
|
end
|
|
114
78
|
|
|
115
|
-
if attributes.has_key?(:'
|
|
116
|
-
self.
|
|
117
|
-
end
|
|
118
|
-
|
|
119
|
-
if attributes.has_key?(:'products')
|
|
120
|
-
if (value = attributes[:'products']).is_a?(Array)
|
|
121
|
-
self.products = value
|
|
122
|
-
end
|
|
123
|
-
end
|
|
124
|
-
|
|
125
|
-
if attributes.has_key?(:'webhookUrl')
|
|
126
|
-
self.webhook_url = attributes[:'webhookUrl']
|
|
127
|
-
end
|
|
128
|
-
|
|
129
|
-
if attributes.has_key?(:'healthCheckUrl')
|
|
130
|
-
self.health_check_url = attributes[:'healthCheckUrl']
|
|
79
|
+
if attributes.has_key?(:'submitTimeUtc')
|
|
80
|
+
self.submit_time_utc = attributes[:'submitTimeUtc']
|
|
131
81
|
end
|
|
132
82
|
|
|
133
83
|
if attributes.has_key?(:'status')
|
|
134
84
|
self.status = attributes[:'status']
|
|
135
|
-
else
|
|
136
|
-
self.status = 'INACTIVE'
|
|
137
|
-
end
|
|
138
|
-
|
|
139
|
-
if attributes.has_key?(:'name')
|
|
140
|
-
self.name = attributes[:'name']
|
|
141
|
-
end
|
|
142
|
-
|
|
143
|
-
if attributes.has_key?(:'description')
|
|
144
|
-
self.description = attributes[:'description']
|
|
145
85
|
end
|
|
146
86
|
|
|
147
|
-
if attributes.has_key?(:'
|
|
148
|
-
self.
|
|
87
|
+
if attributes.has_key?(:'paymentAccountInformation')
|
|
88
|
+
self.payment_account_information = attributes[:'paymentAccountInformation']
|
|
149
89
|
end
|
|
150
90
|
|
|
151
|
-
if attributes.has_key?(:'
|
|
152
|
-
self.
|
|
91
|
+
if attributes.has_key?(:'issuerInformation')
|
|
92
|
+
self.issuer_information = attributes[:'issuerInformation']
|
|
153
93
|
end
|
|
154
94
|
|
|
155
|
-
if attributes.has_key?(:'
|
|
156
|
-
self.
|
|
157
|
-
end
|
|
158
|
-
|
|
159
|
-
if attributes.has_key?(:'notificationScope')
|
|
160
|
-
self.notification_scope = attributes[:'notificationScope']
|
|
161
|
-
else
|
|
162
|
-
self.notification_scope = 'DESCENDANTS'
|
|
95
|
+
if attributes.has_key?(:'payoutInformation')
|
|
96
|
+
self.payout_information = attributes[:'payoutInformation']
|
|
163
97
|
end
|
|
164
98
|
end
|
|
165
99
|
|
|
@@ -176,23 +110,23 @@ module CyberSource
|
|
|
176
110
|
true
|
|
177
111
|
end
|
|
178
112
|
|
|
113
|
+
# Custom attribute writer method with validation
|
|
114
|
+
# @param [Object] id Value to be assigned
|
|
115
|
+
def id=(id)
|
|
116
|
+
@id = id
|
|
117
|
+
end
|
|
118
|
+
|
|
179
119
|
# Checks equality by comparing each attribute.
|
|
180
120
|
# @param [Object] Object to be compared
|
|
181
121
|
def ==(o)
|
|
182
122
|
return true if self.equal?(o)
|
|
183
123
|
self.class == o.class &&
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
products == o.products &&
|
|
187
|
-
webhook_url == o.webhook_url &&
|
|
188
|
-
health_check_url == o.health_check_url &&
|
|
124
|
+
id == o.id &&
|
|
125
|
+
submit_time_utc == o.submit_time_utc &&
|
|
189
126
|
status == o.status &&
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
security_policy == o.security_policy &&
|
|
194
|
-
created_on == o.created_on &&
|
|
195
|
-
notification_scope == o.notification_scope
|
|
127
|
+
payment_account_information == o.payment_account_information &&
|
|
128
|
+
issuer_information == o.issuer_information &&
|
|
129
|
+
payout_information == o.payout_information
|
|
196
130
|
end
|
|
197
131
|
|
|
198
132
|
# @see the `==` method
|
|
@@ -204,7 +138,7 @@ module CyberSource
|
|
|
204
138
|
# Calculates hash code according to all attributes.
|
|
205
139
|
# @return [Fixnum] Hash code
|
|
206
140
|
def hash
|
|
207
|
-
[
|
|
141
|
+
[id, submit_time_utc, status, payment_account_information, issuer_information, payout_information].hash
|
|
208
142
|
end
|
|
209
143
|
|
|
210
144
|
# 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 InlineResponse2016PayoutInformation
|
|
16
16
|
attr_accessor :push_funds
|
|
17
17
|
|
|
18
18
|
attr_accessor :pull_funds
|
|
@@ -41,8 +41,8 @@ module CyberSource
|
|
|
41
41
|
# Attribute type mapping.
|
|
42
42
|
def self.swagger_types
|
|
43
43
|
{
|
|
44
|
-
:'push_funds' => :'
|
|
45
|
-
:'pull_funds' => :'
|
|
44
|
+
:'push_funds' => :'InlineResponse2016PayoutInformationPushFunds',
|
|
45
|
+
:'pull_funds' => :'InlineResponse2016PayoutInformationPullFunds',
|
|
46
46
|
:'geo_restriction_indicator' => :'String'
|
|
47
47
|
}
|
|
48
48
|
end
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
class
|
|
15
|
+
class InlineResponse2016PayoutInformationPullFunds
|
|
16
16
|
# This field indicates if domestic AFTs (pull funds) are allowed. Possible values: - `true` - `false`
|
|
17
17
|
attr_accessor :domestic_participant
|
|
18
18
|
|