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
|
@@ -13,57 +13,96 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse2007
|
|
16
|
-
#
|
|
17
|
-
attr_accessor :
|
|
16
|
+
# Webhook Id. This is generated by the server.
|
|
17
|
+
attr_accessor :webhook_id
|
|
18
18
|
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
19
|
+
# Organization ID.
|
|
20
|
+
attr_accessor :organization_id
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
attr_accessor :limit
|
|
22
|
+
attr_accessor :products
|
|
24
23
|
|
|
25
|
-
#
|
|
26
|
-
attr_accessor :
|
|
24
|
+
# The client's endpoint (URL) to receive webhooks.
|
|
25
|
+
attr_accessor :webhook_url
|
|
27
26
|
|
|
28
|
-
#
|
|
29
|
-
attr_accessor :
|
|
27
|
+
# The client's health check endpoint (URL).
|
|
28
|
+
attr_accessor :health_check_url
|
|
30
29
|
|
|
31
|
-
#
|
|
32
|
-
attr_accessor :
|
|
30
|
+
# Webhook status.
|
|
31
|
+
attr_accessor :status
|
|
32
|
+
|
|
33
|
+
# Client friendly webhook name.
|
|
34
|
+
attr_accessor :name
|
|
35
|
+
|
|
36
|
+
# Client friendly webhook description.
|
|
37
|
+
attr_accessor :description
|
|
38
|
+
|
|
39
|
+
attr_accessor :retry_policy
|
|
40
|
+
|
|
41
|
+
attr_accessor :security_policy
|
|
42
|
+
|
|
43
|
+
# Date on which webhook was created/registered.
|
|
44
|
+
attr_accessor :created_on
|
|
45
|
+
|
|
46
|
+
# Date on which webhook was most recently updated.
|
|
47
|
+
attr_accessor :updated_on
|
|
48
|
+
|
|
49
|
+
# The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS
|
|
50
|
+
attr_accessor :notification_scope
|
|
33
51
|
|
|
34
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
35
53
|
def self.attribute_map
|
|
36
54
|
{
|
|
37
|
-
:'
|
|
38
|
-
:'
|
|
39
|
-
:'
|
|
40
|
-
:'
|
|
41
|
-
:'
|
|
42
|
-
:'
|
|
55
|
+
:'webhook_id' => :'webhookId',
|
|
56
|
+
:'organization_id' => :'organizationId',
|
|
57
|
+
:'products' => :'products',
|
|
58
|
+
:'webhook_url' => :'webhookUrl',
|
|
59
|
+
:'health_check_url' => :'healthCheckUrl',
|
|
60
|
+
:'status' => :'status',
|
|
61
|
+
:'name' => :'name',
|
|
62
|
+
:'description' => :'description',
|
|
63
|
+
:'retry_policy' => :'retryPolicy',
|
|
64
|
+
:'security_policy' => :'securityPolicy',
|
|
65
|
+
:'created_on' => :'createdOn',
|
|
66
|
+
:'updated_on' => :'updatedOn',
|
|
67
|
+
:'notification_scope' => :'notificationScope'
|
|
43
68
|
}
|
|
44
69
|
end
|
|
45
70
|
|
|
46
71
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
47
72
|
def self.json_map
|
|
48
73
|
{
|
|
49
|
-
:'
|
|
50
|
-
:'
|
|
51
|
-
:'
|
|
52
|
-
:'
|
|
53
|
-
:'
|
|
54
|
-
:'
|
|
74
|
+
:'webhook_id' => :'webhook_id',
|
|
75
|
+
:'organization_id' => :'organization_id',
|
|
76
|
+
:'products' => :'products',
|
|
77
|
+
:'webhook_url' => :'webhook_url',
|
|
78
|
+
:'health_check_url' => :'health_check_url',
|
|
79
|
+
:'status' => :'status',
|
|
80
|
+
:'name' => :'name',
|
|
81
|
+
:'description' => :'description',
|
|
82
|
+
:'retry_policy' => :'retry_policy',
|
|
83
|
+
:'security_policy' => :'security_policy',
|
|
84
|
+
:'created_on' => :'created_on',
|
|
85
|
+
:'updated_on' => :'updated_on',
|
|
86
|
+
:'notification_scope' => :'notification_scope'
|
|
55
87
|
}
|
|
56
88
|
end
|
|
57
89
|
|
|
58
90
|
# Attribute type mapping.
|
|
59
91
|
def self.swagger_types
|
|
60
92
|
{
|
|
61
|
-
:'
|
|
62
|
-
:'
|
|
63
|
-
:'
|
|
64
|
-
:'
|
|
65
|
-
:'
|
|
66
|
-
:'
|
|
93
|
+
:'webhook_id' => :'String',
|
|
94
|
+
:'organization_id' => :'String',
|
|
95
|
+
:'products' => :'Array<Notificationsubscriptionsv2webhooksProducts>',
|
|
96
|
+
:'webhook_url' => :'String',
|
|
97
|
+
:'health_check_url' => :'String',
|
|
98
|
+
:'status' => :'String',
|
|
99
|
+
:'name' => :'String',
|
|
100
|
+
:'description' => :'String',
|
|
101
|
+
:'retry_policy' => :'Notificationsubscriptionsv2webhooksRetryPolicy',
|
|
102
|
+
:'security_policy' => :'Notificationsubscriptionsv2webhooksSecurityPolicy',
|
|
103
|
+
:'created_on' => :'String',
|
|
104
|
+
:'updated_on' => :'String',
|
|
105
|
+
:'notification_scope' => :'String'
|
|
67
106
|
}
|
|
68
107
|
end
|
|
69
108
|
|
|
@@ -75,30 +114,62 @@ module CyberSource
|
|
|
75
114
|
# convert string to symbol for hash key
|
|
76
115
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
77
116
|
|
|
78
|
-
if attributes.has_key?(:'
|
|
79
|
-
self.
|
|
117
|
+
if attributes.has_key?(:'webhookId')
|
|
118
|
+
self.webhook_id = attributes[:'webhookId']
|
|
80
119
|
end
|
|
81
120
|
|
|
82
|
-
if attributes.has_key?(:'
|
|
83
|
-
self.
|
|
121
|
+
if attributes.has_key?(:'organizationId')
|
|
122
|
+
self.organization_id = attributes[:'organizationId']
|
|
84
123
|
end
|
|
85
124
|
|
|
86
|
-
if attributes.has_key?(:'
|
|
87
|
-
|
|
125
|
+
if attributes.has_key?(:'products')
|
|
126
|
+
if (value = attributes[:'products']).is_a?(Array)
|
|
127
|
+
self.products = value
|
|
128
|
+
end
|
|
88
129
|
end
|
|
89
130
|
|
|
90
|
-
if attributes.has_key?(:'
|
|
91
|
-
self.
|
|
131
|
+
if attributes.has_key?(:'webhookUrl')
|
|
132
|
+
self.webhook_url = attributes[:'webhookUrl']
|
|
92
133
|
end
|
|
93
134
|
|
|
94
|
-
if attributes.has_key?(:'
|
|
95
|
-
self.
|
|
135
|
+
if attributes.has_key?(:'healthCheckUrl')
|
|
136
|
+
self.health_check_url = attributes[:'healthCheckUrl']
|
|
96
137
|
end
|
|
97
138
|
|
|
98
|
-
if attributes.has_key?(:'
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
139
|
+
if attributes.has_key?(:'status')
|
|
140
|
+
self.status = attributes[:'status']
|
|
141
|
+
else
|
|
142
|
+
self.status = 'INACTIVE'
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
if attributes.has_key?(:'name')
|
|
146
|
+
self.name = attributes[:'name']
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
if attributes.has_key?(:'description')
|
|
150
|
+
self.description = attributes[:'description']
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
if attributes.has_key?(:'retryPolicy')
|
|
154
|
+
self.retry_policy = attributes[:'retryPolicy']
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
if attributes.has_key?(:'securityPolicy')
|
|
158
|
+
self.security_policy = attributes[:'securityPolicy']
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
if attributes.has_key?(:'createdOn')
|
|
162
|
+
self.created_on = attributes[:'createdOn']
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
if attributes.has_key?(:'updatedOn')
|
|
166
|
+
self.updated_on = attributes[:'updatedOn']
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
if attributes.has_key?(:'notificationScope')
|
|
170
|
+
self.notification_scope = attributes[:'notificationScope']
|
|
171
|
+
else
|
|
172
|
+
self.notification_scope = 'DESCENDANTS'
|
|
102
173
|
end
|
|
103
174
|
end
|
|
104
175
|
|
|
@@ -120,12 +191,19 @@ module CyberSource
|
|
|
120
191
|
def ==(o)
|
|
121
192
|
return true if self.equal?(o)
|
|
122
193
|
self.class == o.class &&
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
194
|
+
webhook_id == o.webhook_id &&
|
|
195
|
+
organization_id == o.organization_id &&
|
|
196
|
+
products == o.products &&
|
|
197
|
+
webhook_url == o.webhook_url &&
|
|
198
|
+
health_check_url == o.health_check_url &&
|
|
199
|
+
status == o.status &&
|
|
200
|
+
name == o.name &&
|
|
201
|
+
description == o.description &&
|
|
202
|
+
retry_policy == o.retry_policy &&
|
|
203
|
+
security_policy == o.security_policy &&
|
|
204
|
+
created_on == o.created_on &&
|
|
205
|
+
updated_on == o.updated_on &&
|
|
206
|
+
notification_scope == o.notification_scope
|
|
129
207
|
end
|
|
130
208
|
|
|
131
209
|
# @see the `==` method
|
|
@@ -137,7 +215,7 @@ module CyberSource
|
|
|
137
215
|
# Calculates hash code according to all attributes.
|
|
138
216
|
# @return [Fixnum] Hash code
|
|
139
217
|
def hash
|
|
140
|
-
[
|
|
218
|
+
[webhook_id, organization_id, products, webhook_url, health_check_url, status, name, description, retry_policy, security_policy, created_on, updated_on, notification_scope].hash
|
|
141
219
|
end
|
|
142
220
|
|
|
143
221
|
# Builds the object from hash
|
|
@@ -13,15 +13,32 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse2008
|
|
16
|
-
#
|
|
17
|
-
attr_accessor :
|
|
16
|
+
# Total number of results.
|
|
17
|
+
attr_accessor :total_count
|
|
18
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
|
+
attr_accessor :offset
|
|
21
|
+
|
|
22
|
+
# Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500.
|
|
23
|
+
attr_accessor :limit
|
|
24
|
+
|
|
25
|
+
# A comma separated list of the following form: `submitTimeUtc:desc`
|
|
26
|
+
attr_accessor :sort
|
|
27
|
+
|
|
28
|
+
# Results for this page, this could be below the limit.
|
|
29
|
+
attr_accessor :count
|
|
30
|
+
|
|
31
|
+
# A collection of devices
|
|
19
32
|
attr_accessor :devices
|
|
20
33
|
|
|
21
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
35
|
def self.attribute_map
|
|
23
36
|
{
|
|
24
|
-
:'
|
|
37
|
+
:'total_count' => :'totalCount',
|
|
38
|
+
:'offset' => :'offset',
|
|
39
|
+
:'limit' => :'limit',
|
|
40
|
+
:'sort' => :'sort',
|
|
41
|
+
:'count' => :'count',
|
|
25
42
|
:'devices' => :'devices'
|
|
26
43
|
}
|
|
27
44
|
end
|
|
@@ -29,7 +46,11 @@ module CyberSource
|
|
|
29
46
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
30
47
|
def self.json_map
|
|
31
48
|
{
|
|
32
|
-
:'
|
|
49
|
+
:'total_count' => :'total_count',
|
|
50
|
+
:'offset' => :'offset',
|
|
51
|
+
:'limit' => :'limit',
|
|
52
|
+
:'sort' => :'sort',
|
|
53
|
+
:'count' => :'count',
|
|
33
54
|
:'devices' => :'devices'
|
|
34
55
|
}
|
|
35
56
|
end
|
|
@@ -37,8 +58,12 @@ module CyberSource
|
|
|
37
58
|
# Attribute type mapping.
|
|
38
59
|
def self.swagger_types
|
|
39
60
|
{
|
|
40
|
-
:'
|
|
41
|
-
:'
|
|
61
|
+
:'total_count' => :'Integer',
|
|
62
|
+
:'offset' => :'Integer',
|
|
63
|
+
:'limit' => :'Integer',
|
|
64
|
+
:'sort' => :'String',
|
|
65
|
+
:'count' => :'Integer',
|
|
66
|
+
:'devices' => :'Array<InlineResponse2008Devices>'
|
|
42
67
|
}
|
|
43
68
|
end
|
|
44
69
|
|
|
@@ -50,8 +75,24 @@ module CyberSource
|
|
|
50
75
|
# convert string to symbol for hash key
|
|
51
76
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
52
77
|
|
|
53
|
-
if attributes.has_key?(:'
|
|
54
|
-
self.
|
|
78
|
+
if attributes.has_key?(:'totalCount')
|
|
79
|
+
self.total_count = attributes[:'totalCount']
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
if attributes.has_key?(:'offset')
|
|
83
|
+
self.offset = attributes[:'offset']
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
if attributes.has_key?(:'limit')
|
|
87
|
+
self.limit = attributes[:'limit']
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
if attributes.has_key?(:'sort')
|
|
91
|
+
self.sort = attributes[:'sort']
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
if attributes.has_key?(:'count')
|
|
95
|
+
self.count = attributes[:'count']
|
|
55
96
|
end
|
|
56
97
|
|
|
57
98
|
if attributes.has_key?(:'devices')
|
|
@@ -79,7 +120,11 @@ module CyberSource
|
|
|
79
120
|
def ==(o)
|
|
80
121
|
return true if self.equal?(o)
|
|
81
122
|
self.class == o.class &&
|
|
82
|
-
|
|
123
|
+
total_count == o.total_count &&
|
|
124
|
+
offset == o.offset &&
|
|
125
|
+
limit == o.limit &&
|
|
126
|
+
sort == o.sort &&
|
|
127
|
+
count == o.count &&
|
|
83
128
|
devices == o.devices
|
|
84
129
|
end
|
|
85
130
|
|
|
@@ -92,7 +137,7 @@ module CyberSource
|
|
|
92
137
|
# Calculates hash code according to all attributes.
|
|
93
138
|
# @return [Fixnum] Hash code
|
|
94
139
|
def hash
|
|
95
|
-
[
|
|
140
|
+
[total_count, offset, limit, sort, count, devices].hash
|
|
96
141
|
end
|
|
97
142
|
|
|
98
143
|
# Builds the object from hash
|
|
@@ -13,32 +13,15 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse2009
|
|
16
|
-
#
|
|
17
|
-
attr_accessor :
|
|
16
|
+
# Possible values: - OK
|
|
17
|
+
attr_accessor :status
|
|
18
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
|
-
attr_accessor :offset
|
|
21
|
-
|
|
22
|
-
# Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500.
|
|
23
|
-
attr_accessor :limit
|
|
24
|
-
|
|
25
|
-
# A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate`
|
|
26
|
-
attr_accessor :sort
|
|
27
|
-
|
|
28
|
-
# Results for this page, this could be below the limit.
|
|
29
|
-
attr_accessor :count
|
|
30
|
-
|
|
31
|
-
# A collection of devices
|
|
32
19
|
attr_accessor :devices
|
|
33
20
|
|
|
34
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
35
22
|
def self.attribute_map
|
|
36
23
|
{
|
|
37
|
-
:'
|
|
38
|
-
:'offset' => :'offset',
|
|
39
|
-
:'limit' => :'limit',
|
|
40
|
-
:'sort' => :'sort',
|
|
41
|
-
:'count' => :'count',
|
|
24
|
+
:'status' => :'status',
|
|
42
25
|
:'devices' => :'devices'
|
|
43
26
|
}
|
|
44
27
|
end
|
|
@@ -46,11 +29,7 @@ module CyberSource
|
|
|
46
29
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
47
30
|
def self.json_map
|
|
48
31
|
{
|
|
49
|
-
:'
|
|
50
|
-
:'offset' => :'offset',
|
|
51
|
-
:'limit' => :'limit',
|
|
52
|
-
:'sort' => :'sort',
|
|
53
|
-
:'count' => :'count',
|
|
32
|
+
:'status' => :'status',
|
|
54
33
|
:'devices' => :'devices'
|
|
55
34
|
}
|
|
56
35
|
end
|
|
@@ -58,12 +37,8 @@ module CyberSource
|
|
|
58
37
|
# Attribute type mapping.
|
|
59
38
|
def self.swagger_types
|
|
60
39
|
{
|
|
61
|
-
:'
|
|
62
|
-
:'
|
|
63
|
-
:'limit' => :'Integer',
|
|
64
|
-
:'sort' => :'String',
|
|
65
|
-
:'count' => :'Integer',
|
|
66
|
-
:'devices' => :'Array<InlineResponse2009Devices>'
|
|
40
|
+
:'status' => :'String',
|
|
41
|
+
:'devices' => :'Array<Dmsv3devicesdeassociateDevices>'
|
|
67
42
|
}
|
|
68
43
|
end
|
|
69
44
|
|
|
@@ -75,24 +50,8 @@ module CyberSource
|
|
|
75
50
|
# convert string to symbol for hash key
|
|
76
51
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
77
52
|
|
|
78
|
-
if attributes.has_key?(:'
|
|
79
|
-
self.
|
|
80
|
-
end
|
|
81
|
-
|
|
82
|
-
if attributes.has_key?(:'offset')
|
|
83
|
-
self.offset = attributes[:'offset']
|
|
84
|
-
end
|
|
85
|
-
|
|
86
|
-
if attributes.has_key?(:'limit')
|
|
87
|
-
self.limit = attributes[:'limit']
|
|
88
|
-
end
|
|
89
|
-
|
|
90
|
-
if attributes.has_key?(:'sort')
|
|
91
|
-
self.sort = attributes[:'sort']
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
if attributes.has_key?(:'count')
|
|
95
|
-
self.count = attributes[:'count']
|
|
53
|
+
if attributes.has_key?(:'status')
|
|
54
|
+
self.status = attributes[:'status']
|
|
96
55
|
end
|
|
97
56
|
|
|
98
57
|
if attributes.has_key?(:'devices')
|
|
@@ -120,11 +79,7 @@ module CyberSource
|
|
|
120
79
|
def ==(o)
|
|
121
80
|
return true if self.equal?(o)
|
|
122
81
|
self.class == o.class &&
|
|
123
|
-
|
|
124
|
-
offset == o.offset &&
|
|
125
|
-
limit == o.limit &&
|
|
126
|
-
sort == o.sort &&
|
|
127
|
-
count == o.count &&
|
|
82
|
+
status == o.status &&
|
|
128
83
|
devices == o.devices
|
|
129
84
|
end
|
|
130
85
|
|
|
@@ -137,7 +92,7 @@ module CyberSource
|
|
|
137
92
|
# Calculates hash code according to all attributes.
|
|
138
93
|
# @return [Fixnum] Hash code
|
|
139
94
|
def hash
|
|
140
|
-
[
|
|
95
|
+
[status, devices].hash
|
|
141
96
|
end
|
|
142
97
|
|
|
143
98
|
# Builds the object from hash
|
|
@@ -12,33 +12,34 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
class
|
|
16
|
-
#
|
|
17
|
-
attr_accessor :
|
|
15
|
+
class InlineResponse200Details
|
|
16
|
+
# The name of the field that caused the error.
|
|
17
|
+
attr_accessor :name
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
# The location of the field that caused the error.
|
|
20
|
+
attr_accessor :location
|
|
20
21
|
|
|
21
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
23
|
def self.attribute_map
|
|
23
24
|
{
|
|
24
|
-
:'
|
|
25
|
-
:'
|
|
25
|
+
:'name' => :'name',
|
|
26
|
+
:'location' => :'location'
|
|
26
27
|
}
|
|
27
28
|
end
|
|
28
29
|
|
|
29
30
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
30
31
|
def self.json_map
|
|
31
32
|
{
|
|
32
|
-
:'
|
|
33
|
-
:'
|
|
33
|
+
:'name' => :'name',
|
|
34
|
+
:'location' => :'location'
|
|
34
35
|
}
|
|
35
36
|
end
|
|
36
37
|
|
|
37
38
|
# Attribute type mapping.
|
|
38
39
|
def self.swagger_types
|
|
39
40
|
{
|
|
40
|
-
:'
|
|
41
|
-
:'
|
|
41
|
+
:'name' => :'String',
|
|
42
|
+
:'location' => :'String'
|
|
42
43
|
}
|
|
43
44
|
end
|
|
44
45
|
|
|
@@ -50,12 +51,12 @@ module CyberSource
|
|
|
50
51
|
# convert string to symbol for hash key
|
|
51
52
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
52
53
|
|
|
53
|
-
if attributes.has_key?(:'
|
|
54
|
-
self.
|
|
54
|
+
if attributes.has_key?(:'name')
|
|
55
|
+
self.name = attributes[:'name']
|
|
55
56
|
end
|
|
56
57
|
|
|
57
|
-
if attributes.has_key?(:'
|
|
58
|
-
self.
|
|
58
|
+
if attributes.has_key?(:'location')
|
|
59
|
+
self.location = attributes[:'location']
|
|
59
60
|
end
|
|
60
61
|
end
|
|
61
62
|
|
|
@@ -77,8 +78,8 @@ module CyberSource
|
|
|
77
78
|
def ==(o)
|
|
78
79
|
return true if self.equal?(o)
|
|
79
80
|
self.class == o.class &&
|
|
80
|
-
|
|
81
|
-
|
|
81
|
+
name == o.name &&
|
|
82
|
+
location == o.location
|
|
82
83
|
end
|
|
83
84
|
|
|
84
85
|
# @see the `==` method
|
|
@@ -90,7 +91,7 @@ module CyberSource
|
|
|
90
91
|
# Calculates hash code according to all attributes.
|
|
91
92
|
# @return [Fixnum] Hash code
|
|
92
93
|
def hash
|
|
93
|
-
[
|
|
94
|
+
[name, location].hash
|
|
94
95
|
end
|
|
95
96
|
|
|
96
97
|
# Builds the object from hash
|