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
|
@@ -15,42 +15,28 @@ module CyberSource
|
|
|
15
15
|
class InlineResponse20011
|
|
16
16
|
attr_accessor :_links
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
attr_accessor :batch_id
|
|
18
|
+
attr_accessor :object
|
|
20
19
|
|
|
21
|
-
|
|
22
|
-
attr_accessor :batch_created_date
|
|
20
|
+
attr_accessor :offset
|
|
23
21
|
|
|
24
|
-
|
|
25
|
-
attr_accessor :batch_source
|
|
22
|
+
attr_accessor :limit
|
|
26
23
|
|
|
27
|
-
|
|
28
|
-
attr_accessor :merchant_reference
|
|
24
|
+
attr_accessor :count
|
|
29
25
|
|
|
30
|
-
attr_accessor :
|
|
26
|
+
attr_accessor :total
|
|
31
27
|
|
|
32
|
-
|
|
33
|
-
attr_accessor :status
|
|
34
|
-
|
|
35
|
-
attr_accessor :totals
|
|
36
|
-
|
|
37
|
-
attr_accessor :billing
|
|
38
|
-
|
|
39
|
-
attr_accessor :description
|
|
28
|
+
attr_accessor :_embedded
|
|
40
29
|
|
|
41
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
31
|
def self.attribute_map
|
|
43
32
|
{
|
|
44
33
|
:'_links' => :'_links',
|
|
45
|
-
:'
|
|
46
|
-
:'
|
|
47
|
-
:'
|
|
48
|
-
:'
|
|
49
|
-
:'
|
|
50
|
-
:'
|
|
51
|
-
:'totals' => :'totals',
|
|
52
|
-
:'billing' => :'billing',
|
|
53
|
-
:'description' => :'description'
|
|
34
|
+
:'object' => :'object',
|
|
35
|
+
:'offset' => :'offset',
|
|
36
|
+
:'limit' => :'limit',
|
|
37
|
+
:'count' => :'count',
|
|
38
|
+
:'total' => :'total',
|
|
39
|
+
:'_embedded' => :'_embedded'
|
|
54
40
|
}
|
|
55
41
|
end
|
|
56
42
|
|
|
@@ -58,31 +44,25 @@ module CyberSource
|
|
|
58
44
|
def self.json_map
|
|
59
45
|
{
|
|
60
46
|
:'_links' => :'_links',
|
|
61
|
-
:'
|
|
62
|
-
:'
|
|
63
|
-
:'
|
|
64
|
-
:'
|
|
65
|
-
:'
|
|
66
|
-
:'
|
|
67
|
-
:'totals' => :'totals',
|
|
68
|
-
:'billing' => :'billing',
|
|
69
|
-
:'description' => :'description'
|
|
47
|
+
:'object' => :'object',
|
|
48
|
+
:'offset' => :'offset',
|
|
49
|
+
:'limit' => :'limit',
|
|
50
|
+
:'count' => :'count',
|
|
51
|
+
:'total' => :'total',
|
|
52
|
+
:'_embedded' => :'_embedded'
|
|
70
53
|
}
|
|
71
54
|
end
|
|
72
55
|
|
|
73
56
|
# Attribute type mapping.
|
|
74
57
|
def self.swagger_types
|
|
75
58
|
{
|
|
76
|
-
:'_links' => :'InlineResponse20011Links',
|
|
77
|
-
:'
|
|
78
|
-
:'
|
|
79
|
-
:'
|
|
80
|
-
:'
|
|
81
|
-
:'
|
|
82
|
-
:'
|
|
83
|
-
:'totals' => :'InlineResponse20010EmbeddedTotals',
|
|
84
|
-
:'billing' => :'InlineResponse20011Billing',
|
|
85
|
-
:'description' => :'String'
|
|
59
|
+
:'_links' => :'Array<InlineResponse20011Links>',
|
|
60
|
+
:'object' => :'String',
|
|
61
|
+
:'offset' => :'Integer',
|
|
62
|
+
:'limit' => :'Integer',
|
|
63
|
+
:'count' => :'Integer',
|
|
64
|
+
:'total' => :'Integer',
|
|
65
|
+
:'_embedded' => :'InlineResponse20011Embedded'
|
|
86
66
|
}
|
|
87
67
|
end
|
|
88
68
|
|
|
@@ -95,43 +75,33 @@ module CyberSource
|
|
|
95
75
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
96
76
|
|
|
97
77
|
if attributes.has_key?(:'_links')
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
if attributes.has_key?(:'batchId')
|
|
102
|
-
self.batch_id = attributes[:'batchId']
|
|
103
|
-
end
|
|
104
|
-
|
|
105
|
-
if attributes.has_key?(:'batchCreatedDate')
|
|
106
|
-
self.batch_created_date = attributes[:'batchCreatedDate']
|
|
107
|
-
end
|
|
108
|
-
|
|
109
|
-
if attributes.has_key?(:'batchSource')
|
|
110
|
-
self.batch_source = attributes[:'batchSource']
|
|
78
|
+
if (value = attributes[:'_links']).is_a?(Array)
|
|
79
|
+
self._links = value
|
|
80
|
+
end
|
|
111
81
|
end
|
|
112
82
|
|
|
113
|
-
if attributes.has_key?(:'
|
|
114
|
-
self.
|
|
83
|
+
if attributes.has_key?(:'object')
|
|
84
|
+
self.object = attributes[:'object']
|
|
115
85
|
end
|
|
116
86
|
|
|
117
|
-
if attributes.has_key?(:'
|
|
118
|
-
self.
|
|
87
|
+
if attributes.has_key?(:'offset')
|
|
88
|
+
self.offset = attributes[:'offset']
|
|
119
89
|
end
|
|
120
90
|
|
|
121
|
-
if attributes.has_key?(:'
|
|
122
|
-
self.
|
|
91
|
+
if attributes.has_key?(:'limit')
|
|
92
|
+
self.limit = attributes[:'limit']
|
|
123
93
|
end
|
|
124
94
|
|
|
125
|
-
if attributes.has_key?(:'
|
|
126
|
-
self.
|
|
95
|
+
if attributes.has_key?(:'count')
|
|
96
|
+
self.count = attributes[:'count']
|
|
127
97
|
end
|
|
128
98
|
|
|
129
|
-
if attributes.has_key?(:'
|
|
130
|
-
self.
|
|
99
|
+
if attributes.has_key?(:'total')
|
|
100
|
+
self.total = attributes[:'total']
|
|
131
101
|
end
|
|
132
102
|
|
|
133
|
-
if attributes.has_key?(:'
|
|
134
|
-
self.
|
|
103
|
+
if attributes.has_key?(:'_embedded')
|
|
104
|
+
self._embedded = attributes[:'_embedded']
|
|
135
105
|
end
|
|
136
106
|
end
|
|
137
107
|
|
|
@@ -148,27 +118,18 @@ module CyberSource
|
|
|
148
118
|
true
|
|
149
119
|
end
|
|
150
120
|
|
|
151
|
-
# Custom attribute writer method with validation
|
|
152
|
-
# @param [Object] merchant_reference Value to be assigned
|
|
153
|
-
def merchant_reference=(merchant_reference)
|
|
154
|
-
@merchant_reference = merchant_reference
|
|
155
|
-
end
|
|
156
|
-
|
|
157
121
|
# Checks equality by comparing each attribute.
|
|
158
122
|
# @param [Object] Object to be compared
|
|
159
123
|
def ==(o)
|
|
160
124
|
return true if self.equal?(o)
|
|
161
125
|
self.class == o.class &&
|
|
162
126
|
_links == o._links &&
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
totals == o.totals &&
|
|
170
|
-
billing == o.billing &&
|
|
171
|
-
description == o.description
|
|
127
|
+
object == o.object &&
|
|
128
|
+
offset == o.offset &&
|
|
129
|
+
limit == o.limit &&
|
|
130
|
+
count == o.count &&
|
|
131
|
+
total == o.total &&
|
|
132
|
+
_embedded == o._embedded
|
|
172
133
|
end
|
|
173
134
|
|
|
174
135
|
# @see the `==` method
|
|
@@ -180,7 +141,7 @@ module CyberSource
|
|
|
180
141
|
# Calculates hash code according to all attributes.
|
|
181
142
|
# @return [Fixnum] Hash code
|
|
182
143
|
def hash
|
|
183
|
-
[_links,
|
|
144
|
+
[_links, object, offset, limit, count, total, _embedded].hash
|
|
184
145
|
end
|
|
185
146
|
|
|
186
147
|
# 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 InlineResponse20011Embedded
|
|
16
16
|
attr_accessor :batches
|
|
17
17
|
|
|
18
18
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -32,7 +32,7 @@ module CyberSource
|
|
|
32
32
|
# Attribute type mapping.
|
|
33
33
|
def self.swagger_types
|
|
34
34
|
{
|
|
35
|
-
:'batches' => :'Array<
|
|
35
|
+
:'batches' => :'Array<InlineResponse20011EmbeddedBatches>'
|
|
36
36
|
}
|
|
37
37
|
end
|
|
38
38
|
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
class
|
|
15
|
+
class InlineResponse20011EmbeddedLinks
|
|
16
16
|
attr_accessor :reports
|
|
17
17
|
|
|
18
18
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -32,7 +32,7 @@ module CyberSource
|
|
|
32
32
|
# Attribute type mapping.
|
|
33
33
|
def self.swagger_types
|
|
34
34
|
{
|
|
35
|
-
:'reports' => :'Array<
|
|
35
|
+
:'reports' => :'Array<InlineResponse20011EmbeddedLinksReports>'
|
|
36
36
|
}
|
|
37
37
|
end
|
|
38
38
|
|
|
@@ -13,7 +13,7 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
# Retrieve the generated report of a batch when available.
|
|
16
|
-
class
|
|
16
|
+
class InlineResponse20011EmbeddedLinksReports
|
|
17
17
|
attr_accessor :href
|
|
18
18
|
|
|
19
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
class
|
|
15
|
+
class InlineResponse20011EmbeddedBatches
|
|
16
16
|
attr_accessor :_links
|
|
17
17
|
|
|
18
18
|
# Unique identification number assigned to the submitted request.
|
|
@@ -76,7 +76,7 @@ module CyberSource
|
|
|
76
76
|
# Attribute type mapping.
|
|
77
77
|
def self.swagger_types
|
|
78
78
|
{
|
|
79
|
-
:'_links' => :'
|
|
79
|
+
:'_links' => :'InlineResponse20011EmbeddedLinks',
|
|
80
80
|
:'batch_id' => :'String',
|
|
81
81
|
:'batch_created_date' => :'String',
|
|
82
82
|
:'batch_modified_date' => :'String',
|
|
@@ -85,7 +85,7 @@ module CyberSource
|
|
|
85
85
|
:'merchant_reference' => :'String',
|
|
86
86
|
:'batch_ca_endpoints' => :'Array<String>',
|
|
87
87
|
:'status' => :'String',
|
|
88
|
-
:'totals' => :'
|
|
88
|
+
:'totals' => :'InlineResponse20011EmbeddedTotals'
|
|
89
89
|
}
|
|
90
90
|
end
|
|
91
91
|
|
|
@@ -13,31 +13,32 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse20011Links
|
|
16
|
-
|
|
16
|
+
# Valid Values: * self * first * last * prev * next
|
|
17
|
+
attr_accessor :rel
|
|
17
18
|
|
|
18
|
-
attr_accessor :
|
|
19
|
+
attr_accessor :href
|
|
19
20
|
|
|
20
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
22
|
def self.attribute_map
|
|
22
23
|
{
|
|
23
|
-
:'
|
|
24
|
-
:'
|
|
24
|
+
:'rel' => :'rel',
|
|
25
|
+
:'href' => :'href'
|
|
25
26
|
}
|
|
26
27
|
end
|
|
27
28
|
|
|
28
29
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
29
30
|
def self.json_map
|
|
30
31
|
{
|
|
31
|
-
:'
|
|
32
|
-
:'
|
|
32
|
+
:'rel' => :'rel',
|
|
33
|
+
:'href' => :'href'
|
|
33
34
|
}
|
|
34
35
|
end
|
|
35
36
|
|
|
36
37
|
# Attribute type mapping.
|
|
37
38
|
def self.swagger_types
|
|
38
39
|
{
|
|
39
|
-
:'
|
|
40
|
-
:'
|
|
40
|
+
:'rel' => :'String',
|
|
41
|
+
:'href' => :'String'
|
|
41
42
|
}
|
|
42
43
|
end
|
|
43
44
|
|
|
@@ -49,14 +50,12 @@ module CyberSource
|
|
|
49
50
|
# convert string to symbol for hash key
|
|
50
51
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
51
52
|
|
|
52
|
-
if attributes.has_key?(:'
|
|
53
|
-
self.
|
|
53
|
+
if attributes.has_key?(:'rel')
|
|
54
|
+
self.rel = attributes[:'rel']
|
|
54
55
|
end
|
|
55
56
|
|
|
56
|
-
if attributes.has_key?(:'
|
|
57
|
-
|
|
58
|
-
self.report = value
|
|
59
|
-
end
|
|
57
|
+
if attributes.has_key?(:'href')
|
|
58
|
+
self.href = attributes[:'href']
|
|
60
59
|
end
|
|
61
60
|
end
|
|
62
61
|
|
|
@@ -78,8 +77,8 @@ module CyberSource
|
|
|
78
77
|
def ==(o)
|
|
79
78
|
return true if self.equal?(o)
|
|
80
79
|
self.class == o.class &&
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
rel == o.rel &&
|
|
81
|
+
href == o.href
|
|
83
82
|
end
|
|
84
83
|
|
|
85
84
|
# @see the `==` method
|
|
@@ -91,7 +90,7 @@ module CyberSource
|
|
|
91
90
|
# Calculates hash code according to all attributes.
|
|
92
91
|
# @return [Fixnum] Hash code
|
|
93
92
|
def hash
|
|
94
|
-
[
|
|
93
|
+
[rel, href].hash
|
|
95
94
|
end
|
|
96
95
|
|
|
97
96
|
# Builds the object from hash
|
|
@@ -13,76 +13,76 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse20012
|
|
16
|
-
attr_accessor :
|
|
17
|
-
|
|
18
|
-
# ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ
|
|
19
|
-
attr_accessor :report_created_date
|
|
16
|
+
attr_accessor :_links
|
|
20
17
|
|
|
21
18
|
# Unique identification number assigned to the submitted request.
|
|
22
19
|
attr_accessor :batch_id
|
|
23
20
|
|
|
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
21
|
# ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ
|
|
30
22
|
attr_accessor :batch_created_date
|
|
31
23
|
|
|
24
|
+
# Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE
|
|
25
|
+
attr_accessor :batch_source
|
|
26
|
+
|
|
32
27
|
# Reference used by merchant to identify batch.
|
|
33
28
|
attr_accessor :merchant_reference
|
|
34
29
|
|
|
30
|
+
attr_accessor :batch_ca_endpoints
|
|
31
|
+
|
|
32
|
+
# Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED
|
|
33
|
+
attr_accessor :status
|
|
34
|
+
|
|
35
35
|
attr_accessor :totals
|
|
36
36
|
|
|
37
37
|
attr_accessor :billing
|
|
38
38
|
|
|
39
|
-
attr_accessor :
|
|
39
|
+
attr_accessor :description
|
|
40
40
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
42
|
def self.attribute_map
|
|
43
43
|
{
|
|
44
|
-
:'
|
|
45
|
-
:'report_created_date' => :'reportCreatedDate',
|
|
44
|
+
:'_links' => :'_links',
|
|
46
45
|
:'batch_id' => :'batchId',
|
|
47
|
-
:'batch_source' => :'batchSource',
|
|
48
|
-
:'batch_ca_endpoints' => :'batchCaEndpoints',
|
|
49
46
|
:'batch_created_date' => :'batchCreatedDate',
|
|
47
|
+
:'batch_source' => :'batchSource',
|
|
50
48
|
:'merchant_reference' => :'merchantReference',
|
|
49
|
+
:'batch_ca_endpoints' => :'batchCaEndpoints',
|
|
50
|
+
:'status' => :'status',
|
|
51
51
|
:'totals' => :'totals',
|
|
52
52
|
:'billing' => :'billing',
|
|
53
|
-
:'
|
|
53
|
+
:'description' => :'description'
|
|
54
54
|
}
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
58
58
|
def self.json_map
|
|
59
59
|
{
|
|
60
|
-
:'
|
|
61
|
-
:'report_created_date' => :'report_created_date',
|
|
60
|
+
:'_links' => :'_links',
|
|
62
61
|
:'batch_id' => :'batch_id',
|
|
63
|
-
:'batch_source' => :'batch_source',
|
|
64
|
-
:'batch_ca_endpoints' => :'batch_ca_endpoints',
|
|
65
62
|
:'batch_created_date' => :'batch_created_date',
|
|
63
|
+
:'batch_source' => :'batch_source',
|
|
66
64
|
:'merchant_reference' => :'merchant_reference',
|
|
65
|
+
:'batch_ca_endpoints' => :'batch_ca_endpoints',
|
|
66
|
+
:'status' => :'status',
|
|
67
67
|
:'totals' => :'totals',
|
|
68
68
|
:'billing' => :'billing',
|
|
69
|
-
:'
|
|
69
|
+
:'description' => :'description'
|
|
70
70
|
}
|
|
71
71
|
end
|
|
72
72
|
|
|
73
73
|
# Attribute type mapping.
|
|
74
74
|
def self.swagger_types
|
|
75
75
|
{
|
|
76
|
-
:'
|
|
77
|
-
:'report_created_date' => :'String',
|
|
76
|
+
:'_links' => :'InlineResponse20012Links',
|
|
78
77
|
:'batch_id' => :'String',
|
|
79
|
-
:'batch_source' => :'String',
|
|
80
|
-
:'batch_ca_endpoints' => :'String',
|
|
81
78
|
:'batch_created_date' => :'String',
|
|
79
|
+
:'batch_source' => :'String',
|
|
82
80
|
:'merchant_reference' => :'String',
|
|
83
|
-
:'
|
|
84
|
-
:'
|
|
85
|
-
:'
|
|
81
|
+
:'batch_ca_endpoints' => :'String',
|
|
82
|
+
:'status' => :'String',
|
|
83
|
+
:'totals' => :'InlineResponse20011EmbeddedTotals',
|
|
84
|
+
:'billing' => :'InlineResponse20012Billing',
|
|
85
|
+
:'description' => :'String'
|
|
86
86
|
}
|
|
87
87
|
end
|
|
88
88
|
|
|
@@ -94,32 +94,32 @@ module CyberSource
|
|
|
94
94
|
# convert string to symbol for hash key
|
|
95
95
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
96
96
|
|
|
97
|
-
if attributes.has_key?(:'
|
|
98
|
-
self.
|
|
99
|
-
end
|
|
100
|
-
|
|
101
|
-
if attributes.has_key?(:'reportCreatedDate')
|
|
102
|
-
self.report_created_date = attributes[:'reportCreatedDate']
|
|
97
|
+
if attributes.has_key?(:'_links')
|
|
98
|
+
self._links = attributes[:'_links']
|
|
103
99
|
end
|
|
104
100
|
|
|
105
101
|
if attributes.has_key?(:'batchId')
|
|
106
102
|
self.batch_id = attributes[:'batchId']
|
|
107
103
|
end
|
|
108
104
|
|
|
105
|
+
if attributes.has_key?(:'batchCreatedDate')
|
|
106
|
+
self.batch_created_date = attributes[:'batchCreatedDate']
|
|
107
|
+
end
|
|
108
|
+
|
|
109
109
|
if attributes.has_key?(:'batchSource')
|
|
110
110
|
self.batch_source = attributes[:'batchSource']
|
|
111
111
|
end
|
|
112
112
|
|
|
113
|
-
if attributes.has_key?(:'
|
|
114
|
-
self.
|
|
113
|
+
if attributes.has_key?(:'merchantReference')
|
|
114
|
+
self.merchant_reference = attributes[:'merchantReference']
|
|
115
115
|
end
|
|
116
116
|
|
|
117
|
-
if attributes.has_key?(:'
|
|
118
|
-
self.
|
|
117
|
+
if attributes.has_key?(:'batchCaEndpoints')
|
|
118
|
+
self.batch_ca_endpoints = attributes[:'batchCaEndpoints']
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
-
if attributes.has_key?(:'
|
|
122
|
-
self.
|
|
121
|
+
if attributes.has_key?(:'status')
|
|
122
|
+
self.status = attributes[:'status']
|
|
123
123
|
end
|
|
124
124
|
|
|
125
125
|
if attributes.has_key?(:'totals')
|
|
@@ -130,10 +130,8 @@ module CyberSource
|
|
|
130
130
|
self.billing = attributes[:'billing']
|
|
131
131
|
end
|
|
132
132
|
|
|
133
|
-
if attributes.has_key?(:'
|
|
134
|
-
|
|
135
|
-
self.records = value
|
|
136
|
-
end
|
|
133
|
+
if attributes.has_key?(:'description')
|
|
134
|
+
self.description = attributes[:'description']
|
|
137
135
|
end
|
|
138
136
|
end
|
|
139
137
|
|
|
@@ -161,16 +159,16 @@ module CyberSource
|
|
|
161
159
|
def ==(o)
|
|
162
160
|
return true if self.equal?(o)
|
|
163
161
|
self.class == o.class &&
|
|
164
|
-
|
|
165
|
-
report_created_date == o.report_created_date &&
|
|
162
|
+
_links == o._links &&
|
|
166
163
|
batch_id == o.batch_id &&
|
|
167
|
-
batch_source == o.batch_source &&
|
|
168
|
-
batch_ca_endpoints == o.batch_ca_endpoints &&
|
|
169
164
|
batch_created_date == o.batch_created_date &&
|
|
165
|
+
batch_source == o.batch_source &&
|
|
170
166
|
merchant_reference == o.merchant_reference &&
|
|
167
|
+
batch_ca_endpoints == o.batch_ca_endpoints &&
|
|
168
|
+
status == o.status &&
|
|
171
169
|
totals == o.totals &&
|
|
172
170
|
billing == o.billing &&
|
|
173
|
-
|
|
171
|
+
description == o.description
|
|
174
172
|
end
|
|
175
173
|
|
|
176
174
|
# @see the `==` method
|
|
@@ -182,7 +180,7 @@ module CyberSource
|
|
|
182
180
|
# Calculates hash code according to all attributes.
|
|
183
181
|
# @return [Fixnum] Hash code
|
|
184
182
|
def hash
|
|
185
|
-
[
|
|
183
|
+
[_links, batch_id, batch_created_date, batch_source, merchant_reference, batch_ca_endpoints, status, totals, billing, description].hash
|
|
186
184
|
end
|
|
187
185
|
|
|
188
186
|
# Builds the object from hash
|