cybersource_rest_client 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +88 -0
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +88 -0
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +2 -2
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +154 -0
- data/lib/cybersource_rest_client/api/reversal_api.rb +0 -65
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +2 -2
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +2 -76
- data/lib/cybersource_rest_client/api/user_management_api.rb +2 -2
- data/lib/cybersource_rest_client/api/void_api.rb +0 -65
- data/lib/cybersource_rest_client/models/{mit_void_request.rb → authorization_options.rb} +8 -8
- data/lib/cybersource_rest_client/models/bill_to.rb +467 -0
- data/lib/cybersource_rest_client/models/buyer_information.rb +278 -0
- data/lib/cybersource_rest_client/models/card_info.rb +224 -0
- data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +275 -0
- data/lib/cybersource_rest_client/models/der_public_key.rb +205 -0
- data/lib/cybersource_rest_client/models/detail.rb +194 -0
- data/lib/cybersource_rest_client/models/embedded_instrument_identifier.rb +319 -0
- data/lib/cybersource_rest_client/models/error.rb +202 -0
- data/lib/cybersource_rest_client/models/error_bean.rb +247 -0
- data/lib/cybersource_rest_client/models/error_field_bean.rb +205 -0
- data/lib/cybersource_rest_client/models/{inline_response_200.rb → error_links.rb} +24 -22
- data/lib/cybersource_rest_client/models/error_response.rb +174 -0
- data/lib/cybersource_rest_client/models/error_response_with_hal.rb +174 -0
- data/lib/cybersource_rest_client/models/existing_instrument_identifier_id.rb +175 -0
- data/lib/cybersource_rest_client/models/file_bean.rb +202 -0
- data/lib/cybersource_rest_client/models/file_detail.rb +278 -0
- data/lib/cybersource_rest_client/models/file_details_response.rb +194 -0
- data/lib/cybersource_rest_client/models/initiator.rb +183 -0
- data/lib/cybersource_rest_client/models/instrument_identifier.rb +295 -0
- data/lib/cybersource_rest_client/models/instrument_identifier_bank_account.rb +242 -0
- data/lib/cybersource_rest_client/models/instrument_identifier_card.rb +208 -0
- data/lib/cybersource_rest_client/models/instrument_identifier_enrollable_card.rb +202 -0
- data/lib/cybersource_rest_client/models/instrument_identifier_processing_information.rb +183 -0
- data/lib/cybersource_rest_client/models/instrument_identifier_update.rb +183 -0
- data/lib/cybersource_rest_client/models/json_web_key.rb +225 -0
- data/lib/cybersource_rest_client/models/key_parameters.rb +189 -0
- data/lib/cybersource_rest_client/models/key_result.rb +202 -0
- data/lib/cybersource_rest_client/models/link.rb +183 -0
- data/lib/cybersource_rest_client/models/links.rb +201 -0
- data/lib/cybersource_rest_client/models/merchant_information.rb +183 -0
- data/lib/cybersource_rest_client/models/merchant_initiated_transaction.rb +199 -0
- data/lib/cybersource_rest_client/models/metadata.rb +184 -0
- data/lib/cybersource_rest_client/models/model_409_link.rb +183 -0
- data/lib/cybersource_rest_client/models/model_409_links.rb +183 -0
- data/lib/cybersource_rest_client/models/payment_instrument.rb +331 -0
- data/lib/cybersource_rest_client/models/payment_instrument_bank_account.rb +218 -0
- data/lib/cybersource_rest_client/models/payment_instrument_card.rb +403 -0
- data/lib/cybersource_rest_client/models/payment_instrument_for_instrument_identifier_links.rb +219 -0
- data/lib/cybersource_rest_client/models/payment_instruments_array.rb +175 -0
- data/lib/cybersource_rest_client/models/payment_instruments_for_instrument_identifier.rb +276 -0
- data/lib/cybersource_rest_client/models/personal_identification.rb +237 -0
- data/lib/cybersource_rest_client/models/personal_identification_array.rb +174 -0
- data/lib/cybersource_rest_client/models/pi_for_ii_link_first.rb +184 -0
- data/lib/cybersource_rest_client/models/pi_for_ii_link_last.rb +184 -0
- data/lib/cybersource_rest_client/models/pi_for_ii_link_next.rb +184 -0
- data/lib/cybersource_rest_client/models/pi_for_ii_link_prev.rb +184 -0
- data/lib/cybersource_rest_client/models/pi_for_ii_link_self.rb +184 -0
- data/lib/cybersource_rest_client/models/processing_information.rb +195 -0
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +15 -15
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +13 -13
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +7 -7
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +9 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +5 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post400_response.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +4 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post400_response.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +0 -6
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post400_response.rb +0 -24
- data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information_emv.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +10 -10
- data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +7 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +8 -8
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +7 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +9 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +62 -12
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +8 -8
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +2 -17
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +8 -8
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +7 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +9 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +8 -8
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +18 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +10 -10
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_capture_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +2 -26
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +10 -10
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/{mit_reversal_request.rb → request.rb} +19 -28
- data/lib/cybersource_rest_client/models/response_status.rb +225 -0
- data/lib/cybersource_rest_client/models/response_status_details.rb +194 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +285 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +324 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +294 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_consumer_authentication_information.rb +429 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_order_information.rb +183 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_order_information_amount_details.rb +199 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post400_response.rb +225 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +10 -1
- data/lib/cybersource_rest_client/models/{risk_v1_decisions_post201_response_risk_information_payment_information.rb → risk_v1_decisions_post201_response_payment_information.rb} +6 -6
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information.rb +15 -15
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_info_codes.rb +8 -8
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_ip_address.rb +34 -34
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_profile.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_providers_provider_name.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_score.rb +2 -2
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel.rb +210 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel_actual_final_destination.rb +274 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel_first_departure.rb +274 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel_first_destination.rb +274 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel_last_destination.rb +274 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_velocity.rb +1 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_velocity_morphing.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +214 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information.rb +194 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +267 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information.rb +192 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +264 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +264 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_client_reference_information.rb +208 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_consumer_authentication_information.rb +552 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +285 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_device_information_raw_data.rb +209 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_payment_batch_summaries.rb → riskv1authentications_merchant_information.rb} +18 -101
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information.rb +258 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +496 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +371 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_ship_to.rb +434 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information.rb +192 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +291 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +291 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_recurring_payment_information.rb +235 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_risk_information.rb +183 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_risk_information_buyer_history.rb +262 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_risk_information_buyer_history_account_history.rb +209 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_risk_information_buyer_history_customer_account.rb +279 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_travel_information.rb +206 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_travel_information_legs.rb +259 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_travel_information_passengers.rb +224 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +28 -3
- data/lib/cybersource_rest_client/models/riskv1decisions_card_verification.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +5 -5
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_defined_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +2 -17
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +10 -10
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +5 -22
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_passenger.rb +30 -5
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +2 -17
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +4 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +29 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_risk_information_profile.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb +26 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +31 -6
- data/lib/cybersource_rest_client/models/self_link_bean.rb +192 -0
- data/lib/cybersource_rest_client/models/tokenize_parameters.rb +198 -0
- data/lib/cybersource_rest_client/models/tokenize_request.rb +1 -1
- data/lib/cybersource_rest_client/models/tokenize_result.rb +255 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information_applications.rb +6 -6
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information_merchant_descriptor.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +9 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +2 -17
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_account_features.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +5 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +4 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +5 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -1
- data/lib/cybersource_rest_client.rb +96 -8
- metadata +100 -8
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +0 -135
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10adc07b1ae1b451ebe85d53aab3b088a2d822db5b0e2f26418df4e4a001d4bd
|
4
|
+
data.tar.gz: 6dabb9d785653415a15b65e56ffd619cb34281a90d4e994ee64414378a97d2ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08abb51d47455353507129dd87e849ad184961784507a083273ff6a4b815834b4383a045f28f25877206357523bc913ae73712dd25f418b4c2480dbfec46c88f'
|
7
|
+
data.tar.gz: 9598661ccc3ca1616327c6109cb1bd97bb3521d144a8b8131e820f436ed1479400ec7aa674600ef4fdc068d0a6e27cde7082051c62511e91427111faea92578b
|
@@ -0,0 +1,88 @@
|
|
1
|
+
=begin
|
2
|
+
#CyberSource Merged Spec
|
3
|
+
|
4
|
+
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
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 'uri'
|
14
|
+
|
15
|
+
module CyberSource
|
16
|
+
class DownloadDTDApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default, config)
|
20
|
+
@api_client = api_client
|
21
|
+
@api_client.set_configuration(config)
|
22
|
+
end
|
23
|
+
# Used to download DTDs for reports.
|
24
|
+
# Downloads DTDs for reports on no-auth.
|
25
|
+
# @param report_definition_name_version Name and version of DTD file to download. Some DTDs only have one version. In that case version name is not needed. Some example values are ctdr-1.0, tdr, pbdr-1.1
|
26
|
+
# @param [Hash] opts the optional parameters
|
27
|
+
# @return [nil]
|
28
|
+
def get_dtdv2(report_definition_name_version, opts = {})
|
29
|
+
data, status_code, headers = get_dtdv2_with_http_info(report_definition_name_version, opts)
|
30
|
+
return data, status_code, headers
|
31
|
+
end
|
32
|
+
|
33
|
+
# Used to download DTDs for reports.
|
34
|
+
# Downloads DTDs for reports on no-auth.
|
35
|
+
# @param report_definition_name_version Name and version of DTD file to download. Some DTDs only have one version. In that case version name is not needed. Some example values are ctdr-1.0, tdr, pbdr-1.1
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
38
|
+
def get_dtdv2_with_http_info(report_definition_name_version, opts = {})
|
39
|
+
|
40
|
+
if @api_client.config.debugging
|
41
|
+
begin
|
42
|
+
raise
|
43
|
+
@api_client.config.logger.debug 'Calling API: DownloadDTDApi.get_dtdv2 ...'
|
44
|
+
rescue
|
45
|
+
puts 'Cannot write to log'
|
46
|
+
end
|
47
|
+
end
|
48
|
+
# verify the required parameter 'report_definition_name_version' is set
|
49
|
+
if @api_client.config.client_side_validation && report_definition_name_version.nil?
|
50
|
+
fail ArgumentError, "Missing the required parameter 'report_definition_name_version' when calling DownloadDTDApi.get_dtdv2"
|
51
|
+
end
|
52
|
+
# resource path
|
53
|
+
local_var_path = 'reporting/v3/dtds/{reportDefinitionNameVersion}'.sub('{' + 'reportDefinitionNameVersion' + '}', report_definition_name_version.to_s)
|
54
|
+
|
55
|
+
# query parameters
|
56
|
+
query_params = {}
|
57
|
+
|
58
|
+
# header parameters
|
59
|
+
header_params = {}
|
60
|
+
# HTTP header 'Accept' (if needed)
|
61
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/xml-dtd'])
|
62
|
+
# HTTP header 'Content-Type'
|
63
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
64
|
+
|
65
|
+
# form parameters
|
66
|
+
form_params = {}
|
67
|
+
|
68
|
+
# http body (model)
|
69
|
+
post_body = nil
|
70
|
+
auth_names = []
|
71
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
72
|
+
:header_params => header_params,
|
73
|
+
:query_params => query_params,
|
74
|
+
:form_params => form_params,
|
75
|
+
:body => post_body,
|
76
|
+
:auth_names => auth_names)
|
77
|
+
if @api_client.config.debugging
|
78
|
+
begin
|
79
|
+
raise
|
80
|
+
@api_client.config.logger.debug "API called: DownloadDTDApi#get_dtdv2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
81
|
+
rescue
|
82
|
+
puts 'Cannot write to log'
|
83
|
+
end
|
84
|
+
end
|
85
|
+
return data, status_code, headers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
@@ -0,0 +1,88 @@
|
|
1
|
+
=begin
|
2
|
+
#CyberSource Merged Spec
|
3
|
+
|
4
|
+
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
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 'uri'
|
14
|
+
|
15
|
+
module CyberSource
|
16
|
+
class DownloadXSDApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default, config)
|
20
|
+
@api_client = api_client
|
21
|
+
@api_client.set_configuration(config)
|
22
|
+
end
|
23
|
+
# Used to download XSDs for reports.
|
24
|
+
# Downloads XSDs for reports on no-auth.
|
25
|
+
# @param report_definition_name_version Name and version of XSD file to download. Some XSDs only have one version. In that case version name is not needed. Some example values are DecisionManagerDetailReport, DecisionManagerTypes
|
26
|
+
# @param [Hash] opts the optional parameters
|
27
|
+
# @return [nil]
|
28
|
+
def get_xsdv2(report_definition_name_version, opts = {})
|
29
|
+
data, status_code, headers = get_xsdv2_with_http_info(report_definition_name_version, opts)
|
30
|
+
return data, status_code, headers
|
31
|
+
end
|
32
|
+
|
33
|
+
# Used to download XSDs for reports.
|
34
|
+
# Downloads XSDs for reports on no-auth.
|
35
|
+
# @param report_definition_name_version Name and version of XSD file to download. Some XSDs only have one version. In that case version name is not needed. Some example values are DecisionManagerDetailReport, DecisionManagerTypes
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
38
|
+
def get_xsdv2_with_http_info(report_definition_name_version, opts = {})
|
39
|
+
|
40
|
+
if @api_client.config.debugging
|
41
|
+
begin
|
42
|
+
raise
|
43
|
+
@api_client.config.logger.debug 'Calling API: DownloadXSDApi.get_xsdv2 ...'
|
44
|
+
rescue
|
45
|
+
puts 'Cannot write to log'
|
46
|
+
end
|
47
|
+
end
|
48
|
+
# verify the required parameter 'report_definition_name_version' is set
|
49
|
+
if @api_client.config.client_side_validation && report_definition_name_version.nil?
|
50
|
+
fail ArgumentError, "Missing the required parameter 'report_definition_name_version' when calling DownloadXSDApi.get_xsdv2"
|
51
|
+
end
|
52
|
+
# resource path
|
53
|
+
local_var_path = 'reporting/v3/xsds/{reportDefinitionNameVersion}'.sub('{' + 'reportDefinitionNameVersion' + '}', report_definition_name_version.to_s)
|
54
|
+
|
55
|
+
# query parameters
|
56
|
+
query_params = {}
|
57
|
+
|
58
|
+
# header parameters
|
59
|
+
header_params = {}
|
60
|
+
# HTTP header 'Accept' (if needed)
|
61
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/xml'])
|
62
|
+
# HTTP header 'Content-Type'
|
63
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
64
|
+
|
65
|
+
# form parameters
|
66
|
+
form_params = {}
|
67
|
+
|
68
|
+
# http body (model)
|
69
|
+
post_body = nil
|
70
|
+
auth_names = []
|
71
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
72
|
+
:header_params => header_params,
|
73
|
+
:query_params => query_params,
|
74
|
+
:form_params => form_params,
|
75
|
+
:body => post_body,
|
76
|
+
:auth_names => auth_names)
|
77
|
+
if @api_client.config.debugging
|
78
|
+
begin
|
79
|
+
raise
|
80
|
+
@api_client.config.logger.debug "API called: DownloadXSDApi#get_xsdv2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
81
|
+
rescue
|
82
|
+
puts 'Cannot write to log'
|
83
|
+
end
|
84
|
+
end
|
85
|
+
return data, status_code, headers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
@@ -183,7 +183,7 @@ module CyberSource
|
|
183
183
|
end
|
184
184
|
return data, status_code, headers
|
185
185
|
end
|
186
|
-
# Retrieve all Payment Instruments
|
186
|
+
# Retrieve all Payment Instruments
|
187
187
|
# @param profile_id The id of a profile containing user specific TMS configuration.
|
188
188
|
# @param token_id The TokenId of an Instrument Identifier.
|
189
189
|
# @param [Hash] opts the optional parameters
|
@@ -195,7 +195,7 @@ module CyberSource
|
|
195
195
|
return data, status_code, headers
|
196
196
|
end
|
197
197
|
|
198
|
-
# Retrieve all Payment Instruments
|
198
|
+
# Retrieve all Payment Instruments
|
199
199
|
# @param profile_id The id of a profile containing user specific TMS configuration.
|
200
200
|
# @param token_id The TokenId of an Instrument Identifier.
|
201
201
|
# @param [Hash] opts the optional parameters
|
@@ -0,0 +1,154 @@
|
|
1
|
+
=begin
|
2
|
+
#CyberSource Merged Spec
|
3
|
+
|
4
|
+
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
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 'uri'
|
14
|
+
|
15
|
+
module CyberSource
|
16
|
+
class PayerAuthenticationApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default, config)
|
20
|
+
@api_client = api_client
|
21
|
+
@api_client.set_configuration(config)
|
22
|
+
end
|
23
|
+
# Check payer auth enrollment
|
24
|
+
# This call verifies that the card is enrolled in a card authentication program.
|
25
|
+
# @param check_payer_auth_enrollment_request
|
26
|
+
# @param [Hash] opts the optional parameters
|
27
|
+
# @return [RiskV1AuthenticationsPost201Response]
|
28
|
+
def check_payer_auth_enrollment(check_payer_auth_enrollment_request, opts = {})
|
29
|
+
data, status_code, headers = check_payer_auth_enrollment_with_http_info(check_payer_auth_enrollment_request, opts)
|
30
|
+
return data, status_code, headers
|
31
|
+
end
|
32
|
+
|
33
|
+
# Check payer auth enrollment
|
34
|
+
# This call verifies that the card is enrolled in a card authentication program.
|
35
|
+
# @param check_payer_auth_enrollment_request
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @return [Array<(RiskV1AuthenticationsPost201Response, Fixnum, Hash)>] RiskV1AuthenticationsPost201Response data, response status code and response headers
|
38
|
+
def check_payer_auth_enrollment_with_http_info(check_payer_auth_enrollment_request, opts = {})
|
39
|
+
|
40
|
+
if @api_client.config.debugging
|
41
|
+
begin
|
42
|
+
raise
|
43
|
+
@api_client.config.logger.debug 'Calling API: PayerAuthenticationApi.check_payer_auth_enrollment ...'
|
44
|
+
rescue
|
45
|
+
puts 'Cannot write to log'
|
46
|
+
end
|
47
|
+
end
|
48
|
+
# verify the required parameter 'check_payer_auth_enrollment_request' is set
|
49
|
+
if @api_client.config.client_side_validation && check_payer_auth_enrollment_request.nil?
|
50
|
+
fail ArgumentError, "Missing the required parameter 'check_payer_auth_enrollment_request' when calling PayerAuthenticationApi.check_payer_auth_enrollment"
|
51
|
+
end
|
52
|
+
# resource path
|
53
|
+
local_var_path = 'risk/v1/authentications'
|
54
|
+
|
55
|
+
# query parameters
|
56
|
+
query_params = {}
|
57
|
+
|
58
|
+
# header parameters
|
59
|
+
header_params = {}
|
60
|
+
# HTTP header 'Accept' (if needed)
|
61
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
|
62
|
+
# HTTP header 'Content-Type'
|
63
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
64
|
+
|
65
|
+
# form parameters
|
66
|
+
form_params = {}
|
67
|
+
|
68
|
+
# http body (model)
|
69
|
+
post_body = @api_client.object_to_http_body(check_payer_auth_enrollment_request)
|
70
|
+
auth_names = []
|
71
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
72
|
+
:header_params => header_params,
|
73
|
+
:query_params => query_params,
|
74
|
+
:form_params => form_params,
|
75
|
+
:body => post_body,
|
76
|
+
:auth_names => auth_names,
|
77
|
+
:return_type => 'RiskV1AuthenticationsPost201Response')
|
78
|
+
if @api_client.config.debugging
|
79
|
+
begin
|
80
|
+
raise
|
81
|
+
@api_client.config.logger.debug "API called: PayerAuthenticationApi#check_payer_auth_enrollment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
82
|
+
rescue
|
83
|
+
puts 'Cannot write to log'
|
84
|
+
end
|
85
|
+
end
|
86
|
+
return data, status_code, headers
|
87
|
+
end
|
88
|
+
# Validate authentication results
|
89
|
+
# This call retrieves and validates the authentication results from issuer and allows the merchant to proceed with processing the payment.
|
90
|
+
# @param request
|
91
|
+
# @param [Hash] opts the optional parameters
|
92
|
+
# @return [RiskV1AuthenticationResultsPost201Response]
|
93
|
+
def validate_authentication_results(request, opts = {})
|
94
|
+
data, status_code, headers = validate_authentication_results_with_http_info(request, opts)
|
95
|
+
return data, status_code, headers
|
96
|
+
end
|
97
|
+
|
98
|
+
# Validate authentication results
|
99
|
+
# This call retrieves and validates the authentication results from issuer and allows the merchant to proceed with processing the payment.
|
100
|
+
# @param request
|
101
|
+
# @param [Hash] opts the optional parameters
|
102
|
+
# @return [Array<(RiskV1AuthenticationResultsPost201Response, Fixnum, Hash)>] RiskV1AuthenticationResultsPost201Response data, response status code and response headers
|
103
|
+
def validate_authentication_results_with_http_info(request, opts = {})
|
104
|
+
|
105
|
+
if @api_client.config.debugging
|
106
|
+
begin
|
107
|
+
raise
|
108
|
+
@api_client.config.logger.debug 'Calling API: PayerAuthenticationApi.validate_authentication_results ...'
|
109
|
+
rescue
|
110
|
+
puts 'Cannot write to log'
|
111
|
+
end
|
112
|
+
end
|
113
|
+
# verify the required parameter 'request' is set
|
114
|
+
if @api_client.config.client_side_validation && request.nil?
|
115
|
+
fail ArgumentError, "Missing the required parameter 'request' when calling PayerAuthenticationApi.validate_authentication_results"
|
116
|
+
end
|
117
|
+
# resource path
|
118
|
+
local_var_path = 'risk/v1/authentication-results'
|
119
|
+
|
120
|
+
# query parameters
|
121
|
+
query_params = {}
|
122
|
+
|
123
|
+
# header parameters
|
124
|
+
header_params = {}
|
125
|
+
# HTTP header 'Accept' (if needed)
|
126
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
|
127
|
+
# HTTP header 'Content-Type'
|
128
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
129
|
+
|
130
|
+
# form parameters
|
131
|
+
form_params = {}
|
132
|
+
|
133
|
+
# http body (model)
|
134
|
+
post_body = @api_client.object_to_http_body(request)
|
135
|
+
auth_names = []
|
136
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
137
|
+
:header_params => header_params,
|
138
|
+
:query_params => query_params,
|
139
|
+
:form_params => form_params,
|
140
|
+
:body => post_body,
|
141
|
+
:auth_names => auth_names,
|
142
|
+
:return_type => 'RiskV1AuthenticationResultsPost201Response')
|
143
|
+
if @api_client.config.debugging
|
144
|
+
begin
|
145
|
+
raise
|
146
|
+
@api_client.config.logger.debug "API called: PayerAuthenticationApi#validate_authentication_results\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
147
|
+
rescue
|
148
|
+
puts 'Cannot write to log'
|
149
|
+
end
|
150
|
+
end
|
151
|
+
return data, status_code, headers
|
152
|
+
end
|
153
|
+
end
|
154
|
+
end
|
@@ -91,70 +91,5 @@ module CyberSource
|
|
91
91
|
end
|
92
92
|
return data, status_code, headers
|
93
93
|
end
|
94
|
-
# Merchant Initiated Reversal
|
95
|
-
# This is to reverse a previous payment that merchant does not receive a reply.
|
96
|
-
# @param mit_reversal_request
|
97
|
-
# @param [Hash] opts the optional parameters
|
98
|
-
# @return [PtsV2PaymentsReversalsPost201Response]
|
99
|
-
def mit_reversal(mit_reversal_request, opts = {})
|
100
|
-
data, status_code, headers = mit_reversal_with_http_info(mit_reversal_request, opts)
|
101
|
-
return data, status_code, headers
|
102
|
-
end
|
103
|
-
|
104
|
-
# Merchant Initiated Reversal
|
105
|
-
# This is to reverse a previous payment that merchant does not receive a reply.
|
106
|
-
# @param mit_reversal_request
|
107
|
-
# @param [Hash] opts the optional parameters
|
108
|
-
# @return [Array<(PtsV2PaymentsReversalsPost201Response, Fixnum, Hash)>] PtsV2PaymentsReversalsPost201Response data, response status code and response headers
|
109
|
-
def mit_reversal_with_http_info(mit_reversal_request, opts = {})
|
110
|
-
|
111
|
-
if @api_client.config.debugging
|
112
|
-
begin
|
113
|
-
raise
|
114
|
-
@api_client.config.logger.debug 'Calling API: ReversalApi.mit_reversal ...'
|
115
|
-
rescue
|
116
|
-
puts 'Cannot write to log'
|
117
|
-
end
|
118
|
-
end
|
119
|
-
# verify the required parameter 'mit_reversal_request' is set
|
120
|
-
if @api_client.config.client_side_validation && mit_reversal_request.nil?
|
121
|
-
fail ArgumentError, "Missing the required parameter 'mit_reversal_request' when calling ReversalApi.mit_reversal"
|
122
|
-
end
|
123
|
-
# resource path
|
124
|
-
local_var_path = 'pts/v2/reversals/'
|
125
|
-
|
126
|
-
# query parameters
|
127
|
-
query_params = {}
|
128
|
-
|
129
|
-
# header parameters
|
130
|
-
header_params = {}
|
131
|
-
# HTTP header 'Accept' (if needed)
|
132
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
|
133
|
-
# HTTP header 'Content-Type'
|
134
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
135
|
-
|
136
|
-
# form parameters
|
137
|
-
form_params = {}
|
138
|
-
|
139
|
-
# http body (model)
|
140
|
-
post_body = @api_client.object_to_http_body(mit_reversal_request)
|
141
|
-
auth_names = []
|
142
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
143
|
-
:header_params => header_params,
|
144
|
-
:query_params => query_params,
|
145
|
-
:form_params => form_params,
|
146
|
-
:body => post_body,
|
147
|
-
:auth_names => auth_names,
|
148
|
-
:return_type => 'PtsV2PaymentsReversalsPost201Response')
|
149
|
-
if @api_client.config.debugging
|
150
|
-
begin
|
151
|
-
raise
|
152
|
-
@api_client.config.logger.debug "API called: ReversalApi#mit_reversal\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
153
|
-
rescue
|
154
|
-
puts 'Cannot write to log'
|
155
|
-
end
|
156
|
-
end
|
157
|
-
return data, status_code, headers
|
158
|
-
end
|
159
94
|
end
|
160
95
|
end
|
@@ -86,7 +86,7 @@ module CyberSource
|
|
86
86
|
return data, status_code, headers
|
87
87
|
end
|
88
88
|
# Get Search results
|
89
|
-
# Include the Search ID in the GET request to retrieve the search results.
|
89
|
+
# Include the Search ID in the GET request to retrieve the search results.
|
90
90
|
# @param search_id Search ID.
|
91
91
|
# @param [Hash] opts the optional parameters
|
92
92
|
# @return [TssV2TransactionsPost201Response]
|
@@ -96,7 +96,7 @@ module CyberSource
|
|
96
96
|
end
|
97
97
|
|
98
98
|
# Get Search results
|
99
|
-
# Include the Search ID in the GET request to retrieve the search results.
|
99
|
+
# Include the Search ID in the GET request to retrieve the search results.
|
100
100
|
# @param search_id Search ID.
|
101
101
|
# @param [Hash] opts the optional parameters
|
102
102
|
# @return [Array<(TssV2TransactionsPost201Response, Fixnum, Hash)>] TssV2TransactionsPost201Response data, response status code and response headers
|
@@ -20,80 +20,6 @@ module CyberSource
|
|
20
20
|
@api_client = api_client
|
21
21
|
@api_client.set_configuration(config)
|
22
22
|
end
|
23
|
-
# Filters batch response.
|
24
|
-
# Filters batch response.
|
25
|
-
# @param transaction_batch_id Transaction Batch Id, this is unique.
|
26
|
-
# @param [Hash] opts the optional parameters
|
27
|
-
# @option opts [Date] :upload_date Date in which the original batch file was uploaded. Date must be in ISO-8601 format.
|
28
|
-
# @option opts [String] :status Allows you to filter by rejected response.
|
29
|
-
# @return [nil]
|
30
|
-
def get_transaction_batch_details(transaction_batch_id, opts = {})
|
31
|
-
data, status_code, headers = get_transaction_batch_details_with_http_info(transaction_batch_id, opts)
|
32
|
-
return data, status_code, headers
|
33
|
-
end
|
34
|
-
|
35
|
-
# Filters batch response.
|
36
|
-
# Filters batch response.
|
37
|
-
# @param transaction_batch_id Transaction Batch Id, this is unique.
|
38
|
-
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [Date] :upload_date Date in which the original batch file was uploaded. Date must be in ISO-8601 format.
|
40
|
-
# @option opts [String] :status Allows you to filter by rejected response.
|
41
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
42
|
-
def get_transaction_batch_details_with_http_info(transaction_batch_id, opts = {})
|
43
|
-
|
44
|
-
if @api_client.config.debugging
|
45
|
-
begin
|
46
|
-
raise
|
47
|
-
@api_client.config.logger.debug 'Calling API: TransactionBatchesApi.get_transaction_batch_details ...'
|
48
|
-
rescue
|
49
|
-
puts 'Cannot write to log'
|
50
|
-
end
|
51
|
-
end
|
52
|
-
# verify the required parameter 'transaction_batch_id' is set
|
53
|
-
if @api_client.config.client_side_validation && transaction_batch_id.nil?
|
54
|
-
fail ArgumentError, "Missing the required parameter 'transaction_batch_id' when calling TransactionBatchesApi.get_transaction_batch_details"
|
55
|
-
end
|
56
|
-
if @api_client.config.client_side_validation && opts[:'status'] && !['Rejected'].include?(opts[:'status'])
|
57
|
-
fail ArgumentError, 'invalid value for "status", must be one of Rejected'
|
58
|
-
end
|
59
|
-
# resource path
|
60
|
-
local_var_path = 'pts/v1/transaction-batch-details'
|
61
|
-
|
62
|
-
# query parameters
|
63
|
-
query_params = {}
|
64
|
-
query_params[:'transactionBatchId'] = transaction_batch_id
|
65
|
-
query_params[:'uploadDate'] = opts[:'upload_date'] if !opts[:'upload_date'].nil?
|
66
|
-
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
67
|
-
|
68
|
-
# header parameters
|
69
|
-
header_params = {}
|
70
|
-
# HTTP header 'Accept' (if needed)
|
71
|
-
header_params['Accept'] = @api_client.select_header_accept(['text/vnd.cybersource.map-csv'])
|
72
|
-
# HTTP header 'Content-Type'
|
73
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
74
|
-
|
75
|
-
# form parameters
|
76
|
-
form_params = {}
|
77
|
-
|
78
|
-
# http body (model)
|
79
|
-
post_body = nil
|
80
|
-
auth_names = []
|
81
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
82
|
-
:header_params => header_params,
|
83
|
-
:query_params => query_params,
|
84
|
-
:form_params => form_params,
|
85
|
-
:body => post_body,
|
86
|
-
:auth_names => auth_names)
|
87
|
-
if @api_client.config.debugging
|
88
|
-
begin
|
89
|
-
raise
|
90
|
-
@api_client.config.logger.debug "API called: TransactionBatchesApi#get_transaction_batch_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
91
|
-
rescue
|
92
|
-
puts 'Cannot write to log'
|
93
|
-
end
|
94
|
-
end
|
95
|
-
return data, status_code, headers
|
96
|
-
end
|
97
23
|
# Get individual batch file
|
98
24
|
# Provide the search range
|
99
25
|
# @param id The batch id assigned for the template.
|
@@ -159,7 +85,7 @@ module CyberSource
|
|
159
85
|
end
|
160
86
|
return data, status_code, headers
|
161
87
|
end
|
162
|
-
#
|
88
|
+
# Gets a list of batch files
|
163
89
|
# Provide the search range
|
164
90
|
# @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
|
165
91
|
# @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
|
@@ -170,7 +96,7 @@ module CyberSource
|
|
170
96
|
return data, status_code, headers
|
171
97
|
end
|
172
98
|
|
173
|
-
#
|
99
|
+
# Gets a list of batch files
|
174
100
|
# Provide the search range
|
175
101
|
# @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
|
176
102
|
# @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
|
@@ -20,7 +20,7 @@ module CyberSource
|
|
20
20
|
@api_client = api_client
|
21
21
|
@api_client.set_configuration(config)
|
22
22
|
end
|
23
|
-
# Get user
|
23
|
+
# Get user information
|
24
24
|
# This endpoint is to get all the user information depending on the filter criteria passed in the query.
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @option opts [String] :organization_id This is the orgId of the organization which the user belongs to.
|
@@ -33,7 +33,7 @@ module CyberSource
|
|
33
33
|
return data, status_code, headers
|
34
34
|
end
|
35
35
|
|
36
|
-
# Get user
|
36
|
+
# Get user information
|
37
37
|
# This endpoint is to get all the user information depending on the filter criteria passed in the query.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [String] :organization_id This is the orgId of the organization which the user belongs to.
|
@@ -20,71 +20,6 @@ module CyberSource
|
|
20
20
|
@api_client = api_client
|
21
21
|
@api_client.set_configuration(config)
|
22
22
|
end
|
23
|
-
# Merchant Initiated Void
|
24
|
-
# This is to void a previous payment, capture, refund, or credit that merchant does not receive a reply.
|
25
|
-
# @param mit_void_request
|
26
|
-
# @param [Hash] opts the optional parameters
|
27
|
-
# @return [PtsV2PaymentsVoidsPost201Response]
|
28
|
-
def mit_void(mit_void_request, opts = {})
|
29
|
-
data, status_code, headers = mit_void_with_http_info(mit_void_request, opts)
|
30
|
-
return data, status_code, headers
|
31
|
-
end
|
32
|
-
|
33
|
-
# Merchant Initiated Void
|
34
|
-
# This is to void a previous payment, capture, refund, or credit that merchant does not receive a reply.
|
35
|
-
# @param mit_void_request
|
36
|
-
# @param [Hash] opts the optional parameters
|
37
|
-
# @return [Array<(PtsV2PaymentsVoidsPost201Response, Fixnum, Hash)>] PtsV2PaymentsVoidsPost201Response data, response status code and response headers
|
38
|
-
def mit_void_with_http_info(mit_void_request, opts = {})
|
39
|
-
|
40
|
-
if @api_client.config.debugging
|
41
|
-
begin
|
42
|
-
raise
|
43
|
-
@api_client.config.logger.debug 'Calling API: VoidApi.mit_void ...'
|
44
|
-
rescue
|
45
|
-
puts 'Cannot write to log'
|
46
|
-
end
|
47
|
-
end
|
48
|
-
# verify the required parameter 'mit_void_request' is set
|
49
|
-
if @api_client.config.client_side_validation && mit_void_request.nil?
|
50
|
-
fail ArgumentError, "Missing the required parameter 'mit_void_request' when calling VoidApi.mit_void"
|
51
|
-
end
|
52
|
-
# resource path
|
53
|
-
local_var_path = 'pts/v2/voids/'
|
54
|
-
|
55
|
-
# query parameters
|
56
|
-
query_params = {}
|
57
|
-
|
58
|
-
# header parameters
|
59
|
-
header_params = {}
|
60
|
-
# HTTP header 'Accept' (if needed)
|
61
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
|
62
|
-
# HTTP header 'Content-Type'
|
63
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
64
|
-
|
65
|
-
# form parameters
|
66
|
-
form_params = {}
|
67
|
-
|
68
|
-
# http body (model)
|
69
|
-
post_body = @api_client.object_to_http_body(mit_void_request)
|
70
|
-
auth_names = []
|
71
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
72
|
-
:header_params => header_params,
|
73
|
-
:query_params => query_params,
|
74
|
-
:form_params => form_params,
|
75
|
-
:body => post_body,
|
76
|
-
:auth_names => auth_names,
|
77
|
-
:return_type => 'PtsV2PaymentsVoidsPost201Response')
|
78
|
-
if @api_client.config.debugging
|
79
|
-
begin
|
80
|
-
raise
|
81
|
-
@api_client.config.logger.debug "API called: VoidApi#mit_void\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
82
|
-
rescue
|
83
|
-
puts 'Cannot write to log'
|
84
|
-
end
|
85
|
-
end
|
86
|
-
return data, status_code, headers
|
87
|
-
end
|
88
23
|
# Void a Capture
|
89
24
|
# Include the capture ID in the POST request to cancel the capture.
|
90
25
|
# @param void_capture_request
|