cybersource_rest_client 0.0.11 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cybersource_rest_client.rb +104 -84
- data/lib/cybersource_rest_client/api/capture_api.rb +2 -2
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +6 -6
- data/lib/cybersource_rest_client/api/credit_api.rb +2 -2
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +89 -0
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +229 -47
- data/lib/cybersource_rest_client/api/key_generation_api.rb +13 -9
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +16 -16
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +6 -6
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +135 -0
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +365 -0
- data/lib/cybersource_rest_client/api/payments_api.rb +2 -2
- data/lib/cybersource_rest_client/api/{process_a_payout_api.rb → payouts_api.rb} +7 -7
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +6 -6
- data/lib/cybersource_rest_client/api/refund_api.rb +2 -2
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +2 -2
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +2 -2
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +2 -2
- data/lib/cybersource_rest_client/api/reports_api.rb +6 -6
- data/lib/cybersource_rest_client/api/reversal_api.rb +67 -2
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +13 -13
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +12 -12
- data/lib/cybersource_rest_client/api/{flex_token_api.rb → tokenization_api.rb} +18 -14
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +76 -2
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +2 -2
- data/lib/cybersource_rest_client/api/user_management_api.rb +2 -2
- data/lib/cybersource_rest_client/api/void_api.rb +67 -2
- data/lib/cybersource_rest_client/api_client.rb +12 -13
- data/lib/cybersource_rest_client/api_error.rb +2 -2
- data/lib/cybersource_rest_client/configuration.rb +2 -2
- data/lib/cybersource_rest_client/models/auth_reversal_request.rb +2 -2
- data/lib/cybersource_rest_client/models/capture_payment_request.rb +2 -2
- data/lib/cybersource_rest_client/models/create_credit_request.rb +2 -2
- data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_post200_response.rb → create_decision_manager_case_request.rb} +70 -99
- data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_buyer_information_personal_identification.rb → create_instrument_identifier_request.rb} +20 -21
- data/lib/cybersource_rest_client/models/{tms_v1_paymentinstruments_get200_response.rb → create_payment_instrument_request.rb} +13 -13
- data/lib/cybersource_rest_client/models/create_payment_request.rb +2 -2
- data/lib/cybersource_rest_client/models/{tss_v2_transactions_post_response.rb → create_search_request.rb} +3 -3
- data/lib/cybersource_rest_client/models/flex_v1_keys_post200_response.rb +2 -2
- data/lib/cybersource_rest_client/models/flex_v1_keys_post200_response_der.rb +2 -2
- data/lib/cybersource_rest_client/models/flex_v1_keys_post200_response_jwk.rb +2 -2
- data/lib/cybersource_rest_client/models/flex_v1_tokens_post200_response.rb +2 -2
- data/lib/cybersource_rest_client/models/flexv1tokens_card_info.rb +12 -2
- data/lib/cybersource_rest_client/models/generate_public_key_request.rb +6 -66
- data/lib/cybersource_rest_client/models/{der_public_key.rb → inline_response_200.rb} +24 -26
- data/lib/cybersource_rest_client/models/inline_response_200_payment_batch_summaries.rb +282 -0
- data/lib/cybersource_rest_client/models/inline_response_400.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_400_1.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_400_fields.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_default.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_default__links.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_default__links_next.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_default_response_status.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_default_response_status_details.rb +2 -2
- data/lib/cybersource_rest_client/models/{tokenize_parameters.rb → mit_reversal_request.rb} +43 -17
- data/lib/cybersource_rest_client/models/{error.rb → mit_void_request.rb} +10 -19
- data/lib/cybersource_rest_client/models/{pts_v2_payouts_post_response.rb → oct_create_payment_request.rb} +3 -3
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response__links.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response__links_self.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response_transaction_batches.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get400_response.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get400_response_error_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get400_response_error_information_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get500_response.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get500_response_error_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response__links.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response__links_transactions.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +4 -4
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +4 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response__links.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post400_response.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +4 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response__links.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response__links_self.rb +4 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information.rb +5 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +2 -197
- 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.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_card.rb +2 -17
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +2 -2
- 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 +2 -2
- 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_avs.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +3 -3
- 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 +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +2 -2
- 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 +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post400_response.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post502_response.rb +5 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +4 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response__links.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post400_response.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +4 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response__links.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_authorization_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post400_response.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +4 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post400_response.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +14 -17
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_error_information.rb +4 -4
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +4 -4
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post400_response.rb +31 -7
- data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information.rb +2 -2
- 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 +2 -2
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +7 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +4 -4
- 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 +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +7 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +2 -2
- 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 +2 -2
- 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 +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +2 -227
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_capture_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +7 -7
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_point_of_sale_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information.rb +2 -2
- 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 +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +12 -3
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +11 -11
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information.rb +15 -6
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +12 -12
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +2 -2
- data/lib/cybersource_rest_client/models/refund_capture_request.rb +2 -2
- data/lib/cybersource_rest_client/models/refund_payment_request.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_conversion_details_get200_response.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_conversion_details_get200_response_conversion_details.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_conversion_details_get200_response_notes.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response_net_funding_summaries.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response_total_purchases.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_notificationof_changes_get200_response.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_notificationof_changes_get200_response_notification_of_changes.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_authorizations.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_fee_and_funding_details.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_others.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_request_details.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_settlement_statuses.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_settlements.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response_report_definitions.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_name_get200_response.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_name_get200_response_attributes.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_report_subscriptions_get200_response.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_report_subscriptions_get200_response_subscriptions.rb +5 -5
- data/lib/cybersource_rest_client/models/reporting_v3_reports_get200_response.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_reports_get200_response_reports.rb +2 -2
- data/lib/cybersource_rest_client/models/reporting_v3_reports_id_get200_response.rb +3 -3
- data/lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response.rb +4 -4
- data/lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response_details.rb +2 -2
- data/lib/cybersource_rest_client/models/reportingv3reports_report_preferences.rb +2 -2
- data/lib/cybersource_rest_client/models/request_body.rb +2 -2
- data/lib/cybersource_rest_client/models/request_body_1.rb +5 -5
- data/lib/cybersource_rest_client/models/{pts_v2_payouts_post502_response.rb → risk_v1_decisions_post201_response.rb} +58 -62
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information.rb +284 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_info_codes.rb +270 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_ip_address.rb +300 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_payment_information.rb +300 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_profile.rb +249 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_providers.rb +185 -0
- data/lib/cybersource_rest_client/models/{link.rb → risk_v1_decisions_post201_response_risk_information_providers_provider_name.rb} +21 -28
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_rules.rb +224 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_score.rb +235 -0
- data/lib/cybersource_rest_client/models/{key_result.rb → risk_v1_decisions_post201_response_risk_information_velocity.rb} +20 -26
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_velocity_morphing.rb +234 -0
- data/lib/cybersource_rest_client/models/{ums_v1_users_get400_response.rb → risk_v1_decisions_post400_response.rb} +7 -19
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +236 -0
- data/lib/cybersource_rest_client/models/{tss_v2_transactions_get200_response_processor_information_ach_verification.rb → riskv1decisions_card_verification.rb} +8 -33
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +224 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +279 -0
- data/lib/cybersource_rest_client/models/{tss_v2_transactions_get200_response_merchant_defined_information.rb → riskv1decisions_merchant_defined_information.rb} +11 -10
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +248 -0
- data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_order_information_amount_details.rb → riskv1decisions_order_information_amount_details.rb} +42 -32
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +424 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +394 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_passenger.rb +350 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +400 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +225 -0
- data/lib/cybersource_rest_client/models/{error_response.rb → riskv1decisions_payment_information.rb} +17 -16
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +285 -0
- data/lib/cybersource_rest_client/models/{tms_v1_paymentinstruments_post201_response_card.rb → riskv1decisions_payment_information_tokenized_card.rb} +57 -99
- data/lib/cybersource_rest_client/models/riskv1decisions_processor_information.rb +184 -0
- data/lib/cybersource_rest_client/models/{tss_v2_transactions_get200_response_processor_information_card_verification.rb → riskv1decisions_processor_information_avs.rb} +20 -19
- data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +183 -0
- data/lib/cybersource_rest_client/models/{error_links.rb → riskv1decisions_risk_information_profile.rb} +27 -32
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb +260 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +224 -0
- data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_delete409_response.rb → tms_v1_instrument_identifiers_delete409_response.rb} +4 -4
- data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_delete409_response__links.rb → tms_v1_instrument_identifiers_delete409_response__links.rb} +4 -4
- data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_delete409_response__links_payment_instruments.rb → tms_v1_instrument_identifiers_delete409_response__links_payment_instruments.rb} +3 -3
- data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_paymentinstruments_get200_response.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response.rb} +5 -6
- data/lib/cybersource_rest_client/models/{response_status_details.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded.rb} +13 -21
- data/lib/cybersource_rest_client/models/{pts_v2_payouts_post201_response_error_information_details.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_bank_account.rb} +19 -29
- data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_bill_to.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_bill_to.rb} +14 -14
- data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_buyer_information.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_buyer_information.rb} +31 -7
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_card.rb +403 -0
- data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response__links.rb} +8 -8
- data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_first.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response__links_first.rb} +3 -3
- data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_last.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response__links_last.rb} +3 -3
- data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_next.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response__links_next.rb} +3 -3
- data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_prev.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response__links_prev.rb} +3 -3
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__links_self.rb +184 -0
- data/lib/cybersource_rest_client/models/{reporting_v3_reports_id_get200_response_report_preferences.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response_bank_transfer_options.rb} +19 -30
- data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_buyer_information_issued_by.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response_buyer_information_issued_by.rb} +4 -4
- data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_instrument_identifier.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response_instrument_identifier.rb} +10 -10
- data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_merchant_information_merchant_descriptor.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response_merchant_descriptor.rb} +3 -3
- data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_merchant_information.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response_merchant_information.rb} +4 -4
- data/lib/cybersource_rest_client/models/{body_2.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response_payment_instruments.rb} +13 -13
- data/lib/cybersource_rest_client/models/{pts_v2_payouts_post201_response_status_information.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response_personal_identification.rb} +35 -26
- data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_processing_information.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response_processing_information.rb} +7 -5
- data/lib/cybersource_rest_client/models/{body.rb → tms_v1_instrument_identifiers_post200_response.rb} +9 -9
- data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers__links.rb → tms_v1_instrument_identifiers_post200_response__links.rb} +6 -6
- data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_self.rb → tms_v1_instrument_identifiers_post200_response__links_self.rb} +3 -4
- data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_processing_information_authorization_options_initiator.rb → tms_v1_instrument_identifiers_post200_response_authorization_options_initiator.rb} +4 -4
- data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_bank_account.rb → tms_v1_instrument_identifiers_post200_response_bank_account.rb} +4 -4
- data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb → tms_v1_instrument_identifiers_post200_response_card.rb} +28 -19
- data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_merchant_initiated_transaction.rb → tms_v1_instrument_identifiers_post200_response_merchant_initiated_transaction.rb} +3 -3
- data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_metadata.rb → tms_v1_instrument_identifiers_post200_response_metadata.rb} +3 -3
- data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_processing_information.rb → tms_v1_instrument_identifiers_post200_response_processing_information.rb} +4 -4
- data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_processing_information_authorization_options.rb → tms_v1_instrument_identifiers_post200_response_processing_information_authorization_options.rb} +4 -4
- data/lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_bill_to.rb +234 -0
- data/lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_card.rb +108 -6
- data/lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_details.rb +2 -2
- data/lib/cybersource_rest_client/models/tokenize_request.rb +7 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +9 -9
- data/lib/cybersource_rest_client/models/{links.rb → tss_v2_transactions_get200_response__links.rb} +12 -23
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information_applications.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +19 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +4 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +5 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_error_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_fraud_marking_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_installment_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information_merchant_descriptor.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +58 -8
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +18 -34
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +12 -12
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +20 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_account_features.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +50 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +13 -13
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_invoice.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type.rb +6 -16
- 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 +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_bank_transfer_options.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +59 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_processor.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information.rb +5 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_profile.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_rules.rb +225 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_score.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +19 -19
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded__links.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +7 -7
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +5 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information.rb +10 -10
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +3 -18
- data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_payment_information_payment_method.rb → tss_v2_transactions_post201_response__embedded_payment_information_payment_type.rb} +18 -8
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +19 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processor_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +5 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post400_response.rb +5 -5
- data/lib/cybersource_rest_client/models/ums_v1_users_get200_response.rb +2 -2
- data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_account_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_contact_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_organization_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_users.rb +2 -2
- data/lib/cybersource_rest_client/models/{body_1.rb → update_instrument_identifier_request.rb} +4 -4
- data/lib/cybersource_rest_client/models/{tms_v1_paymentinstruments_post201_response.rb → update_payment_instrument_request.rb} +13 -13
- data/lib/cybersource_rest_client/models/v1_file_details_get200_response.rb +2 -2
- data/lib/cybersource_rest_client/models/v1_file_details_get200_response__links.rb +2 -2
- data/lib/cybersource_rest_client/models/v1_file_details_get200_response__links_files.rb +2 -2
- data/lib/cybersource_rest_client/models/v1_file_details_get200_response__links_self.rb +2 -2
- data/lib/cybersource_rest_client/models/v1_file_details_get200_response_file_details.rb +2 -2
- data/lib/cybersource_rest_client/models/void_capture_request.rb +2 -2
- data/lib/cybersource_rest_client/models/void_credit_request.rb +2 -2
- data/lib/cybersource_rest_client/models/void_payment_request.rb +2 -2
- data/lib/cybersource_rest_client/models/void_refund_request.rb +2 -2
- data/lib/cybersource_rest_client/version.rb +2 -2
- metadata +89 -71
- data/lib/cybersource_rest_client/api/instrument_identifiers_api.rb +0 -102
- data/lib/cybersource_rest_client/api/payment_instruments_api.rb +0 -469
- data/lib/cybersource_rest_client/models/body_3.rb +0 -331
- data/lib/cybersource_rest_client/models/card_info.rb +0 -214
- data/lib/cybersource_rest_client/models/json_web_key.rb +0 -225
- data/lib/cybersource_rest_client/models/key_parameters.rb +0 -184
- data/lib/cybersource_rest_client/models/response_status.rb +0 -225
- data/lib/cybersource_rest_client/models/tmsv1instrumentidentifiers__links_self.rb +0 -183
- data/lib/cybersource_rest_client/models/tmsv1paymentinstruments_bank_account.rb +0 -184
- data/lib/cybersource_rest_client/models/tmsv1paymentinstruments_card.rb +0 -278
- data/lib/cybersource_rest_client/models/tmsv1paymentinstruments_processing_information_bank_transfer_options.rb +0 -184
- data/lib/cybersource_rest_client/models/tokenize_result.rb +0 -255
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +0 -184
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#CyberSource
|
2
|
+
#CyberSource Merged Spec
|
3
3
|
|
4
|
-
#
|
4
|
+
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
5
5
|
|
6
6
|
OpenAPI spec version: 0.0.1
|
7
7
|
|
@@ -20,13 +20,91 @@ module CyberSource
|
|
20
20
|
@api_client = api_client
|
21
21
|
@api_client.set_configuration(config)
|
22
22
|
end
|
23
|
+
# Create an Instrument Identifier
|
24
|
+
# @param profile_id The id of a profile containing user specific TMS configuration.
|
25
|
+
# @param create_instrument_identifier_request Please specify either a Card, Bank Account or Enrollable Card
|
26
|
+
# @param [Hash] opts the optional parameters
|
27
|
+
# @return [TmsV1InstrumentIdentifiersPost200Response]
|
28
|
+
def create_instrument_identifier(profile_id, create_instrument_identifier_request, opts = {})
|
29
|
+
data, status_code, headers = create_instrument_identifier_with_http_info(profile_id, create_instrument_identifier_request, opts)
|
30
|
+
return data, status_code, headers
|
31
|
+
end
|
32
|
+
|
33
|
+
# Create an Instrument Identifier
|
34
|
+
# @param profile_id The id of a profile containing user specific TMS configuration.
|
35
|
+
# @param create_instrument_identifier_request Please specify either a Card, Bank Account or Enrollable Card
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @return [Array<(TmsV1InstrumentIdentifiersPost200Response, Fixnum, Hash)>] TmsV1InstrumentIdentifiersPost200Response data, response status code and response headers
|
38
|
+
def create_instrument_identifier_with_http_info(profile_id, create_instrument_identifier_request, opts = {})
|
39
|
+
|
40
|
+
if @api_client.config.debugging
|
41
|
+
begin
|
42
|
+
raise
|
43
|
+
@api_client.config.logger.debug 'Calling API: InstrumentIdentifierApi.create_instrument_identifier ...'
|
44
|
+
rescue
|
45
|
+
puts 'Cannot write to log'
|
46
|
+
end
|
47
|
+
end
|
48
|
+
# verify the required parameter 'profile_id' is set
|
49
|
+
if @api_client.config.client_side_validation && profile_id.nil?
|
50
|
+
fail ArgumentError, "Missing the required parameter 'profile_id' when calling InstrumentIdentifierApi.create_instrument_identifier"
|
51
|
+
end
|
52
|
+
if @api_client.config.client_side_validation && profile_id.to_s.length > 36
|
53
|
+
fail ArgumentError, 'invalid value for "profile_id" when calling InstrumentIdentifierApi.create_instrument_identifier, the character length must be smaller than or equal to 36.'
|
54
|
+
end
|
55
|
+
|
56
|
+
if @api_client.config.client_side_validation && profile_id.to_s.length < 36
|
57
|
+
fail ArgumentError, 'invalid value for "profile_id" when calling InstrumentIdentifierApi.create_instrument_identifier, the character length must be great than or equal to 36.'
|
58
|
+
end
|
59
|
+
|
60
|
+
# verify the required parameter 'create_instrument_identifier_request' is set
|
61
|
+
if @api_client.config.client_side_validation && create_instrument_identifier_request.nil?
|
62
|
+
fail ArgumentError, "Missing the required parameter 'create_instrument_identifier_request' when calling InstrumentIdentifierApi.create_instrument_identifier"
|
63
|
+
end
|
64
|
+
# resource path
|
65
|
+
local_var_path = 'tms/v1/instrumentidentifiers'
|
66
|
+
|
67
|
+
# query parameters
|
68
|
+
query_params = {}
|
69
|
+
|
70
|
+
# header parameters
|
71
|
+
header_params = {}
|
72
|
+
# HTTP header 'Accept' (if needed)
|
73
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
|
74
|
+
# HTTP header 'Content-Type'
|
75
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
76
|
+
header_params[:'profile-id'] = profile_id
|
77
|
+
|
78
|
+
# form parameters
|
79
|
+
form_params = {}
|
80
|
+
|
81
|
+
# http body (model)
|
82
|
+
post_body = @api_client.object_to_http_body(create_instrument_identifier_request)
|
83
|
+
auth_names = []
|
84
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
85
|
+
:header_params => header_params,
|
86
|
+
:query_params => query_params,
|
87
|
+
:form_params => form_params,
|
88
|
+
:body => post_body,
|
89
|
+
:auth_names => auth_names,
|
90
|
+
:return_type => 'TmsV1InstrumentIdentifiersPost200Response')
|
91
|
+
if @api_client.config.debugging
|
92
|
+
begin
|
93
|
+
raise
|
94
|
+
@api_client.config.logger.debug "API called: InstrumentIdentifierApi#create_instrument_identifier\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
95
|
+
rescue
|
96
|
+
puts 'Cannot write to log'
|
97
|
+
end
|
98
|
+
end
|
99
|
+
return data, status_code, headers
|
100
|
+
end
|
23
101
|
# Delete an Instrument Identifier
|
24
102
|
# @param profile_id The id of a profile containing user specific TMS configuration.
|
25
103
|
# @param token_id The TokenId of an Instrument Identifier.
|
26
104
|
# @param [Hash] opts the optional parameters
|
27
105
|
# @return [nil]
|
28
|
-
def
|
29
|
-
data, status_code, headers =
|
106
|
+
def delete_instrument_identifier(profile_id, token_id, opts = {})
|
107
|
+
data, status_code, headers = delete_instrument_identifier_with_http_info(profile_id, token_id, opts)
|
30
108
|
return data, status_code, headers
|
31
109
|
end
|
32
110
|
|
@@ -35,38 +113,38 @@ module CyberSource
|
|
35
113
|
# @param token_id The TokenId of an Instrument Identifier.
|
36
114
|
# @param [Hash] opts the optional parameters
|
37
115
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
38
|
-
def
|
116
|
+
def delete_instrument_identifier_with_http_info(profile_id, token_id, opts = {})
|
39
117
|
|
40
118
|
if @api_client.config.debugging
|
41
119
|
begin
|
42
120
|
raise
|
43
|
-
@api_client.config.logger.debug 'Calling API: InstrumentIdentifierApi.
|
121
|
+
@api_client.config.logger.debug 'Calling API: InstrumentIdentifierApi.delete_instrument_identifier ...'
|
44
122
|
rescue
|
45
123
|
puts 'Cannot write to log'
|
46
124
|
end
|
47
125
|
end
|
48
126
|
# verify the required parameter 'profile_id' is set
|
49
127
|
if @api_client.config.client_side_validation && profile_id.nil?
|
50
|
-
fail ArgumentError, "Missing the required parameter 'profile_id' when calling InstrumentIdentifierApi.
|
128
|
+
fail ArgumentError, "Missing the required parameter 'profile_id' when calling InstrumentIdentifierApi.delete_instrument_identifier"
|
51
129
|
end
|
52
130
|
if @api_client.config.client_side_validation && profile_id.to_s.length > 36
|
53
|
-
fail ArgumentError, 'invalid value for "profile_id" when calling InstrumentIdentifierApi.
|
131
|
+
fail ArgumentError, 'invalid value for "profile_id" when calling InstrumentIdentifierApi.delete_instrument_identifier, the character length must be smaller than or equal to 36.'
|
54
132
|
end
|
55
133
|
|
56
134
|
if @api_client.config.client_side_validation && profile_id.to_s.length < 36
|
57
|
-
fail ArgumentError, 'invalid value for "profile_id" when calling InstrumentIdentifierApi.
|
135
|
+
fail ArgumentError, 'invalid value for "profile_id" when calling InstrumentIdentifierApi.delete_instrument_identifier, the character length must be great than or equal to 36.'
|
58
136
|
end
|
59
137
|
|
60
138
|
# verify the required parameter 'token_id' is set
|
61
139
|
if @api_client.config.client_side_validation && token_id.nil?
|
62
|
-
fail ArgumentError, "Missing the required parameter 'token_id' when calling InstrumentIdentifierApi.
|
140
|
+
fail ArgumentError, "Missing the required parameter 'token_id' when calling InstrumentIdentifierApi.delete_instrument_identifier"
|
63
141
|
end
|
64
142
|
if @api_client.config.client_side_validation && token_id.to_s.length > 32
|
65
|
-
fail ArgumentError, 'invalid value for "token_id" when calling InstrumentIdentifierApi.
|
143
|
+
fail ArgumentError, 'invalid value for "token_id" when calling InstrumentIdentifierApi.delete_instrument_identifier, the character length must be smaller than or equal to 32.'
|
66
144
|
end
|
67
145
|
|
68
146
|
if @api_client.config.client_side_validation && token_id.to_s.length < 16
|
69
|
-
fail ArgumentError, 'invalid value for "token_id" when calling InstrumentIdentifierApi.
|
147
|
+
fail ArgumentError, 'invalid value for "token_id" when calling InstrumentIdentifierApi.delete_instrument_identifier, the character length must be great than or equal to 16.'
|
70
148
|
end
|
71
149
|
|
72
150
|
# resource path
|
@@ -98,7 +176,111 @@ module CyberSource
|
|
98
176
|
if @api_client.config.debugging
|
99
177
|
begin
|
100
178
|
raise
|
101
|
-
@api_client.config.logger.debug "API called: InstrumentIdentifierApi#
|
179
|
+
@api_client.config.logger.debug "API called: InstrumentIdentifierApi#delete_instrument_identifier\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
180
|
+
rescue
|
181
|
+
puts 'Cannot write to log'
|
182
|
+
end
|
183
|
+
end
|
184
|
+
return data, status_code, headers
|
185
|
+
end
|
186
|
+
# Retrieve all Payment Instruments associated with an Instrument Identifier
|
187
|
+
# @param profile_id The id of a profile containing user specific TMS configuration.
|
188
|
+
# @param token_id The TokenId of an Instrument Identifier.
|
189
|
+
# @param [Hash] opts the optional parameters
|
190
|
+
# @option opts [Integer] :offset Starting Payment Instrument record in zero-based dataset that should be returned as the first object in the array. Default is 0. (default to 0)
|
191
|
+
# @option opts [Integer] :limit The maximum number of Payment Instruments that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (default to 20)
|
192
|
+
# @return [TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response]
|
193
|
+
def get_all_payment_instruments(profile_id, token_id, opts = {})
|
194
|
+
data, status_code, headers = get_all_payment_instruments_with_http_info(profile_id, token_id, opts)
|
195
|
+
return data, status_code, headers
|
196
|
+
end
|
197
|
+
|
198
|
+
# Retrieve all Payment Instruments associated with an Instrument Identifier
|
199
|
+
# @param profile_id The id of a profile containing user specific TMS configuration.
|
200
|
+
# @param token_id The TokenId of an Instrument Identifier.
|
201
|
+
# @param [Hash] opts the optional parameters
|
202
|
+
# @option opts [Integer] :offset Starting Payment Instrument record in zero-based dataset that should be returned as the first object in the array. Default is 0.
|
203
|
+
# @option opts [Integer] :limit The maximum number of Payment Instruments that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100.
|
204
|
+
# @return [Array<(TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response, Fixnum, Hash)>] TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response data, response status code and response headers
|
205
|
+
def get_all_payment_instruments_with_http_info(profile_id, token_id, opts = {})
|
206
|
+
|
207
|
+
if @api_client.config.debugging
|
208
|
+
begin
|
209
|
+
raise
|
210
|
+
@api_client.config.logger.debug 'Calling API: InstrumentIdentifierApi.get_all_payment_instruments ...'
|
211
|
+
rescue
|
212
|
+
puts 'Cannot write to log'
|
213
|
+
end
|
214
|
+
end
|
215
|
+
# verify the required parameter 'profile_id' is set
|
216
|
+
if @api_client.config.client_side_validation && profile_id.nil?
|
217
|
+
fail ArgumentError, "Missing the required parameter 'profile_id' when calling InstrumentIdentifierApi.get_all_payment_instruments"
|
218
|
+
end
|
219
|
+
if @api_client.config.client_side_validation && profile_id.to_s.length > 36
|
220
|
+
fail ArgumentError, 'invalid value for "profile_id" when calling InstrumentIdentifierApi.get_all_payment_instruments, the character length must be smaller than or equal to 36.'
|
221
|
+
end
|
222
|
+
|
223
|
+
if @api_client.config.client_side_validation && profile_id.to_s.length < 36
|
224
|
+
fail ArgumentError, 'invalid value for "profile_id" when calling InstrumentIdentifierApi.get_all_payment_instruments, the character length must be great than or equal to 36.'
|
225
|
+
end
|
226
|
+
|
227
|
+
# verify the required parameter 'token_id' is set
|
228
|
+
if @api_client.config.client_side_validation && token_id.nil?
|
229
|
+
fail ArgumentError, "Missing the required parameter 'token_id' when calling InstrumentIdentifierApi.get_all_payment_instruments"
|
230
|
+
end
|
231
|
+
if @api_client.config.client_side_validation && token_id.to_s.length > 32
|
232
|
+
fail ArgumentError, 'invalid value for "token_id" when calling InstrumentIdentifierApi.get_all_payment_instruments, the character length must be smaller than or equal to 32.'
|
233
|
+
end
|
234
|
+
|
235
|
+
if @api_client.config.client_side_validation && token_id.to_s.length < 16
|
236
|
+
fail ArgumentError, 'invalid value for "token_id" when calling InstrumentIdentifierApi.get_all_payment_instruments, the character length must be great than or equal to 16.'
|
237
|
+
end
|
238
|
+
|
239
|
+
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
240
|
+
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling InstrumentIdentifierApi.get_all_payment_instruments, must be greater than or equal to 0.'
|
241
|
+
end
|
242
|
+
|
243
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 100
|
244
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InstrumentIdentifierApi.get_all_payment_instruments, must be smaller than or equal to 100.'
|
245
|
+
end
|
246
|
+
|
247
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
248
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InstrumentIdentifierApi.get_all_payment_instruments, must be greater than or equal to 1.'
|
249
|
+
end
|
250
|
+
|
251
|
+
# resource path
|
252
|
+
local_var_path = 'tms/v1/instrumentidentifiers/{tokenId}/paymentinstruments'.sub('{' + 'tokenId' + '}', token_id.to_s)
|
253
|
+
|
254
|
+
# query parameters
|
255
|
+
query_params = {}
|
256
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
257
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
258
|
+
|
259
|
+
# header parameters
|
260
|
+
header_params = {}
|
261
|
+
# HTTP header 'Accept' (if needed)
|
262
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
|
263
|
+
# HTTP header 'Content-Type'
|
264
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
265
|
+
header_params[:'profile-id'] = profile_id
|
266
|
+
|
267
|
+
# form parameters
|
268
|
+
form_params = {}
|
269
|
+
|
270
|
+
# http body (model)
|
271
|
+
post_body = nil
|
272
|
+
auth_names = []
|
273
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
274
|
+
:header_params => header_params,
|
275
|
+
:query_params => query_params,
|
276
|
+
:form_params => form_params,
|
277
|
+
:body => post_body,
|
278
|
+
:auth_names => auth_names,
|
279
|
+
:return_type => 'TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response')
|
280
|
+
if @api_client.config.debugging
|
281
|
+
begin
|
282
|
+
raise
|
283
|
+
@api_client.config.logger.debug "API called: InstrumentIdentifierApi#get_all_payment_instruments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
102
284
|
rescue
|
103
285
|
puts 'Cannot write to log'
|
104
286
|
end
|
@@ -109,9 +291,9 @@ module CyberSource
|
|
109
291
|
# @param profile_id The id of a profile containing user specific TMS configuration.
|
110
292
|
# @param token_id The TokenId of an Instrument Identifier.
|
111
293
|
# @param [Hash] opts the optional parameters
|
112
|
-
# @return [
|
113
|
-
def
|
114
|
-
data, status_code, headers =
|
294
|
+
# @return [TmsV1InstrumentIdentifiersPost200Response]
|
295
|
+
def get_instrument_identifier(profile_id, token_id, opts = {})
|
296
|
+
data, status_code, headers = get_instrument_identifier_with_http_info(profile_id, token_id, opts)
|
115
297
|
return data, status_code, headers
|
116
298
|
end
|
117
299
|
|
@@ -119,39 +301,39 @@ module CyberSource
|
|
119
301
|
# @param profile_id The id of a profile containing user specific TMS configuration.
|
120
302
|
# @param token_id The TokenId of an Instrument Identifier.
|
121
303
|
# @param [Hash] opts the optional parameters
|
122
|
-
# @return [Array<(
|
123
|
-
def
|
304
|
+
# @return [Array<(TmsV1InstrumentIdentifiersPost200Response, Fixnum, Hash)>] TmsV1InstrumentIdentifiersPost200Response data, response status code and response headers
|
305
|
+
def get_instrument_identifier_with_http_info(profile_id, token_id, opts = {})
|
124
306
|
|
125
307
|
if @api_client.config.debugging
|
126
308
|
begin
|
127
309
|
raise
|
128
|
-
@api_client.config.logger.debug 'Calling API: InstrumentIdentifierApi.
|
310
|
+
@api_client.config.logger.debug 'Calling API: InstrumentIdentifierApi.get_instrument_identifier ...'
|
129
311
|
rescue
|
130
312
|
puts 'Cannot write to log'
|
131
313
|
end
|
132
314
|
end
|
133
315
|
# verify the required parameter 'profile_id' is set
|
134
316
|
if @api_client.config.client_side_validation && profile_id.nil?
|
135
|
-
fail ArgumentError, "Missing the required parameter 'profile_id' when calling InstrumentIdentifierApi.
|
317
|
+
fail ArgumentError, "Missing the required parameter 'profile_id' when calling InstrumentIdentifierApi.get_instrument_identifier"
|
136
318
|
end
|
137
319
|
if @api_client.config.client_side_validation && profile_id.to_s.length > 36
|
138
|
-
fail ArgumentError, 'invalid value for "profile_id" when calling InstrumentIdentifierApi.
|
320
|
+
fail ArgumentError, 'invalid value for "profile_id" when calling InstrumentIdentifierApi.get_instrument_identifier, the character length must be smaller than or equal to 36.'
|
139
321
|
end
|
140
322
|
|
141
323
|
if @api_client.config.client_side_validation && profile_id.to_s.length < 36
|
142
|
-
fail ArgumentError, 'invalid value for "profile_id" when calling InstrumentIdentifierApi.
|
324
|
+
fail ArgumentError, 'invalid value for "profile_id" when calling InstrumentIdentifierApi.get_instrument_identifier, the character length must be great than or equal to 36.'
|
143
325
|
end
|
144
326
|
|
145
327
|
# verify the required parameter 'token_id' is set
|
146
328
|
if @api_client.config.client_side_validation && token_id.nil?
|
147
|
-
fail ArgumentError, "Missing the required parameter 'token_id' when calling InstrumentIdentifierApi.
|
329
|
+
fail ArgumentError, "Missing the required parameter 'token_id' when calling InstrumentIdentifierApi.get_instrument_identifier"
|
148
330
|
end
|
149
331
|
if @api_client.config.client_side_validation && token_id.to_s.length > 32
|
150
|
-
fail ArgumentError, 'invalid value for "token_id" when calling InstrumentIdentifierApi.
|
332
|
+
fail ArgumentError, 'invalid value for "token_id" when calling InstrumentIdentifierApi.get_instrument_identifier, the character length must be smaller than or equal to 32.'
|
151
333
|
end
|
152
334
|
|
153
335
|
if @api_client.config.client_side_validation && token_id.to_s.length < 16
|
154
|
-
fail ArgumentError, 'invalid value for "token_id" when calling InstrumentIdentifierApi.
|
336
|
+
fail ArgumentError, 'invalid value for "token_id" when calling InstrumentIdentifierApi.get_instrument_identifier, the character length must be great than or equal to 16.'
|
155
337
|
end
|
156
338
|
|
157
339
|
# resource path
|
@@ -180,11 +362,11 @@ module CyberSource
|
|
180
362
|
:form_params => form_params,
|
181
363
|
:body => post_body,
|
182
364
|
:auth_names => auth_names,
|
183
|
-
:return_type => '
|
365
|
+
:return_type => 'TmsV1InstrumentIdentifiersPost200Response')
|
184
366
|
if @api_client.config.debugging
|
185
367
|
begin
|
186
368
|
raise
|
187
|
-
@api_client.config.logger.debug "API called: InstrumentIdentifierApi#
|
369
|
+
@api_client.config.logger.debug "API called: InstrumentIdentifierApi#get_instrument_identifier\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
188
370
|
rescue
|
189
371
|
puts 'Cannot write to log'
|
190
372
|
end
|
@@ -194,57 +376,57 @@ module CyberSource
|
|
194
376
|
# Update a Instrument Identifier
|
195
377
|
# @param profile_id The id of a profile containing user specific TMS configuration.
|
196
378
|
# @param token_id The TokenId of an Instrument Identifier.
|
197
|
-
# @param
|
379
|
+
# @param update_instrument_identifier_request Specify the previous transaction ID to update.
|
198
380
|
# @param [Hash] opts the optional parameters
|
199
|
-
# @return [
|
200
|
-
def
|
201
|
-
data, status_code, headers =
|
381
|
+
# @return [TmsV1InstrumentIdentifiersPost200Response]
|
382
|
+
def update_instrument_identifier(profile_id, token_id, update_instrument_identifier_request, opts = {})
|
383
|
+
data, status_code, headers = update_instrument_identifier_with_http_info(profile_id, token_id, update_instrument_identifier_request, opts)
|
202
384
|
return data, status_code, headers
|
203
385
|
end
|
204
386
|
|
205
387
|
# Update a Instrument Identifier
|
206
388
|
# @param profile_id The id of a profile containing user specific TMS configuration.
|
207
389
|
# @param token_id The TokenId of an Instrument Identifier.
|
208
|
-
# @param
|
390
|
+
# @param update_instrument_identifier_request Specify the previous transaction ID to update.
|
209
391
|
# @param [Hash] opts the optional parameters
|
210
|
-
# @return [Array<(
|
211
|
-
def
|
392
|
+
# @return [Array<(TmsV1InstrumentIdentifiersPost200Response, Fixnum, Hash)>] TmsV1InstrumentIdentifiersPost200Response data, response status code and response headers
|
393
|
+
def update_instrument_identifier_with_http_info(profile_id, token_id, update_instrument_identifier_request, opts = {})
|
212
394
|
|
213
395
|
if @api_client.config.debugging
|
214
396
|
begin
|
215
397
|
raise
|
216
|
-
@api_client.config.logger.debug 'Calling API: InstrumentIdentifierApi.
|
398
|
+
@api_client.config.logger.debug 'Calling API: InstrumentIdentifierApi.update_instrument_identifier ...'
|
217
399
|
rescue
|
218
400
|
puts 'Cannot write to log'
|
219
401
|
end
|
220
402
|
end
|
221
403
|
# verify the required parameter 'profile_id' is set
|
222
404
|
if @api_client.config.client_side_validation && profile_id.nil?
|
223
|
-
fail ArgumentError, "Missing the required parameter 'profile_id' when calling InstrumentIdentifierApi.
|
405
|
+
fail ArgumentError, "Missing the required parameter 'profile_id' when calling InstrumentIdentifierApi.update_instrument_identifier"
|
224
406
|
end
|
225
407
|
if @api_client.config.client_side_validation && profile_id.to_s.length > 36
|
226
|
-
fail ArgumentError, 'invalid value for "profile_id" when calling InstrumentIdentifierApi.
|
408
|
+
fail ArgumentError, 'invalid value for "profile_id" when calling InstrumentIdentifierApi.update_instrument_identifier, the character length must be smaller than or equal to 36.'
|
227
409
|
end
|
228
410
|
|
229
411
|
if @api_client.config.client_side_validation && profile_id.to_s.length < 36
|
230
|
-
fail ArgumentError, 'invalid value for "profile_id" when calling InstrumentIdentifierApi.
|
412
|
+
fail ArgumentError, 'invalid value for "profile_id" when calling InstrumentIdentifierApi.update_instrument_identifier, the character length must be great than or equal to 36.'
|
231
413
|
end
|
232
414
|
|
233
415
|
# verify the required parameter 'token_id' is set
|
234
416
|
if @api_client.config.client_side_validation && token_id.nil?
|
235
|
-
fail ArgumentError, "Missing the required parameter 'token_id' when calling InstrumentIdentifierApi.
|
417
|
+
fail ArgumentError, "Missing the required parameter 'token_id' when calling InstrumentIdentifierApi.update_instrument_identifier"
|
236
418
|
end
|
237
419
|
if @api_client.config.client_side_validation && token_id.to_s.length > 32
|
238
|
-
fail ArgumentError, 'invalid value for "token_id" when calling InstrumentIdentifierApi.
|
420
|
+
fail ArgumentError, 'invalid value for "token_id" when calling InstrumentIdentifierApi.update_instrument_identifier, the character length must be smaller than or equal to 32.'
|
239
421
|
end
|
240
422
|
|
241
423
|
if @api_client.config.client_side_validation && token_id.to_s.length < 16
|
242
|
-
fail ArgumentError, 'invalid value for "token_id" when calling InstrumentIdentifierApi.
|
424
|
+
fail ArgumentError, 'invalid value for "token_id" when calling InstrumentIdentifierApi.update_instrument_identifier, the character length must be great than or equal to 16.'
|
243
425
|
end
|
244
426
|
|
245
|
-
# verify the required parameter '
|
246
|
-
if @api_client.config.client_side_validation &&
|
247
|
-
fail ArgumentError, "Missing the required parameter '
|
427
|
+
# verify the required parameter 'update_instrument_identifier_request' is set
|
428
|
+
if @api_client.config.client_side_validation && update_instrument_identifier_request.nil?
|
429
|
+
fail ArgumentError, "Missing the required parameter 'update_instrument_identifier_request' when calling InstrumentIdentifierApi.update_instrument_identifier"
|
248
430
|
end
|
249
431
|
# resource path
|
250
432
|
local_var_path = 'tms/v1/instrumentidentifiers/{tokenId}'.sub('{' + 'tokenId' + '}', token_id.to_s)
|
@@ -264,7 +446,7 @@ module CyberSource
|
|
264
446
|
form_params = {}
|
265
447
|
|
266
448
|
# http body (model)
|
267
|
-
post_body = @api_client.object_to_http_body(
|
449
|
+
post_body = @api_client.object_to_http_body(update_instrument_identifier_request)
|
268
450
|
auth_names = []
|
269
451
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
270
452
|
:header_params => header_params,
|
@@ -272,11 +454,11 @@ module CyberSource
|
|
272
454
|
:form_params => form_params,
|
273
455
|
:body => post_body,
|
274
456
|
:auth_names => auth_names,
|
275
|
-
:return_type => '
|
457
|
+
:return_type => 'TmsV1InstrumentIdentifiersPost200Response')
|
276
458
|
if @api_client.config.debugging
|
277
459
|
begin
|
278
460
|
raise
|
279
|
-
@api_client.config.logger.debug "API called: InstrumentIdentifierApi#
|
461
|
+
@api_client.config.logger.debug "API called: InstrumentIdentifierApi#update_instrument_identifier\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
280
462
|
rescue
|
281
463
|
puts 'Cannot write to log'
|
282
464
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#CyberSource
|
2
|
+
#CyberSource Merged Spec
|
3
3
|
|
4
|
-
#
|
4
|
+
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
5
5
|
|
6
6
|
OpenAPI spec version: 0.0.1
|
7
7
|
|
@@ -22,20 +22,20 @@ module CyberSource
|
|
22
22
|
end
|
23
23
|
# Generate Key
|
24
24
|
# Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request. The key used to encrypt the card number on the cardholder’s device or browser is valid for 15 minutes and must be used to verify the signature in the response message. CyberSource recommends creating a new key for each order. Generating a key is an authenticated request initiated from your servers, prior to requesting to tokenize the card data from your customer’s device or browser.
|
25
|
+
# @param generate_public_key_request
|
25
26
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @option opts [GeneratePublicKeyRequest] :generate_public_key_request
|
27
27
|
# @return [FlexV1KeysPost200Response]
|
28
|
-
def generate_public_key(opts = {})
|
29
|
-
data, status_code, headers = generate_public_key_with_http_info(opts)
|
28
|
+
def generate_public_key(generate_public_key_request, opts = {})
|
29
|
+
data, status_code, headers = generate_public_key_with_http_info(generate_public_key_request, opts)
|
30
30
|
return data, status_code, headers
|
31
31
|
end
|
32
32
|
|
33
33
|
# Generate Key
|
34
34
|
# Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request. The key used to encrypt the card number on the cardholder’s device or browser is valid for 15 minutes and must be used to verify the signature in the response message. CyberSource recommends creating a new key for each order. Generating a key is an authenticated request initiated from your servers, prior to requesting to tokenize the card data from your customer’s device or browser.
|
35
|
+
# @param generate_public_key_request
|
35
36
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @option opts [GeneratePublicKeyRequest] :generate_public_key_request
|
37
37
|
# @return [Array<(FlexV1KeysPost200Response, Fixnum, Hash)>] FlexV1KeysPost200Response data, response status code and response headers
|
38
|
-
def generate_public_key_with_http_info(opts = {})
|
38
|
+
def generate_public_key_with_http_info(generate_public_key_request, opts = {})
|
39
39
|
|
40
40
|
if @api_client.config.debugging
|
41
41
|
begin
|
@@ -45,8 +45,12 @@ module CyberSource
|
|
45
45
|
puts 'Cannot write to log'
|
46
46
|
end
|
47
47
|
end
|
48
|
+
# verify the required parameter 'generate_public_key_request' is set
|
49
|
+
if @api_client.config.client_side_validation && generate_public_key_request.nil?
|
50
|
+
fail ArgumentError, "Missing the required parameter 'generate_public_key_request' when calling KeyGenerationApi.generate_public_key"
|
51
|
+
end
|
48
52
|
# resource path
|
49
|
-
local_var_path = 'flex/v1/keys
|
53
|
+
local_var_path = 'flex/v1/keys'
|
50
54
|
|
51
55
|
# query parameters
|
52
56
|
query_params = {}
|
@@ -62,7 +66,7 @@ module CyberSource
|
|
62
66
|
form_params = {}
|
63
67
|
|
64
68
|
# http body (model)
|
65
|
-
post_body = @api_client.object_to_http_body(
|
69
|
+
post_body = @api_client.object_to_http_body(generate_public_key_request)
|
66
70
|
auth_names = []
|
67
71
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
68
72
|
:header_params => header_params,
|