cybersource_rest_client 0.0.79 → 0.0.80
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/core/MerchantConfig.rb +1 -0
- data/lib/AuthenticationSDK/util/Cache.rb +14 -0
- data/lib/AuthenticationSDK/util/Constants.rb +2 -0
- data/lib/AuthenticationSDK/util/JWT/JWTExceptions.rb +81 -0
- data/lib/AuthenticationSDK/util/JWT/JWTUtility.rb +154 -0
- data/lib/cybersource_rest_client/api/bank_account_validation_api.rb +8 -4
- data/lib/cybersource_rest_client/api/batches_api.rb +29 -13
- data/lib/cybersource_rest_client/api/billing_agreements_api.rb +15 -3
- data/lib/cybersource_rest_client/api/bin_lookup_api.rb +5 -1
- data/lib/cybersource_rest_client/api/capture_api.rb +5 -1
- data/lib/cybersource_rest_client/api/chargeback_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +5 -1
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +18 -6
- data/lib/cybersource_rest_client/api/credit_api.rb +5 -1
- data/lib/cybersource_rest_client/api/customer_api.rb +22 -6
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +27 -7
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +27 -7
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +28 -8
- data/lib/cybersource_rest_client/api/device_de_association_api.rb +13 -5
- data/lib/cybersource_rest_client/api/device_search_api.rb +16 -8
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +5 -1
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +5 -1
- data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +10 -2
- data/lib/cybersource_rest_client/api/flex_api_api.rb +5 -1
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +33 -9
- data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +10 -2
- data/lib/cybersource_rest_client/api/invoices_api.rb +35 -7
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +41 -13
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +13 -5
- data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +29 -13
- data/lib/cybersource_rest_client/api/microform_integration_api.rb +5 -1
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +5 -1
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +5 -1
- data/lib/cybersource_rest_client/api/offers_api.rb +13 -5
- data/lib/cybersource_rest_client/api/orders_api.rb +10 -2
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +15 -3
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +5 -1
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +22 -6
- data/lib/cybersource_rest_client/api/payment_links_api.rb +20 -4
- data/lib/cybersource_rest_client/api/payment_tokens_api.rb +5 -1
- data/lib/cybersource_rest_client/api/payments_api.rb +30 -6
- data/lib/cybersource_rest_client/api/payouts_api.rb +5 -1
- data/lib/cybersource_rest_client/api/plans_api.rb +40 -8
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/push_funds_api.rb +5 -1
- data/lib/cybersource_rest_client/api/refund_api.rb +10 -2
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +10 -2
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +5 -1
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +25 -5
- data/lib/cybersource_rest_client/api/reports_api.rb +15 -3
- data/lib/cybersource_rest_client/api/retrieval_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +5 -1
- data/lib/cybersource_rest_client/api/reversal_api.rb +10 -2
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +10 -2
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +10 -2
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +49 -17
- data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +10 -2
- data/lib/cybersource_rest_client/api/taxes_api.rb +10 -2
- data/lib/cybersource_rest_client/api/token_api.rb +14 -6
- data/lib/cybersource_rest_client/api/tokenize_api.rb +103 -0
- data/lib/cybersource_rest_client/api/tokenized_card_api.rb +105 -4
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +20 -4
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/transient_token_data_api.rb +10 -2
- data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +5 -1
- data/lib/cybersource_rest_client/api/user_management_api.rb +5 -1
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +5 -1
- data/lib/cybersource_rest_client/api/verification_api.rb +10 -2
- data/lib/cybersource_rest_client/api/void_api.rb +25 -5
- data/lib/cybersource_rest_client/models/create_plan_request.rb +1 -11
- data/lib/cybersource_rest_client/models/create_subscription_request.rb +1 -1
- data/lib/cybersource_rest_client/models/create_subscription_request_1.rb +1 -1
- data/lib/cybersource_rest_client/models/create_subscription_response.rb +15 -5
- data/lib/cybersource_rest_client/models/generate_unified_checkout_capture_context_request.rb +13 -2
- data/lib/cybersource_rest_client/models/get_all_subscriptions_response_client_reference_information.rb +196 -0
- data/lib/cybersource_rest_client/models/get_all_subscriptions_response_subscriptions.rb +11 -1
- data/lib/cybersource_rest_client/models/get_subscription_response.rb +11 -1
- data/lib/cybersource_rest_client/models/get_subscription_response_1_payment_instrument.rb +1 -1
- data/lib/cybersource_rest_client/models/get_subscription_response_1_payment_instrument_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/get_subscription_response_1_shipping_address.rb +1 -1
- data/lib/cybersource_rest_client/models/get_subscription_response_reactivation_information.rb +22 -22
- data/lib/cybersource_rest_client/models/inline_response_200.rb +9 -44
- data/lib/cybersource_rest_client/models/inline_response_200_1.rb +29 -31
- data/lib/cybersource_rest_client/models/inline_response_200_10.rb +33 -37
- data/lib/cybersource_rest_client/models/{inline_response_200_9_devices.rb → inline_response_200_10_devices.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_9_payment_processor_to_terminal_map.rb → inline_response_200_10_payment_processor_to_terminal_map.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_11.rb +47 -86
- data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded.rb → inline_response_200_11__embedded.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded__links.rb → inline_response_200_11__embedded__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded__links_reports.rb → inline_response_200_11__embedded__links_reports.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded_batches.rb → inline_response_200_11__embedded_batches.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded_totals.rb → inline_response_200_11__embedded_totals.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_11__links.rb +16 -17
- data/lib/cybersource_rest_client/models/inline_response_200_12.rb +47 -49
- data/lib/cybersource_rest_client/models/inline_response_200_12__links.rb +201 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_11__links_report.rb → inline_response_200_12__links_report.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_11_billing.rb → inline_response_200_12_billing.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_13.rb +102 -31
- data/lib/cybersource_rest_client/models/{inline_response_200_12_records.rb → inline_response_200_13_records.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_12_response_record.rb → inline_response_200_13_response_record.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_12_response_record_additional_updates.rb → inline_response_200_13_response_record_additional_updates.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_source_record.rb → inline_response_200_13_source_record.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_14.rb +18 -84
- data/lib/cybersource_rest_client/models/inline_response_200_15.rb +287 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_14_client_reference_information.rb → inline_response_200_15_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_content.rb → inline_response_200_1_content.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_2.rb +32 -103
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded.rb → inline_response_200_2__embedded.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_capture.rb → inline_response_200_2__embedded_capture.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_capture__links.rb → inline_response_200_2__embedded_capture__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_capture__links_self.rb → inline_response_200_2__embedded_capture__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_reversal.rb → inline_response_200_2__embedded_reversal.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_reversal__links.rb → inline_response_200_2__embedded_reversal__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_reversal__links_self.rb → inline_response_200_2__embedded_reversal__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_3.rb +100 -54
- data/lib/cybersource_rest_client/models/inline_response_200_4.rb +65 -25
- data/lib/cybersource_rest_client/models/{inline_response_200_3_integration_information.rb → inline_response_200_4_integration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_3_integration_information_tenant_configurations.rb → inline_response_200_4_integration_information_tenant_configurations.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +25 -126
- data/lib/cybersource_rest_client/models/inline_response_200_6.rb +1 -12
- data/lib/cybersource_rest_client/models/inline_response_200_7.rb +129 -51
- data/lib/cybersource_rest_client/models/inline_response_200_8.rb +55 -10
- data/lib/cybersource_rest_client/models/{inline_response_200_7_devices.rb → inline_response_200_8_devices.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_9.rb +10 -55
- data/lib/cybersource_rest_client/models/{inline_response_200_10__links.rb → inline_response_200_details.rb} +18 -17
- data/lib/cybersource_rest_client/models/inline_response_200_errors.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_200_responses.rb +224 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments.rb +15 -5
- data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +9 -9
- data/lib/cybersource_rest_client/models/patch_customer_request.rb +9 -9
- data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +3 -3
- data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +9 -9
- data/lib/cybersource_rest_client/models/payment_instrument_list_1__embedded_payment_instruments.rb +8 -8
- data/lib/cybersource_rest_client/models/payment_instrument_list__embedded.rb +1 -1
- data/lib/cybersource_rest_client/models/payments_products.rb +15 -5
- data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +9 -9
- data/lib/cybersource_rest_client/models/post_customer_request.rb +9 -9
- data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +3 -3
- data/lib/cybersource_rest_client/models/post_issuer_life_cycle_simulation_request.rb +211 -0
- data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +9 -9
- data/lib/cybersource_rest_client/models/post_tokenize_request.rb +199 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +22 -5
- data/lib/cybersource_rest_client/models/shipping_address_list_for_customer__embedded.rb +1 -1
- data/lib/cybersource_rest_client/models/tms_issuerlifecycleeventsimulations_metadata_card_art_combined_asset.rb +190 -0
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_merchant_information.rb → tms_merchant_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb → tms_merchant_information_merchant_descriptor.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb → tmsv2tokenize_default_payment_instrument_buyer_info_issued_by.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb → tmsv2tokenize_default_payment_instrument_buyer_info_personal_identification.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb → tmsv2tokenize_default_payment_instrument_card_tokenized_info.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb → tmsv2tokenize_default_payment_instrument_instrument_identifier.rb} +1 -1
- data/lib/cybersource_rest_client/models/tmsv2tokenize_processing_information.rb +205 -0
- data/lib/cybersource_rest_client/models/tmsv2tokenize_token_information.rb +247 -0
- data/lib/cybersource_rest_client/models/tmsv2tokenize_token_information_customer.rb +289 -0
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded.rb → tmsv2tokenize_token_information_customer__embedded.rb} +3 -3
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument.rb} +10 -10
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__embedded.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__links.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__links.rb} +3 -3
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__links_self.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_bank_account.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_bank_account.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_bill_to.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_bill_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_buyer_information.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_buyer_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_card.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_card.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_metadata.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_metadata.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address.rb} +4 -4
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address__links.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links.rb} +3 -3
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address__links_customer.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links_customer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address__links_self.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address_metadata.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address_metadata.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address_ship_to.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address_ship_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__links.rb → tmsv2tokenize_token_information_customer__links.rb} +4 -4
- data/lib/cybersource_rest_client/models/{tmsv2customers__links_payment_instruments.rb → tmsv2tokenize_token_information_customer__links_payment_instruments.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__links_self.rb → tmsv2tokenize_token_information_customer__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__links_shipping_address.rb → tmsv2tokenize_token_information_customer__links_shipping_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_buyer_information.rb → tmsv2tokenize_token_information_customer_buyer_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_client_reference_information.rb → tmsv2tokenize_token_information_customer_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_default_payment_instrument.rb → tmsv2tokenize_token_information_customer_default_payment_instrument.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_default_shipping_address.rb → tmsv2tokenize_token_information_customer_default_shipping_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_merchant_defined_information.rb → tmsv2tokenize_token_information_customer_merchant_defined_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_metadata.rb → tmsv2tokenize_token_information_customer_metadata.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_object_information.rb → tmsv2tokenize_token_information_customer_object_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{rbsv1subscriptions_client_reference_information_partner.rb → tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_card.rb} +41 -24
- data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata.rb +189 -0
- data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art.rb +189 -0
- data/lib/cybersource_rest_client/models/update_subscription.rb +1 -1
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data.rb +25 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_buyer_information.rb +41 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_buyer_information_personal_identification.rb +1 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_client_reference_information_partner.rb +3 -3
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_consumer_authentication_information.rb +24 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_device_information.rb +196 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_merchant_information_merchant_descriptor.rb +124 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information.rb +15 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_amount_details.rb +15 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_amount_details_tax_details.rb +213 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_invoice_details.rb +213 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items.rb +30 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items_passenger.rb +8 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items_tax_details.rb +7 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_payment_information.rb +189 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_payment_information_card.rb +196 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information.rb +1 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information_authorization_options.rb +74 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information_authorization_options_initiator.rb +1 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_recipient_information.rb +39 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information.rb +1 -0
- data/lib/cybersource_rest_client/utilities/capture_context/capture_context_parsing_utility.rb +113 -0
- data/lib/cybersource_rest_client/utilities/capture_context/public_key_fetcher.rb +131 -0
- data/lib/cybersource_rest_client.rb +80 -62
- metadata +85 -64
- data/lib/cybersource_rest_client/models/rbsv1plans_client_reference_information.rb +0 -239
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_client_reference_information.rb +0 -256
|
@@ -13,56 +13,81 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse2003
|
|
16
|
-
attr_accessor :
|
|
16
|
+
attr_accessor :id
|
|
17
17
|
|
|
18
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :field_type
|
|
19
19
|
|
|
20
|
-
attr_accessor :
|
|
20
|
+
attr_accessor :label
|
|
21
21
|
|
|
22
|
-
attr_accessor :
|
|
22
|
+
attr_accessor :customer_visible
|
|
23
23
|
|
|
24
|
-
attr_accessor :
|
|
24
|
+
attr_accessor :text_min_length
|
|
25
25
|
|
|
26
|
-
attr_accessor :
|
|
26
|
+
attr_accessor :text_max_length
|
|
27
27
|
|
|
28
|
-
attr_accessor :
|
|
28
|
+
attr_accessor :possible_values
|
|
29
|
+
|
|
30
|
+
attr_accessor :text_default_value
|
|
31
|
+
|
|
32
|
+
attr_accessor :merchant_id
|
|
33
|
+
|
|
34
|
+
attr_accessor :reference_type
|
|
35
|
+
|
|
36
|
+
attr_accessor :read_only
|
|
37
|
+
|
|
38
|
+
attr_accessor :merchant_defined_data_index
|
|
29
39
|
|
|
30
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
31
41
|
def self.attribute_map
|
|
32
42
|
{
|
|
33
|
-
:'
|
|
34
|
-
:'
|
|
35
|
-
:'
|
|
36
|
-
:'
|
|
37
|
-
:'
|
|
38
|
-
:'
|
|
39
|
-
:'
|
|
43
|
+
:'id' => :'id',
|
|
44
|
+
:'field_type' => :'fieldType',
|
|
45
|
+
:'label' => :'label',
|
|
46
|
+
:'customer_visible' => :'customerVisible',
|
|
47
|
+
:'text_min_length' => :'textMinLength',
|
|
48
|
+
:'text_max_length' => :'textMaxLength',
|
|
49
|
+
:'possible_values' => :'possibleValues',
|
|
50
|
+
:'text_default_value' => :'textDefaultValue',
|
|
51
|
+
:'merchant_id' => :'merchantId',
|
|
52
|
+
:'reference_type' => :'referenceType',
|
|
53
|
+
:'read_only' => :'readOnly',
|
|
54
|
+
:'merchant_defined_data_index' => :'merchantDefinedDataIndex'
|
|
40
55
|
}
|
|
41
56
|
end
|
|
42
57
|
|
|
43
58
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
44
59
|
def self.json_map
|
|
45
60
|
{
|
|
46
|
-
:'
|
|
47
|
-
:'
|
|
48
|
-
:'
|
|
49
|
-
:'
|
|
50
|
-
:'
|
|
51
|
-
:'
|
|
52
|
-
:'
|
|
61
|
+
:'id' => :'id',
|
|
62
|
+
:'field_type' => :'field_type',
|
|
63
|
+
:'label' => :'label',
|
|
64
|
+
:'customer_visible' => :'customer_visible',
|
|
65
|
+
:'text_min_length' => :'text_min_length',
|
|
66
|
+
:'text_max_length' => :'text_max_length',
|
|
67
|
+
:'possible_values' => :'possible_values',
|
|
68
|
+
:'text_default_value' => :'text_default_value',
|
|
69
|
+
:'merchant_id' => :'merchant_id',
|
|
70
|
+
:'reference_type' => :'reference_type',
|
|
71
|
+
:'read_only' => :'read_only',
|
|
72
|
+
:'merchant_defined_data_index' => :'merchant_defined_data_index'
|
|
53
73
|
}
|
|
54
74
|
end
|
|
55
75
|
|
|
56
76
|
# Attribute type mapping.
|
|
57
77
|
def self.swagger_types
|
|
58
78
|
{
|
|
59
|
-
:'
|
|
60
|
-
:'
|
|
61
|
-
:'
|
|
62
|
-
:'
|
|
63
|
-
:'
|
|
64
|
-
:'
|
|
65
|
-
:'
|
|
79
|
+
:'id' => :'Integer',
|
|
80
|
+
:'field_type' => :'String',
|
|
81
|
+
:'label' => :'String',
|
|
82
|
+
:'customer_visible' => :'BOOLEAN',
|
|
83
|
+
:'text_min_length' => :'Integer',
|
|
84
|
+
:'text_max_length' => :'Integer',
|
|
85
|
+
:'possible_values' => :'String',
|
|
86
|
+
:'text_default_value' => :'String',
|
|
87
|
+
:'merchant_id' => :'String',
|
|
88
|
+
:'reference_type' => :'String',
|
|
89
|
+
:'read_only' => :'BOOLEAN',
|
|
90
|
+
:'merchant_defined_data_index' => :'Integer'
|
|
66
91
|
}
|
|
67
92
|
end
|
|
68
93
|
|
|
@@ -74,36 +99,52 @@ module CyberSource
|
|
|
74
99
|
# convert string to symbol for hash key
|
|
75
100
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
76
101
|
|
|
77
|
-
if attributes.has_key?(:'
|
|
78
|
-
self.
|
|
102
|
+
if attributes.has_key?(:'id')
|
|
103
|
+
self.id = attributes[:'id']
|
|
79
104
|
end
|
|
80
105
|
|
|
81
|
-
if attributes.has_key?(:'
|
|
82
|
-
self.
|
|
106
|
+
if attributes.has_key?(:'fieldType')
|
|
107
|
+
self.field_type = attributes[:'fieldType']
|
|
83
108
|
end
|
|
84
109
|
|
|
85
|
-
if attributes.has_key?(:'
|
|
86
|
-
self.
|
|
110
|
+
if attributes.has_key?(:'label')
|
|
111
|
+
self.label = attributes[:'label']
|
|
87
112
|
end
|
|
88
113
|
|
|
89
|
-
if attributes.has_key?(:'
|
|
90
|
-
self.
|
|
114
|
+
if attributes.has_key?(:'customerVisible')
|
|
115
|
+
self.customer_visible = attributes[:'customerVisible']
|
|
91
116
|
end
|
|
92
117
|
|
|
93
|
-
if attributes.has_key?(:'
|
|
94
|
-
|
|
95
|
-
self.product_information_setups = value
|
|
96
|
-
end
|
|
118
|
+
if attributes.has_key?(:'textMinLength')
|
|
119
|
+
self.text_min_length = attributes[:'textMinLength']
|
|
97
120
|
end
|
|
98
121
|
|
|
99
|
-
if attributes.has_key?(:'
|
|
100
|
-
self.
|
|
122
|
+
if attributes.has_key?(:'textMaxLength')
|
|
123
|
+
self.text_max_length = attributes[:'textMaxLength']
|
|
101
124
|
end
|
|
102
125
|
|
|
103
|
-
if attributes.has_key?(:'
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
126
|
+
if attributes.has_key?(:'possibleValues')
|
|
127
|
+
self.possible_values = attributes[:'possibleValues']
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
if attributes.has_key?(:'textDefaultValue')
|
|
131
|
+
self.text_default_value = attributes[:'textDefaultValue']
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
if attributes.has_key?(:'merchantId')
|
|
135
|
+
self.merchant_id = attributes[:'merchantId']
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
if attributes.has_key?(:'referenceType')
|
|
139
|
+
self.reference_type = attributes[:'referenceType']
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
if attributes.has_key?(:'readOnly')
|
|
143
|
+
self.read_only = attributes[:'readOnly']
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
if attributes.has_key?(:'merchantDefinedDataIndex')
|
|
147
|
+
self.merchant_defined_data_index = attributes[:'merchantDefinedDataIndex']
|
|
107
148
|
end
|
|
108
149
|
end
|
|
109
150
|
|
|
@@ -125,13 +166,18 @@ module CyberSource
|
|
|
125
166
|
def ==(o)
|
|
126
167
|
return true if self.equal?(o)
|
|
127
168
|
self.class == o.class &&
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
169
|
+
id == o.id &&
|
|
170
|
+
field_type == o.field_type &&
|
|
171
|
+
label == o.label &&
|
|
172
|
+
customer_visible == o.customer_visible &&
|
|
173
|
+
text_min_length == o.text_min_length &&
|
|
174
|
+
text_max_length == o.text_max_length &&
|
|
175
|
+
possible_values == o.possible_values &&
|
|
176
|
+
text_default_value == o.text_default_value &&
|
|
177
|
+
merchant_id == o.merchant_id &&
|
|
178
|
+
reference_type == o.reference_type &&
|
|
179
|
+
read_only == o.read_only &&
|
|
180
|
+
merchant_defined_data_index == o.merchant_defined_data_index
|
|
135
181
|
end
|
|
136
182
|
|
|
137
183
|
# @see the `==` method
|
|
@@ -143,7 +189,7 @@ module CyberSource
|
|
|
143
189
|
# Calculates hash code according to all attributes.
|
|
144
190
|
# @return [Fixnum] Hash code
|
|
145
191
|
def hash
|
|
146
|
-
[
|
|
192
|
+
[id, field_type, label, customer_visible, text_min_length, text_max_length, possible_values, text_default_value, merchant_id, reference_type, read_only, merchant_defined_data_index].hash
|
|
147
193
|
end
|
|
148
194
|
|
|
149
195
|
# Builds the object from hash
|
|
@@ -13,38 +13,56 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse2004
|
|
16
|
-
|
|
17
|
-
attr_accessor :product_id
|
|
16
|
+
attr_accessor :registration_information
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
attr_accessor :product_name
|
|
18
|
+
attr_accessor :integration_information
|
|
21
19
|
|
|
22
|
-
attr_accessor :
|
|
20
|
+
attr_accessor :organization_information
|
|
21
|
+
|
|
22
|
+
attr_accessor :product_information
|
|
23
|
+
|
|
24
|
+
attr_accessor :product_information_setups
|
|
25
|
+
|
|
26
|
+
attr_accessor :document_information
|
|
27
|
+
|
|
28
|
+
attr_accessor :details
|
|
23
29
|
|
|
24
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
31
|
def self.attribute_map
|
|
26
32
|
{
|
|
27
|
-
:'
|
|
28
|
-
:'
|
|
29
|
-
:'
|
|
33
|
+
:'registration_information' => :'registrationInformation',
|
|
34
|
+
:'integration_information' => :'integrationInformation',
|
|
35
|
+
:'organization_information' => :'organizationInformation',
|
|
36
|
+
:'product_information' => :'productInformation',
|
|
37
|
+
:'product_information_setups' => :'productInformationSetups',
|
|
38
|
+
:'document_information' => :'documentInformation',
|
|
39
|
+
:'details' => :'details'
|
|
30
40
|
}
|
|
31
41
|
end
|
|
32
42
|
|
|
33
43
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
34
44
|
def self.json_map
|
|
35
45
|
{
|
|
36
|
-
:'
|
|
37
|
-
:'
|
|
38
|
-
:'
|
|
46
|
+
:'registration_information' => :'registration_information',
|
|
47
|
+
:'integration_information' => :'integration_information',
|
|
48
|
+
:'organization_information' => :'organization_information',
|
|
49
|
+
:'product_information' => :'product_information',
|
|
50
|
+
:'product_information_setups' => :'product_information_setups',
|
|
51
|
+
:'document_information' => :'document_information',
|
|
52
|
+
:'details' => :'details'
|
|
39
53
|
}
|
|
40
54
|
end
|
|
41
55
|
|
|
42
56
|
# Attribute type mapping.
|
|
43
57
|
def self.swagger_types
|
|
44
58
|
{
|
|
45
|
-
:'
|
|
46
|
-
:'
|
|
47
|
-
:'
|
|
59
|
+
:'registration_information' => :'Boardingv1registrationsRegistrationInformation',
|
|
60
|
+
:'integration_information' => :'InlineResponse2004IntegrationInformation',
|
|
61
|
+
:'organization_information' => :'Boardingv1registrationsOrganizationInformation',
|
|
62
|
+
:'product_information' => :'Boardingv1registrationsProductInformation',
|
|
63
|
+
:'product_information_setups' => :'Array<InlineResponse2013ProductInformationSetups>',
|
|
64
|
+
:'document_information' => :'Boardingv1registrationsDocumentInformation',
|
|
65
|
+
:'details' => :'Hash<String, Array<Object>>'
|
|
48
66
|
}
|
|
49
67
|
end
|
|
50
68
|
|
|
@@ -56,17 +74,35 @@ module CyberSource
|
|
|
56
74
|
# convert string to symbol for hash key
|
|
57
75
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
58
76
|
|
|
59
|
-
if attributes.has_key?(:'
|
|
60
|
-
self.
|
|
77
|
+
if attributes.has_key?(:'registrationInformation')
|
|
78
|
+
self.registration_information = attributes[:'registrationInformation']
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
if attributes.has_key?(:'integrationInformation')
|
|
82
|
+
self.integration_information = attributes[:'integrationInformation']
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
if attributes.has_key?(:'organizationInformation')
|
|
86
|
+
self.organization_information = attributes[:'organizationInformation']
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
if attributes.has_key?(:'productInformation')
|
|
90
|
+
self.product_information = attributes[:'productInformation']
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
if attributes.has_key?(:'productInformationSetups')
|
|
94
|
+
if (value = attributes[:'productInformationSetups']).is_a?(Array)
|
|
95
|
+
self.product_information_setups = value
|
|
96
|
+
end
|
|
61
97
|
end
|
|
62
98
|
|
|
63
|
-
if attributes.has_key?(:'
|
|
64
|
-
self.
|
|
99
|
+
if attributes.has_key?(:'documentInformation')
|
|
100
|
+
self.document_information = attributes[:'documentInformation']
|
|
65
101
|
end
|
|
66
102
|
|
|
67
|
-
if attributes.has_key?(:'
|
|
68
|
-
if (value = attributes[:'
|
|
69
|
-
self.
|
|
103
|
+
if attributes.has_key?(:'details')
|
|
104
|
+
if (value = attributes[:'details']).is_a?(Hash)
|
|
105
|
+
self.details = value
|
|
70
106
|
end
|
|
71
107
|
end
|
|
72
108
|
end
|
|
@@ -89,9 +125,13 @@ module CyberSource
|
|
|
89
125
|
def ==(o)
|
|
90
126
|
return true if self.equal?(o)
|
|
91
127
|
self.class == o.class &&
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
128
|
+
registration_information == o.registration_information &&
|
|
129
|
+
integration_information == o.integration_information &&
|
|
130
|
+
organization_information == o.organization_information &&
|
|
131
|
+
product_information == o.product_information &&
|
|
132
|
+
product_information_setups == o.product_information_setups &&
|
|
133
|
+
document_information == o.document_information &&
|
|
134
|
+
details == o.details
|
|
95
135
|
end
|
|
96
136
|
|
|
97
137
|
# @see the `==` method
|
|
@@ -103,7 +143,7 @@ module CyberSource
|
|
|
103
143
|
# Calculates hash code according to all attributes.
|
|
104
144
|
# @return [Fixnum] Hash code
|
|
105
145
|
def hash
|
|
106
|
-
[
|
|
146
|
+
[registration_information, integration_information, organization_information, product_information, product_information_setups, document_information, details].hash
|
|
107
147
|
end
|
|
108
148
|
|
|
109
149
|
# 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 InlineResponse2004IntegrationInformation
|
|
16
16
|
attr_accessor :oauth2
|
|
17
17
|
|
|
18
18
|
# tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with.
|
|
@@ -38,7 +38,7 @@ module CyberSource
|
|
|
38
38
|
def self.swagger_types
|
|
39
39
|
{
|
|
40
40
|
:'oauth2' => :'Array<Boardingv1registrationsIntegrationInformationOauth2>',
|
|
41
|
-
:'tenant_configurations' => :'Array<
|
|
41
|
+
:'tenant_configurations' => :'Array<InlineResponse2004IntegrationInformationTenantConfigurations>'
|
|
42
42
|
}
|
|
43
43
|
end
|
|
44
44
|
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
class
|
|
15
|
+
class InlineResponse2004IntegrationInformationTenantConfigurations
|
|
16
16
|
# The solutionId is the unique identifier for this system resource. Partner can use it to reference the specific solution through out the system.
|
|
17
17
|
attr_accessor :solution_id
|
|
18
18
|
|
|
@@ -13,90 +13,38 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse2005
|
|
16
|
-
#
|
|
17
|
-
attr_accessor :
|
|
16
|
+
# Product ID.
|
|
17
|
+
attr_accessor :product_id
|
|
18
18
|
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
19
|
+
# Product Name.
|
|
20
|
+
attr_accessor :product_name
|
|
21
21
|
|
|
22
|
-
attr_accessor :
|
|
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.
|
|
31
|
-
attr_accessor :status
|
|
32
|
-
|
|
33
|
-
# Client friendly webhook name.
|
|
34
|
-
attr_accessor :name
|
|
35
|
-
|
|
36
|
-
# Client friendly webhook description.
|
|
37
|
-
attr_accessor :description
|
|
38
|
-
|
|
39
|
-
attr_accessor :retry_policy
|
|
40
|
-
|
|
41
|
-
attr_accessor :security_policy
|
|
42
|
-
|
|
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
|
|
22
|
+
attr_accessor :event_types
|
|
48
23
|
|
|
49
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
50
25
|
def self.attribute_map
|
|
51
26
|
{
|
|
52
|
-
:'
|
|
53
|
-
:'
|
|
54
|
-
:'
|
|
55
|
-
:'webhook_url' => :'webhookUrl',
|
|
56
|
-
:'health_check_url' => :'healthCheckUrl',
|
|
57
|
-
:'status' => :'status',
|
|
58
|
-
:'name' => :'name',
|
|
59
|
-
:'description' => :'description',
|
|
60
|
-
:'retry_policy' => :'retryPolicy',
|
|
61
|
-
:'security_policy' => :'securityPolicy',
|
|
62
|
-
:'created_on' => :'createdOn',
|
|
63
|
-
:'notification_scope' => :'notificationScope'
|
|
27
|
+
:'product_id' => :'productId',
|
|
28
|
+
:'product_name' => :'productName',
|
|
29
|
+
:'event_types' => :'eventTypes'
|
|
64
30
|
}
|
|
65
31
|
end
|
|
66
32
|
|
|
67
33
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
68
34
|
def self.json_map
|
|
69
35
|
{
|
|
70
|
-
:'
|
|
71
|
-
:'
|
|
72
|
-
:'
|
|
73
|
-
:'webhook_url' => :'webhook_url',
|
|
74
|
-
:'health_check_url' => :'health_check_url',
|
|
75
|
-
:'status' => :'status',
|
|
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'
|
|
36
|
+
:'product_id' => :'product_id',
|
|
37
|
+
:'product_name' => :'product_name',
|
|
38
|
+
:'event_types' => :'event_types'
|
|
82
39
|
}
|
|
83
40
|
end
|
|
84
41
|
|
|
85
42
|
# Attribute type mapping.
|
|
86
43
|
def self.swagger_types
|
|
87
44
|
{
|
|
88
|
-
:'
|
|
89
|
-
:'
|
|
90
|
-
:'
|
|
91
|
-
:'webhook_url' => :'String',
|
|
92
|
-
:'health_check_url' => :'String',
|
|
93
|
-
:'status' => :'String',
|
|
94
|
-
:'name' => :'String',
|
|
95
|
-
:'description' => :'String',
|
|
96
|
-
:'retry_policy' => :'Notificationsubscriptionsv2webhooksRetryPolicy',
|
|
97
|
-
:'security_policy' => :'Notificationsubscriptionsv2webhooksSecurityPolicy',
|
|
98
|
-
:'created_on' => :'String',
|
|
99
|
-
:'notification_scope' => :'String'
|
|
45
|
+
:'product_id' => :'String',
|
|
46
|
+
:'product_name' => :'String',
|
|
47
|
+
:'event_types' => :'Array<Notificationsubscriptionsv2productsorganizationIdEventTypes>'
|
|
100
48
|
}
|
|
101
49
|
end
|
|
102
50
|
|
|
@@ -108,59 +56,19 @@ module CyberSource
|
|
|
108
56
|
# convert string to symbol for hash key
|
|
109
57
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
110
58
|
|
|
111
|
-
if attributes.has_key?(:'
|
|
112
|
-
self.
|
|
59
|
+
if attributes.has_key?(:'productId')
|
|
60
|
+
self.product_id = attributes[:'productId']
|
|
113
61
|
end
|
|
114
62
|
|
|
115
|
-
if attributes.has_key?(:'
|
|
116
|
-
self.
|
|
63
|
+
if attributes.has_key?(:'productName')
|
|
64
|
+
self.product_name = attributes[:'productName']
|
|
117
65
|
end
|
|
118
66
|
|
|
119
|
-
if attributes.has_key?(:'
|
|
120
|
-
if (value = attributes[:'
|
|
121
|
-
self.
|
|
67
|
+
if attributes.has_key?(:'eventTypes')
|
|
68
|
+
if (value = attributes[:'eventTypes']).is_a?(Array)
|
|
69
|
+
self.event_types = value
|
|
122
70
|
end
|
|
123
71
|
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']
|
|
131
|
-
end
|
|
132
|
-
|
|
133
|
-
if attributes.has_key?(:'status')
|
|
134
|
-
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
|
-
end
|
|
146
|
-
|
|
147
|
-
if attributes.has_key?(:'retryPolicy')
|
|
148
|
-
self.retry_policy = attributes[:'retryPolicy']
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
if attributes.has_key?(:'securityPolicy')
|
|
152
|
-
self.security_policy = attributes[:'securityPolicy']
|
|
153
|
-
end
|
|
154
|
-
|
|
155
|
-
if attributes.has_key?(:'createdOn')
|
|
156
|
-
self.created_on = attributes[:'createdOn']
|
|
157
|
-
end
|
|
158
|
-
|
|
159
|
-
if attributes.has_key?(:'notificationScope')
|
|
160
|
-
self.notification_scope = attributes[:'notificationScope']
|
|
161
|
-
else
|
|
162
|
-
self.notification_scope = 'DESCENDANTS'
|
|
163
|
-
end
|
|
164
72
|
end
|
|
165
73
|
|
|
166
74
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -181,18 +89,9 @@ module CyberSource
|
|
|
181
89
|
def ==(o)
|
|
182
90
|
return true if self.equal?(o)
|
|
183
91
|
self.class == o.class &&
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
webhook_url == o.webhook_url &&
|
|
188
|
-
health_check_url == o.health_check_url &&
|
|
189
|
-
status == o.status &&
|
|
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
|
|
92
|
+
product_id == o.product_id &&
|
|
93
|
+
product_name == o.product_name &&
|
|
94
|
+
event_types == o.event_types
|
|
196
95
|
end
|
|
197
96
|
|
|
198
97
|
# @see the `==` method
|
|
@@ -204,7 +103,7 @@ module CyberSource
|
|
|
204
103
|
# Calculates hash code according to all attributes.
|
|
205
104
|
# @return [Fixnum] Hash code
|
|
206
105
|
def hash
|
|
207
|
-
[
|
|
106
|
+
[product_id, product_name, event_types].hash
|
|
208
107
|
end
|
|
209
108
|
|
|
210
109
|
# Builds the object from hash
|
|
@@ -43,9 +43,6 @@ module CyberSource
|
|
|
43
43
|
# Date on which webhook was created/registered.
|
|
44
44
|
attr_accessor :created_on
|
|
45
45
|
|
|
46
|
-
# Date on which webhook was most recently updated.
|
|
47
|
-
attr_accessor :updated_on
|
|
48
|
-
|
|
49
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
|
|
50
47
|
attr_accessor :notification_scope
|
|
51
48
|
|
|
@@ -63,7 +60,6 @@ module CyberSource
|
|
|
63
60
|
:'retry_policy' => :'retryPolicy',
|
|
64
61
|
:'security_policy' => :'securityPolicy',
|
|
65
62
|
:'created_on' => :'createdOn',
|
|
66
|
-
:'updated_on' => :'updatedOn',
|
|
67
63
|
:'notification_scope' => :'notificationScope'
|
|
68
64
|
}
|
|
69
65
|
end
|
|
@@ -82,7 +78,6 @@ module CyberSource
|
|
|
82
78
|
:'retry_policy' => :'retry_policy',
|
|
83
79
|
:'security_policy' => :'security_policy',
|
|
84
80
|
:'created_on' => :'created_on',
|
|
85
|
-
:'updated_on' => :'updated_on',
|
|
86
81
|
:'notification_scope' => :'notification_scope'
|
|
87
82
|
}
|
|
88
83
|
end
|
|
@@ -101,7 +96,6 @@ module CyberSource
|
|
|
101
96
|
:'retry_policy' => :'Notificationsubscriptionsv2webhooksRetryPolicy',
|
|
102
97
|
:'security_policy' => :'Notificationsubscriptionsv2webhooksSecurityPolicy',
|
|
103
98
|
:'created_on' => :'String',
|
|
104
|
-
:'updated_on' => :'String',
|
|
105
99
|
:'notification_scope' => :'String'
|
|
106
100
|
}
|
|
107
101
|
end
|
|
@@ -162,10 +156,6 @@ module CyberSource
|
|
|
162
156
|
self.created_on = attributes[:'createdOn']
|
|
163
157
|
end
|
|
164
158
|
|
|
165
|
-
if attributes.has_key?(:'updatedOn')
|
|
166
|
-
self.updated_on = attributes[:'updatedOn']
|
|
167
|
-
end
|
|
168
|
-
|
|
169
159
|
if attributes.has_key?(:'notificationScope')
|
|
170
160
|
self.notification_scope = attributes[:'notificationScope']
|
|
171
161
|
else
|
|
@@ -202,7 +192,6 @@ module CyberSource
|
|
|
202
192
|
retry_policy == o.retry_policy &&
|
|
203
193
|
security_policy == o.security_policy &&
|
|
204
194
|
created_on == o.created_on &&
|
|
205
|
-
updated_on == o.updated_on &&
|
|
206
195
|
notification_scope == o.notification_scope
|
|
207
196
|
end
|
|
208
197
|
|
|
@@ -215,7 +204,7 @@ module CyberSource
|
|
|
215
204
|
# Calculates hash code according to all attributes.
|
|
216
205
|
# @return [Fixnum] Hash code
|
|
217
206
|
def hash
|
|
218
|
-
[webhook_id, organization_id, products, webhook_url, health_check_url, status, name, description, retry_policy, security_policy, created_on,
|
|
207
|
+
[webhook_id, organization_id, products, webhook_url, health_check_url, status, name, description, retry_policy, security_policy, created_on, notification_scope].hash
|
|
219
208
|
end
|
|
220
209
|
|
|
221
210
|
# Builds the object from hash
|