cybersource_rest_client 0.0.79 → 0.0.81
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/authentication/jwt/JwtToken.rb +17 -7
- data/lib/AuthenticationSDK/core/Authorization.rb +2 -2
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +278 -23
- data/lib/AuthenticationSDK/util/Cache.rb +158 -8
- data/lib/AuthenticationSDK/util/CachedMLEKId.rb +17 -0
- data/lib/AuthenticationSDK/util/CertificateUtility.rb +109 -29
- data/lib/AuthenticationSDK/util/Constants.rb +6 -0
- data/lib/AuthenticationSDK/util/JWT/JWTExceptions.rb +81 -0
- data/lib/AuthenticationSDK/util/JWT/JWTUtility.rb +154 -0
- data/lib/AuthenticationSDK/util/MLEUtility.rb +167 -11
- data/lib/AuthenticationSDK/util/Utility.rb +37 -1
- data/lib/cybersource_rest_client/api/bank_account_validation_api.rb +13 -5
- data/lib/cybersource_rest_client/api/batches_api.rb +50 -18
- data/lib/cybersource_rest_client/api/billing_agreements_api.rb +33 -9
- data/lib/cybersource_rest_client/api/bin_lookup_api.rb +11 -3
- data/lib/cybersource_rest_client/api/capture_api.rb +11 -3
- data/lib/cybersource_rest_client/api/chargeback_details_api.rb +11 -3
- data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +11 -3
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +11 -3
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +35 -11
- data/lib/cybersource_rest_client/api/credit_api.rb +11 -3
- data/lib/cybersource_rest_client/api/customer_api.rb +44 -12
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +55 -15
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +55 -15
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +57 -17
- data/lib/cybersource_rest_client/api/device_de_association_api.rb +24 -8
- data/lib/cybersource_rest_client/api/device_search_api.rb +26 -10
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +11 -3
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +11 -3
- data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +22 -6
- data/lib/cybersource_rest_client/api/enrollment_api.rb +104 -0
- data/lib/cybersource_rest_client/api/flex_api_api.rb +11 -3
- data/lib/cybersource_rest_client/api/instructions_api.rb +452 -0
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +66 -18
- data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +11 -3
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +22 -6
- data/lib/cybersource_rest_client/api/invoices_api.rb +77 -21
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +81 -25
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +24 -8
- data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +50 -18
- data/lib/cybersource_rest_client/api/microform_integration_api.rb +11 -3
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +11 -3
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +11 -3
- data/lib/cybersource_rest_client/api/offers_api.rb +24 -8
- data/lib/cybersource_rest_client/api/orders_api.rb +22 -6
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +33 -9
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +11 -3
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +44 -12
- data/lib/cybersource_rest_client/api/payment_links_api.rb +44 -12
- data/lib/cybersource_rest_client/api/payment_tokens_api.rb +11 -3
- data/lib/cybersource_rest_client/api/payments_api.rb +66 -18
- data/lib/cybersource_rest_client/api/payouts_api.rb +11 -3
- data/lib/cybersource_rest_client/api/plans_api.rb +88 -24
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +11 -3
- data/lib/cybersource_rest_client/api/push_funds_api.rb +11 -3
- data/lib/cybersource_rest_client/api/refund_api.rb +22 -6
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +22 -6
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +11 -3
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +55 -15
- data/lib/cybersource_rest_client/api/reports_api.rb +33 -9
- data/lib/cybersource_rest_client/api/retrieval_details_api.rb +11 -3
- data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +11 -3
- data/lib/cybersource_rest_client/api/reversal_api.rb +22 -6
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +22 -6
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +22 -6
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +97 -33
- data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +22 -6
- data/lib/cybersource_rest_client/api/taxes_api.rb +22 -6
- data/lib/cybersource_rest_client/api/token_api.rb +24 -8
- data/lib/cybersource_rest_client/api/tokenize_api.rb +107 -0
- data/lib/cybersource_rest_client/api/tokenized_card_api.rb +126 -9
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +44 -12
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +11 -3
- data/lib/cybersource_rest_client/api/transient_token_data_api.rb +22 -6
- data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +11 -3
- data/lib/cybersource_rest_client/api/user_management_api.rb +11 -3
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +11 -3
- data/lib/cybersource_rest_client/api/verification_api.rb +22 -6
- data/lib/cybersource_rest_client/api/void_api.rb +55 -15
- data/lib/cybersource_rest_client/api_client.rb +20 -3
- data/lib/cybersource_rest_client/models/acpv1instructions_decline_threshold.rb +232 -0
- data/lib/cybersource_rest_client/models/acpv1instructions_mandates.rb +405 -0
- data/lib/cybersource_rest_client/models/acpv1instructions_recurring_payment_information.rb +191 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconf_processor_info_payment_instrument_verifi_results.rb +213 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_confirmation_data.rb +229 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_merchant_information.rb +258 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_order_information.rb +377 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_order_information_shipping_details.rb +206 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information.rb +425 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information_payment_instrument.rb +190 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_attachments.rb +258 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_client_reference_information.rb +215 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_mandate_reference_data.rb +205 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_merchant_information.rb +334 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_merchant_information_merchant_descriptor.rb +250 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information.rb +228 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_amount_detail.rb +354 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items.rb +367 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items_additional_info.rb +231 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items_policies.rb +346 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_line_items.rb +190 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_ship_to.rb +686 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_payment_options.rb +217 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_transaction_data.rb +348 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_assurance_data.rb +313 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_authenticated_identities.rb +237 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_authentication_context.rb +191 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_bill_to.rb +400 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_buyer_information.rb +229 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_buyer_information_personal_identification.rb +212 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_consent_data.rb +297 -0
- data/lib/cybersource_rest_client/models/{rbsv1subscriptions_client_reference_information.rb → acpv1tokens_consumer_identity.rb} +73 -61
- data/lib/cybersource_rest_client/models/acpv1tokens_device_information.rb +378 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_device_information_device_data.rb +302 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_enrollment_reference_data.rb +207 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information.rb +215 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information_customer.rb +197 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information_instrument_identifier.rb +206 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information_payment_instrument.rb +197 -0
- data/lib/cybersource_rest_client/models/agentic_cancel_purchase_intent_request.rb +257 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400.rb +189 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400_error.rb +238 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400_error_detail.rb +224 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_request.rb +325 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_response200.rb +206 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_response202.rb +219 -0
- data/lib/cybersource_rest_client/models/agentic_confirm_transaction_events_request.rb +247 -0
- data/lib/cybersource_rest_client/models/agentic_confirm_transaction_events_response202.rb +195 -0
- data/lib/cybersource_rest_client/models/agentic_create_purchase_intent_request.rb +327 -0
- data/lib/cybersource_rest_client/models/agentic_create_purchase_intent_response200.rb +222 -0
- data/lib/cybersource_rest_client/models/agentic_pending_purchase_intent_response202.rb +241 -0
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_request.rb +247 -0
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200.rb +200 -0
- data/lib/cybersource_rest_client/models/{rbsv1plans_client_reference_information.rb → agentic_retrieve_payment_credentials_response200_transaction_response_complete.rb} +52 -47
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200_transaction_response_with_pending_events.rb +235 -0
- data/lib/cybersource_rest_client/models/agentic_update_purchase_intent_request.rb +315 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +36 -1
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_localized_names.rb +254 -0
- 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/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +39 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information.rb +246 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit.rb +189 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline.rb +889 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline_ancillary_information.rb +259 -0
- data/lib/cybersource_rest_client/models/{rbsv1subscriptions_client_reference_information_partner.rb → ptsv2paymentsidrefunds_travel_information_transit_airline_ancillary_information_service.rb} +24 -24
- data/lib/cybersource_rest_client/models/refund_capture_request.rb +1 -1
- data/lib/cybersource_rest_client/models/refund_payment_request.rb +1 -1
- 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/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_card.rb +230 -0
- 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 +28 -6
- 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_defined_information.rb +3 -2
- 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/utilities/jwe_utility.rb +1 -1
- data/lib/cybersource_rest_client.rb +144 -62
- metadata +151 -65
- /data/lib/AuthenticationSDK/util/{JWEUtility.rb → AuthJWEUtility.rb} +0 -0
|
@@ -12,47 +12,27 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
# Represents the Card Art Asset associated to the Network Token.
|
|
16
15
|
class InlineResponse200
|
|
17
|
-
|
|
18
|
-
attr_accessor :id
|
|
19
|
-
|
|
20
|
-
# The type of Card Art Asset.
|
|
21
|
-
attr_accessor :type
|
|
22
|
-
|
|
23
|
-
# The provider of the Card Art Asset.
|
|
24
|
-
attr_accessor :provider
|
|
25
|
-
|
|
26
|
-
# Array of content objects representing the Card Art Asset.
|
|
27
|
-
attr_accessor :content
|
|
16
|
+
attr_accessor :responses
|
|
28
17
|
|
|
29
18
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
30
19
|
def self.attribute_map
|
|
31
20
|
{
|
|
32
|
-
:'
|
|
33
|
-
:'type' => :'type',
|
|
34
|
-
:'provider' => :'provider',
|
|
35
|
-
:'content' => :'content'
|
|
21
|
+
:'responses' => :'responses'
|
|
36
22
|
}
|
|
37
23
|
end
|
|
38
24
|
|
|
39
25
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
40
26
|
def self.json_map
|
|
41
27
|
{
|
|
42
|
-
:'
|
|
43
|
-
:'type' => :'type',
|
|
44
|
-
:'provider' => :'provider',
|
|
45
|
-
:'content' => :'content'
|
|
28
|
+
:'responses' => :'responses'
|
|
46
29
|
}
|
|
47
30
|
end
|
|
48
31
|
|
|
49
32
|
# Attribute type mapping.
|
|
50
33
|
def self.swagger_types
|
|
51
34
|
{
|
|
52
|
-
:'
|
|
53
|
-
:'type' => :'String',
|
|
54
|
-
:'provider' => :'String',
|
|
55
|
-
:'content' => :'Array<InlineResponse200Content>'
|
|
35
|
+
:'responses' => :'Array<InlineResponse200Responses>'
|
|
56
36
|
}
|
|
57
37
|
end
|
|
58
38
|
|
|
@@ -64,21 +44,9 @@ module CyberSource
|
|
|
64
44
|
# convert string to symbol for hash key
|
|
65
45
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
66
46
|
|
|
67
|
-
if attributes.has_key?(:'
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
if attributes.has_key?(:'type')
|
|
72
|
-
self.type = attributes[:'type']
|
|
73
|
-
end
|
|
74
|
-
|
|
75
|
-
if attributes.has_key?(:'provider')
|
|
76
|
-
self.provider = attributes[:'provider']
|
|
77
|
-
end
|
|
78
|
-
|
|
79
|
-
if attributes.has_key?(:'content')
|
|
80
|
-
if (value = attributes[:'content']).is_a?(Array)
|
|
81
|
-
self.content = value
|
|
47
|
+
if attributes.has_key?(:'responses')
|
|
48
|
+
if (value = attributes[:'responses']).is_a?(Array)
|
|
49
|
+
self.responses = value
|
|
82
50
|
end
|
|
83
51
|
end
|
|
84
52
|
end
|
|
@@ -101,10 +69,7 @@ module CyberSource
|
|
|
101
69
|
def ==(o)
|
|
102
70
|
return true if self.equal?(o)
|
|
103
71
|
self.class == o.class &&
|
|
104
|
-
|
|
105
|
-
type == o.type &&
|
|
106
|
-
provider == o.provider &&
|
|
107
|
-
content == o.content
|
|
72
|
+
responses == o.responses
|
|
108
73
|
end
|
|
109
74
|
|
|
110
75
|
# @see the `==` method
|
|
@@ -116,7 +81,7 @@ module CyberSource
|
|
|
116
81
|
# Calculates hash code according to all attributes.
|
|
117
82
|
# @return [Fixnum] Hash code
|
|
118
83
|
def hash
|
|
119
|
-
[
|
|
84
|
+
[responses].hash
|
|
120
85
|
end
|
|
121
86
|
|
|
122
87
|
# Builds the object from hash
|
|
@@ -12,25 +12,27 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
+
# Represents the Card Art Asset associated to the Network Token.
|
|
15
16
|
class InlineResponse2001
|
|
16
|
-
#
|
|
17
|
+
# Unique identifier for the Card Art Asset.
|
|
17
18
|
attr_accessor :id
|
|
18
19
|
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
20
|
+
# The type of Card Art Asset.
|
|
21
|
+
attr_accessor :type
|
|
21
22
|
|
|
22
|
-
# The
|
|
23
|
-
attr_accessor :
|
|
23
|
+
# The provider of the Card Art Asset.
|
|
24
|
+
attr_accessor :provider
|
|
24
25
|
|
|
25
|
-
|
|
26
|
+
# Array of content objects representing the Card Art Asset.
|
|
27
|
+
attr_accessor :content
|
|
26
28
|
|
|
27
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
28
30
|
def self.attribute_map
|
|
29
31
|
{
|
|
30
32
|
:'id' => :'id',
|
|
31
|
-
:'
|
|
32
|
-
:'
|
|
33
|
-
:'
|
|
33
|
+
:'type' => :'type',
|
|
34
|
+
:'provider' => :'provider',
|
|
35
|
+
:'content' => :'content'
|
|
34
36
|
}
|
|
35
37
|
end
|
|
36
38
|
|
|
@@ -38,9 +40,9 @@ module CyberSource
|
|
|
38
40
|
def self.json_map
|
|
39
41
|
{
|
|
40
42
|
:'id' => :'id',
|
|
41
|
-
:'
|
|
42
|
-
:'
|
|
43
|
-
:'
|
|
43
|
+
:'type' => :'type',
|
|
44
|
+
:'provider' => :'provider',
|
|
45
|
+
:'content' => :'content'
|
|
44
46
|
}
|
|
45
47
|
end
|
|
46
48
|
|
|
@@ -48,9 +50,9 @@ module CyberSource
|
|
|
48
50
|
def self.swagger_types
|
|
49
51
|
{
|
|
50
52
|
:'id' => :'String',
|
|
51
|
-
:'
|
|
52
|
-
:'
|
|
53
|
-
:'
|
|
53
|
+
:'type' => :'String',
|
|
54
|
+
:'provider' => :'String',
|
|
55
|
+
:'content' => :'Array<InlineResponse2001Content>'
|
|
54
56
|
}
|
|
55
57
|
end
|
|
56
58
|
|
|
@@ -66,16 +68,18 @@ module CyberSource
|
|
|
66
68
|
self.id = attributes[:'id']
|
|
67
69
|
end
|
|
68
70
|
|
|
69
|
-
if attributes.has_key?(:'
|
|
70
|
-
self.
|
|
71
|
+
if attributes.has_key?(:'type')
|
|
72
|
+
self.type = attributes[:'type']
|
|
71
73
|
end
|
|
72
74
|
|
|
73
|
-
if attributes.has_key?(:'
|
|
74
|
-
self.
|
|
75
|
+
if attributes.has_key?(:'provider')
|
|
76
|
+
self.provider = attributes[:'provider']
|
|
75
77
|
end
|
|
76
78
|
|
|
77
|
-
if attributes.has_key?(:'
|
|
78
|
-
|
|
79
|
+
if attributes.has_key?(:'content')
|
|
80
|
+
if (value = attributes[:'content']).is_a?(Array)
|
|
81
|
+
self.content = value
|
|
82
|
+
end
|
|
79
83
|
end
|
|
80
84
|
end
|
|
81
85
|
|
|
@@ -92,21 +96,15 @@ module CyberSource
|
|
|
92
96
|
true
|
|
93
97
|
end
|
|
94
98
|
|
|
95
|
-
# Custom attribute writer method with validation
|
|
96
|
-
# @param [Object] id Value to be assigned
|
|
97
|
-
def id=(id)
|
|
98
|
-
@id = id
|
|
99
|
-
end
|
|
100
|
-
|
|
101
99
|
# Checks equality by comparing each attribute.
|
|
102
100
|
# @param [Object] Object to be compared
|
|
103
101
|
def ==(o)
|
|
104
102
|
return true if self.equal?(o)
|
|
105
103
|
self.class == o.class &&
|
|
106
104
|
id == o.id &&
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
105
|
+
type == o.type &&
|
|
106
|
+
provider == o.provider &&
|
|
107
|
+
content == o.content
|
|
110
108
|
end
|
|
111
109
|
|
|
112
110
|
# @see the `==` method
|
|
@@ -118,7 +116,7 @@ module CyberSource
|
|
|
118
116
|
# Calculates hash code according to all attributes.
|
|
119
117
|
# @return [Fixnum] Hash code
|
|
120
118
|
def hash
|
|
121
|
-
[id,
|
|
119
|
+
[id, type, provider, content].hash
|
|
122
120
|
end
|
|
123
121
|
|
|
124
122
|
# Builds the object from hash
|
|
@@ -13,56 +13,57 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse20010
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
attr_accessor :object
|
|
16
|
+
# Total number of results.
|
|
17
|
+
attr_accessor :total_count
|
|
19
18
|
|
|
19
|
+
# Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned.
|
|
20
20
|
attr_accessor :offset
|
|
21
21
|
|
|
22
|
+
# Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500.
|
|
22
23
|
attr_accessor :limit
|
|
23
24
|
|
|
24
|
-
|
|
25
|
+
# A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate`
|
|
26
|
+
attr_accessor :sort
|
|
25
27
|
|
|
26
|
-
|
|
28
|
+
# Results for this page, this could be below the limit.
|
|
29
|
+
attr_accessor :count
|
|
27
30
|
|
|
28
|
-
|
|
31
|
+
# A collection of devices
|
|
32
|
+
attr_accessor :devices
|
|
29
33
|
|
|
30
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
31
35
|
def self.attribute_map
|
|
32
36
|
{
|
|
33
|
-
:'
|
|
34
|
-
:'object' => :'object',
|
|
37
|
+
:'total_count' => :'totalCount',
|
|
35
38
|
:'offset' => :'offset',
|
|
36
39
|
:'limit' => :'limit',
|
|
40
|
+
:'sort' => :'sort',
|
|
37
41
|
:'count' => :'count',
|
|
38
|
-
:'
|
|
39
|
-
:'_embedded' => :'_embedded'
|
|
42
|
+
:'devices' => :'devices'
|
|
40
43
|
}
|
|
41
44
|
end
|
|
42
45
|
|
|
43
46
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
44
47
|
def self.json_map
|
|
45
48
|
{
|
|
46
|
-
:'
|
|
47
|
-
:'object' => :'object',
|
|
49
|
+
:'total_count' => :'total_count',
|
|
48
50
|
:'offset' => :'offset',
|
|
49
51
|
:'limit' => :'limit',
|
|
52
|
+
:'sort' => :'sort',
|
|
50
53
|
:'count' => :'count',
|
|
51
|
-
:'
|
|
52
|
-
:'_embedded' => :'_embedded'
|
|
54
|
+
:'devices' => :'devices'
|
|
53
55
|
}
|
|
54
56
|
end
|
|
55
57
|
|
|
56
58
|
# Attribute type mapping.
|
|
57
59
|
def self.swagger_types
|
|
58
60
|
{
|
|
59
|
-
:'
|
|
60
|
-
:'object' => :'String',
|
|
61
|
+
:'total_count' => :'Integer',
|
|
61
62
|
:'offset' => :'Integer',
|
|
62
63
|
:'limit' => :'Integer',
|
|
64
|
+
:'sort' => :'String',
|
|
63
65
|
:'count' => :'Integer',
|
|
64
|
-
:'
|
|
65
|
-
:'_embedded' => :'InlineResponse20010Embedded'
|
|
66
|
+
:'devices' => :'Array<InlineResponse20010Devices>'
|
|
66
67
|
}
|
|
67
68
|
end
|
|
68
69
|
|
|
@@ -74,14 +75,8 @@ module CyberSource
|
|
|
74
75
|
# convert string to symbol for hash key
|
|
75
76
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
76
77
|
|
|
77
|
-
if attributes.has_key?(:'
|
|
78
|
-
|
|
79
|
-
self._links = value
|
|
80
|
-
end
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
if attributes.has_key?(:'object')
|
|
84
|
-
self.object = attributes[:'object']
|
|
78
|
+
if attributes.has_key?(:'totalCount')
|
|
79
|
+
self.total_count = attributes[:'totalCount']
|
|
85
80
|
end
|
|
86
81
|
|
|
87
82
|
if attributes.has_key?(:'offset')
|
|
@@ -92,16 +87,18 @@ module CyberSource
|
|
|
92
87
|
self.limit = attributes[:'limit']
|
|
93
88
|
end
|
|
94
89
|
|
|
95
|
-
if attributes.has_key?(:'
|
|
96
|
-
self.
|
|
90
|
+
if attributes.has_key?(:'sort')
|
|
91
|
+
self.sort = attributes[:'sort']
|
|
97
92
|
end
|
|
98
93
|
|
|
99
|
-
if attributes.has_key?(:'
|
|
100
|
-
self.
|
|
94
|
+
if attributes.has_key?(:'count')
|
|
95
|
+
self.count = attributes[:'count']
|
|
101
96
|
end
|
|
102
97
|
|
|
103
|
-
if attributes.has_key?(:'
|
|
104
|
-
|
|
98
|
+
if attributes.has_key?(:'devices')
|
|
99
|
+
if (value = attributes[:'devices']).is_a?(Array)
|
|
100
|
+
self.devices = value
|
|
101
|
+
end
|
|
105
102
|
end
|
|
106
103
|
end
|
|
107
104
|
|
|
@@ -123,13 +120,12 @@ module CyberSource
|
|
|
123
120
|
def ==(o)
|
|
124
121
|
return true if self.equal?(o)
|
|
125
122
|
self.class == o.class &&
|
|
126
|
-
|
|
127
|
-
object == o.object &&
|
|
123
|
+
total_count == o.total_count &&
|
|
128
124
|
offset == o.offset &&
|
|
129
125
|
limit == o.limit &&
|
|
126
|
+
sort == o.sort &&
|
|
130
127
|
count == o.count &&
|
|
131
|
-
|
|
132
|
-
_embedded == o._embedded
|
|
128
|
+
devices == o.devices
|
|
133
129
|
end
|
|
134
130
|
|
|
135
131
|
# @see the `==` method
|
|
@@ -141,7 +137,7 @@ module CyberSource
|
|
|
141
137
|
# Calculates hash code according to all attributes.
|
|
142
138
|
# @return [Fixnum] Hash code
|
|
143
139
|
def hash
|
|
144
|
-
[
|
|
140
|
+
[total_count, offset, limit, sort, count, devices].hash
|
|
145
141
|
end
|
|
146
142
|
|
|
147
143
|
# 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 InlineResponse20010Devices
|
|
16
16
|
attr_accessor :reader_id
|
|
17
17
|
|
|
18
18
|
attr_accessor :serial_number
|
|
@@ -93,7 +93,7 @@ module CyberSource
|
|
|
93
93
|
:'account_id' => :'String',
|
|
94
94
|
:'terminal_creation_date' => :'DateTime',
|
|
95
95
|
:'terminal_updation_date' => :'DateTime',
|
|
96
|
-
:'payment_processor_to_terminal_map' => :'
|
|
96
|
+
:'payment_processor_to_terminal_map' => :'InlineResponse20010PaymentProcessorToTerminalMap'
|
|
97
97
|
}
|
|
98
98
|
end
|
|
99
99
|
|
|
@@ -13,7 +13,7 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
# Mapping between processor and Terminal.
|
|
16
|
-
class
|
|
16
|
+
class InlineResponse20010PaymentProcessorToTerminalMap
|
|
17
17
|
attr_accessor :processor
|
|
18
18
|
|
|
19
19
|
attr_accessor :terminal_id
|
|
@@ -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
|
|