cybersource_rest_client 0.0.5 → 0.0.6
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/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
@@ -48,6 +48,7 @@ module CyberSource
|
|
48
48
|
|
49
49
|
# query parameters
|
50
50
|
query_params = {}
|
51
|
+
|
51
52
|
# header parameters
|
52
53
|
header_params = {}
|
53
54
|
# HTTP header 'Accept' (if needed)
|
@@ -77,7 +78,7 @@ module CyberSource
|
|
77
78
|
# @param report_id Valid Report Id
|
78
79
|
# @param [Hash] opts the optional parameters
|
79
80
|
# @option opts [String] :organization_id Valid Cybersource Organization Id
|
80
|
-
# @return [
|
81
|
+
# @return [ReportingV3ReportsIdGet200Response]
|
81
82
|
def get_report_by_report_id(report_id, opts = {})
|
82
83
|
data, _status_code, _headers = get_report_by_report_id_with_http_info(report_id, opts)
|
83
84
|
return data, _status_code, _headers
|
@@ -88,7 +89,7 @@ module CyberSource
|
|
88
89
|
# @param report_id Valid Report Id
|
89
90
|
# @param [Hash] opts the optional parameters
|
90
91
|
# @option opts [String] :organization_id Valid Cybersource Organization Id
|
91
|
-
# @return [Array<(
|
92
|
+
# @return [Array<(ReportingV3ReportsIdGet200Response, Fixnum, Hash)>] ReportingV3ReportsIdGet200Response data, response status code and response headers
|
92
93
|
def get_report_by_report_id_with_http_info(report_id, opts = {})
|
93
94
|
if @api_client.config.debugging
|
94
95
|
@api_client.config.logger.debug 'Calling API: ReportsApi.get_report_by_report_id ...'
|
@@ -135,7 +136,7 @@ module CyberSource
|
|
135
136
|
:form_params => form_params,
|
136
137
|
:body => post_body,
|
137
138
|
:auth_names => auth_names,
|
138
|
-
:return_type => '
|
139
|
+
:return_type => 'ReportingV3ReportsIdGet200Response')
|
139
140
|
if @api_client.config.debugging
|
140
141
|
@api_client.config.logger.debug "API called: ReportsApi#get_report_by_report_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
141
142
|
end
|
@@ -153,7 +154,7 @@ module CyberSource
|
|
153
154
|
# @option opts [String] :report_name Valid Report Name
|
154
155
|
# @option opts [Integer] :report_definition_id Valid Report Definition Id
|
155
156
|
# @option opts [String] :report_status Valid Report Status
|
156
|
-
# @return [
|
157
|
+
# @return [ReportingV3ReportsGet200Response]
|
157
158
|
def search_reports(start_time, end_time, time_query_type, opts = {})
|
158
159
|
data, _status_code, _headers = search_reports_with_http_info(start_time, end_time, time_query_type, opts)
|
159
160
|
return data, _status_code, _headers
|
@@ -171,7 +172,7 @@ module CyberSource
|
|
171
172
|
# @option opts [String] :report_name Valid Report Name
|
172
173
|
# @option opts [Integer] :report_definition_id Valid Report Definition Id
|
173
174
|
# @option opts [String] :report_status Valid Report Status
|
174
|
-
# @return [Array<(
|
175
|
+
# @return [Array<(ReportingV3ReportsGet200Response, Fixnum, Hash)>] ReportingV3ReportsGet200Response data, response status code and response headers
|
175
176
|
def search_reports_with_http_info(start_time, end_time, time_query_type, opts = {})
|
176
177
|
if @api_client.config.debugging
|
177
178
|
@api_client.config.logger.debug 'Calling API: ReportsApi.search_reports ...'
|
@@ -247,7 +248,7 @@ module CyberSource
|
|
247
248
|
:form_params => form_params,
|
248
249
|
:body => post_body,
|
249
250
|
:auth_names => auth_names,
|
250
|
-
:return_type => '
|
251
|
+
:return_type => 'ReportingV3ReportsGet200Response')
|
251
252
|
if @api_client.config.debugging
|
252
253
|
@api_client.config.logger.debug "API called: ReportsApi#search_reports\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
253
254
|
end
|
@@ -25,7 +25,7 @@ module CyberSource
|
|
25
25
|
# @param id The payment ID returned from a previous payment request.
|
26
26
|
# @param auth_reversal_request
|
27
27
|
# @param [Hash] opts the optional parameters
|
28
|
-
# @return [
|
28
|
+
# @return [PtsV2PaymentsReversalsPost201Response]
|
29
29
|
def auth_reversal(id, auth_reversal_request, opts = {})
|
30
30
|
data, _status_code, _headers = auth_reversal_with_http_info(id, auth_reversal_request, opts)
|
31
31
|
return data, _status_code, _headers
|
@@ -36,7 +36,7 @@ module CyberSource
|
|
36
36
|
# @param id The payment ID returned from a previous payment request.
|
37
37
|
# @param auth_reversal_request
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @return [Array<(
|
39
|
+
# @return [Array<(PtsV2PaymentsReversalsPost201Response, Fixnum, Hash)>] PtsV2PaymentsReversalsPost201Response data, response status code and response headers
|
40
40
|
def auth_reversal_with_http_info(id, auth_reversal_request, opts = {})
|
41
41
|
if @api_client.config.debugging
|
42
42
|
@api_client.config.logger.debug 'Calling API: ReversalApi.auth_reversal ...'
|
@@ -60,7 +60,7 @@ module CyberSource
|
|
60
60
|
# HTTP header 'Accept' (if needed)
|
61
61
|
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
|
62
62
|
# HTTP header 'Content-Type'
|
63
|
-
|
63
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
64
64
|
|
65
65
|
# form parameters
|
66
66
|
form_params = {}
|
@@ -74,7 +74,7 @@ module CyberSource
|
|
74
74
|
:form_params => form_params,
|
75
75
|
:body => post_body,
|
76
76
|
:auth_names => auth_names,
|
77
|
-
:return_type => '
|
77
|
+
:return_type => 'PtsV2PaymentsReversalsPost201Response')
|
78
78
|
if @api_client.config.debugging
|
79
79
|
@api_client.config.logger.debug "API called: ReversalApi#auth_reversal\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
80
80
|
end
|
@@ -24,7 +24,7 @@ module CyberSource
|
|
24
24
|
# Create a search request.
|
25
25
|
# @param create_search_request
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
-
# @return [
|
27
|
+
# @return [TssV2TransactionsPost201Response]
|
28
28
|
def create_search(create_search_request, opts = {})
|
29
29
|
data, _status_code, _headers = create_search_with_http_info(create_search_request, opts)
|
30
30
|
return data, _status_code, _headers
|
@@ -34,7 +34,7 @@ module CyberSource
|
|
34
34
|
# Create a search request.
|
35
35
|
# @param create_search_request
|
36
36
|
# @param [Hash] opts the optional parameters
|
37
|
-
# @return [Array<(
|
37
|
+
# @return [Array<(TssV2TransactionsPost201Response, Fixnum, Hash)>] TssV2TransactionsPost201Response data, response status code and response headers
|
38
38
|
def create_search_with_http_info(create_search_request, opts = {})
|
39
39
|
if @api_client.config.debugging
|
40
40
|
@api_client.config.logger.debug 'Calling API: SearchTransactionsApi.create_search ...'
|
@@ -68,7 +68,7 @@ module CyberSource
|
|
68
68
|
:form_params => form_params,
|
69
69
|
:body => post_body,
|
70
70
|
:auth_names => auth_names,
|
71
|
-
:return_type => '
|
71
|
+
:return_type => 'TssV2TransactionsPost201Response')
|
72
72
|
if @api_client.config.debugging
|
73
73
|
@api_client.config.logger.debug "API called: SearchTransactionsApi#create_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
74
74
|
end
|
@@ -78,7 +78,7 @@ module CyberSource
|
|
78
78
|
# Include the Search ID in the GET request to retrieve the search results.
|
79
79
|
# @param id Search ID.
|
80
80
|
# @param [Hash] opts the optional parameters
|
81
|
-
# @return [
|
81
|
+
# @return [TssV2TransactionsPost201Response]
|
82
82
|
def get_search(id, opts = {})
|
83
83
|
data, _status_code, _headers = get_search_with_http_info(id, opts)
|
84
84
|
return data, _status_code, _headers
|
@@ -88,7 +88,7 @@ module CyberSource
|
|
88
88
|
# Include the Search ID in the GET request to retrieve the search results.
|
89
89
|
# @param id Search ID.
|
90
90
|
# @param [Hash] opts the optional parameters
|
91
|
-
# @return [Array<(
|
91
|
+
# @return [Array<(TssV2TransactionsPost201Response, Fixnum, Hash)>] TssV2TransactionsPost201Response data, response status code and response headers
|
92
92
|
def get_search_with_http_info(id, opts = {})
|
93
93
|
if @api_client.config.debugging
|
94
94
|
@api_client.config.logger.debug 'Calling API: SearchTransactionsApi.get_search ...'
|
@@ -122,7 +122,7 @@ module CyberSource
|
|
122
122
|
:form_params => form_params,
|
123
123
|
:body => post_body,
|
124
124
|
:auth_names => auth_names,
|
125
|
-
:return_type => '
|
125
|
+
:return_type => 'TssV2TransactionsPost201Response')
|
126
126
|
if @api_client.config.debugging
|
127
127
|
@api_client.config.logger.debug "API called: SearchTransactionsApi#get_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
128
128
|
end
|
@@ -94,7 +94,7 @@ module CyberSource
|
|
94
94
|
# @param end_date Valid end date in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd
|
95
95
|
# @param [Hash] opts the optional parameters
|
96
96
|
# @option opts [String] :organization_id Valid Cybersource Organization Id
|
97
|
-
# @return [
|
97
|
+
# @return [V1FileDetailsGet200Response]
|
98
98
|
def get_file_details(start_date, end_date, opts = {})
|
99
99
|
data, _status_code, _headers = get_file_details_with_http_info(start_date, end_date, opts)
|
100
100
|
return data, _status_code, _headers
|
@@ -106,7 +106,7 @@ module CyberSource
|
|
106
106
|
# @param end_date Valid end date in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd
|
107
107
|
# @param [Hash] opts the optional parameters
|
108
108
|
# @option opts [String] :organization_id Valid Cybersource Organization Id
|
109
|
-
# @return [Array<(
|
109
|
+
# @return [Array<(V1FileDetailsGet200Response, Fixnum, Hash)>] V1FileDetailsGet200Response data, response status code and response headers
|
110
110
|
def get_file_details_with_http_info(start_date, end_date, opts = {})
|
111
111
|
if @api_client.config.debugging
|
112
112
|
@api_client.config.logger.debug 'Calling API: SecureFileShareApi.get_file_details ...'
|
@@ -159,7 +159,7 @@ module CyberSource
|
|
159
159
|
:form_params => form_params,
|
160
160
|
:body => post_body,
|
161
161
|
:auth_names => auth_names,
|
162
|
-
:return_type => '
|
162
|
+
:return_type => 'V1FileDetailsGet200Response')
|
163
163
|
if @api_client.config.debugging
|
164
164
|
@api_client.config.logger.debug "API called: SecureFileShareApi#get_file_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
165
165
|
end
|
@@ -25,7 +25,7 @@ module CyberSource
|
|
25
25
|
# @param start_time Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ
|
26
26
|
# @param end_time Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ
|
27
27
|
# @param [Hash] opts the optional parameters
|
28
|
-
# @return [
|
28
|
+
# @return [PtsV1TransactionBatchesGet200Response]
|
29
29
|
def pts_v1_transaction_batches_get(start_time, end_time, opts = {})
|
30
30
|
data, _status_code, _headers = pts_v1_transaction_batches_get_with_http_info(start_time, end_time, opts)
|
31
31
|
return data, _status_code, _headers
|
@@ -36,7 +36,7 @@ module CyberSource
|
|
36
36
|
# @param start_time Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ
|
37
37
|
# @param end_time Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @return [Array<(
|
39
|
+
# @return [Array<(PtsV1TransactionBatchesGet200Response, Fixnum, Hash)>] PtsV1TransactionBatchesGet200Response data, response status code and response headers
|
40
40
|
def pts_v1_transaction_batches_get_with_http_info(start_time, end_time, opts = {})
|
41
41
|
if @api_client.config.debugging
|
42
42
|
@api_client.config.logger.debug 'Calling API: TransactionBatchesApi.pts_v1_transaction_batches_get ...'
|
@@ -50,7 +50,7 @@ module CyberSource
|
|
50
50
|
fail ArgumentError, "Missing the required parameter 'end_time' when calling TransactionBatchesApi.pts_v1_transaction_batches_get"
|
51
51
|
end
|
52
52
|
# resource path
|
53
|
-
local_var_path = 'pts/v1/transaction-batches
|
53
|
+
local_var_path = 'pts/v1/transaction-batches'
|
54
54
|
|
55
55
|
# query parameters
|
56
56
|
query_params = {}
|
@@ -76,7 +76,7 @@ module CyberSource
|
|
76
76
|
:form_params => form_params,
|
77
77
|
:body => post_body,
|
78
78
|
:auth_names => auth_names,
|
79
|
-
:return_type => '
|
79
|
+
:return_type => 'PtsV1TransactionBatchesGet200Response')
|
80
80
|
if @api_client.config.debugging
|
81
81
|
@api_client.config.logger.debug "API called: TransactionBatchesApi#pts_v1_transaction_batches_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
82
82
|
end
|
@@ -24,7 +24,7 @@ module CyberSource
|
|
24
24
|
# Include the Request ID in the GET request to retrieve the transaction details.
|
25
25
|
# @param id Request ID.
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
-
# @return [
|
27
|
+
# @return [TssV2TransactionsGet200Response]
|
28
28
|
def get_transaction(id, opts = {})
|
29
29
|
data, _status_code, _headers = get_transaction_with_http_info(id, opts)
|
30
30
|
return data, _status_code, _headers
|
@@ -34,7 +34,7 @@ module CyberSource
|
|
34
34
|
# Include the Request ID in the GET request to retrieve the transaction details.
|
35
35
|
# @param id Request ID.
|
36
36
|
# @param [Hash] opts the optional parameters
|
37
|
-
# @return [Array<(
|
37
|
+
# @return [Array<(TssV2TransactionsGet200Response, Fixnum, Hash)>] TssV2TransactionsGet200Response data, response status code and response headers
|
38
38
|
def get_transaction_with_http_info(id, opts = {})
|
39
39
|
if @api_client.config.debugging
|
40
40
|
@api_client.config.logger.debug 'Calling API: TransactionDetailsApi.get_transaction ...'
|
@@ -68,7 +68,7 @@ module CyberSource
|
|
68
68
|
:form_params => form_params,
|
69
69
|
:body => post_body,
|
70
70
|
:auth_names => auth_names,
|
71
|
-
:return_type => '
|
71
|
+
:return_type => 'TssV2TransactionsGet200Response')
|
72
72
|
if @api_client.config.debugging
|
73
73
|
@api_client.config.logger.debug "API called: TransactionDetailsApi#get_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
74
74
|
end
|
@@ -16,7 +16,7 @@ module CyberSource
|
|
16
16
|
class UserManagementApi
|
17
17
|
attr_accessor :api_client
|
18
18
|
|
19
|
-
def initialize(api_client = ApiClient.default,config)
|
19
|
+
def initialize(api_client = ApiClient.default, config)
|
20
20
|
@api_client = api_client
|
21
21
|
@api_client.set_configuration(config)
|
22
22
|
end
|
@@ -27,7 +27,7 @@ module CyberSource
|
|
27
27
|
# @option opts [String] :user_name User ID of the user you want to get details on.
|
28
28
|
# @option opts [String] :permission_id permission that you are trying to search user on.
|
29
29
|
# @option opts [String] :role_id role of the user you are trying to search on.
|
30
|
-
# @return [
|
30
|
+
# @return [UmsV1UsersGet200Response]
|
31
31
|
def get_users(opts = {})
|
32
32
|
data, _status_code, _headers = get_users_with_http_info(opts)
|
33
33
|
return data, _status_code, _headers
|
@@ -40,7 +40,7 @@ module CyberSource
|
|
40
40
|
# @option opts [String] :user_name User ID of the user you want to get details on.
|
41
41
|
# @option opts [String] :permission_id permission that you are trying to search user on.
|
42
42
|
# @option opts [String] :role_id role of the user you are trying to search on.
|
43
|
-
# @return [Array<(
|
43
|
+
# @return [Array<(UmsV1UsersGet200Response, Fixnum, Hash)>] UmsV1UsersGet200Response data, response status code and response headers
|
44
44
|
def get_users_with_http_info(opts = {})
|
45
45
|
if @api_client.config.debugging
|
46
46
|
@api_client.config.logger.debug 'Calling API: UserManagementApi.get_users ...'
|
@@ -74,7 +74,7 @@ module CyberSource
|
|
74
74
|
:form_params => form_params,
|
75
75
|
:body => post_body,
|
76
76
|
:auth_names => auth_names,
|
77
|
-
:return_type => '
|
77
|
+
:return_type => 'UmsV1UsersGet200Response')
|
78
78
|
if @api_client.config.debugging
|
79
79
|
@api_client.config.logger.debug "API called: UserManagementApi#get_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
80
80
|
end
|
@@ -25,7 +25,7 @@ module CyberSource
|
|
25
25
|
# @param void_capture_request
|
26
26
|
# @param id The capture ID returned from a previous capture request.
|
27
27
|
# @param [Hash] opts the optional parameters
|
28
|
-
# @return [
|
28
|
+
# @return [PtsV2PaymentsVoidsPost201Response]
|
29
29
|
def void_capture(void_capture_request, id, opts = {})
|
30
30
|
data, _status_code, _headers = void_capture_with_http_info(void_capture_request, id, opts)
|
31
31
|
return data, _status_code, _headers
|
@@ -36,7 +36,7 @@ module CyberSource
|
|
36
36
|
# @param void_capture_request
|
37
37
|
# @param id The capture ID returned from a previous capture request.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @return [Array<(
|
39
|
+
# @return [Array<(PtsV2PaymentsVoidsPost201Response, Fixnum, Hash)>] PtsV2PaymentsVoidsPost201Response data, response status code and response headers
|
40
40
|
def void_capture_with_http_info(void_capture_request, id, opts = {})
|
41
41
|
if @api_client.config.debugging
|
42
42
|
@api_client.config.logger.debug 'Calling API: VoidApi.void_capture ...'
|
@@ -74,7 +74,7 @@ module CyberSource
|
|
74
74
|
:form_params => form_params,
|
75
75
|
:body => post_body,
|
76
76
|
:auth_names => auth_names,
|
77
|
-
:return_type => '
|
77
|
+
:return_type => 'PtsV2PaymentsVoidsPost201Response')
|
78
78
|
if @api_client.config.debugging
|
79
79
|
@api_client.config.logger.debug "API called: VoidApi#void_capture\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
80
80
|
end
|
@@ -85,7 +85,7 @@ module CyberSource
|
|
85
85
|
# @param void_credit_request
|
86
86
|
# @param id The credit ID returned from a previous credit request.
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
|
-
# @return [
|
88
|
+
# @return [PtsV2PaymentsVoidsPost201Response]
|
89
89
|
def void_credit(void_credit_request, id, opts = {})
|
90
90
|
data, _status_code, _headers = void_credit_with_http_info(void_credit_request, id, opts)
|
91
91
|
return data, _status_code, _headers
|
@@ -96,7 +96,7 @@ module CyberSource
|
|
96
96
|
# @param void_credit_request
|
97
97
|
# @param id The credit ID returned from a previous credit request.
|
98
98
|
# @param [Hash] opts the optional parameters
|
99
|
-
# @return [Array<(
|
99
|
+
# @return [Array<(PtsV2PaymentsVoidsPost201Response, Fixnum, Hash)>] PtsV2PaymentsVoidsPost201Response data, response status code and response headers
|
100
100
|
def void_credit_with_http_info(void_credit_request, id, opts = {})
|
101
101
|
if @api_client.config.debugging
|
102
102
|
@api_client.config.logger.debug 'Calling API: VoidApi.void_credit ...'
|
@@ -134,7 +134,7 @@ module CyberSource
|
|
134
134
|
:form_params => form_params,
|
135
135
|
:body => post_body,
|
136
136
|
:auth_names => auth_names,
|
137
|
-
:return_type => '
|
137
|
+
:return_type => 'PtsV2PaymentsVoidsPost201Response')
|
138
138
|
if @api_client.config.debugging
|
139
139
|
@api_client.config.logger.debug "API called: VoidApi#void_credit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
140
140
|
end
|
@@ -145,7 +145,7 @@ module CyberSource
|
|
145
145
|
# @param void_payment_request
|
146
146
|
# @param id The payment ID returned from a previous payment request.
|
147
147
|
# @param [Hash] opts the optional parameters
|
148
|
-
# @return [
|
148
|
+
# @return [PtsV2PaymentsVoidsPost201Response]
|
149
149
|
def void_payment(void_payment_request, id, opts = {})
|
150
150
|
data, _status_code, _headers = void_payment_with_http_info(void_payment_request, id, opts)
|
151
151
|
return data, _status_code, _headers
|
@@ -156,7 +156,7 @@ module CyberSource
|
|
156
156
|
# @param void_payment_request
|
157
157
|
# @param id The payment ID returned from a previous payment request.
|
158
158
|
# @param [Hash] opts the optional parameters
|
159
|
-
# @return [Array<(
|
159
|
+
# @return [Array<(PtsV2PaymentsVoidsPost201Response, Fixnum, Hash)>] PtsV2PaymentsVoidsPost201Response data, response status code and response headers
|
160
160
|
def void_payment_with_http_info(void_payment_request, id, opts = {})
|
161
161
|
if @api_client.config.debugging
|
162
162
|
@api_client.config.logger.debug 'Calling API: VoidApi.void_payment ...'
|
@@ -194,7 +194,7 @@ module CyberSource
|
|
194
194
|
:form_params => form_params,
|
195
195
|
:body => post_body,
|
196
196
|
:auth_names => auth_names,
|
197
|
-
:return_type => '
|
197
|
+
:return_type => 'PtsV2PaymentsVoidsPost201Response')
|
198
198
|
if @api_client.config.debugging
|
199
199
|
@api_client.config.logger.debug "API called: VoidApi#void_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
200
200
|
end
|
@@ -205,7 +205,7 @@ module CyberSource
|
|
205
205
|
# @param void_refund_request
|
206
206
|
# @param id The refund ID returned from a previous refund request.
|
207
207
|
# @param [Hash] opts the optional parameters
|
208
|
-
# @return [
|
208
|
+
# @return [PtsV2PaymentsVoidsPost201Response]
|
209
209
|
def void_refund(void_refund_request, id, opts = {})
|
210
210
|
data, _status_code, _headers = void_refund_with_http_info(void_refund_request, id, opts)
|
211
211
|
return data, _status_code, _headers
|
@@ -216,7 +216,7 @@ module CyberSource
|
|
216
216
|
# @param void_refund_request
|
217
217
|
# @param id The refund ID returned from a previous refund request.
|
218
218
|
# @param [Hash] opts the optional parameters
|
219
|
-
# @return [Array<(
|
219
|
+
# @return [Array<(PtsV2PaymentsVoidsPost201Response, Fixnum, Hash)>] PtsV2PaymentsVoidsPost201Response data, response status code and response headers
|
220
220
|
def void_refund_with_http_info(void_refund_request, id, opts = {})
|
221
221
|
if @api_client.config.debugging
|
222
222
|
@api_client.config.logger.debug 'Calling API: VoidApi.void_refund ...'
|
@@ -254,7 +254,7 @@ module CyberSource
|
|
254
254
|
:form_params => form_params,
|
255
255
|
:body => post_body,
|
256
256
|
:auth_names => auth_names,
|
257
|
-
:return_type => '
|
257
|
+
:return_type => 'PtsV2PaymentsVoidsPost201Response')
|
258
258
|
if @api_client.config.debugging
|
259
259
|
@api_client.config.logger.debug "API called: VoidApi#void_refund\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
260
260
|
end
|
@@ -127,7 +127,7 @@ module CyberSource
|
|
127
127
|
download_file(request) if opts[:return_type] == 'File'
|
128
128
|
request
|
129
129
|
end
|
130
|
-
|
130
|
+
# set merchantConfig
|
131
131
|
def set_configuration(config)
|
132
132
|
require_relative '../../AuthenticationSDK/core/Merchantconfig.rb'
|
133
133
|
$merchantconfig_obj = Merchantconfig.new(config)
|
data/lib/cybersource_rest_client/models/{inline_response_200.rb → flex_v1_keys_post200_response.rb}
RENAMED
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
class
|
16
|
+
class FlexV1KeysPost200Response
|
17
17
|
# Unique identifier for the generated token. Used in the subsequent Tokenize Card request from your customer’s device or browser.
|
18
18
|
attr_accessor :key_id
|
19
19
|
|
@@ -34,8 +34,8 @@ module CyberSource
|
|
34
34
|
def self.swagger_types
|
35
35
|
{
|
36
36
|
:'key_id' => :'String',
|
37
|
-
:'der' => :'
|
38
|
-
:'jwk' => :'
|
37
|
+
:'der' => :'FlexV1KeysPost200ResponseDer',
|
38
|
+
:'jwk' => :'FlexV1KeysPost200ResponseJwk'
|
39
39
|
}
|
40
40
|
end
|
41
41
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
# The public key in DER format. Used to validate the response from the Tokenize Card request. Additionally this format is useful for client side encryption in Android and iOS implementations.
|
17
|
-
class
|
17
|
+
class FlexV1KeysPost200ResponseDer
|
18
18
|
# Specifies the format of the public key; currently X.509.
|
19
19
|
attr_accessor :format
|
20
20
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
# The public key in JSON Web Key (JWK) format. This format is useful for client side encryption in JavaScript based implementations.
|
17
|
-
class
|
17
|
+
class FlexV1KeysPost200ResponseJwk
|
18
18
|
# Algorithm used to encrypt the public key.
|
19
19
|
attr_accessor :kty
|
20
20
|
|
@@ -14,48 +14,17 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class InlineResponse400
|
17
|
-
|
18
|
-
attr_accessor :submit_time_utc
|
17
|
+
attr_accessor :type
|
19
18
|
|
20
|
-
# The
|
21
|
-
attr_accessor :status
|
22
|
-
|
23
|
-
# The reason of the status.
|
24
|
-
attr_accessor :reason
|
25
|
-
|
26
|
-
# The detail message related to the status and reason listed above.
|
19
|
+
# The detailed message related to the type stated above.
|
27
20
|
attr_accessor :message
|
28
21
|
|
29
22
|
attr_accessor :details
|
30
23
|
|
31
|
-
class EnumAttributeValidator
|
32
|
-
attr_reader :datatype
|
33
|
-
attr_reader :allowable_values
|
34
|
-
|
35
|
-
def initialize(datatype, allowable_values)
|
36
|
-
@allowable_values = allowable_values.map do |value|
|
37
|
-
case datatype.to_s
|
38
|
-
when /Integer/i
|
39
|
-
value.to_i
|
40
|
-
when /Float/i
|
41
|
-
value.to_f
|
42
|
-
else
|
43
|
-
value
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
def valid?(value)
|
49
|
-
!value || allowable_values.include?(value)
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
54
25
|
def self.attribute_map
|
55
26
|
{
|
56
|
-
:'
|
57
|
-
:'status' => :'status',
|
58
|
-
:'reason' => :'reason',
|
27
|
+
:'type' => :'type',
|
59
28
|
:'message' => :'message',
|
60
29
|
:'details' => :'details'
|
61
30
|
}
|
@@ -64,11 +33,9 @@ module CyberSource
|
|
64
33
|
# Attribute type mapping.
|
65
34
|
def self.swagger_types
|
66
35
|
{
|
67
|
-
:'
|
68
|
-
:'status' => :'String',
|
69
|
-
:'reason' => :'String',
|
36
|
+
:'type' => :'String',
|
70
37
|
:'message' => :'String',
|
71
|
-
:'details' => :'
|
38
|
+
:'details' => :'Tmsv1instrumentidentifiersDetails'
|
72
39
|
}
|
73
40
|
end
|
74
41
|
|
@@ -80,16 +47,8 @@ module CyberSource
|
|
80
47
|
# convert string to symbol for hash key
|
81
48
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
82
49
|
|
83
|
-
if attributes.has_key?(:'
|
84
|
-
self.
|
85
|
-
end
|
86
|
-
|
87
|
-
if attributes.has_key?(:'status')
|
88
|
-
self.status = attributes[:'status']
|
89
|
-
end
|
90
|
-
|
91
|
-
if attributes.has_key?(:'reason')
|
92
|
-
self.reason = attributes[:'reason']
|
50
|
+
if attributes.has_key?(:'type')
|
51
|
+
self.type = attributes[:'type']
|
93
52
|
end
|
94
53
|
|
95
54
|
if attributes.has_key?(:'message')
|
@@ -97,9 +56,7 @@ module CyberSource
|
|
97
56
|
end
|
98
57
|
|
99
58
|
if attributes.has_key?(:'details')
|
100
|
-
|
101
|
-
self.details = value
|
102
|
-
end
|
59
|
+
self.details = attributes[:'details']
|
103
60
|
end
|
104
61
|
end
|
105
62
|
|
@@ -113,41 +70,15 @@ module CyberSource
|
|
113
70
|
# Check to see if the all the properties in the model are valid
|
114
71
|
# @return true if the model is valid
|
115
72
|
def valid?
|
116
|
-
status_validator = EnumAttributeValidator.new('String', ['INVALID_REQUEST'])
|
117
|
-
return false unless status_validator.valid?(@status)
|
118
|
-
reason_validator = EnumAttributeValidator.new('String', ['MISSING_FIELD', 'INVALID_DATA', 'DUPLICATE_REQUEST', 'INVALID_CARD', 'CARD_TYPE_NOT_ACCEPTED', 'INVALID_MERCHANT_CONFIGURATION', 'PROCESSOR_UNAVAILABLE', 'INVALID_AMOUNT', 'INVALID_CARD_TYPE', 'DEBIT_CARD_USEAGE_EXCEEDD_LIMIT'])
|
119
|
-
return false unless reason_validator.valid?(@reason)
|
120
73
|
true
|
121
74
|
end
|
122
75
|
|
123
|
-
# Custom attribute writer method checking allowed values (enum).
|
124
|
-
# @param [Object] status Object to be assigned
|
125
|
-
def status=(status)
|
126
|
-
validator = EnumAttributeValidator.new('String', ['INVALID_REQUEST'])
|
127
|
-
unless validator.valid?(status)
|
128
|
-
fail ArgumentError, 'invalid value for "status", must be one of #{validator.allowable_values}.'
|
129
|
-
end
|
130
|
-
@status = status
|
131
|
-
end
|
132
|
-
|
133
|
-
# Custom attribute writer method checking allowed values (enum).
|
134
|
-
# @param [Object] reason Object to be assigned
|
135
|
-
def reason=(reason)
|
136
|
-
validator = EnumAttributeValidator.new('String', ['MISSING_FIELD', 'INVALID_DATA', 'DUPLICATE_REQUEST', 'INVALID_CARD', 'CARD_TYPE_NOT_ACCEPTED', 'INVALID_MERCHANT_CONFIGURATION', 'PROCESSOR_UNAVAILABLE', 'INVALID_AMOUNT', 'INVALID_CARD_TYPE', 'DEBIT_CARD_USEAGE_EXCEEDD_LIMIT'])
|
137
|
-
unless validator.valid?(reason)
|
138
|
-
fail ArgumentError, 'invalid value for "reason", must be one of #{validator.allowable_values}.'
|
139
|
-
end
|
140
|
-
@reason = reason
|
141
|
-
end
|
142
|
-
|
143
76
|
# Checks equality by comparing each attribute.
|
144
77
|
# @param [Object] Object to be compared
|
145
78
|
def ==(o)
|
146
79
|
return true if self.equal?(o)
|
147
80
|
self.class == o.class &&
|
148
|
-
|
149
|
-
status == o.status &&
|
150
|
-
reason == o.reason &&
|
81
|
+
type == o.type &&
|
151
82
|
message == o.message &&
|
152
83
|
details == o.details
|
153
84
|
end
|
@@ -161,7 +92,7 @@ module CyberSource
|
|
161
92
|
# Calculates hash code according to all attributes.
|
162
93
|
# @return [Fixnum] Hash code
|
163
94
|
def hash
|
164
|
-
[
|
95
|
+
[type, message, details].hash
|
165
96
|
end
|
166
97
|
|
167
98
|
# Builds the object from hash
|
@@ -34,8 +34,8 @@ module CyberSource
|
|
34
34
|
def self.swagger_types
|
35
35
|
{
|
36
36
|
:'key_id' => :'String',
|
37
|
-
:'der' => :'
|
38
|
-
:'jwk' => :'
|
37
|
+
:'der' => :'FlexV1KeysPost200ResponseDer',
|
38
|
+
:'jwk' => :'FlexV1KeysPost200ResponseJwk'
|
39
39
|
}
|
40
40
|
end
|
41
41
|
|
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
class
|
16
|
+
class PtsV1TransactionBatchesGet200Response
|
17
17
|
attr_accessor :transaction_batches
|
18
18
|
|
19
19
|
attr_accessor :_links
|
@@ -33,8 +33,8 @@ module CyberSource
|
|
33
33
|
# Attribute type mapping.
|
34
34
|
def self.swagger_types
|
35
35
|
{
|
36
|
-
:'transaction_batches' => :'Array<
|
37
|
-
:'_links' => :'
|
36
|
+
:'transaction_batches' => :'Array<PtsV1TransactionBatchesGet200ResponseTransactionBatches>',
|
37
|
+
:'_links' => :'PtsV1TransactionBatchesGet200ResponseLinks',
|
38
38
|
:'submit_time_utc' => :'String'
|
39
39
|
}
|
40
40
|
end
|
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
class
|
16
|
+
class PtsV1TransactionBatchesGet200ResponseLinks
|
17
17
|
attr_accessor :_self
|
18
18
|
|
19
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -26,7 +26,7 @@ module CyberSource
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'_self' => :'
|
29
|
+
:'_self' => :'PtsV1TransactionBatchesGet200ResponseLinksSelf'
|
30
30
|
}
|
31
31
|
end
|
32
32
|
|