cybersource_rest_client 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AuthenticationSDK/AuthenticationSDK-0.0.1.gem +0 -0
- data/lib/cybersource_rest_client/api/capture_api.rb +3 -3
- data/lib/cybersource_rest_client/api/credit_api.rb +3 -3
- data/lib/cybersource_rest_client/api/flex_token_api.rb +3 -3
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +12 -12
- data/lib/cybersource_rest_client/api/instrument_identifiers_api.rb +3 -3
- data/lib/cybersource_rest_client/api/key_generation_api.rb +3 -3
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +3 -3
- data/lib/cybersource_rest_client/api/payment_instruments_api.rb +18 -18
- data/lib/cybersource_rest_client/api/payments_api.rb +4 -4
- data/lib/cybersource_rest_client/api/process_a_payout_api.rb +2 -2
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +2 -2
- data/lib/cybersource_rest_client/api/refund_api.rb +6 -6
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +6 -6
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +7 -7
- data/lib/cybersource_rest_client/api/reports_api.rb +7 -6
- data/lib/cybersource_rest_client/api/reversal_api.rb +4 -4
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +6 -6
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +3 -3
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +4 -4
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +3 -3
- data/lib/cybersource_rest_client/api/user_management_api.rb +4 -4
- data/lib/cybersource_rest_client/api/void_api.rb +12 -12
- data/lib/cybersource_rest_client/api_client.rb +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200.rb → flex_v1_keys_post200_response.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_der.rb → flex_v1_keys_post200_response_der.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_jwk.rb → flex_v1_keys_post200_response_jwk.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_1.rb → flex_v1_tokens_post200_response.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400.rb +10 -79
- data/lib/cybersource_rest_client/models/key_result.rb +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_2.rb → pts_v1_transaction_batches_get200_response.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_1__links.rb → pts_v1_transaction_batches_get200_response__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_9__links_self.rb → pts_v1_transaction_batches_get200_response__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_2_transaction_batches.rb → pts_v1_transaction_batches_get200_response_transaction_batches.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_400_5.rb → pts_v1_transaction_batches_get400_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_400_5_error_information.rb → pts_v1_transaction_batches_get400_response_error_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_400_5_error_information_details.rb → pts_v1_transaction_batches_get400_response_error_information_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_500.rb → pts_v1_transaction_batches_get500_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_500_error_information.rb → pts_v1_transaction_batches_get500_response_error_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4.rb → pts_v2_credits_post201_response.rb} +6 -6
- data/lib/cybersource_rest_client/models/{inline_response_201_4_credit_amount_details.rb → pts_v2_credits_post201_response_credit_amount_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_2.rb → pts_v2_payments_captures_post201_response.rb} +5 -5
- data/lib/cybersource_rest_client/models/{inline_response_201_2__links.rb → pts_v2_payments_captures_post201_response__links.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_201_order_information.rb → pts_v2_payments_captures_post201_response_order_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_2_order_information_amount_details.rb → pts_v2_payments_captures_post201_response_order_information_amount_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_2_processor_information.rb → pts_v2_payments_captures_post201_response_processor_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_400_2.rb → pts_v2_payments_captures_post400_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201.rb → pts_v2_payments_post201_response.rb} +8 -8
- data/lib/cybersource_rest_client/models/{inline_response_201__links.rb → pts_v2_payments_post201_response__links.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_201__links_self.rb → pts_v2_payments_post201_response__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_client_reference_information.rb → pts_v2_payments_post201_response_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_error_information.rb → pts_v2_payments_post201_response_error_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_error_information_details.rb → pts_v2_payments_post201_response_error_information_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_2_order_information.rb → pts_v2_payments_post201_response_order_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_order_information_amount_details.rb → pts_v2_payments_post201_response_order_information_amount_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_order_information_invoice_details.rb → pts_v2_payments_post201_response_order_information_invoice_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_payment_information.rb → pts_v2_payments_post201_response_payment_information.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_201_payment_information_account_features.rb → pts_v2_payments_post201_response_payment_information_account_features.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_payment_information_card.rb → pts_v2_payments_post201_response_payment_information_card.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_payment_information_tokenized_card.rb → pts_v2_payments_post201_response_payment_information_tokenized_card.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_point_of_sale_information.rb → pts_v2_payments_post201_response_point_of_sale_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_point_of_sale_information_emv.rb → pts_v2_payments_post201_response_point_of_sale_information_emv.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_processor_information.rb → pts_v2_payments_post201_response_processor_information.rb} +8 -8
- data/lib/cybersource_rest_client/models/{inline_response_201_processor_information_avs.rb → pts_v2_payments_post201_response_processor_information_avs.rb} +1 -4
- data/lib/cybersource_rest_client/models/{inline_response_201_processor_information_card_verification.rb → pts_v2_payments_post201_response_processor_information_card_verification.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_processor_information_consumer_authentication_response.rb → pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_processor_information_customer.rb → pts_v2_payments_post201_response_processor_information_customer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_processor_information_electronic_verification_results.rb → pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_processor_information_issuer.rb → pts_v2_payments_post201_response_processor_information_issuer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_processor_information_merchant_advice.rb → pts_v2_payments_post201_response_processor_information_merchant_advice.rb} +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post400_response.rb +271 -0
- data/lib/cybersource_rest_client/models/{inline_response_502.rb → pts_v2_payments_post502_response.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_3.rb → pts_v2_payments_refund_post201_response.rb} +6 -6
- data/lib/cybersource_rest_client/models/{inline_response_201_3__links.rb → pts_v2_payments_refund_post201_response__links.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_3_order_information.rb → pts_v2_payments_refund_post201_response_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_3_processor_information.rb → pts_v2_payments_refund_post201_response_processor_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_3_refund_amount_details.rb → pts_v2_payments_refund_post201_response_refund_amount_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_400_3.rb → pts_v2_payments_refund_post400_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_1.rb → pts_v2_payments_reversals_post201_response.rb} +6 -6
- data/lib/cybersource_rest_client/models/{inline_response_200_2__links.rb → pts_v2_payments_reversals_post201_response__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_1_authorization_information.rb → pts_v2_payments_reversals_post201_response_authorization_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_1_processor_information.rb → pts_v2_payments_reversals_post201_response_processor_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_1_reversal_amount_details.rb → pts_v2_payments_reversals_post201_response_reversal_amount_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_400_1.rb → pts_v2_payments_reversals_post400_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5.rb → pts_v2_payments_voids_post201_response.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_201_5_void_amount_details.rb → pts_v2_payments_voids_post201_response_void_amount_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_400_4.rb → pts_v2_payments_voids_post400_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_400_6.rb → pts_v2_payouts_post400_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{oct_create_payment_request.rb → pts_v2_payouts_post_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information.rb +0 -6
- data/lib/cybersource_rest_client/models/{inline_response_200_3.rb → reporting_v3_notificationof_changes_get200_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_3_notification_of_changes.rb → reporting_v3_notificationof_changes_get200_response_notification_of_changes.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_400_7.rb → reporting_v3_notificationof_changes_get400_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_400_7_fields.rb → reporting_v3_notificationof_changes_get400_response_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_4.rb → reporting_v3_report_definitions_get200_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_4_report_definitions.rb → reporting_v3_report_definitions_get200_response_report_definitions.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_5.rb → reporting_v3_report_definitions_name_get200_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_5_attributes.rb → reporting_v3_report_definitions_name_get200_response_attributes.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_6.rb → reporting_v3_report_subscriptions_get200_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_6_report_preferences.rb → reporting_v3_report_subscriptions_get200_response_report_preferences.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_6_subscriptions.rb → reporting_v3_report_subscriptions_get200_response_subscriptions.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_7.rb → reporting_v3_reports_get200_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_7_reports.rb → reporting_v3_reports_get200_response_reports.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_8.rb → reporting_v3_reports_id_get200_response.rb} +5 -5
- data/lib/cybersource_rest_client/models/request_body.rb +1 -1
- data/lib/cybersource_rest_client/models/request_body_1.rb +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_409.rb → tms_v1_instrumentidentifiers_delete409_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_409__links.rb → tms_v1_instrumentidentifiers_delete409_response__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_409__links_payment_instruments.rb → tms_v1_instrumentidentifiers_delete409_response__links_payment_instruments.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_11.rb → tms_v1_instrumentidentifiers_paymentinstruments_get200_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_11__links.rb → tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links.rb} +6 -6
- data/lib/cybersource_rest_client/models/{inline_response_200_11__links_first.rb → tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_first.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_11__links_last.rb → tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_last.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_11__links_next.rb → tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_next.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_11__links_prev.rb → tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_prev.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_11__links_self.rb → tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_10.rb → tms_v1_instrumentidentifiers_post200_response.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_6.rb → tms_v1_paymentinstruments_post201_response.rb} +1 -1
- data/lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_processing_information_authorization_options_initiator.rb +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12.rb → tss_v2_transactions_get200_response.rb} +19 -19
- data/lib/cybersource_rest_client/models/{inline_response_200_12_application_information.rb → tss_v2_transactions_get200_response_application_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_12_application_information_applications.rb → tss_v2_transactions_get200_response_application_information_applications.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_buyer_information.rb → tss_v2_transactions_get200_response_buyer_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_client_reference_information.rb → tss_v2_transactions_get200_response_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_consumer_authentication_information.rb → tss_v2_transactions_get200_response_consumer_authentication_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_device_information.rb → tss_v2_transactions_get200_response_device_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_error_information.rb → tss_v2_transactions_get200_response_error_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_12_fraud_marking_information.rb → tss_v2_transactions_get200_response_fraud_marking_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_installment_information.rb → tss_v2_transactions_get200_response_installment_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_merchant_defined_information.rb → tss_v2_transactions_get200_response_merchant_defined_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_merchant_information.rb → tss_v2_transactions_get200_response_merchant_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_12_merchant_information_merchant_descriptor.rb → tss_v2_transactions_get200_response_merchant_information_merchant_descriptor.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_order_information.rb → tss_v2_transactions_get200_response_order_information.rb} +6 -6
- data/lib/cybersource_rest_client/models/{inline_response_200_12_order_information_amount_details.rb → tss_v2_transactions_get200_response_order_information_amount_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_order_information_bill_to.rb → tss_v2_transactions_get200_response_order_information_bill_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_order_information_line_items.rb → tss_v2_transactions_get200_response_order_information_line_items.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_order_information_ship_to.rb → tss_v2_transactions_get200_response_order_information_ship_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_order_information_shipping_details.rb → tss_v2_transactions_get200_response_order_information_shipping_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_payment_information.rb → tss_v2_transactions_get200_response_payment_information.rb} +6 -6
- data/lib/cybersource_rest_client/models/{inline_response_200_12_payment_information_account_features.rb → tss_v2_transactions_get200_response_payment_information_account_features.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_payment_information_bank.rb → tss_v2_transactions_get200_response_payment_information_bank.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_12_payment_information_bank_account.rb → tss_v2_transactions_get200_response_payment_information_bank_account.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_payment_information_bank_mandate.rb → tss_v2_transactions_get200_response_payment_information_bank_mandate.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_payment_information_card.rb → tss_v2_transactions_get200_response_payment_information_card.rb} +2 -6
- data/lib/cybersource_rest_client/models/{inline_response_200_12_payment_information_invoice.rb → tss_v2_transactions_get200_response_payment_information_invoice.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_payment_information_payment_type.rb → tss_v2_transactions_get200_response_payment_information_payment_type.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_point_of_sale_information.rb → tss_v2_transactions_get200_response_point_of_sale_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_processing_information.rb → tss_v2_transactions_get200_response_processing_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_12_processing_information_authorization_options.rb → tss_v2_transactions_get200_response_processing_information_authorization_options.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_processing_information_bank_transfer_options.rb → tss_v2_transactions_get200_response_processing_information_bank_transfer_options.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_processor_information.rb → tss_v2_transactions_get200_response_processor_information.rb} +6 -6
- data/lib/cybersource_rest_client/models/{inline_response_200_12_processor_information_ach_verification.rb → tss_v2_transactions_get200_response_processor_information_ach_verification.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_processor_information_card_verification.rb → tss_v2_transactions_get200_response_processor_information_card_verification.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_processor_information_electronic_verification_results.rb → tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_processor_information_processor.rb → tss_v2_transactions_get200_response_processor_information_processor.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_risk_information.rb → tss_v2_transactions_get200_response_risk_information.rb} +6 -6
- data/lib/cybersource_rest_client/models/{inline_response_200_12_risk_information_profile.rb → tss_v2_transactions_get200_response_risk_information_profile.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_risk_information_score.rb → tss_v2_transactions_get200_response_risk_information_score.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_sender_information.rb → tss_v2_transactions_get200_response_sender_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7.rb → tss_v2_transactions_post201_response.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded.rb → tss_v2_transactions_post201_response__embedded.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded__links.rb → tss_v2_transactions_post201_response__embedded__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_buyer_information.rb → tss_v2_transactions_post201_response__embedded_buyer_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_client_reference_information.rb → tss_v2_transactions_post201_response__embedded_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_consumer_authentication_information.rb → tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_device_information.rb → tss_v2_transactions_post201_response__embedded_device_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_merchant_information.rb → tss_v2_transactions_post201_response__embedded_merchant_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_order_information.rb → tss_v2_transactions_post201_response__embedded_order_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_order_information_bill_to.rb → tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_order_information_ship_to.rb → tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_payment_information.rb → tss_v2_transactions_post201_response__embedded_payment_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_payment_information_card.rb → tss_v2_transactions_post201_response__embedded_payment_information_card.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_payment_information_payment_method.rb → tss_v2_transactions_post201_response__embedded_payment_information_payment_method.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_point_of_sale_information.rb → tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_point_of_sale_information_partner.rb → tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_processing_information.rb → tss_v2_transactions_post201_response__embedded_processing_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_processor_information.rb → tss_v2_transactions_post201_response__embedded_processor_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_risk_information.rb → tss_v2_transactions_post201_response__embedded_risk_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_risk_information_providers.rb → tss_v2_transactions_post201_response__embedded_risk_information_providers.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_risk_information_providers_fingerprint.rb → tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_transaction_summaries.rb → tss_v2_transactions_post201_response__embedded_transaction_summaries.rb} +16 -16
- data/lib/cybersource_rest_client/models/{inline_response_400_9.rb → tss_v2_transactions_post400_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{create_search_request.rb → tss_v2_transactions_post_response.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_13.rb → ums_v1_users_get200_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_13_account_information.rb → ums_v1_users_get200_response_account_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_13_contact_information.rb → ums_v1_users_get200_response_contact_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_13_organization_information.rb → ums_v1_users_get200_response_organization_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_13_users.rb → ums_v1_users_get200_response_users.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_200_9.rb → v1_file_details_get200_response.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_9__links.rb → v1_file_details_get200_response__links.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_9__links_files.rb → v1_file_details_get200_response__links_files.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_2__links_self.rb → v1_file_details_get200_response__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_9_file_details.rb → v1_file_details_get200_response_file_details.rb} +1 -1
- data/lib/cybersource_rest_client.rb +163 -163
- metadata +166 -165
- data/lib/cybersource_rest_client/models/inline_response_400_8.rb +0 -202
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cybersource_rest_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CyberSource
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -279,6 +279,7 @@ executables: []
|
|
279
279
|
extensions: []
|
280
280
|
extra_rdoc_files: []
|
281
281
|
files:
|
282
|
+
- AuthenticationSDK/AuthenticationSDK-0.0.1.gem
|
282
283
|
- AuthenticationSDK/Cybersource.gemspec
|
283
284
|
- AuthenticationSDK/authentication/http/GetSignatureParameter.rb
|
284
285
|
- AuthenticationSDK/authentication/http/HttpSignatureHeader.rb
|
@@ -330,175 +331,17 @@ files:
|
|
330
331
|
- lib/cybersource_rest_client/models/card_info.rb
|
331
332
|
- lib/cybersource_rest_client/models/create_credit_request.rb
|
332
333
|
- lib/cybersource_rest_client/models/create_payment_request.rb
|
333
|
-
- lib/cybersource_rest_client/models/create_search_request.rb
|
334
334
|
- lib/cybersource_rest_client/models/der_public_key.rb
|
335
335
|
- lib/cybersource_rest_client/models/error.rb
|
336
336
|
- lib/cybersource_rest_client/models/error_links.rb
|
337
337
|
- lib/cybersource_rest_client/models/error_response.rb
|
338
|
+
- lib/cybersource_rest_client/models/flex_v1_keys_post200_response.rb
|
339
|
+
- lib/cybersource_rest_client/models/flex_v1_keys_post200_response_der.rb
|
340
|
+
- lib/cybersource_rest_client/models/flex_v1_keys_post200_response_jwk.rb
|
341
|
+
- lib/cybersource_rest_client/models/flex_v1_tokens_post200_response.rb
|
338
342
|
- lib/cybersource_rest_client/models/flexv1tokens_card_info.rb
|
339
343
|
- lib/cybersource_rest_client/models/generate_public_key_request.rb
|
340
|
-
- lib/cybersource_rest_client/models/inline_response_200.rb
|
341
|
-
- lib/cybersource_rest_client/models/inline_response_200_1.rb
|
342
|
-
- lib/cybersource_rest_client/models/inline_response_200_10.rb
|
343
|
-
- lib/cybersource_rest_client/models/inline_response_200_11.rb
|
344
|
-
- lib/cybersource_rest_client/models/inline_response_200_11__links.rb
|
345
|
-
- lib/cybersource_rest_client/models/inline_response_200_11__links_first.rb
|
346
|
-
- lib/cybersource_rest_client/models/inline_response_200_11__links_last.rb
|
347
|
-
- lib/cybersource_rest_client/models/inline_response_200_11__links_next.rb
|
348
|
-
- lib/cybersource_rest_client/models/inline_response_200_11__links_prev.rb
|
349
|
-
- lib/cybersource_rest_client/models/inline_response_200_11__links_self.rb
|
350
|
-
- lib/cybersource_rest_client/models/inline_response_200_12.rb
|
351
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_application_information.rb
|
352
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_application_information_applications.rb
|
353
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_buyer_information.rb
|
354
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_client_reference_information.rb
|
355
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_consumer_authentication_information.rb
|
356
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_device_information.rb
|
357
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_error_information.rb
|
358
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_fraud_marking_information.rb
|
359
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_installment_information.rb
|
360
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_merchant_defined_information.rb
|
361
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_merchant_information.rb
|
362
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_merchant_information_merchant_descriptor.rb
|
363
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_order_information.rb
|
364
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_order_information_amount_details.rb
|
365
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_order_information_bill_to.rb
|
366
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_order_information_line_items.rb
|
367
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_order_information_ship_to.rb
|
368
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_order_information_shipping_details.rb
|
369
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_payment_information.rb
|
370
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_payment_information_account_features.rb
|
371
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_payment_information_bank.rb
|
372
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_payment_information_bank_account.rb
|
373
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_payment_information_bank_mandate.rb
|
374
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_payment_information_card.rb
|
375
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_payment_information_invoice.rb
|
376
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_payment_information_payment_type.rb
|
377
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_point_of_sale_information.rb
|
378
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_processing_information.rb
|
379
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_processing_information_authorization_options.rb
|
380
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_processing_information_bank_transfer_options.rb
|
381
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_processor_information.rb
|
382
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_processor_information_ach_verification.rb
|
383
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_processor_information_card_verification.rb
|
384
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_processor_information_electronic_verification_results.rb
|
385
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_processor_information_processor.rb
|
386
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_risk_information.rb
|
387
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_risk_information_profile.rb
|
388
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_risk_information_score.rb
|
389
|
-
- lib/cybersource_rest_client/models/inline_response_200_12_sender_information.rb
|
390
|
-
- lib/cybersource_rest_client/models/inline_response_200_13.rb
|
391
|
-
- lib/cybersource_rest_client/models/inline_response_200_13_account_information.rb
|
392
|
-
- lib/cybersource_rest_client/models/inline_response_200_13_contact_information.rb
|
393
|
-
- lib/cybersource_rest_client/models/inline_response_200_13_organization_information.rb
|
394
|
-
- lib/cybersource_rest_client/models/inline_response_200_13_users.rb
|
395
|
-
- lib/cybersource_rest_client/models/inline_response_200_2.rb
|
396
|
-
- lib/cybersource_rest_client/models/inline_response_200_2__links.rb
|
397
|
-
- lib/cybersource_rest_client/models/inline_response_200_2__links_self.rb
|
398
|
-
- lib/cybersource_rest_client/models/inline_response_200_2_transaction_batches.rb
|
399
|
-
- lib/cybersource_rest_client/models/inline_response_200_3.rb
|
400
|
-
- lib/cybersource_rest_client/models/inline_response_200_3_notification_of_changes.rb
|
401
|
-
- lib/cybersource_rest_client/models/inline_response_200_4.rb
|
402
|
-
- lib/cybersource_rest_client/models/inline_response_200_4_report_definitions.rb
|
403
|
-
- lib/cybersource_rest_client/models/inline_response_200_5.rb
|
404
|
-
- lib/cybersource_rest_client/models/inline_response_200_5_attributes.rb
|
405
|
-
- lib/cybersource_rest_client/models/inline_response_200_6.rb
|
406
|
-
- lib/cybersource_rest_client/models/inline_response_200_6_report_preferences.rb
|
407
|
-
- lib/cybersource_rest_client/models/inline_response_200_6_subscriptions.rb
|
408
|
-
- lib/cybersource_rest_client/models/inline_response_200_7.rb
|
409
|
-
- lib/cybersource_rest_client/models/inline_response_200_7_reports.rb
|
410
|
-
- lib/cybersource_rest_client/models/inline_response_200_8.rb
|
411
|
-
- lib/cybersource_rest_client/models/inline_response_200_9.rb
|
412
|
-
- lib/cybersource_rest_client/models/inline_response_200_9__links.rb
|
413
|
-
- lib/cybersource_rest_client/models/inline_response_200_9__links_files.rb
|
414
|
-
- lib/cybersource_rest_client/models/inline_response_200_9__links_self.rb
|
415
|
-
- lib/cybersource_rest_client/models/inline_response_200_9_file_details.rb
|
416
|
-
- lib/cybersource_rest_client/models/inline_response_200_der.rb
|
417
|
-
- lib/cybersource_rest_client/models/inline_response_200_jwk.rb
|
418
|
-
- lib/cybersource_rest_client/models/inline_response_201.rb
|
419
|
-
- lib/cybersource_rest_client/models/inline_response_201_1.rb
|
420
|
-
- lib/cybersource_rest_client/models/inline_response_201_1__links.rb
|
421
|
-
- lib/cybersource_rest_client/models/inline_response_201_1_authorization_information.rb
|
422
|
-
- lib/cybersource_rest_client/models/inline_response_201_1_processor_information.rb
|
423
|
-
- lib/cybersource_rest_client/models/inline_response_201_1_reversal_amount_details.rb
|
424
|
-
- lib/cybersource_rest_client/models/inline_response_201_2.rb
|
425
|
-
- lib/cybersource_rest_client/models/inline_response_201_2__links.rb
|
426
|
-
- lib/cybersource_rest_client/models/inline_response_201_2_order_information.rb
|
427
|
-
- lib/cybersource_rest_client/models/inline_response_201_2_order_information_amount_details.rb
|
428
|
-
- lib/cybersource_rest_client/models/inline_response_201_2_processor_information.rb
|
429
|
-
- lib/cybersource_rest_client/models/inline_response_201_3.rb
|
430
|
-
- lib/cybersource_rest_client/models/inline_response_201_3__links.rb
|
431
|
-
- lib/cybersource_rest_client/models/inline_response_201_3_order_information.rb
|
432
|
-
- lib/cybersource_rest_client/models/inline_response_201_3_processor_information.rb
|
433
|
-
- lib/cybersource_rest_client/models/inline_response_201_3_refund_amount_details.rb
|
434
|
-
- lib/cybersource_rest_client/models/inline_response_201_4.rb
|
435
|
-
- lib/cybersource_rest_client/models/inline_response_201_4_credit_amount_details.rb
|
436
|
-
- lib/cybersource_rest_client/models/inline_response_201_5.rb
|
437
|
-
- lib/cybersource_rest_client/models/inline_response_201_5_void_amount_details.rb
|
438
|
-
- lib/cybersource_rest_client/models/inline_response_201_6.rb
|
439
|
-
- lib/cybersource_rest_client/models/inline_response_201_7.rb
|
440
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded.rb
|
441
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded__links.rb
|
442
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_buyer_information.rb
|
443
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_client_reference_information.rb
|
444
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_consumer_authentication_information.rb
|
445
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_device_information.rb
|
446
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_merchant_information.rb
|
447
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_order_information.rb
|
448
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_order_information_bill_to.rb
|
449
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_order_information_ship_to.rb
|
450
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_payment_information.rb
|
451
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_payment_information_card.rb
|
452
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_payment_information_payment_method.rb
|
453
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_point_of_sale_information.rb
|
454
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_point_of_sale_information_partner.rb
|
455
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_processing_information.rb
|
456
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_processor_information.rb
|
457
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_risk_information.rb
|
458
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_risk_information_providers.rb
|
459
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_risk_information_providers_fingerprint.rb
|
460
|
-
- lib/cybersource_rest_client/models/inline_response_201_7__embedded_transaction_summaries.rb
|
461
|
-
- lib/cybersource_rest_client/models/inline_response_201__links.rb
|
462
|
-
- lib/cybersource_rest_client/models/inline_response_201__links_self.rb
|
463
|
-
- lib/cybersource_rest_client/models/inline_response_201_client_reference_information.rb
|
464
|
-
- lib/cybersource_rest_client/models/inline_response_201_error_information.rb
|
465
|
-
- lib/cybersource_rest_client/models/inline_response_201_error_information_details.rb
|
466
|
-
- lib/cybersource_rest_client/models/inline_response_201_order_information.rb
|
467
|
-
- lib/cybersource_rest_client/models/inline_response_201_order_information_amount_details.rb
|
468
|
-
- lib/cybersource_rest_client/models/inline_response_201_order_information_invoice_details.rb
|
469
|
-
- lib/cybersource_rest_client/models/inline_response_201_payment_information.rb
|
470
|
-
- lib/cybersource_rest_client/models/inline_response_201_payment_information_account_features.rb
|
471
|
-
- lib/cybersource_rest_client/models/inline_response_201_payment_information_card.rb
|
472
|
-
- lib/cybersource_rest_client/models/inline_response_201_payment_information_tokenized_card.rb
|
473
|
-
- lib/cybersource_rest_client/models/inline_response_201_point_of_sale_information.rb
|
474
|
-
- lib/cybersource_rest_client/models/inline_response_201_point_of_sale_information_emv.rb
|
475
|
-
- lib/cybersource_rest_client/models/inline_response_201_processor_information.rb
|
476
|
-
- lib/cybersource_rest_client/models/inline_response_201_processor_information_avs.rb
|
477
|
-
- lib/cybersource_rest_client/models/inline_response_201_processor_information_card_verification.rb
|
478
|
-
- lib/cybersource_rest_client/models/inline_response_201_processor_information_consumer_authentication_response.rb
|
479
|
-
- lib/cybersource_rest_client/models/inline_response_201_processor_information_customer.rb
|
480
|
-
- lib/cybersource_rest_client/models/inline_response_201_processor_information_electronic_verification_results.rb
|
481
|
-
- lib/cybersource_rest_client/models/inline_response_201_processor_information_issuer.rb
|
482
|
-
- lib/cybersource_rest_client/models/inline_response_201_processor_information_merchant_advice.rb
|
483
344
|
- lib/cybersource_rest_client/models/inline_response_400.rb
|
484
|
-
- lib/cybersource_rest_client/models/inline_response_400_1.rb
|
485
|
-
- lib/cybersource_rest_client/models/inline_response_400_2.rb
|
486
|
-
- lib/cybersource_rest_client/models/inline_response_400_3.rb
|
487
|
-
- lib/cybersource_rest_client/models/inline_response_400_4.rb
|
488
|
-
- lib/cybersource_rest_client/models/inline_response_400_5.rb
|
489
|
-
- lib/cybersource_rest_client/models/inline_response_400_5_error_information.rb
|
490
|
-
- lib/cybersource_rest_client/models/inline_response_400_5_error_information_details.rb
|
491
|
-
- lib/cybersource_rest_client/models/inline_response_400_6.rb
|
492
|
-
- lib/cybersource_rest_client/models/inline_response_400_7.rb
|
493
|
-
- lib/cybersource_rest_client/models/inline_response_400_7_fields.rb
|
494
|
-
- lib/cybersource_rest_client/models/inline_response_400_8.rb
|
495
|
-
- lib/cybersource_rest_client/models/inline_response_400_9.rb
|
496
|
-
- lib/cybersource_rest_client/models/inline_response_409.rb
|
497
|
-
- lib/cybersource_rest_client/models/inline_response_409__links.rb
|
498
|
-
- lib/cybersource_rest_client/models/inline_response_409__links_payment_instruments.rb
|
499
|
-
- lib/cybersource_rest_client/models/inline_response_500.rb
|
500
|
-
- lib/cybersource_rest_client/models/inline_response_500_error_information.rb
|
501
|
-
- lib/cybersource_rest_client/models/inline_response_502.rb
|
502
345
|
- lib/cybersource_rest_client/models/inline_response_default.rb
|
503
346
|
- lib/cybersource_rest_client/models/inline_response_default__links.rb
|
504
347
|
- lib/cybersource_rest_client/models/inline_response_default__links_next.rb
|
@@ -509,7 +352,65 @@ files:
|
|
509
352
|
- lib/cybersource_rest_client/models/key_result.rb
|
510
353
|
- lib/cybersource_rest_client/models/link.rb
|
511
354
|
- lib/cybersource_rest_client/models/links.rb
|
512
|
-
- lib/cybersource_rest_client/models/
|
355
|
+
- lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response.rb
|
356
|
+
- lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response__links.rb
|
357
|
+
- lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response__links_self.rb
|
358
|
+
- lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response_transaction_batches.rb
|
359
|
+
- lib/cybersource_rest_client/models/pts_v1_transaction_batches_get400_response.rb
|
360
|
+
- lib/cybersource_rest_client/models/pts_v1_transaction_batches_get400_response_error_information.rb
|
361
|
+
- lib/cybersource_rest_client/models/pts_v1_transaction_batches_get400_response_error_information_details.rb
|
362
|
+
- lib/cybersource_rest_client/models/pts_v1_transaction_batches_get500_response.rb
|
363
|
+
- lib/cybersource_rest_client/models/pts_v1_transaction_batches_get500_response_error_information.rb
|
364
|
+
- lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb
|
365
|
+
- lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb
|
366
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb
|
367
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response__links.rb
|
368
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information.rb
|
369
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb
|
370
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb
|
371
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_captures_post400_response.rb
|
372
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb
|
373
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response__links.rb
|
374
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response__links_self.rb
|
375
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb
|
376
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information.rb
|
377
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information_details.rb
|
378
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information.rb
|
379
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb
|
380
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb
|
381
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb
|
382
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb
|
383
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_card.rb
|
384
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb
|
385
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb
|
386
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb
|
387
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb
|
388
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_avs.rb
|
389
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb
|
390
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb
|
391
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_customer.rb
|
392
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb
|
393
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_issuer.rb
|
394
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb
|
395
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post400_response.rb
|
396
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post502_response.rb
|
397
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb
|
398
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response__links.rb
|
399
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information.rb
|
400
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb
|
401
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb
|
402
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_refund_post400_response.rb
|
403
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb
|
404
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response__links.rb
|
405
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_authorization_information.rb
|
406
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb
|
407
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb
|
408
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_reversals_post400_response.rb
|
409
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb
|
410
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb
|
411
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_voids_post400_response.rb
|
412
|
+
- lib/cybersource_rest_client/models/pts_v2_payouts_post400_response.rb
|
413
|
+
- lib/cybersource_rest_client/models/pts_v2_payouts_post_response.rb
|
513
414
|
- lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information.rb
|
514
415
|
- lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information_emv.rb
|
515
416
|
- lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb
|
@@ -595,10 +496,36 @@ files:
|
|
595
496
|
- lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb
|
596
497
|
- lib/cybersource_rest_client/models/refund_capture_request.rb
|
597
498
|
- lib/cybersource_rest_client/models/refund_payment_request.rb
|
499
|
+
- lib/cybersource_rest_client/models/reporting_v3_notificationof_changes_get200_response.rb
|
500
|
+
- lib/cybersource_rest_client/models/reporting_v3_notificationof_changes_get200_response_notification_of_changes.rb
|
501
|
+
- lib/cybersource_rest_client/models/reporting_v3_notificationof_changes_get400_response.rb
|
502
|
+
- lib/cybersource_rest_client/models/reporting_v3_notificationof_changes_get400_response_fields.rb
|
503
|
+
- lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response.rb
|
504
|
+
- lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response_report_definitions.rb
|
505
|
+
- lib/cybersource_rest_client/models/reporting_v3_report_definitions_name_get200_response.rb
|
506
|
+
- lib/cybersource_rest_client/models/reporting_v3_report_definitions_name_get200_response_attributes.rb
|
507
|
+
- lib/cybersource_rest_client/models/reporting_v3_report_subscriptions_get200_response.rb
|
508
|
+
- lib/cybersource_rest_client/models/reporting_v3_report_subscriptions_get200_response_report_preferences.rb
|
509
|
+
- lib/cybersource_rest_client/models/reporting_v3_report_subscriptions_get200_response_subscriptions.rb
|
510
|
+
- lib/cybersource_rest_client/models/reporting_v3_reports_get200_response.rb
|
511
|
+
- lib/cybersource_rest_client/models/reporting_v3_reports_get200_response_reports.rb
|
512
|
+
- lib/cybersource_rest_client/models/reporting_v3_reports_id_get200_response.rb
|
598
513
|
- lib/cybersource_rest_client/models/request_body.rb
|
599
514
|
- lib/cybersource_rest_client/models/request_body_1.rb
|
600
515
|
- lib/cybersource_rest_client/models/response_status.rb
|
601
516
|
- lib/cybersource_rest_client/models/response_status_details.rb
|
517
|
+
- lib/cybersource_rest_client/models/tms_v1_instrumentidentifiers_delete409_response.rb
|
518
|
+
- lib/cybersource_rest_client/models/tms_v1_instrumentidentifiers_delete409_response__links.rb
|
519
|
+
- lib/cybersource_rest_client/models/tms_v1_instrumentidentifiers_delete409_response__links_payment_instruments.rb
|
520
|
+
- lib/cybersource_rest_client/models/tms_v1_instrumentidentifiers_paymentinstruments_get200_response.rb
|
521
|
+
- lib/cybersource_rest_client/models/tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links.rb
|
522
|
+
- lib/cybersource_rest_client/models/tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_first.rb
|
523
|
+
- lib/cybersource_rest_client/models/tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_last.rb
|
524
|
+
- lib/cybersource_rest_client/models/tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_next.rb
|
525
|
+
- lib/cybersource_rest_client/models/tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_prev.rb
|
526
|
+
- lib/cybersource_rest_client/models/tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_self.rb
|
527
|
+
- lib/cybersource_rest_client/models/tms_v1_instrumentidentifiers_post200_response.rb
|
528
|
+
- lib/cybersource_rest_client/models/tms_v1_paymentinstruments_post201_response.rb
|
602
529
|
- lib/cybersource_rest_client/models/tmsv1instrumentidentifiers__links.rb
|
603
530
|
- lib/cybersource_rest_client/models/tmsv1instrumentidentifiers__links_self.rb
|
604
531
|
- lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_authorization_options_merchant_initiated_transaction.rb
|
@@ -623,6 +550,80 @@ files:
|
|
623
550
|
- lib/cybersource_rest_client/models/tokenize_parameters.rb
|
624
551
|
- lib/cybersource_rest_client/models/tokenize_request.rb
|
625
552
|
- lib/cybersource_rest_client/models/tokenize_result.rb
|
553
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb
|
554
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information.rb
|
555
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information_applications.rb
|
556
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb
|
557
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb
|
558
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb
|
559
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb
|
560
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_error_information.rb
|
561
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_fraud_marking_information.rb
|
562
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_installment_information.rb
|
563
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_defined_information.rb
|
564
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information.rb
|
565
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information_merchant_descriptor.rb
|
566
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information.rb
|
567
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb
|
568
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb
|
569
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb
|
570
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb
|
571
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb
|
572
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information.rb
|
573
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_account_features.rb
|
574
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb
|
575
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb
|
576
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate.rb
|
577
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb
|
578
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_invoice.rb
|
579
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type.rb
|
580
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb
|
581
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb
|
582
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb
|
583
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_bank_transfer_options.rb
|
584
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb
|
585
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_ach_verification.rb
|
586
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_card_verification.rb
|
587
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb
|
588
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_processor.rb
|
589
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information.rb
|
590
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_profile.rb
|
591
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_score.rb
|
592
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb
|
593
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb
|
594
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded.rb
|
595
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded__links.rb
|
596
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb
|
597
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb
|
598
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb
|
599
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb
|
600
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb
|
601
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information.rb
|
602
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb
|
603
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb
|
604
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information.rb
|
605
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb
|
606
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_payment_method.rb
|
607
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb
|
608
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb
|
609
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb
|
610
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processor_information.rb
|
611
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information.rb
|
612
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers.rb
|
613
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb
|
614
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb
|
615
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post400_response.rb
|
616
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post_response.rb
|
617
|
+
- lib/cybersource_rest_client/models/ums_v1_users_get200_response.rb
|
618
|
+
- lib/cybersource_rest_client/models/ums_v1_users_get200_response_account_information.rb
|
619
|
+
- lib/cybersource_rest_client/models/ums_v1_users_get200_response_contact_information.rb
|
620
|
+
- lib/cybersource_rest_client/models/ums_v1_users_get200_response_organization_information.rb
|
621
|
+
- lib/cybersource_rest_client/models/ums_v1_users_get200_response_users.rb
|
622
|
+
- lib/cybersource_rest_client/models/v1_file_details_get200_response.rb
|
623
|
+
- lib/cybersource_rest_client/models/v1_file_details_get200_response__links.rb
|
624
|
+
- lib/cybersource_rest_client/models/v1_file_details_get200_response__links_files.rb
|
625
|
+
- lib/cybersource_rest_client/models/v1_file_details_get200_response__links_self.rb
|
626
|
+
- lib/cybersource_rest_client/models/v1_file_details_get200_response_file_details.rb
|
626
627
|
- lib/cybersource_rest_client/models/void_capture_request.rb
|
627
628
|
- lib/cybersource_rest_client/models/void_credit_request.rb
|
628
629
|
- lib/cybersource_rest_client/models/void_payment_request.rb
|
@@ -1,202 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#CyberSource Flex API
|
3
|
-
|
4
|
-
#Simple PAN tokenization service
|
5
|
-
|
6
|
-
OpenAPI spec version: 0.0.1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.2.3
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'date'
|
14
|
-
|
15
|
-
module CyberSource
|
16
|
-
class InlineResponse4008
|
17
|
-
attr_accessor :type
|
18
|
-
|
19
|
-
# The detailed message related to the type stated above.
|
20
|
-
attr_accessor :message
|
21
|
-
|
22
|
-
attr_accessor :details
|
23
|
-
|
24
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
25
|
-
def self.attribute_map
|
26
|
-
{
|
27
|
-
:'type' => :'type',
|
28
|
-
:'message' => :'message',
|
29
|
-
:'details' => :'details'
|
30
|
-
}
|
31
|
-
end
|
32
|
-
|
33
|
-
# Attribute type mapping.
|
34
|
-
def self.swagger_types
|
35
|
-
{
|
36
|
-
:'type' => :'String',
|
37
|
-
:'message' => :'String',
|
38
|
-
:'details' => :'Tmsv1instrumentidentifiersDetails'
|
39
|
-
}
|
40
|
-
end
|
41
|
-
|
42
|
-
# Initializes the object
|
43
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
44
|
-
def initialize(attributes = {})
|
45
|
-
return unless attributes.is_a?(Hash)
|
46
|
-
|
47
|
-
# convert string to symbol for hash key
|
48
|
-
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
49
|
-
|
50
|
-
if attributes.has_key?(:'type')
|
51
|
-
self.type = attributes[:'type']
|
52
|
-
end
|
53
|
-
|
54
|
-
if attributes.has_key?(:'message')
|
55
|
-
self.message = attributes[:'message']
|
56
|
-
end
|
57
|
-
|
58
|
-
if attributes.has_key?(:'details')
|
59
|
-
self.details = attributes[:'details']
|
60
|
-
end
|
61
|
-
end
|
62
|
-
|
63
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
64
|
-
# @return Array for valid properties with the reasons
|
65
|
-
def list_invalid_properties
|
66
|
-
invalid_properties = Array.new
|
67
|
-
invalid_properties
|
68
|
-
end
|
69
|
-
|
70
|
-
# Check to see if the all the properties in the model are valid
|
71
|
-
# @return true if the model is valid
|
72
|
-
def valid?
|
73
|
-
true
|
74
|
-
end
|
75
|
-
|
76
|
-
# Checks equality by comparing each attribute.
|
77
|
-
# @param [Object] Object to be compared
|
78
|
-
def ==(o)
|
79
|
-
return true if self.equal?(o)
|
80
|
-
self.class == o.class &&
|
81
|
-
type == o.type &&
|
82
|
-
message == o.message &&
|
83
|
-
details == o.details
|
84
|
-
end
|
85
|
-
|
86
|
-
# @see the `==` method
|
87
|
-
# @param [Object] Object to be compared
|
88
|
-
def eql?(o)
|
89
|
-
self == o
|
90
|
-
end
|
91
|
-
|
92
|
-
# Calculates hash code according to all attributes.
|
93
|
-
# @return [Fixnum] Hash code
|
94
|
-
def hash
|
95
|
-
[type, message, details].hash
|
96
|
-
end
|
97
|
-
|
98
|
-
# Builds the object from hash
|
99
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
100
|
-
# @return [Object] Returns the model itself
|
101
|
-
def build_from_hash(attributes)
|
102
|
-
return nil unless attributes.is_a?(Hash)
|
103
|
-
self.class.swagger_types.each_pair do |key, type|
|
104
|
-
if type =~ /\AArray<(.*)>/i
|
105
|
-
# check to ensure the input is an array given that the the attribute
|
106
|
-
# is documented as an array but the input is not
|
107
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
108
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
109
|
-
end
|
110
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
111
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
112
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
113
|
-
end
|
114
|
-
|
115
|
-
self
|
116
|
-
end
|
117
|
-
|
118
|
-
# Deserializes the data based on type
|
119
|
-
# @param string type Data type
|
120
|
-
# @param string value Value to be deserialized
|
121
|
-
# @return [Object] Deserialized data
|
122
|
-
def _deserialize(type, value)
|
123
|
-
case type.to_sym
|
124
|
-
when :DateTime
|
125
|
-
DateTime.parse(value)
|
126
|
-
when :Date
|
127
|
-
Date.parse(value)
|
128
|
-
when :String
|
129
|
-
value.to_s
|
130
|
-
when :Integer
|
131
|
-
value.to_i
|
132
|
-
when :Float
|
133
|
-
value.to_f
|
134
|
-
when :BOOLEAN
|
135
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
136
|
-
true
|
137
|
-
else
|
138
|
-
false
|
139
|
-
end
|
140
|
-
when :Object
|
141
|
-
# generic object (usually a Hash), return directly
|
142
|
-
value
|
143
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
144
|
-
inner_type = Regexp.last_match[:inner_type]
|
145
|
-
value.map { |v| _deserialize(inner_type, v) }
|
146
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
147
|
-
k_type = Regexp.last_match[:k_type]
|
148
|
-
v_type = Regexp.last_match[:v_type]
|
149
|
-
{}.tap do |hash|
|
150
|
-
value.each do |k, v|
|
151
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
152
|
-
end
|
153
|
-
end
|
154
|
-
else # model
|
155
|
-
temp_model = CyberSource.const_get(type).new
|
156
|
-
temp_model.build_from_hash(value)
|
157
|
-
end
|
158
|
-
end
|
159
|
-
|
160
|
-
# Returns the string representation of the object
|
161
|
-
# @return [String] String presentation of the object
|
162
|
-
def to_s
|
163
|
-
to_hash.to_s
|
164
|
-
end
|
165
|
-
|
166
|
-
# to_body is an alias to to_hash (backward compatibility)
|
167
|
-
# @return [Hash] Returns the object in the form of hash
|
168
|
-
def to_body
|
169
|
-
to_hash
|
170
|
-
end
|
171
|
-
|
172
|
-
# Returns the object in the form of hash
|
173
|
-
# @return [Hash] Returns the object in the form of hash
|
174
|
-
def to_hash
|
175
|
-
hash = {}
|
176
|
-
self.class.attribute_map.each_pair do |attr, param|
|
177
|
-
value = self.send(attr)
|
178
|
-
next if value.nil?
|
179
|
-
hash[param] = _to_hash(value)
|
180
|
-
end
|
181
|
-
hash
|
182
|
-
end
|
183
|
-
|
184
|
-
# Outputs non-array value in the form of hash
|
185
|
-
# For object, use to_hash. Otherwise, just return the value
|
186
|
-
# @param [Object] value Any valid value
|
187
|
-
# @return [Hash] Returns the value in the form of hash
|
188
|
-
def _to_hash(value)
|
189
|
-
if value.is_a?(Array)
|
190
|
-
value.compact.map { |v| _to_hash(v) }
|
191
|
-
elsif value.is_a?(Hash)
|
192
|
-
{}.tap do |hash|
|
193
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
194
|
-
end
|
195
|
-
elsif value.respond_to? :to_hash
|
196
|
-
value.to_hash
|
197
|
-
else
|
198
|
-
value
|
199
|
-
end
|
200
|
-
end
|
201
|
-
end
|
202
|
-
end
|