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
|
@@ -0,0 +1,201 @@
|
|
|
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 InlineResponse20012Links
|
|
16
|
+
attr_accessor :_self
|
|
17
|
+
|
|
18
|
+
attr_accessor :report
|
|
19
|
+
|
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
|
+
def self.attribute_map
|
|
22
|
+
{
|
|
23
|
+
:'_self' => :'self',
|
|
24
|
+
:'report' => :'report'
|
|
25
|
+
}
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
|
29
|
+
def self.json_map
|
|
30
|
+
{
|
|
31
|
+
:'_self' => :'_self',
|
|
32
|
+
:'report' => :'report'
|
|
33
|
+
}
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Attribute type mapping.
|
|
37
|
+
def self.swagger_types
|
|
38
|
+
{
|
|
39
|
+
:'_self' => :'InlineResponse202LinksStatus',
|
|
40
|
+
:'report' => :'Array<InlineResponse20012LinksReport>'
|
|
41
|
+
}
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Initializes the object
|
|
45
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
46
|
+
def initialize(attributes = {})
|
|
47
|
+
return unless attributes.is_a?(Hash)
|
|
48
|
+
|
|
49
|
+
# convert string to symbol for hash key
|
|
50
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
51
|
+
|
|
52
|
+
if attributes.has_key?(:'self')
|
|
53
|
+
self._self = attributes[:'self']
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
if attributes.has_key?(:'report')
|
|
57
|
+
if (value = attributes[:'report']).is_a?(Array)
|
|
58
|
+
self.report = value
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
64
|
+
# @return Array for valid properties with the reasons
|
|
65
|
+
def list_invalid_properties
|
|
66
|
+
invalid_properties = Array.new
|
|
67
|
+
invalid_properties
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Check to see if the all the properties in the model are valid
|
|
71
|
+
# @return true if the model is valid
|
|
72
|
+
def valid?
|
|
73
|
+
true
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# Checks equality by comparing each attribute.
|
|
77
|
+
# @param [Object] Object to be compared
|
|
78
|
+
def ==(o)
|
|
79
|
+
return true if self.equal?(o)
|
|
80
|
+
self.class == o.class &&
|
|
81
|
+
_self == o._self &&
|
|
82
|
+
report == o.report
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# @see the `==` method
|
|
86
|
+
# @param [Object] Object to be compared
|
|
87
|
+
def eql?(o)
|
|
88
|
+
self == o
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# Calculates hash code according to all attributes.
|
|
92
|
+
# @return [Fixnum] Hash code
|
|
93
|
+
def hash
|
|
94
|
+
[_self, report].hash
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# Builds the object from hash
|
|
98
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
99
|
+
# @return [Object] Returns the model itself
|
|
100
|
+
def build_from_hash(attributes)
|
|
101
|
+
return nil unless attributes.is_a?(Hash)
|
|
102
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
103
|
+
if type =~ /\AArray<(.*)>/i
|
|
104
|
+
# check to ensure the input is an array given that the the attribute
|
|
105
|
+
# is documented as an array but the input is not
|
|
106
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
107
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
108
|
+
end
|
|
109
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
110
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
111
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
self
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# Deserializes the data based on type
|
|
118
|
+
# @param string type Data type
|
|
119
|
+
# @param string value Value to be deserialized
|
|
120
|
+
# @return [Object] Deserialized data
|
|
121
|
+
def _deserialize(type, value)
|
|
122
|
+
case type.to_sym
|
|
123
|
+
when :DateTime
|
|
124
|
+
DateTime.parse(value)
|
|
125
|
+
when :Date
|
|
126
|
+
Date.parse(value)
|
|
127
|
+
when :String
|
|
128
|
+
value.to_s
|
|
129
|
+
when :Integer
|
|
130
|
+
value.to_i
|
|
131
|
+
when :Float
|
|
132
|
+
value.to_f
|
|
133
|
+
when :BOOLEAN
|
|
134
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
135
|
+
true
|
|
136
|
+
else
|
|
137
|
+
false
|
|
138
|
+
end
|
|
139
|
+
when :Object
|
|
140
|
+
# generic object (usually a Hash), return directly
|
|
141
|
+
value
|
|
142
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
143
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
144
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
145
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
146
|
+
k_type = Regexp.last_match[:k_type]
|
|
147
|
+
v_type = Regexp.last_match[:v_type]
|
|
148
|
+
{}.tap do |hash|
|
|
149
|
+
value.each do |k, v|
|
|
150
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
else # model
|
|
154
|
+
temp_model = CyberSource.const_get(type).new
|
|
155
|
+
temp_model.build_from_hash(value)
|
|
156
|
+
end
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
# Returns the string representation of the object
|
|
160
|
+
# @return [String] String presentation of the object
|
|
161
|
+
def to_s
|
|
162
|
+
to_hash.to_s
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
166
|
+
# @return [Hash] Returns the object in the form of hash
|
|
167
|
+
def to_body
|
|
168
|
+
to_hash
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
# Returns the object in the form of hash
|
|
172
|
+
# @return [Hash] Returns the object in the form of hash
|
|
173
|
+
def to_hash
|
|
174
|
+
hash = {}
|
|
175
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
176
|
+
value = self.send(attr)
|
|
177
|
+
next if value.nil?
|
|
178
|
+
hash[param] = _to_hash(value)
|
|
179
|
+
end
|
|
180
|
+
hash
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
# Outputs non-array value in the form of hash
|
|
184
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
185
|
+
# @param [Object] value Any valid value
|
|
186
|
+
# @return [Hash] Returns the value in the form of hash
|
|
187
|
+
def _to_hash(value)
|
|
188
|
+
if value.is_a?(Array)
|
|
189
|
+
value.compact.map { |v| _to_hash(v) }
|
|
190
|
+
elsif value.is_a?(Hash)
|
|
191
|
+
{}.tap do |hash|
|
|
192
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
193
|
+
end
|
|
194
|
+
elsif value.respond_to? :to_hash
|
|
195
|
+
value.to_hash
|
|
196
|
+
else
|
|
197
|
+
value
|
|
198
|
+
end
|
|
199
|
+
end
|
|
200
|
+
end
|
|
201
|
+
end
|
|
@@ -13,43 +13,76 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse20013
|
|
16
|
-
attr_accessor :
|
|
16
|
+
attr_accessor :version
|
|
17
17
|
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ
|
|
19
|
+
attr_accessor :report_created_date
|
|
20
20
|
|
|
21
|
-
#
|
|
22
|
-
attr_accessor :
|
|
21
|
+
# Unique identification number assigned to the submitted request.
|
|
22
|
+
attr_accessor :batch_id
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
# Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE
|
|
25
|
+
attr_accessor :batch_source
|
|
26
|
+
|
|
27
|
+
attr_accessor :batch_ca_endpoints
|
|
28
|
+
|
|
29
|
+
# ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ
|
|
30
|
+
attr_accessor :batch_created_date
|
|
31
|
+
|
|
32
|
+
# Reference used by merchant to identify batch.
|
|
33
|
+
attr_accessor :merchant_reference
|
|
34
|
+
|
|
35
|
+
attr_accessor :totals
|
|
36
|
+
|
|
37
|
+
attr_accessor :billing
|
|
38
|
+
|
|
39
|
+
attr_accessor :records
|
|
25
40
|
|
|
26
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
27
42
|
def self.attribute_map
|
|
28
43
|
{
|
|
29
|
-
:'
|
|
30
|
-
:'
|
|
31
|
-
:'
|
|
32
|
-
:'
|
|
44
|
+
:'version' => :'version',
|
|
45
|
+
:'report_created_date' => :'reportCreatedDate',
|
|
46
|
+
:'batch_id' => :'batchId',
|
|
47
|
+
:'batch_source' => :'batchSource',
|
|
48
|
+
:'batch_ca_endpoints' => :'batchCaEndpoints',
|
|
49
|
+
:'batch_created_date' => :'batchCreatedDate',
|
|
50
|
+
:'merchant_reference' => :'merchantReference',
|
|
51
|
+
:'totals' => :'totals',
|
|
52
|
+
:'billing' => :'billing',
|
|
53
|
+
:'records' => :'records'
|
|
33
54
|
}
|
|
34
55
|
end
|
|
35
56
|
|
|
36
57
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
37
58
|
def self.json_map
|
|
38
59
|
{
|
|
39
|
-
:'
|
|
40
|
-
:'
|
|
41
|
-
:'
|
|
42
|
-
:'
|
|
60
|
+
:'version' => :'version',
|
|
61
|
+
:'report_created_date' => :'report_created_date',
|
|
62
|
+
:'batch_id' => :'batch_id',
|
|
63
|
+
:'batch_source' => :'batch_source',
|
|
64
|
+
:'batch_ca_endpoints' => :'batch_ca_endpoints',
|
|
65
|
+
:'batch_created_date' => :'batch_created_date',
|
|
66
|
+
:'merchant_reference' => :'merchant_reference',
|
|
67
|
+
:'totals' => :'totals',
|
|
68
|
+
:'billing' => :'billing',
|
|
69
|
+
:'records' => :'records'
|
|
43
70
|
}
|
|
44
71
|
end
|
|
45
72
|
|
|
46
73
|
# Attribute type mapping.
|
|
47
74
|
def self.swagger_types
|
|
48
75
|
{
|
|
49
|
-
:'
|
|
50
|
-
:'
|
|
51
|
-
:'
|
|
52
|
-
:'
|
|
76
|
+
:'version' => :'String',
|
|
77
|
+
:'report_created_date' => :'String',
|
|
78
|
+
:'batch_id' => :'String',
|
|
79
|
+
:'batch_source' => :'String',
|
|
80
|
+
:'batch_ca_endpoints' => :'String',
|
|
81
|
+
:'batch_created_date' => :'String',
|
|
82
|
+
:'merchant_reference' => :'String',
|
|
83
|
+
:'totals' => :'InlineResponse20011EmbeddedTotals',
|
|
84
|
+
:'billing' => :'InlineResponse20012Billing',
|
|
85
|
+
:'records' => :'Array<InlineResponse20013Records>'
|
|
53
86
|
}
|
|
54
87
|
end
|
|
55
88
|
|
|
@@ -61,20 +94,46 @@ module CyberSource
|
|
|
61
94
|
# convert string to symbol for hash key
|
|
62
95
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
63
96
|
|
|
64
|
-
if attributes.has_key?(:'
|
|
65
|
-
self.
|
|
97
|
+
if attributes.has_key?(:'version')
|
|
98
|
+
self.version = attributes[:'version']
|
|
66
99
|
end
|
|
67
100
|
|
|
68
|
-
if attributes.has_key?(:'
|
|
69
|
-
self.
|
|
101
|
+
if attributes.has_key?(:'reportCreatedDate')
|
|
102
|
+
self.report_created_date = attributes[:'reportCreatedDate']
|
|
70
103
|
end
|
|
71
104
|
|
|
72
|
-
if attributes.has_key?(:'
|
|
73
|
-
self.
|
|
105
|
+
if attributes.has_key?(:'batchId')
|
|
106
|
+
self.batch_id = attributes[:'batchId']
|
|
74
107
|
end
|
|
75
108
|
|
|
76
|
-
if attributes.has_key?(:'
|
|
77
|
-
self.
|
|
109
|
+
if attributes.has_key?(:'batchSource')
|
|
110
|
+
self.batch_source = attributes[:'batchSource']
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
if attributes.has_key?(:'batchCaEndpoints')
|
|
114
|
+
self.batch_ca_endpoints = attributes[:'batchCaEndpoints']
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
if attributes.has_key?(:'batchCreatedDate')
|
|
118
|
+
self.batch_created_date = attributes[:'batchCreatedDate']
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
if attributes.has_key?(:'merchantReference')
|
|
122
|
+
self.merchant_reference = attributes[:'merchantReference']
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
if attributes.has_key?(:'totals')
|
|
126
|
+
self.totals = attributes[:'totals']
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
if attributes.has_key?(:'billing')
|
|
130
|
+
self.billing = attributes[:'billing']
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
if attributes.has_key?(:'records')
|
|
134
|
+
if (value = attributes[:'records']).is_a?(Array)
|
|
135
|
+
self.records = value
|
|
136
|
+
end
|
|
78
137
|
end
|
|
79
138
|
end
|
|
80
139
|
|
|
@@ -91,15 +150,27 @@ module CyberSource
|
|
|
91
150
|
true
|
|
92
151
|
end
|
|
93
152
|
|
|
153
|
+
# Custom attribute writer method with validation
|
|
154
|
+
# @param [Object] merchant_reference Value to be assigned
|
|
155
|
+
def merchant_reference=(merchant_reference)
|
|
156
|
+
@merchant_reference = merchant_reference
|
|
157
|
+
end
|
|
158
|
+
|
|
94
159
|
# Checks equality by comparing each attribute.
|
|
95
160
|
# @param [Object] Object to be compared
|
|
96
161
|
def ==(o)
|
|
97
162
|
return true if self.equal?(o)
|
|
98
163
|
self.class == o.class &&
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
164
|
+
version == o.version &&
|
|
165
|
+
report_created_date == o.report_created_date &&
|
|
166
|
+
batch_id == o.batch_id &&
|
|
167
|
+
batch_source == o.batch_source &&
|
|
168
|
+
batch_ca_endpoints == o.batch_ca_endpoints &&
|
|
169
|
+
batch_created_date == o.batch_created_date &&
|
|
170
|
+
merchant_reference == o.merchant_reference &&
|
|
171
|
+
totals == o.totals &&
|
|
172
|
+
billing == o.billing &&
|
|
173
|
+
records == o.records
|
|
103
174
|
end
|
|
104
175
|
|
|
105
176
|
# @see the `==` method
|
|
@@ -111,7 +182,7 @@ module CyberSource
|
|
|
111
182
|
# Calculates hash code according to all attributes.
|
|
112
183
|
# @return [Fixnum] Hash code
|
|
113
184
|
def hash
|
|
114
|
-
[
|
|
185
|
+
[version, report_created_date, batch_id, batch_source, batch_ca_endpoints, batch_created_date, merchant_reference, totals, billing, records].hash
|
|
115
186
|
end
|
|
116
187
|
|
|
117
188
|
# 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 InlineResponse20013Records
|
|
16
16
|
attr_accessor :id
|
|
17
17
|
|
|
18
18
|
attr_accessor :source_record
|
|
@@ -41,8 +41,8 @@ module CyberSource
|
|
|
41
41
|
def self.swagger_types
|
|
42
42
|
{
|
|
43
43
|
:'id' => :'String',
|
|
44
|
-
:'source_record' => :'
|
|
45
|
-
:'response_record' => :'
|
|
44
|
+
:'source_record' => :'InlineResponse20013SourceRecord',
|
|
45
|
+
:'response_record' => :'InlineResponse20013ResponseRecord'
|
|
46
46
|
}
|
|
47
47
|
end
|
|
48
48
|
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
class
|
|
15
|
+
class InlineResponse20013ResponseRecord
|
|
16
16
|
# Valid Values: * NAN * NED * ACL * CCH * CUR * NUP * UNA * ERR * DEC
|
|
17
17
|
attr_accessor :response
|
|
18
18
|
|
|
@@ -79,7 +79,7 @@ module CyberSource
|
|
|
79
79
|
:'card_expiry_month' => :'String',
|
|
80
80
|
:'card_expiry_year' => :'String',
|
|
81
81
|
:'card_type' => :'String',
|
|
82
|
-
:'additional_updates' => :'Array<
|
|
82
|
+
:'additional_updates' => :'Array<InlineResponse20013ResponseRecordAdditionalUpdates>'
|
|
83
83
|
}
|
|
84
84
|
end
|
|
85
85
|
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
class
|
|
15
|
+
class InlineResponse20013ResponseRecordAdditionalUpdates
|
|
16
16
|
attr_accessor :customer_id
|
|
17
17
|
|
|
18
18
|
attr_accessor :payment_instrument_id
|
|
@@ -15,28 +15,21 @@ module CyberSource
|
|
|
15
15
|
class InlineResponse20014
|
|
16
16
|
attr_accessor :client_reference_information
|
|
17
17
|
|
|
18
|
-
# Request
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# Request Id sent as part of the request.
|
|
19
|
+
attr_accessor :request_id
|
|
20
20
|
|
|
21
|
-
# Time of request in UTC.
|
|
21
|
+
# Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.)
|
|
22
22
|
attr_accessor :submit_time_utc
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
attr_accessor :status
|
|
26
|
-
|
|
27
|
-
attr_accessor :error_information
|
|
28
|
-
|
|
29
|
-
attr_accessor :order_information
|
|
24
|
+
attr_accessor :bank_account_validation
|
|
30
25
|
|
|
31
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
32
27
|
def self.attribute_map
|
|
33
28
|
{
|
|
34
29
|
:'client_reference_information' => :'clientReferenceInformation',
|
|
35
|
-
:'
|
|
30
|
+
:'request_id' => :'requestId',
|
|
36
31
|
:'submit_time_utc' => :'submitTimeUtc',
|
|
37
|
-
:'
|
|
38
|
-
:'error_information' => :'errorInformation',
|
|
39
|
-
:'order_information' => :'orderInformation'
|
|
32
|
+
:'bank_account_validation' => :'bankAccountValidation'
|
|
40
33
|
}
|
|
41
34
|
end
|
|
42
35
|
|
|
@@ -44,23 +37,19 @@ module CyberSource
|
|
|
44
37
|
def self.json_map
|
|
45
38
|
{
|
|
46
39
|
:'client_reference_information' => :'client_reference_information',
|
|
47
|
-
:'
|
|
40
|
+
:'request_id' => :'request_id',
|
|
48
41
|
:'submit_time_utc' => :'submit_time_utc',
|
|
49
|
-
:'
|
|
50
|
-
:'error_information' => :'error_information',
|
|
51
|
-
:'order_information' => :'order_information'
|
|
42
|
+
:'bank_account_validation' => :'bank_account_validation'
|
|
52
43
|
}
|
|
53
44
|
end
|
|
54
45
|
|
|
55
46
|
# Attribute type mapping.
|
|
56
47
|
def self.swagger_types
|
|
57
48
|
{
|
|
58
|
-
:'client_reference_information' => :'
|
|
59
|
-
:'
|
|
49
|
+
:'client_reference_information' => :'Bavsv1accountvalidationsClientReferenceInformation',
|
|
50
|
+
:'request_id' => :'String',
|
|
60
51
|
:'submit_time_utc' => :'String',
|
|
61
|
-
:'
|
|
62
|
-
:'error_information' => :'InlineResponse2018ErrorInformation',
|
|
63
|
-
:'order_information' => :'InlineResponse2018OrderInformation'
|
|
52
|
+
:'bank_account_validation' => :'TssV2TransactionsGet200ResponseBankAccountValidation'
|
|
64
53
|
}
|
|
65
54
|
end
|
|
66
55
|
|
|
@@ -76,24 +65,16 @@ module CyberSource
|
|
|
76
65
|
self.client_reference_information = attributes[:'clientReferenceInformation']
|
|
77
66
|
end
|
|
78
67
|
|
|
79
|
-
if attributes.has_key?(:'
|
|
80
|
-
self.
|
|
68
|
+
if attributes.has_key?(:'requestId')
|
|
69
|
+
self.request_id = attributes[:'requestId']
|
|
81
70
|
end
|
|
82
71
|
|
|
83
72
|
if attributes.has_key?(:'submitTimeUtc')
|
|
84
73
|
self.submit_time_utc = attributes[:'submitTimeUtc']
|
|
85
74
|
end
|
|
86
75
|
|
|
87
|
-
if attributes.has_key?(:'
|
|
88
|
-
self.
|
|
89
|
-
end
|
|
90
|
-
|
|
91
|
-
if attributes.has_key?(:'errorInformation')
|
|
92
|
-
self.error_information = attributes[:'errorInformation']
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
if attributes.has_key?(:'orderInformation')
|
|
96
|
-
self.order_information = attributes[:'orderInformation']
|
|
76
|
+
if attributes.has_key?(:'bankAccountValidation')
|
|
77
|
+
self.bank_account_validation = attributes[:'bankAccountValidation']
|
|
97
78
|
end
|
|
98
79
|
end
|
|
99
80
|
|
|
@@ -101,71 +82,24 @@ module CyberSource
|
|
|
101
82
|
# @return Array for valid properties with the reasons
|
|
102
83
|
def list_invalid_properties
|
|
103
84
|
invalid_properties = Array.new
|
|
104
|
-
if @id.nil?
|
|
105
|
-
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
if @submit_time_utc.nil?
|
|
109
|
-
invalid_properties.push('invalid value for "submit_time_utc", submit_time_utc cannot be nil.')
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
if @status.nil?
|
|
113
|
-
invalid_properties.push('invalid value for "status", status cannot be nil.')
|
|
114
|
-
end
|
|
115
|
-
|
|
116
85
|
invalid_properties
|
|
117
86
|
end
|
|
118
87
|
|
|
119
88
|
# Check to see if the all the properties in the model are valid
|
|
120
89
|
# @return true if the model is valid
|
|
121
90
|
def valid?
|
|
122
|
-
return false if @id.nil?
|
|
123
|
-
return false if @submit_time_utc.nil?
|
|
124
|
-
return false if @status.nil?
|
|
125
91
|
true
|
|
126
92
|
end
|
|
127
93
|
|
|
128
|
-
# Custom attribute writer method with validation
|
|
129
|
-
# @param [Object] id Value to be assigned
|
|
130
|
-
def id=(id)
|
|
131
|
-
#if id.nil?
|
|
132
|
-
#fail ArgumentError, 'id cannot be nil'
|
|
133
|
-
#end
|
|
134
|
-
|
|
135
|
-
@id = id
|
|
136
|
-
end
|
|
137
|
-
|
|
138
|
-
# Custom attribute writer method with validation
|
|
139
|
-
# @param [Object] submit_time_utc Value to be assigned
|
|
140
|
-
def submit_time_utc=(submit_time_utc)
|
|
141
|
-
#if submit_time_utc.nil?
|
|
142
|
-
#fail ArgumentError, 'submit_time_utc cannot be nil'
|
|
143
|
-
#end
|
|
144
|
-
|
|
145
|
-
@submit_time_utc = submit_time_utc
|
|
146
|
-
end
|
|
147
|
-
|
|
148
|
-
# Custom attribute writer method with validation
|
|
149
|
-
# @param [Object] status Value to be assigned
|
|
150
|
-
def status=(status)
|
|
151
|
-
#if status.nil?
|
|
152
|
-
#fail ArgumentError, 'status cannot be nil'
|
|
153
|
-
#end
|
|
154
|
-
|
|
155
|
-
@status = status
|
|
156
|
-
end
|
|
157
|
-
|
|
158
94
|
# Checks equality by comparing each attribute.
|
|
159
95
|
# @param [Object] Object to be compared
|
|
160
96
|
def ==(o)
|
|
161
97
|
return true if self.equal?(o)
|
|
162
98
|
self.class == o.class &&
|
|
163
99
|
client_reference_information == o.client_reference_information &&
|
|
164
|
-
|
|
100
|
+
request_id == o.request_id &&
|
|
165
101
|
submit_time_utc == o.submit_time_utc &&
|
|
166
|
-
|
|
167
|
-
error_information == o.error_information &&
|
|
168
|
-
order_information == o.order_information
|
|
102
|
+
bank_account_validation == o.bank_account_validation
|
|
169
103
|
end
|
|
170
104
|
|
|
171
105
|
# @see the `==` method
|
|
@@ -177,7 +111,7 @@ module CyberSource
|
|
|
177
111
|
# Calculates hash code according to all attributes.
|
|
178
112
|
# @return [Fixnum] Hash code
|
|
179
113
|
def hash
|
|
180
|
-
[client_reference_information,
|
|
114
|
+
[client_reference_information, request_id, submit_time_utc, bank_account_validation].hash
|
|
181
115
|
end
|
|
182
116
|
|
|
183
117
|
# Builds the object from hash
|