cybersource_rest_client 0.0.56 → 0.0.58
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/core/Authorization.rb +1 -1
- data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +8 -0
- data/lib/cybersource_rest_client/api/batches_api.rb +14 -26
- data/lib/cybersource_rest_client/api/billing_agreements_api.rb +6 -0
- data/lib/cybersource_rest_client/api/capture_api.rb +2 -0
- data/lib/cybersource_rest_client/api/chargeback_details_api.rb +2 -8
- data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +2 -8
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +2 -8
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +21 -37
- data/lib/cybersource_rest_client/api/credit_api.rb +2 -0
- data/lib/cybersource_rest_client/api/customer_api.rb +8 -64
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +10 -124
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +10 -124
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +10 -0
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +2 -0
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +2 -0
- data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +4 -0
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +12 -108
- data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +2 -8
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +4 -0
- data/lib/cybersource_rest_client/api/invoices_api.rb +12 -0
- data/lib/cybersource_rest_client/api/keymanagement_api.rb +2 -0
- data/lib/cybersource_rest_client/api/keymanagementpassword_api.rb +2 -0
- data/lib/cybersource_rest_client/api/keymanagementpgp_api.rb +2 -0
- data/lib/cybersource_rest_client/api/keymanagementscmp_api.rb +2 -0
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +77 -93
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +2 -2
- data/lib/cybersource_rest_client/api/microform_integration_api.rb +2 -0
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +2 -8
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +2 -0
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +6 -0
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +2 -16
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +8 -64
- data/lib/cybersource_rest_client/api/payments_api.rb +6 -0
- data/lib/cybersource_rest_client/api/payouts_api.rb +2 -0
- data/lib/cybersource_rest_client/api/plans_api.rb +16 -0
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +2 -16
- data/lib/cybersource_rest_client/api/push_funds_api.rb +2 -0
- data/lib/cybersource_rest_client/api/refund_api.rb +4 -0
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +4 -16
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +2 -8
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +12 -58
- data/lib/cybersource_rest_client/api/reports_api.rb +8 -26
- data/lib/cybersource_rest_client/api/retrieval_details_api.rb +2 -8
- data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +2 -8
- data/lib/cybersource_rest_client/api/reversal_api.rb +4 -0
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +4 -0
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +4 -16
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +16 -0
- data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +8 -0
- data/lib/cybersource_rest_client/api/taxes_api.rb +4 -0
- data/lib/cybersource_rest_client/api/token_api.rb +13 -23
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +6 -0
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +2 -0
- data/lib/cybersource_rest_client/api/transient_token_data_api.rb +2 -0
- data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +2 -0
- data/lib/cybersource_rest_client/api/user_management_api.rb +2 -0
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +2 -0
- data/lib/cybersource_rest_client/api/verification_api.rb +4 -0
- data/lib/cybersource_rest_client/api/void_api.rb +10 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_product_information_selected_products.rb +1 -1
- data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater.rb +1 -1
- data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup.rb +1 -1
- data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management.rb +1 -1
- data/lib/cybersource_rest_client/models/create_bundled_decision_manager_case_request.rb +1 -1
- data/lib/cybersource_rest_client/models/create_search_request.rb +1 -1
- data/lib/cybersource_rest_client/models/{create_webhook.rb → create_webhook_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information_bill_to.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get404_response.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information_company.rb +1 -1
- data/lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kms_v2_keys_asym_get200_response_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kmsv2keysasym_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kmsv2keyssym_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kmsv2keyssymdeletes_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kmsv2keyssymverifi_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present.rb +4 -4
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_installment.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_payouts.rb +2 -2
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_processors.rb +2 -2
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_present_processors.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_common_merchant_descriptor_info.rb +2 -2
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_features_card_not_present_payouts_currencies.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service.rb +3 -3
- data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service_internal_only.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service_processors.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_j_cbj_secure.rb +2 -2
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_verified.rb +2 -2
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_verified_currencies.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_notifications_customer_notifications.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_notifications_merchant_notifications.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_payment_types_card_types.rb +5 -5
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_payment_types_card_types_discover.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_global_payment_info.rb +4 -4
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_global_payment_info_basic_info.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_merchant_defined_data_fields.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_payment_info.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info.rb +4 -4
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_email_receipt.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_header.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_order_info.rb +1 -1
- data/lib/cybersource_rest_client/models/{payment_products.rb → payments_products.rb} +18 -18
- data/lib/cybersource_rest_client/models/{payment_products_currency_conversion.rb → payments_products_card_present_connect.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_currency_conversion_configuration_information.rb → payments_products_card_present_connect_configuration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_card_present_connect_configuration_information_configurations.rb → payments_products_card_present_connect_configuration_information_configurations.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_card_present_connect_subscription_information.rb → payments_products_card_present_connect_subscription_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_card_processing.rb → payments_products_card_processing.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_configuration_information.rb → payments_products_card_processing_configuration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations.rb → payments_products_card_processing_configuration_information_configurations.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common.rb → payments_products_card_processing_configuration_information_configurations_common.rb} +4 -4
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_acquirer.rb → payments_products_card_processing_configuration_information_configurations_common_acquirer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_currencies.rb → payments_products_card_processing_configuration_information_configurations_common_currencies.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_currencies_1.rb → payments_products_card_processing_configuration_information_configurations_common_currencies_1.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_payment_types.rb → payments_products_card_processing_configuration_information_configurations_common_payment_types.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_processors.rb → payments_products_card_processing_configuration_information_configurations_common_processors.rb} +10 -10
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_features.rb → payments_products_card_processing_configuration_information_configurations_features.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_features_card_present.rb → payments_products_card_processing_configuration_information_configurations_features_card_present.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_subscription_information.rb → payments_products_card_processing_subscription_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_subscription_information_features.rb → payments_products_card_processing_subscription_information_features.rb} +1 -1
- data/lib/cybersource_rest_client/models/payments_products_currency_conversion.rb +200 -0
- data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_configuration_information.rb → payments_products_currency_conversion_configuration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_currency_conversion_configuration_information_configurations.rb → payments_products_currency_conversion_configuration_information_configurations.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_currency_conversion_configuration_information_configurations_processors.rb → payments_products_currency_conversion_configuration_information_configurations_processors.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_cybs_ready_terminal.rb → payments_products_cybs_ready_terminal.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_differential_fee.rb → payments_products_differential_fee.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_differential_fee_subscription_information.rb → payments_products_differential_fee_subscription_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_differential_fee_subscription_information_features.rb → payments_products_differential_fee_subscription_information_features.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_digital_payments.rb → payments_products_digital_payments.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_digital_payments_subscription_information.rb → payments_products_digital_payments_subscription_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_payouts.rb → payments_products_e_check.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_common_internal_only_processors.rb → payments_products_e_check_config_common_internal_only_processors.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information.rb → payments_products_e_check_configuration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations.rb → payments_products_e_check_configuration_information_configurations.rb} +4 -4
- data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_common.rb → payments_products_e_check_configuration_information_configurations_common.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_common_internal_only.rb → payments_products_e_check_configuration_information_configurations_common_internal_only.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_common_processors.rb → payments_products_e_check_configuration_information_configurations_common_processors.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_features.rb → payments_products_e_check_configuration_information_configurations_features.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_underwriting.rb → payments_products_e_check_configuration_information_configurations_underwriting.rb} +4 -4
- data/lib/cybersource_rest_client/models/{payment_products_e_check_subscription_information.rb → payments_products_e_check_subscription_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/payments_products_payer_authentication.rb +200 -0
- data/lib/cybersource_rest_client/models/{payment_products_card_present_connect_configuration_information.rb → payments_products_payer_authentication_configuration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_configuration_information_configurations.rb → payments_products_payer_authentication_configuration_information_configurations.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_configuration_information_configurations_card_types.rb → payments_products_payer_authentication_configuration_information_configurations_card_types.rb} +9 -9
- data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_configuration_information_configurations_card_types_cb.rb → payments_products_payer_authentication_configuration_information_configurations_card_types_cb.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_subscription_information.rb → payments_products_payer_authentication_subscription_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_e_check.rb → payments_products_payouts.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information.rb → payments_products_payouts_configuration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information_configurations.rb → payments_products_payouts_configuration_information_configurations.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information_configurations_processor_account.rb → payments_products_payouts_configuration_information_configurations_processor_account.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information_configurations_pullfunds.rb → payments_products_payouts_configuration_information_configurations_pullfunds.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information_configurations_pushfunds.rb → payments_products_payouts_configuration_information_configurations_pushfunds.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_card_present_connect.rb → payments_products_secure_acceptance.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information.rb → payments_products_secure_acceptance_configuration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations.rb → payments_products_secure_acceptance_configuration_information_configurations.rb} +7 -7
- data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_checkout.rb → payments_products_secure_acceptance_configuration_information_configurations_checkout.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_contact_information.rb → payments_products_secure_acceptance_configuration_information_configurations_contact_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_notifications.rb → payments_products_secure_acceptance_configuration_information_configurations_notifications.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_payment_methods.rb → payments_products_secure_acceptance_configuration_information_configurations_payment_methods.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_payment_types.rb → payments_products_secure_acceptance_configuration_information_configurations_payment_types.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_service.rb → payments_products_secure_acceptance_configuration_information_configurations_service.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_tax.rb → payments_products_tax.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance.rb → payments_products_virtual_terminal.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information.rb → payments_products_virtual_terminal_configuration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_configuration_information_configurations.rb → payments_products_virtual_terminal_configuration_information_configurations.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_configuration_information_configurations_card_not_present.rb → payments_products_virtual_terminal_configuration_information_configurations_card_not_present.rb} +3 -3
- data/lib/cybersource_rest_client/models/post_payment_credentials_request.rb +191 -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_incremental_authorization_patch201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +16 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_bill_to.rb +4 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_ship_to.rb +6 -6
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_payment_type_method.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_buyer_information.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +4 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_capture.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.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_processor_information.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +18 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_info_codes.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_score.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_watchlist_screening_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_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 +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information_sub_merchant.rb +8 -8
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information_merchant_descriptor.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_point_of_service_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_device_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information_merchant_descriptor.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_bill_to.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_acquirer_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +9 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_location.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +9 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +7 -7
- 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 +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type_method.rb +1 -1
- 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 +4 -4
- 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 +6 -6
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_watchlist_screening_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_watchlist_screening_information_weights.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +8 -8
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_device_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/push_funds201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/{replay_webhooks.rb → replay_webhooks_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/risk_products_decision_manager.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_products_fraud_management_essentials.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +4 -4
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +7 -7
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information.rb +5 -17
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +4 -4
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_acquirer_information.rb +248 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +6 -6
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information_merchant_descriptor.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +4 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +7 -7
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +4 -4
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +6 -6
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information_marking_details.rb +2 -2
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bill_to.rb +5 -5
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card.rb +24 -2
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +1 -1
- 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 +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +7 -7
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +6 -6
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options_initiator.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +10 -10
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +1 -1
- 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_order_information_bill_to.rb +4 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +1 -1
- data/lib/cybersource_rest_client/models/tssv2transactionsemv_tag_details_emv_details_list.rb +1 -1
- data/lib/cybersource_rest_client/models/{update_webhook.rb → update_webhook_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to.rb +7 -7
- data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to_company.rb +3 -3
- data/lib/cybersource_rest_client/models/value_added_services_products.rb +2 -2
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_tax_information.rb +1 -1
- data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +7 -7
- data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +1 -1
- data/lib/cybersource_rest_client.rb +69 -68
- metadata +98 -97
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication.rb +0 -200
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal.rb +0 -200
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +0 -240
@@ -22,11 +22,13 @@ module CyberSource
|
|
22
22
|
end
|
23
23
|
# Interchange Clearing Level data for an account or a merchant
|
24
24
|
# Interchange Clearing Level data for an account or a merchant
|
25
|
+
#
|
25
26
|
# @param start_time Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
26
27
|
# @param end_time Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
27
28
|
# @param [Hash] opts the optional parameters
|
28
29
|
# @option opts [String] :organization_id Valid Organization Id
|
29
30
|
# @return [ReportingV3InterchangeClearingLevelDetailsGet200Response]
|
31
|
+
#
|
30
32
|
def get_interchange_clearing_level_details(start_time, end_time, opts = {})
|
31
33
|
data, status_code, headers = get_interchange_clearing_level_details_with_http_info(start_time, end_time, opts)
|
32
34
|
return data, status_code, headers
|
@@ -57,14 +59,6 @@ module CyberSource
|
|
57
59
|
if @api_client.config.client_side_validation && end_time.nil?
|
58
60
|
fail ArgumentError, "Missing the required parameter 'end_time' when calling InterchangeClearingLevelDetailsApi.get_interchange_clearing_level_details"
|
59
61
|
end
|
60
|
-
if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length > 32
|
61
|
-
fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling InterchangeClearingLevelDetailsApi.get_interchange_clearing_level_details, the character length must be smaller than or equal to 32.'
|
62
|
-
end
|
63
|
-
|
64
|
-
if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length < 1
|
65
|
-
fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling InterchangeClearingLevelDetailsApi.get_interchange_clearing_level_details, the character length must be great than or equal to 1.'
|
66
|
-
end
|
67
|
-
|
68
62
|
#if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ Regexp.new(/[a-zA-Z0-9-_]+/)
|
69
63
|
#fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling InterchangeClearingLevelDetailsApi.get_interchange_clearing_level_details, must conform to the pattern /[a-zA-Z0-9-_]+/."
|
70
64
|
#end
|
@@ -22,8 +22,10 @@ module CyberSource
|
|
22
22
|
end
|
23
23
|
# Get Invoice Settings
|
24
24
|
# Allows you to retrieve the invoice settings for the payment page.
|
25
|
+
#
|
25
26
|
# @param [Hash] opts the optional parameters
|
26
27
|
# @return [InvoicingV2InvoiceSettingsGet200Response]
|
28
|
+
#
|
27
29
|
def get_invoice_settings(opts = {})
|
28
30
|
data, status_code, headers = get_invoice_settings_with_http_info(opts)
|
29
31
|
return data, status_code, headers
|
@@ -85,9 +87,11 @@ module CyberSource
|
|
85
87
|
end
|
86
88
|
# Update Invoice Settings
|
87
89
|
# Allows you to customize the payment page, the checkout experience, email communication and payer authentication. You can customize the invoice to match your brand with your business name, logo and brand colors, and a VAT Tax number. You can choose to capture the payers shipping details, phone number and email during the checkout process. You can add a custom message to all invoice emails and enable or disable payer authentication for invoice payments.
|
90
|
+
#
|
88
91
|
# @param invoice_settings_request
|
89
92
|
# @param [Hash] opts the optional parameters
|
90
93
|
# @return [InvoicingV2InvoiceSettingsGet200Response]
|
94
|
+
#
|
91
95
|
def update_invoice_settings(invoice_settings_request, opts = {})
|
92
96
|
data, status_code, headers = update_invoice_settings_with_http_info(invoice_settings_request, opts)
|
93
97
|
return data, status_code, headers
|
@@ -22,9 +22,11 @@ module CyberSource
|
|
22
22
|
end
|
23
23
|
# Create a New Invoice
|
24
24
|
# The invoicing product enables you to bill any customer with an email address and accept digital payments securely from any connected device. You can either use the system generated email or use the invoice payment link in your own communication. You can add discounts and taxes for the entire invoice or for each line item. To customize the invoice to match your brand see [Invoice Settings](https://developer.cybersource.com/api-reference-assets/index.html#invoicing_invoice-settings_update-invoice-settings). The invoice payment page uses Unified Checkout to process the payments.
|
25
|
+
#
|
25
26
|
# @param create_invoice_request
|
26
27
|
# @param [Hash] opts the optional parameters
|
27
28
|
# @return [InvoicingV2InvoicesPost201Response]
|
29
|
+
#
|
28
30
|
def create_invoice(create_invoice_request, opts = {})
|
29
31
|
data, status_code, headers = create_invoice_with_http_info(create_invoice_request, opts)
|
30
32
|
return data, status_code, headers
|
@@ -89,11 +91,13 @@ module CyberSource
|
|
89
91
|
end
|
90
92
|
# Get a List of Invoices
|
91
93
|
# Provides a (filtered) list of invoices that have been created in your account. You can filter the list based on Invoice Status by setting the status query parameter to one of DRAFT, CREATED, SENT, PARTIAL, PAID or CANCELED.
|
94
|
+
#
|
92
95
|
# @param offset Page offset number.
|
93
96
|
# @param limit Maximum number of items you would like returned.
|
94
97
|
# @param [Hash] opts the optional parameters
|
95
98
|
# @option opts [String] :status The status of the invoice. Possible values: - DRAFT - CREATED - SENT - PARTIAL - PAID - CANCELED
|
96
99
|
# @return [InvoicingV2InvoicesAllGet200Response]
|
100
|
+
#
|
97
101
|
def get_all_invoices(offset, limit, opts = {})
|
98
102
|
data, status_code, headers = get_all_invoices_with_http_info(offset, limit, opts)
|
99
103
|
return data, status_code, headers
|
@@ -169,9 +173,11 @@ module CyberSource
|
|
169
173
|
end
|
170
174
|
# Get Invoice Details
|
171
175
|
# You can retrieve details of a specific invoice. This can be used to check the Invoice status and get a list of invoice payments in the invoice history section of the response. For each payment transaction you can use the Transaction Details API to get more details on the payment transaction.
|
176
|
+
#
|
172
177
|
# @param id The invoice number.
|
173
178
|
# @param [Hash] opts the optional parameters
|
174
179
|
# @return [InvoicingV2InvoicesGet200Response]
|
180
|
+
#
|
175
181
|
def get_invoice(id, opts = {})
|
176
182
|
data, status_code, headers = get_invoice_with_http_info(id, opts)
|
177
183
|
return data, status_code, headers
|
@@ -238,9 +244,11 @@ module CyberSource
|
|
238
244
|
end
|
239
245
|
# Cancel an Invoice
|
240
246
|
# You can cancel an invoice if no payment is made to it. You cannot cancel partially or fully paid invoices.
|
247
|
+
#
|
241
248
|
# @param id The invoice number.
|
242
249
|
# @param [Hash] opts the optional parameters
|
243
250
|
# @return [InvoicingV2InvoicesPost201Response]
|
251
|
+
#
|
244
252
|
def perform_cancel_action(id, opts = {})
|
245
253
|
data, status_code, headers = perform_cancel_action_with_http_info(id, opts)
|
246
254
|
return data, status_code, headers
|
@@ -307,9 +315,11 @@ module CyberSource
|
|
307
315
|
end
|
308
316
|
# Send an Invoice
|
309
317
|
# You can send an invoice in draft or created state or resend a sent or partially paid invoice. Fully paid or canceled invoices cannot be resent.
|
318
|
+
#
|
310
319
|
# @param id The invoice number.
|
311
320
|
# @param [Hash] opts the optional parameters
|
312
321
|
# @return [InvoicingV2InvoicesPost201Response]
|
322
|
+
#
|
313
323
|
def perform_send_action(id, opts = {})
|
314
324
|
data, status_code, headers = perform_send_action_with_http_info(id, opts)
|
315
325
|
return data, status_code, headers
|
@@ -376,10 +386,12 @@ module CyberSource
|
|
376
386
|
end
|
377
387
|
# Update an Invoice
|
378
388
|
# You can update all information except the invoice number till any payment is received for an invoice. Invoices that are partially or fully paid or cancelled cannot be updated.
|
389
|
+
#
|
379
390
|
# @param id The invoice number.
|
380
391
|
# @param update_invoice_request Updating the invoice does not resend the invoice automatically. You must resend the invoice separately.
|
381
392
|
# @param [Hash] opts the optional parameters
|
382
393
|
# @return [InvoicingV2InvoicesPost201Response]
|
394
|
+
#
|
383
395
|
def update_invoice(id, update_invoice_request, opts = {})
|
384
396
|
data, status_code, headers = update_invoice_with_http_info(id, update_invoice_request, opts)
|
385
397
|
return data, status_code, headers
|
@@ -22,6 +22,7 @@ module CyberSource
|
|
22
22
|
end
|
23
23
|
# Search Keys
|
24
24
|
# Search one or more Keys
|
25
|
+
#
|
25
26
|
# @param [Hash] opts the optional parameters
|
26
27
|
# @option opts [Integer] :offset This allows you to specify the page offset from the resulting list resultset you want the records to be returned
|
27
28
|
# @option opts [Integer] :limit This allows you to specify the total number of records to be returned off the resulting list resultset
|
@@ -32,6 +33,7 @@ module CyberSource
|
|
32
33
|
# @option opts [DateTime] :expiration_start_date Expiry Filter Start Date. When Expiration Date filter is provided, atleast one more filter needs to be provided
|
33
34
|
# @option opts [DateTime] :expiration_end_date Expiry Filter End Date. When Expiration Date filter is provided, atleast one more filter needs to be provided
|
34
35
|
# @return [InlineResponse2001]
|
36
|
+
#
|
35
37
|
def search_keys(opts = {})
|
36
38
|
data, status_code, headers = search_keys_with_http_info(opts)
|
37
39
|
return data, status_code, headers
|
@@ -22,10 +22,12 @@ module CyberSource
|
|
22
22
|
end
|
23
23
|
# Activate or De-activate Password
|
24
24
|
# Activate or De-activate key of type password
|
25
|
+
#
|
25
26
|
# @param key_id Key ID.
|
26
27
|
# @param update_password_keys_request
|
27
28
|
# @param [Hash] opts the optional parameters
|
28
29
|
# @return [Object]
|
30
|
+
#
|
29
31
|
def update_password(key_id, update_password_keys_request, opts = {})
|
30
32
|
data, status_code, headers = update_password_with_http_info(key_id, update_password_keys_request, opts)
|
31
33
|
return data, status_code, headers
|
@@ -22,10 +22,12 @@ module CyberSource
|
|
22
22
|
end
|
23
23
|
# Activate or De-activate PGP Key
|
24
24
|
# Activate or De-activate PGP Key
|
25
|
+
#
|
25
26
|
# @param key_id Key ID.
|
26
27
|
# @param update_pgp_keys_request
|
27
28
|
# @param [Hash] opts the optional parameters
|
28
29
|
# @return [Object]
|
30
|
+
#
|
29
31
|
def update_pgp(key_id, update_pgp_keys_request, opts = {})
|
30
32
|
data, status_code, headers = update_pgp_with_http_info(key_id, update_pgp_keys_request, opts)
|
31
33
|
return data, status_code, headers
|
@@ -22,10 +22,12 @@ module CyberSource
|
|
22
22
|
end
|
23
23
|
# Update or Deactivate
|
24
24
|
# Update or Deactivate scmp api Key
|
25
|
+
#
|
25
26
|
# @param key_id Key ID.
|
26
27
|
# @param update_pgp_keys_request
|
27
28
|
# @param [Hash] opts the optional parameters
|
28
29
|
# @return [Object]
|
30
|
+
#
|
29
31
|
def update_scmp(key_id, update_pgp_keys_request, opts = {})
|
30
32
|
data, status_code, headers = update_scmp_with_http_info(key_id, update_pgp_keys_request, opts)
|
31
33
|
return data, status_code, headers
|
@@ -27,7 +27,7 @@ module CyberSource
|
|
27
27
|
# @param [Hash] opts the optional parameters
|
28
28
|
# @return [nil]
|
29
29
|
#
|
30
|
-
# DISCLAIMER: Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (
|
30
|
+
# DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
|
31
31
|
def delete_webhook_subscription(webhook_id, opts = {})
|
32
32
|
data, status_code, headers = delete_webhook_subscription_with_http_info(webhook_id, opts)
|
33
33
|
return data, status_code, headers
|
@@ -61,7 +61,7 @@ module CyberSource
|
|
61
61
|
# header parameters
|
62
62
|
header_params = {}
|
63
63
|
# HTTP header 'Accept' (if needed)
|
64
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
64
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
|
65
65
|
# HTTP header 'Content-Type'
|
66
66
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
67
67
|
|
@@ -91,63 +91,48 @@ module CyberSource
|
|
91
91
|
end
|
92
92
|
return data, status_code, headers
|
93
93
|
end
|
94
|
-
# Get Details On
|
95
|
-
# Retrieve
|
94
|
+
# Get Details On a Single Webhook
|
95
|
+
# Retrieve the details of a specific webhook by supplying the webhook ID in the path.
|
96
96
|
#
|
97
|
-
# @param
|
98
|
-
# @param product_id The Product Identifier.
|
99
|
-
# @param event_type The Event Type.
|
97
|
+
# @param webhook_id The webhook Identifier
|
100
98
|
# @param [Hash] opts the optional parameters
|
101
|
-
# @return [
|
99
|
+
# @return [InlineResponse2004]
|
102
100
|
#
|
103
|
-
# DISCLAIMER: Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (
|
104
|
-
def
|
105
|
-
data, status_code, headers =
|
101
|
+
# DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
|
102
|
+
def get_webhook_subscription_by_id(webhook_id, opts = {})
|
103
|
+
data, status_code, headers = get_webhook_subscription_by_id_with_http_info(webhook_id, opts)
|
106
104
|
return data, status_code, headers
|
107
105
|
end
|
108
106
|
|
109
|
-
# Get Details On
|
110
|
-
# Retrieve
|
111
|
-
# @param
|
112
|
-
# @param product_id The Product Identifier.
|
113
|
-
# @param event_type The Event Type.
|
107
|
+
# Get Details On a Single Webhook
|
108
|
+
# Retrieve the details of a specific webhook by supplying the webhook ID in the path.
|
109
|
+
# @param webhook_id The webhook Identifier
|
114
110
|
# @param [Hash] opts the optional parameters
|
115
|
-
# @return [Array<(
|
116
|
-
def
|
111
|
+
# @return [Array<(InlineResponse2004, Fixnum, Hash)>] InlineResponse2004 data, response status code and response headers
|
112
|
+
def get_webhook_subscription_by_id_with_http_info(webhook_id, opts = {})
|
117
113
|
|
118
114
|
if @api_client.config.debugging
|
119
115
|
begin
|
120
116
|
raise
|
121
|
-
@api_client.config.logger.debug 'Calling API: ManageWebhooksApi.
|
117
|
+
@api_client.config.logger.debug 'Calling API: ManageWebhooksApi.get_webhook_subscription_by_id ...'
|
122
118
|
rescue
|
123
119
|
puts 'Cannot write to log'
|
124
120
|
end
|
125
121
|
end
|
126
|
-
# verify the required parameter '
|
127
|
-
if @api_client.config.client_side_validation &&
|
128
|
-
fail ArgumentError, "Missing the required parameter '
|
129
|
-
end
|
130
|
-
# verify the required parameter 'product_id' is set
|
131
|
-
if @api_client.config.client_side_validation && product_id.nil?
|
132
|
-
fail ArgumentError, "Missing the required parameter 'product_id' when calling ManageWebhooksApi.get_all_webhooks"
|
133
|
-
end
|
134
|
-
# verify the required parameter 'event_type' is set
|
135
|
-
if @api_client.config.client_side_validation && event_type.nil?
|
136
|
-
fail ArgumentError, "Missing the required parameter 'event_type' when calling ManageWebhooksApi.get_all_webhooks"
|
122
|
+
# verify the required parameter 'webhook_id' is set
|
123
|
+
if @api_client.config.client_side_validation && webhook_id.nil?
|
124
|
+
fail ArgumentError, "Missing the required parameter 'webhook_id' when calling ManageWebhooksApi.get_webhook_subscription_by_id"
|
137
125
|
end
|
138
126
|
# resource path
|
139
|
-
local_var_path = 'notification-subscriptions/v1/webhooks'
|
127
|
+
local_var_path = 'notification-subscriptions/v1/webhooks/{webhookId}'.sub('{' + 'webhookId' + '}', webhook_id.to_s)
|
140
128
|
|
141
129
|
# query parameters
|
142
130
|
query_params = {}
|
143
|
-
query_params[:'organizationId'] = organization_id
|
144
|
-
query_params[:'productId'] = product_id
|
145
|
-
query_params[:'eventType'] = event_type
|
146
131
|
|
147
132
|
# header parameters
|
148
133
|
header_params = {}
|
149
134
|
# HTTP header 'Accept' (if needed)
|
150
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
135
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
|
151
136
|
# HTTP header 'Content-Type'
|
152
137
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
153
138
|
|
@@ -167,59 +152,74 @@ module CyberSource
|
|
167
152
|
:form_params => form_params,
|
168
153
|
:body => post_body,
|
169
154
|
:auth_names => auth_names,
|
170
|
-
:return_type => '
|
155
|
+
:return_type => 'InlineResponse2004')
|
171
156
|
if @api_client.config.debugging
|
172
157
|
begin
|
173
158
|
raise
|
174
|
-
@api_client.config.logger.debug "API called: ManageWebhooksApi#
|
159
|
+
@api_client.config.logger.debug "API called: ManageWebhooksApi#get_webhook_subscription_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
175
160
|
rescue
|
176
161
|
puts 'Cannot write to log'
|
177
162
|
end
|
178
163
|
end
|
179
164
|
return data, status_code, headers
|
180
165
|
end
|
181
|
-
# Get Details On
|
182
|
-
# Retrieve
|
166
|
+
# Get Details On All Created Webhooks
|
167
|
+
# Retrieve a list of all previously created webhooks.
|
183
168
|
#
|
184
|
-
# @param
|
169
|
+
# @param organization_id The Organization Identifier.
|
170
|
+
# @param product_id The Product Identifier.
|
171
|
+
# @param event_type The Event Type.
|
185
172
|
# @param [Hash] opts the optional parameters
|
186
|
-
# @return [InlineResponse2004]
|
173
|
+
# @return [Array<InlineResponse2004>]
|
187
174
|
#
|
188
|
-
# DISCLAIMER: Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (
|
189
|
-
def
|
190
|
-
data, status_code, headers =
|
175
|
+
# DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
|
176
|
+
def get_webhook_subscriptions_by_org(organization_id, product_id, event_type, opts = {})
|
177
|
+
data, status_code, headers = get_webhook_subscriptions_by_org_with_http_info(organization_id, product_id, event_type, opts)
|
191
178
|
return data, status_code, headers
|
192
179
|
end
|
193
180
|
|
194
|
-
# Get Details On
|
195
|
-
# Retrieve
|
196
|
-
# @param
|
181
|
+
# Get Details On All Created Webhooks
|
182
|
+
# Retrieve a list of all previously created webhooks.
|
183
|
+
# @param organization_id The Organization Identifier.
|
184
|
+
# @param product_id The Product Identifier.
|
185
|
+
# @param event_type The Event Type.
|
197
186
|
# @param [Hash] opts the optional parameters
|
198
|
-
# @return [Array<(InlineResponse2004
|
199
|
-
def
|
187
|
+
# @return [Array<(Array<InlineResponse2004>, Fixnum, Hash)>] Array<InlineResponse2004> data, response status code and response headers
|
188
|
+
def get_webhook_subscriptions_by_org_with_http_info(organization_id, product_id, event_type, opts = {})
|
200
189
|
|
201
190
|
if @api_client.config.debugging
|
202
191
|
begin
|
203
192
|
raise
|
204
|
-
@api_client.config.logger.debug 'Calling API: ManageWebhooksApi.
|
193
|
+
@api_client.config.logger.debug 'Calling API: ManageWebhooksApi.get_webhook_subscriptions_by_org ...'
|
205
194
|
rescue
|
206
195
|
puts 'Cannot write to log'
|
207
196
|
end
|
208
197
|
end
|
209
|
-
# verify the required parameter '
|
210
|
-
if @api_client.config.client_side_validation &&
|
211
|
-
fail ArgumentError, "Missing the required parameter '
|
198
|
+
# verify the required parameter 'organization_id' is set
|
199
|
+
if @api_client.config.client_side_validation && organization_id.nil?
|
200
|
+
fail ArgumentError, "Missing the required parameter 'organization_id' when calling ManageWebhooksApi.get_webhook_subscriptions_by_org"
|
201
|
+
end
|
202
|
+
# verify the required parameter 'product_id' is set
|
203
|
+
if @api_client.config.client_side_validation && product_id.nil?
|
204
|
+
fail ArgumentError, "Missing the required parameter 'product_id' when calling ManageWebhooksApi.get_webhook_subscriptions_by_org"
|
205
|
+
end
|
206
|
+
# verify the required parameter 'event_type' is set
|
207
|
+
if @api_client.config.client_side_validation && event_type.nil?
|
208
|
+
fail ArgumentError, "Missing the required parameter 'event_type' when calling ManageWebhooksApi.get_webhook_subscriptions_by_org"
|
212
209
|
end
|
213
210
|
# resource path
|
214
|
-
local_var_path = 'notification-subscriptions/v1/webhooks
|
211
|
+
local_var_path = 'notification-subscriptions/v1/webhooks'
|
215
212
|
|
216
213
|
# query parameters
|
217
214
|
query_params = {}
|
215
|
+
query_params[:'organizationId'] = organization_id
|
216
|
+
query_params[:'productId'] = product_id
|
217
|
+
query_params[:'eventType'] = event_type
|
218
218
|
|
219
219
|
# header parameters
|
220
220
|
header_params = {}
|
221
221
|
# HTTP header 'Accept' (if needed)
|
222
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
222
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
|
223
223
|
# HTTP header 'Content-Type'
|
224
224
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
225
225
|
|
@@ -239,11 +239,11 @@ module CyberSource
|
|
239
239
|
:form_params => form_params,
|
240
240
|
:body => post_body,
|
241
241
|
:auth_names => auth_names,
|
242
|
-
:return_type => 'InlineResponse2004')
|
242
|
+
:return_type => 'Array<InlineResponse2004>')
|
243
243
|
if @api_client.config.debugging
|
244
244
|
begin
|
245
245
|
raise
|
246
|
-
@api_client.config.logger.debug "API called: ManageWebhooksApi#
|
246
|
+
@api_client.config.logger.debug "API called: ManageWebhooksApi#get_webhook_subscriptions_by_org\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
247
247
|
rescue
|
248
248
|
puts 'Cannot write to log'
|
249
249
|
end
|
@@ -255,12 +255,12 @@ module CyberSource
|
|
255
255
|
#
|
256
256
|
# @param webhook_id The webhook uuid identifier.
|
257
257
|
# @param [Hash] opts the optional parameters
|
258
|
-
# @option opts [
|
258
|
+
# @option opts [ReplayWebhooksRequest] :replay_webhooks_request The request query
|
259
259
|
# @return [nil]
|
260
260
|
#
|
261
|
-
# DISCLAIMER: Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (
|
262
|
-
def
|
263
|
-
data, status_code, headers =
|
261
|
+
# DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
|
262
|
+
def replay_previous_webhooks(webhook_id, opts = {})
|
263
|
+
data, status_code, headers = replay_previous_webhooks_with_http_info(webhook_id, opts)
|
264
264
|
return data, status_code, headers
|
265
265
|
end
|
266
266
|
|
@@ -268,21 +268,21 @@ module CyberSource
|
|
268
268
|
# Initiate a webhook replay request to replay transactions that happened in the past. Cannot execute more than 1 replay request at a time. While one request is processing, you will not be allowed to execute another replay. The difference between Start and End time cannot exceed a 24 hour window, and 1 month is the farthest date back that is eligible for replay.
|
269
269
|
# @param webhook_id The webhook uuid identifier.
|
270
270
|
# @param [Hash] opts the optional parameters
|
271
|
-
# @option opts [
|
271
|
+
# @option opts [ReplayWebhooksRequest] :replay_webhooks_request The request query
|
272
272
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
273
|
-
def
|
273
|
+
def replay_previous_webhooks_with_http_info(webhook_id, opts = {})
|
274
274
|
|
275
275
|
if @api_client.config.debugging
|
276
276
|
begin
|
277
277
|
raise
|
278
|
-
@api_client.config.logger.debug 'Calling API: ManageWebhooksApi.
|
278
|
+
@api_client.config.logger.debug 'Calling API: ManageWebhooksApi.replay_previous_webhooks ...'
|
279
279
|
rescue
|
280
280
|
puts 'Cannot write to log'
|
281
281
|
end
|
282
282
|
end
|
283
283
|
# verify the required parameter 'webhook_id' is set
|
284
284
|
if @api_client.config.client_side_validation && webhook_id.nil?
|
285
|
-
fail ArgumentError, "Missing the required parameter 'webhook_id' when calling ManageWebhooksApi.
|
285
|
+
fail ArgumentError, "Missing the required parameter 'webhook_id' when calling ManageWebhooksApi.replay_previous_webhooks"
|
286
286
|
end
|
287
287
|
# resource path
|
288
288
|
local_var_path = 'nrtf/v1/webhooks/{webhookId}/replays'.sub('{' + 'webhookId' + '}', webhook_id.to_s)
|
@@ -293,7 +293,7 @@ module CyberSource
|
|
293
293
|
# header parameters
|
294
294
|
header_params = {}
|
295
295
|
# HTTP header 'Accept' (if needed)
|
296
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
296
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
|
297
297
|
# HTTP header 'Content-Type'
|
298
298
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
299
299
|
|
@@ -301,9 +301,9 @@ module CyberSource
|
|
301
301
|
form_params = {}
|
302
302
|
|
303
303
|
# http body (model)
|
304
|
-
post_body = @api_client.object_to_http_body(opts[:'
|
304
|
+
post_body = @api_client.object_to_http_body(opts[:'replay_webhooks_request'])
|
305
305
|
sdk_tracker = SdkTracker.new
|
306
|
-
post_body = sdk_tracker.insert_developer_id_tracker(post_body, '
|
306
|
+
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'ReplayWebhooksRequest', @api_client.config.host)
|
307
307
|
auth_names = []
|
308
308
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
309
309
|
:header_params => header_params,
|
@@ -314,7 +314,7 @@ module CyberSource
|
|
314
314
|
if @api_client.config.debugging
|
315
315
|
begin
|
316
316
|
raise
|
317
|
-
@api_client.config.logger.debug "API called: ManageWebhooksApi#
|
317
|
+
@api_client.config.logger.debug "API called: ManageWebhooksApi#replay_previous_webhooks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
318
318
|
rescue
|
319
319
|
puts 'Cannot write to log'
|
320
320
|
end
|
@@ -331,7 +331,7 @@ module CyberSource
|
|
331
331
|
# @option opts [String] :v_c_correlation_id A globally unique id associated with your request
|
332
332
|
# @return [InlineResponse2014]
|
333
333
|
#
|
334
|
-
# DISCLAIMER: Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (
|
334
|
+
# DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
|
335
335
|
def save_asym_egress_key(v_c_sender_organization_id, v_c_permissions, save_asym_egress_key, opts = {})
|
336
336
|
data, status_code, headers = save_asym_egress_key_with_http_info(v_c_sender_organization_id, v_c_permissions, save_asym_egress_key, opts)
|
337
337
|
return data, status_code, headers
|
@@ -359,14 +359,6 @@ module CyberSource
|
|
359
359
|
if @api_client.config.client_side_validation && v_c_sender_organization_id.nil?
|
360
360
|
fail ArgumentError, "Missing the required parameter 'v_c_sender_organization_id' when calling ManageWebhooksApi.save_asym_egress_key"
|
361
361
|
end
|
362
|
-
if @api_client.config.client_side_validation && v_c_sender_organization_id.to_s.length > 100
|
363
|
-
fail ArgumentError, 'invalid value for "v_c_sender_organization_id" when calling ManageWebhooksApi.save_asym_egress_key, the character length must be smaller than or equal to 100.'
|
364
|
-
end
|
365
|
-
|
366
|
-
if @api_client.config.client_side_validation && v_c_sender_organization_id.to_s.length < 2
|
367
|
-
fail ArgumentError, 'invalid value for "v_c_sender_organization_id" when calling ManageWebhooksApi.save_asym_egress_key, the character length must be great than or equal to 2.'
|
368
|
-
end
|
369
|
-
|
370
362
|
#if @api_client.config.client_side_validation && v_c_sender_organization_id !~ Regexp.new(/^[A-Za-z0-9\\-_]+$/)
|
371
363
|
#fail ArgumentError, "invalid value for 'v_c_sender_organization_id' when calling ManageWebhooksApi.save_asym_egress_key, must conform to the pattern /^[A-Za-z0-9\\-_]+$/."
|
372
364
|
#end
|
@@ -379,14 +371,6 @@ module CyberSource
|
|
379
371
|
if @api_client.config.client_side_validation && save_asym_egress_key.nil?
|
380
372
|
fail ArgumentError, "Missing the required parameter 'save_asym_egress_key' when calling ManageWebhooksApi.save_asym_egress_key"
|
381
373
|
end
|
382
|
-
if @api_client.config.client_side_validation && !opts[:'v_c_correlation_id'].nil? && opts[:'v_c_correlation_id'].to_s.length > 100
|
383
|
-
fail ArgumentError, 'invalid value for "opts[:"v_c_correlation_id"]" when calling ManageWebhooksApi.save_asym_egress_key, the character length must be smaller than or equal to 100.'
|
384
|
-
end
|
385
|
-
|
386
|
-
if @api_client.config.client_side_validation && !opts[:'v_c_correlation_id'].nil? && opts[:'v_c_correlation_id'].to_s.length < 2
|
387
|
-
fail ArgumentError, 'invalid value for "opts[:"v_c_correlation_id"]" when calling ManageWebhooksApi.save_asym_egress_key, the character length must be great than or equal to 2.'
|
388
|
-
end
|
389
|
-
|
390
374
|
#if @api_client.config.client_side_validation && !opts[:'v_c_correlation_id'].nil? && opts[:'v_c_correlation_id'] !~ Regexp.new(/^[A-Za-z0-9\\.\\-_:]+$/)
|
391
375
|
#fail ArgumentError, "invalid value for 'opts[:\"v_c_correlation_id\"]' when calling ManageWebhooksApi.save_asym_egress_key, must conform to the pattern /^[A-Za-z0-9\\.\\-_:]+$/."
|
392
376
|
#end
|
@@ -400,7 +384,7 @@ module CyberSource
|
|
400
384
|
# header parameters
|
401
385
|
header_params = {}
|
402
386
|
# HTTP header 'Accept' (if needed)
|
403
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
387
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
|
404
388
|
# HTTP header 'Content-Type'
|
405
389
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
406
390
|
header_params[:'v-c-sender-organization-id'] = v_c_sender_organization_id
|
@@ -437,10 +421,10 @@ module CyberSource
|
|
437
421
|
#
|
438
422
|
# @param webhook_id The Webhook Identifier.
|
439
423
|
# @param [Hash] opts the optional parameters
|
440
|
-
# @option opts [
|
424
|
+
# @option opts [UpdateWebhookRequest] :update_webhook_request The webhook payload or changes to apply.
|
441
425
|
# @return [nil]
|
442
426
|
#
|
443
|
-
# DISCLAIMER: Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (
|
427
|
+
# DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
|
444
428
|
def update_webhook_subscription(webhook_id, opts = {})
|
445
429
|
data, status_code, headers = update_webhook_subscription_with_http_info(webhook_id, opts)
|
446
430
|
return data, status_code, headers
|
@@ -450,7 +434,7 @@ module CyberSource
|
|
450
434
|
# Update the webhook subscription using PATCH.
|
451
435
|
# @param webhook_id The Webhook Identifier.
|
452
436
|
# @param [Hash] opts the optional parameters
|
453
|
-
# @option opts [
|
437
|
+
# @option opts [UpdateWebhookRequest] :update_webhook_request The webhook payload or changes to apply.
|
454
438
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
455
439
|
def update_webhook_subscription_with_http_info(webhook_id, opts = {})
|
456
440
|
|
@@ -475,7 +459,7 @@ module CyberSource
|
|
475
459
|
# header parameters
|
476
460
|
header_params = {}
|
477
461
|
# HTTP header 'Accept' (if needed)
|
478
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
462
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
|
479
463
|
# HTTP header 'Content-Type'
|
480
464
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
481
465
|
|
@@ -483,9 +467,9 @@ module CyberSource
|
|
483
467
|
form_params = {}
|
484
468
|
|
485
469
|
# http body (model)
|
486
|
-
post_body = @api_client.object_to_http_body(opts[:'
|
470
|
+
post_body = @api_client.object_to_http_body(opts[:'update_webhook_request'])
|
487
471
|
sdk_tracker = SdkTracker.new
|
488
|
-
post_body = sdk_tracker.insert_developer_id_tracker(post_body, '
|
472
|
+
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateWebhookRequest', @api_client.config.host)
|
489
473
|
auth_names = []
|
490
474
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
491
475
|
:header_params => header_params,
|