cybersource_rest_client 0.0.55 → 0.0.57
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/api/asymmetric_key_management_api.rb +14 -0
- data/lib/cybersource_rest_client/api/batches_api.rb +19 -37
- data/lib/cybersource_rest_client/api/billing_agreements_api.rb +12 -0
- data/lib/cybersource_rest_client/api/capture_api.rb +4 -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 +253 -0
- data/lib/cybersource_rest_client/api/credit_api.rb +4 -0
- data/lib/cybersource_rest_client/api/customer_api.rb +12 -64
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +14 -124
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +14 -124
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +20 -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 +6 -0
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +18 -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 +10 -4
- data/lib/cybersource_rest_client/api/invoices_api.rb +28 -12
- data/lib/cybersource_rest_client/api/keymanagement_api.rb +2 -0
- data/lib/cybersource_rest_client/api/keymanagementpassword_api.rb +4 -0
- data/lib/cybersource_rest_client/api/keymanagementpgp_api.rb +4 -0
- data/lib/cybersource_rest_client/api/keymanagementscmp_api.rb +4 -0
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +491 -0
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +169 -0
- data/lib/cybersource_rest_client/api/microform_integration_api.rb +4 -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 +12 -0
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +2 -16
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +12 -64
- data/lib/cybersource_rest_client/api/payments_api.rb +12 -0
- data/lib/cybersource_rest_client/api/payouts_api.rb +4 -0
- data/lib/cybersource_rest_client/api/plans_api.rb +20 -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 +4 -0
- data/lib/cybersource_rest_client/api/refund_api.rb +8 -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 +16 -58
- data/lib/cybersource_rest_client/api/reports_api.rb +10 -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 +8 -0
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +6 -0
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +4 -16
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +20 -0
- data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +14 -0
- data/lib/cybersource_rest_client/api/taxes_api.rb +8 -0
- data/lib/cybersource_rest_client/api/token_api.rb +2 -16
- 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 +4 -0
- data/lib/cybersource_rest_client/api/user_management_api.rb +2 -0
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +4 -0
- data/lib/cybersource_rest_client/api/verification_api.rb +8 -0
- data/lib/cybersource_rest_client/api/void_api.rb +20 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_document_information.rb +192 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_document_information_signed_documents.rb +196 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information.rb +205 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_oauth2.rb +221 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_configurations.rb +225 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_information.rb +197 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information.rb +356 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +484 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_address.rb +360 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_business_contact.rb +341 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc.rb +382 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc_deposit_bank_account.rb +331 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_owners.rb +526 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_product_information.rb +190 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_product_information_selected_products.rb +220 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_registration_information.rb +330 -0
- data/lib/cybersource_rest_client/models/capture_payment_request.rb +11 -1
- data/lib/cybersource_rest_client/models/commerce_solutions_products.rb +210 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater.rb +200 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations.rb +242 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations_amex.rb +221 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations_master_card.rb +222 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations_visa.rb +222 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup.rb +200 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup_configuration_information.rb +190 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup_configuration_information_configurations.rb +202 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management.rb +200 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management_configuration_information_configurations.rb +191 -0
- data/lib/cybersource_rest_client/models/create_credit_request.rb +11 -1
- data/lib/cybersource_rest_client/models/create_payment_request.rb +11 -1
- data/lib/cybersource_rest_client/models/create_search_request.rb +1 -1
- data/lib/cybersource_rest_client/models/create_webhook_request.rb +290 -0
- data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information_bill_to.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_200_2.rb +54 -52
- data/lib/cybersource_rest_client/models/inline_response_200_2_integration_information.rb +205 -0
- data/lib/cybersource_rest_client/models/inline_response_200_2_integration_information_tenant_configurations.rb +297 -0
- data/lib/cybersource_rest_client/models/inline_response_200_3.rb +26 -103
- data/lib/cybersource_rest_client/models/inline_response_200_4.rb +126 -83
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +252 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded.rb → inline_response_200_5__embedded.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded__links.rb → inline_response_200_5__embedded__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded__links_reports.rb → inline_response_200_5__embedded__links_reports.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded_batches.rb → inline_response_200_5__embedded_batches.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded_totals.rb → inline_response_200_5__embedded_totals.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_2__links.rb → inline_response_200_5__links.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_6.rb +291 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_3__links.rb → inline_response_200_6__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_3__links_report.rb → inline_response_200_6__links_report.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_3_billing.rb → inline_response_200_6_billing.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_7.rb +293 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_4_records.rb → inline_response_200_7_records.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_4_response_record.rb → inline_response_200_7_response_record.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_4_response_record_additional_updates.rb → inline_response_200_7_response_record_additional_updates.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_4_source_record.rb → inline_response_200_7_source_record.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_1.rb +316 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_integration_information.rb +193 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_integration_information_tenant_configurations.rb +287 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_organization_information.rb +218 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_product_information_setups.rb +215 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_registration_information.rb +257 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_setups.rb +220 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_setups_commerce_solutions.rb +210 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments.rb +340 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_card_processing.rb +200 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_card_processing_configuration_status.rb +300 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_card_processing_subscription_status.rb +279 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_digital_payments.rb +190 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_setups_risk.rb +200 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_setups_value_added_services.rb +200 -0
- data/lib/cybersource_rest_client/models/inline_response_201_2.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_201_2_key_information.rb +301 -0
- data/lib/cybersource_rest_client/models/inline_response_201_2_key_information_error_information.rb +203 -0
- data/lib/cybersource_rest_client/models/inline_response_201_2_key_information_error_information_details.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3.rb +348 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_400_7.rb +37 -43
- data/lib/cybersource_rest_client/models/inline_response_400_7_details.rb +17 -15
- data/lib/cybersource_rest_client/models/inline_response_400_8.rb +276 -0
- data/lib/cybersource_rest_client/models/inline_response_400_8_details.rb +200 -0
- data/lib/cybersource_rest_client/models/inline_response_404_1.rb +270 -0
- data/lib/cybersource_rest_client/models/inline_response_404_2.rb +212 -0
- data/lib/cybersource_rest_client/models/inline_response_404_2_details.rb +200 -0
- data/lib/cybersource_rest_client/models/inline_response_422_1.rb +270 -0
- data/lib/cybersource_rest_client/models/inline_response_500_3.rb +258 -0
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.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 +7 -1
- data/lib/cybersource_rest_client/models/kmsegressv2keysasym_client_reference_information.rb +198 -0
- data/lib/cybersource_rest_client/models/kmsegressv2keysasym_key_information.rb +280 -0
- data/lib/cybersource_rest_client/models/kmsegressv2keyssym_client_reference_information.rb +198 -0
- data/lib/cybersource_rest_client/models/kmsegressv2keyssym_key_information.rb +280 -0
- 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/notificationsubscriptionsv1productsorganization_id_event_types.rb +234 -0
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_notification_scope.rb +206 -0
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_products.rb +203 -0
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_retry_policy.rb +271 -0
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy.rb +202 -0
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1.rb +213 -0
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1_config.rb +224 -0
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1_config_additional_config.rb +221 -0
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_config.rb +214 -0
- data/lib/cybersource_rest_client/models/nrtfv1webhookswebhook_idreplays_by_delivery_status.rb +244 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present.rb +236 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_installment.rb +202 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_payouts.rb +281 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_processors.rb +245 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_present_processors.rb +259 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_common_merchant_descriptor_info.rb +269 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_features_card_not_present_payouts_currencies.rb +258 -0
- data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service.rb +203 -0
- data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service_internal_only.rb +193 -0
- data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service_processors.rb +262 -0
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_j_cbj_secure.rb +221 -0
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_verified.rb +204 -0
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_verified_currencies.rb +244 -0
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_notifications_customer_notifications.rb +258 -0
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_notifications_merchant_notifications.rb +235 -0
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_payment_types_card_types.rb +220 -0
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_payment_types_card_types_discover.rb +257 -0
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_global_payment_info.rb +210 -0
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_global_payment_info_basic_info.rb +318 -0
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_merchant_defined_data_fields.rb +430 -0
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_payment_info.rb +338 -0
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info.rb +210 -0
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_email_receipt.rb +190 -0
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_header.rb +190 -0
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_order_info.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products.rb +350 -0
- data/lib/cybersource_rest_client/models/payments_products_card_present_connect.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_card_present_connect_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_card_present_connect_configuration_information_configurations.rb +191 -0
- data/lib/cybersource_rest_client/models/payments_products_card_present_connect_subscription_information.rb +237 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common.rb +446 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_acquirer.rb +236 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_currencies.rb +258 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_currencies_1.rb +225 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_payment_types.rb +203 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb +721 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_features.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_features_card_present.rb +204 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_subscription_information.rb +250 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_subscription_information_features.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_currency_conversion.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_currency_conversion_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_currency_conversion_configuration_information_configurations.rb +192 -0
- data/lib/cybersource_rest_client/models/payments_products_currency_conversion_configuration_information_configurations_processors.rb +201 -0
- data/lib/cybersource_rest_client/models/payments_products_cybs_ready_terminal.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_differential_fee.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_differential_fee_subscription_information.rb +247 -0
- data/lib/cybersource_rest_client/models/payments_products_differential_fee_subscription_information_features.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_digital_payments.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_digital_payments_subscription_information.rb +250 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check_config_common_internal_only_processors.rb +242 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information_configurations.rb +210 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information_configurations_common.rb +296 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information_configurations_common_internal_only.rb +206 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information_configurations_common_processors.rb +261 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information_configurations_features.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information_configurations_underwriting.rb +334 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check_subscription_information.rb +250 -0
- data/lib/cybersource_rest_client/models/payments_products_payer_authentication.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_payer_authentication_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_payer_authentication_configuration_information_configurations.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_payer_authentication_configuration_information_configurations_card_types.rb +260 -0
- data/lib/cybersource_rest_client/models/payments_products_payer_authentication_configuration_information_configurations_card_types_cb.rb +221 -0
- data/lib/cybersource_rest_client/models/payments_products_payer_authentication_subscription_information.rb +237 -0
- data/lib/cybersource_rest_client/models/payments_products_payouts.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations.rb +204 -0
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_processor_account.rb +237 -0
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pullfunds.rb +311 -0
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pushfunds.rb +336 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations.rb +251 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations_checkout.rb +213 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations_contact_information.rb +221 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations_notifications.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations_payment_methods.rb +214 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations_payment_types.rb +191 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations_service.rb +257 -0
- data/lib/cybersource_rest_client/models/payments_products_tax.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_virtual_terminal.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_virtual_terminal_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_virtual_terminal_configuration_information_configurations.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_virtual_terminal_configuration_information_configurations_card_not_present.rb +200 -0
- data/lib/cybersource_rest_client/models/post_registration_body.rb +230 -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_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_installment_information.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +22 -5
- 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_payments_reversals_post201_response.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_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 +19 -2
- 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_defined_secure_information.rb +249 -0
- 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 +28 -11
- 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.rb +15 -5
- 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_travel_information_vehicle_data.rb +214 -0
- 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 +27 -10
- 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_request.rb +202 -0
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response.rb +1 -0
- data/lib/cybersource_rest_client/models/risk_products.rb +200 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager.rb +200 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_accurint.rb +200 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_accurint_creds.rb +200 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_credilink.rb +220 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_credilink_creds.rb +210 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_ekata_creds.rb +190 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_emailage.rb +220 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_perseuss.rb +210 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_signifyd.rb +200 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_signifyd_creds.rb +220 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_targus.rb +210 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_targus_creds.rb +210 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations.rb +220 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_organization.rb +191 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_portfolio_controls.rb +200 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_processing_options.rb +190 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_thirdparty.rb +190 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_thirdparty_provider.rb +250 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_thirdparty_provider_ekata.rb +220 -0
- data/lib/cybersource_rest_client/models/risk_products_fraud_management_essentials.rb +200 -0
- data/lib/cybersource_rest_client/models/risk_products_fraud_management_essentials_configuration_information.rb +190 -0
- 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_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_buyer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +2 -2
- 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/save_asym_egress_key.rb +216 -0
- data/lib/cybersource_rest_client/models/save_sym_egress_key.rb +216 -0
- 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_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_request.rb +315 -0
- 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 +200 -0
- 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/utilities/tracking/sdk_tracker.rb +71 -0
- data/lib/cybersource_rest_client.rb +214 -13
- metadata +217 -30
@@ -22,11 +22,13 @@ module CyberSource
|
|
22
22
|
end
|
23
23
|
# Delete a Customer Payment Instrument
|
24
24
|
# | | | | | --- | --- | --- | |**Customer Payment Instrument**<br>A Customer Payment Instrument represents tokenized customer payment information such as expiration date, billing address & card type.<br>A [Customer](#token-management_customer_create-a-customer) can have [one or more Payment Instruments](#token-management_customer-payment-instrument_retrieve-a-customer-payment-instrument), with one allocated as the Customers default for use in payments.<br>A Payment Instrument token does not store the card number. A Payment Instrument is associated with an [Instrument Identifier](#token-management_instrument-identifier_create-an-instrument-identifier) that represents either a payment card number, or in the case of an ACH bank account, the routing and account number.<br>| |**Deleting a Customers Payment Instrument**<br>Your system can use this API to delete an existing Payment Instrument for a Customer.<br>Any Instrument Identifiers representing the card number will also be deleted if they are not associated with any other Payment Instruments.<br>If a customer has more than one Payment Instrument then the default Payment Instrument cannot be deleted without first selecting a [new default Payment Instrument](#token-management_customer-payment-instrument_update-a-customer-payment-instrument_samplerequests-dropdown_make-customer-payment-instrument-the-default_liveconsole-tab-request-body).
|
25
|
+
#
|
25
26
|
# @param customer_id The Id of a Customer.
|
26
27
|
# @param payment_instrument_id The Id of a payment instrument.
|
27
28
|
# @param [Hash] opts the optional parameters
|
28
29
|
# @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
|
29
30
|
# @return [nil]
|
31
|
+
#
|
30
32
|
def delete_customer_payment_instrument(customer_id, payment_instrument_id, opts = {})
|
31
33
|
data, status_code, headers = delete_customer_payment_instrument_with_http_info(customer_id, payment_instrument_id, opts)
|
32
34
|
return data, status_code, headers
|
@@ -53,34 +55,10 @@ module CyberSource
|
|
53
55
|
if @api_client.config.client_side_validation && customer_id.nil?
|
54
56
|
fail ArgumentError, "Missing the required parameter 'customer_id' when calling CustomerPaymentInstrumentApi.delete_customer_payment_instrument"
|
55
57
|
end
|
56
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length > 32
|
57
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerPaymentInstrumentApi.delete_customer_payment_instrument, the character length must be smaller than or equal to 32.'
|
58
|
-
end
|
59
|
-
|
60
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length < 1
|
61
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerPaymentInstrumentApi.delete_customer_payment_instrument, the character length must be great than or equal to 1.'
|
62
|
-
end
|
63
|
-
|
64
58
|
# verify the required parameter 'payment_instrument_id' is set
|
65
59
|
if @api_client.config.client_side_validation && payment_instrument_id.nil?
|
66
60
|
fail ArgumentError, "Missing the required parameter 'payment_instrument_id' when calling CustomerPaymentInstrumentApi.delete_customer_payment_instrument"
|
67
61
|
end
|
68
|
-
if @api_client.config.client_side_validation && payment_instrument_id.to_s.length > 32
|
69
|
-
fail ArgumentError, 'invalid value for "payment_instrument_id" when calling CustomerPaymentInstrumentApi.delete_customer_payment_instrument, the character length must be smaller than or equal to 32.'
|
70
|
-
end
|
71
|
-
|
72
|
-
if @api_client.config.client_side_validation && payment_instrument_id.to_s.length < 1
|
73
|
-
fail ArgumentError, 'invalid value for "payment_instrument_id" when calling CustomerPaymentInstrumentApi.delete_customer_payment_instrument, the character length must be great than or equal to 1.'
|
74
|
-
end
|
75
|
-
|
76
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length > 36
|
77
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerPaymentInstrumentApi.delete_customer_payment_instrument, the character length must be smaller than or equal to 36.'
|
78
|
-
end
|
79
|
-
|
80
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length < 36
|
81
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerPaymentInstrumentApi.delete_customer_payment_instrument, the character length must be great than or equal to 36.'
|
82
|
-
end
|
83
|
-
|
84
62
|
# resource path
|
85
63
|
local_var_path = 'tms/v2/customers/{customerId}/payment-instruments/{paymentInstrumentId}'.sub('{' + 'customerId' + '}', customer_id.to_s).sub('{' + 'paymentInstrumentId' + '}', payment_instrument_id.to_s)
|
86
64
|
|
@@ -123,11 +101,13 @@ module CyberSource
|
|
123
101
|
end
|
124
102
|
# Retrieve a Customer Payment Instrument
|
125
103
|
# | | | | | --- | --- | --- | |**Customer Payment Instrument**<br>A Customer Payment Instrument represents tokenized customer payment information such as expiration date, billing address & card type.<br>A [Customer](#token-management_customer_create-a-customer) can have [one or more Payment Instruments](#token-management_customer-payment-instrument_retrieve-a-customer-payment-instrument), with one allocated as the Customers default for use in payments.<br>A Payment Instrument token does not store the card number. A Payment Instrument is associated with an [Instrument Identifier](#token-management_instrument-identifier_create-an-instrument-identifier) that represents either a payment card number, or in the case of an ACH bank account, the routing and account number.<br>| |**Retrieving a Customer Payment Instrument**<br>Your system can use this API to retrieve an existing Payment Instrument for a Customer.<br>To perform a payment with a particular Payment Instrument simply specify the [Payment Instrument Id in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body).
|
104
|
+
#
|
126
105
|
# @param customer_id The Id of a Customer.
|
127
106
|
# @param payment_instrument_id The Id of a payment instrument.
|
128
107
|
# @param [Hash] opts the optional parameters
|
129
108
|
# @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
|
130
109
|
# @return [Tmsv2customersEmbeddedDefaultPaymentInstrument]
|
110
|
+
#
|
131
111
|
def get_customer_payment_instrument(customer_id, payment_instrument_id, opts = {})
|
132
112
|
data, status_code, headers = get_customer_payment_instrument_with_http_info(customer_id, payment_instrument_id, opts)
|
133
113
|
return data, status_code, headers
|
@@ -154,34 +134,10 @@ module CyberSource
|
|
154
134
|
if @api_client.config.client_side_validation && customer_id.nil?
|
155
135
|
fail ArgumentError, "Missing the required parameter 'customer_id' when calling CustomerPaymentInstrumentApi.get_customer_payment_instrument"
|
156
136
|
end
|
157
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length > 32
|
158
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerPaymentInstrumentApi.get_customer_payment_instrument, the character length must be smaller than or equal to 32.'
|
159
|
-
end
|
160
|
-
|
161
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length < 1
|
162
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerPaymentInstrumentApi.get_customer_payment_instrument, the character length must be great than or equal to 1.'
|
163
|
-
end
|
164
|
-
|
165
137
|
# verify the required parameter 'payment_instrument_id' is set
|
166
138
|
if @api_client.config.client_side_validation && payment_instrument_id.nil?
|
167
139
|
fail ArgumentError, "Missing the required parameter 'payment_instrument_id' when calling CustomerPaymentInstrumentApi.get_customer_payment_instrument"
|
168
140
|
end
|
169
|
-
if @api_client.config.client_side_validation && payment_instrument_id.to_s.length > 32
|
170
|
-
fail ArgumentError, 'invalid value for "payment_instrument_id" when calling CustomerPaymentInstrumentApi.get_customer_payment_instrument, the character length must be smaller than or equal to 32.'
|
171
|
-
end
|
172
|
-
|
173
|
-
if @api_client.config.client_side_validation && payment_instrument_id.to_s.length < 1
|
174
|
-
fail ArgumentError, 'invalid value for "payment_instrument_id" when calling CustomerPaymentInstrumentApi.get_customer_payment_instrument, the character length must be great than or equal to 1.'
|
175
|
-
end
|
176
|
-
|
177
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length > 36
|
178
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerPaymentInstrumentApi.get_customer_payment_instrument, the character length must be smaller than or equal to 36.'
|
179
|
-
end
|
180
|
-
|
181
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length < 36
|
182
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerPaymentInstrumentApi.get_customer_payment_instrument, the character length must be great than or equal to 36.'
|
183
|
-
end
|
184
|
-
|
185
141
|
# resource path
|
186
142
|
local_var_path = 'tms/v2/customers/{customerId}/payment-instruments/{paymentInstrumentId}'.sub('{' + 'customerId' + '}', customer_id.to_s).sub('{' + 'paymentInstrumentId' + '}', payment_instrument_id.to_s)
|
187
143
|
|
@@ -225,12 +181,14 @@ module CyberSource
|
|
225
181
|
end
|
226
182
|
# List Payment Instruments for a Customer
|
227
183
|
# | | | | | --- | --- | --- | |**Customer Payment Instrument**<br>A Customer Payment Instrument represents tokenized customer payment information such as expiration date, billing address & card type.<br>A [Customer](#token-management_customer_create-a-customer) can have [one or more Payment Instruments](#token-management_customer-payment-instrument_retrieve-a-customer-payment-instrument), with one allocated as the Customers default for use in payments.<br>A Payment Instrument token does not store the card number. A Payment Instrument is associated with an [Instrument Identifier](#token-management_instrument-identifier_create-an-instrument-identifier) that represents either a payment card number, or in the case of an ACH bank account, the routing and account number.<br>| |**Retrieving all Customer Payment Instruments**<br>Your system can use this API to retrieve all existing Payment Instruments for a Customer.
|
184
|
+
#
|
228
185
|
# @param customer_id The Id of a Customer.
|
229
186
|
# @param [Hash] opts the optional parameters
|
230
187
|
# @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
|
231
188
|
# @option opts [Integer] :offset Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0. (default to 0)
|
232
189
|
# @option opts [Integer] :limit The maximum number 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)
|
233
190
|
# @return [PaymentInstrumentList]
|
191
|
+
#
|
234
192
|
def get_customer_payment_instruments_list(customer_id, opts = {})
|
235
193
|
data, status_code, headers = get_customer_payment_instruments_list_with_http_info(customer_id, opts)
|
236
194
|
return data, status_code, headers
|
@@ -258,34 +216,6 @@ module CyberSource
|
|
258
216
|
if @api_client.config.client_side_validation && customer_id.nil?
|
259
217
|
fail ArgumentError, "Missing the required parameter 'customer_id' when calling CustomerPaymentInstrumentApi.get_customer_payment_instruments_list"
|
260
218
|
end
|
261
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length > 32
|
262
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerPaymentInstrumentApi.get_customer_payment_instruments_list, the character length must be smaller than or equal to 32.'
|
263
|
-
end
|
264
|
-
|
265
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length < 1
|
266
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerPaymentInstrumentApi.get_customer_payment_instruments_list, the character length must be great than or equal to 1.'
|
267
|
-
end
|
268
|
-
|
269
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length > 36
|
270
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerPaymentInstrumentApi.get_customer_payment_instruments_list, the character length must be smaller than or equal to 36.'
|
271
|
-
end
|
272
|
-
|
273
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length < 36
|
274
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerPaymentInstrumentApi.get_customer_payment_instruments_list, the character length must be great than or equal to 36.'
|
275
|
-
end
|
276
|
-
|
277
|
-
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
278
|
-
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling CustomerPaymentInstrumentApi.get_customer_payment_instruments_list, must be greater than or equal to 0.'
|
279
|
-
end
|
280
|
-
|
281
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 100
|
282
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CustomerPaymentInstrumentApi.get_customer_payment_instruments_list, must be smaller than or equal to 100.'
|
283
|
-
end
|
284
|
-
|
285
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
286
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CustomerPaymentInstrumentApi.get_customer_payment_instruments_list, must be greater than or equal to 1.'
|
287
|
-
end
|
288
|
-
|
289
219
|
# resource path
|
290
220
|
local_var_path = 'tms/v2/customers/{customerId}/payment-instruments'.sub('{' + 'customerId' + '}', customer_id.to_s)
|
291
221
|
|
@@ -331,6 +261,7 @@ module CyberSource
|
|
331
261
|
end
|
332
262
|
# Update a Customer Payment Instrument
|
333
263
|
# | | | | | --- | --- | --- | |**Customer Payment Instrument**<br>A Customer Payment Instrument represents tokenized customer payment information such as expiration date, billing address & card type.<br>A [Customer](#token-management_customer_create-a-customer) can have [one or more Payment Instruments](#token-management_customer-payment-instrument_retrieve-a-customer-payment-instrument), with one allocated as the Customers default for use in payments.<br>A Payment Instrument token does not store the card number. A Payment Instrument is associated with an [Instrument Identifier](#token-management_instrument-identifier_create-an-instrument-identifier) that represents either a payment card number, or in the case of an ACH bank account, the routing and account number.<br>| |**Updating a Customers Payment Instrument**<br>Your system can use this API to update an existing Payment Instrument for a Customer, including selecting a [default Payment Instrument](#token-management_customer-payment-instrument_update-a-customer-payment-instrument_samplerequests-dropdown_make-customer-payment-instrument-the-default_liveconsole-tab-request-body) for use in payments.
|
264
|
+
#
|
334
265
|
# @param customer_id The Id of a Customer.
|
335
266
|
# @param payment_instrument_id The Id of a payment instrument.
|
336
267
|
# @param patch_customer_payment_instrument_request
|
@@ -338,6 +269,7 @@ module CyberSource
|
|
338
269
|
# @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
|
339
270
|
# @option opts [String] :if_match Contains an ETag value from a GET request to make the request conditional.
|
340
271
|
# @return [Tmsv2customersEmbeddedDefaultPaymentInstrument]
|
272
|
+
#
|
341
273
|
def patch_customers_payment_instrument(customer_id, payment_instrument_id, patch_customer_payment_instrument_request, opts = {})
|
342
274
|
data, status_code, headers = patch_customers_payment_instrument_with_http_info(customer_id, payment_instrument_id, patch_customer_payment_instrument_request, opts)
|
343
275
|
return data, status_code, headers
|
@@ -366,46 +298,14 @@ module CyberSource
|
|
366
298
|
if @api_client.config.client_side_validation && customer_id.nil?
|
367
299
|
fail ArgumentError, "Missing the required parameter 'customer_id' when calling CustomerPaymentInstrumentApi.patch_customers_payment_instrument"
|
368
300
|
end
|
369
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length > 32
|
370
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerPaymentInstrumentApi.patch_customers_payment_instrument, the character length must be smaller than or equal to 32.'
|
371
|
-
end
|
372
|
-
|
373
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length < 1
|
374
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerPaymentInstrumentApi.patch_customers_payment_instrument, the character length must be great than or equal to 1.'
|
375
|
-
end
|
376
|
-
|
377
301
|
# verify the required parameter 'payment_instrument_id' is set
|
378
302
|
if @api_client.config.client_side_validation && payment_instrument_id.nil?
|
379
303
|
fail ArgumentError, "Missing the required parameter 'payment_instrument_id' when calling CustomerPaymentInstrumentApi.patch_customers_payment_instrument"
|
380
304
|
end
|
381
|
-
if @api_client.config.client_side_validation && payment_instrument_id.to_s.length > 32
|
382
|
-
fail ArgumentError, 'invalid value for "payment_instrument_id" when calling CustomerPaymentInstrumentApi.patch_customers_payment_instrument, the character length must be smaller than or equal to 32.'
|
383
|
-
end
|
384
|
-
|
385
|
-
if @api_client.config.client_side_validation && payment_instrument_id.to_s.length < 1
|
386
|
-
fail ArgumentError, 'invalid value for "payment_instrument_id" when calling CustomerPaymentInstrumentApi.patch_customers_payment_instrument, the character length must be great than or equal to 1.'
|
387
|
-
end
|
388
|
-
|
389
305
|
# verify the required parameter 'patch_customer_payment_instrument_request' is set
|
390
306
|
if @api_client.config.client_side_validation && patch_customer_payment_instrument_request.nil?
|
391
307
|
fail ArgumentError, "Missing the required parameter 'patch_customer_payment_instrument_request' when calling CustomerPaymentInstrumentApi.patch_customers_payment_instrument"
|
392
308
|
end
|
393
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length > 36
|
394
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerPaymentInstrumentApi.patch_customers_payment_instrument, the character length must be smaller than or equal to 36.'
|
395
|
-
end
|
396
|
-
|
397
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length < 36
|
398
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerPaymentInstrumentApi.patch_customers_payment_instrument, the character length must be great than or equal to 36.'
|
399
|
-
end
|
400
|
-
|
401
|
-
if @api_client.config.client_side_validation && !opts[:'if_match'].nil? && opts[:'if_match'].to_s.length > 32
|
402
|
-
fail ArgumentError, 'invalid value for "opts[:"if_match"]" when calling CustomerPaymentInstrumentApi.patch_customers_payment_instrument, the character length must be smaller than or equal to 32.'
|
403
|
-
end
|
404
|
-
|
405
|
-
if @api_client.config.client_side_validation && !opts[:'if_match'].nil? && opts[:'if_match'].to_s.length < 1
|
406
|
-
fail ArgumentError, 'invalid value for "opts[:"if_match"]" when calling CustomerPaymentInstrumentApi.patch_customers_payment_instrument, the character length must be great than or equal to 1.'
|
407
|
-
end
|
408
|
-
|
409
309
|
# resource path
|
410
310
|
local_var_path = 'tms/v2/customers/{customerId}/payment-instruments/{paymentInstrumentId}'.sub('{' + 'customerId' + '}', customer_id.to_s).sub('{' + 'paymentInstrumentId' + '}', payment_instrument_id.to_s)
|
411
311
|
|
@@ -426,6 +326,8 @@ module CyberSource
|
|
426
326
|
|
427
327
|
# http body (model)
|
428
328
|
post_body = @api_client.object_to_http_body(patch_customer_payment_instrument_request)
|
329
|
+
sdk_tracker = SdkTracker.new
|
330
|
+
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PatchCustomerPaymentInstrumentRequest', @api_client.config.host)
|
429
331
|
auth_names = []
|
430
332
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
431
333
|
:header_params => header_params,
|
@@ -446,11 +348,13 @@ module CyberSource
|
|
446
348
|
end
|
447
349
|
# Create a Customer Payment Instrument
|
448
350
|
# | | | | | --- | --- | --- | |**Customer Payment Instrument**<br>A Customer Payment Instrument represents tokenized customer payment information such as expiration date, billing address & card type.<br>A [Customer](#token-management_customer_create-a-customer) can have [one or more Payment Instruments](#token-management_customer-payment-instrument_retrieve-a-customer-payment-instrument), with one allocated as the Customers default for use in payments.<br>A Payment Instrument token does not store the card number. A Payment Instrument is associated with an [Instrument Identifier](#token-management_instrument-identifier_create-an-instrument-identifier) that represents either a payment card number, or in the case of an ACH bank account, the routing and account number.<br><br>**Creating a Customer Payment Instrument**<br>It is recommended you [create a Customer Payment Instrument via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-create-default-payment-instrument-shipping-address-for-existing-customer_liveconsole-tab-request-body), this can be for a zero amount.<br>In Europe: You should perform Payer Authentication alongside the Authorization.| |**Payment Network Tokens**<br>Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.<br>A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.<br>A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).<br>For more information about Payment Network Tokens see the Developer Guide.<br><br>**Payments with Customers Payment Instrument**<br>To perform a payment with a particular Payment Instrument or Shipping Address specify the [Payment Instrument in the payment request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body).
|
351
|
+
#
|
449
352
|
# @param customer_id The Id of a Customer.
|
450
353
|
# @param post_customer_payment_instrument_request
|
451
354
|
# @param [Hash] opts the optional parameters
|
452
355
|
# @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
|
453
356
|
# @return [Tmsv2customersEmbeddedDefaultPaymentInstrument]
|
357
|
+
#
|
454
358
|
def post_customer_payment_instrument(customer_id, post_customer_payment_instrument_request, opts = {})
|
455
359
|
data, status_code, headers = post_customer_payment_instrument_with_http_info(customer_id, post_customer_payment_instrument_request, opts)
|
456
360
|
return data, status_code, headers
|
@@ -477,26 +381,10 @@ module CyberSource
|
|
477
381
|
if @api_client.config.client_side_validation && customer_id.nil?
|
478
382
|
fail ArgumentError, "Missing the required parameter 'customer_id' when calling CustomerPaymentInstrumentApi.post_customer_payment_instrument"
|
479
383
|
end
|
480
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length > 32
|
481
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerPaymentInstrumentApi.post_customer_payment_instrument, the character length must be smaller than or equal to 32.'
|
482
|
-
end
|
483
|
-
|
484
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length < 1
|
485
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerPaymentInstrumentApi.post_customer_payment_instrument, the character length must be great than or equal to 1.'
|
486
|
-
end
|
487
|
-
|
488
384
|
# verify the required parameter 'post_customer_payment_instrument_request' is set
|
489
385
|
if @api_client.config.client_side_validation && post_customer_payment_instrument_request.nil?
|
490
386
|
fail ArgumentError, "Missing the required parameter 'post_customer_payment_instrument_request' when calling CustomerPaymentInstrumentApi.post_customer_payment_instrument"
|
491
387
|
end
|
492
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length > 36
|
493
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerPaymentInstrumentApi.post_customer_payment_instrument, the character length must be smaller than or equal to 36.'
|
494
|
-
end
|
495
|
-
|
496
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length < 36
|
497
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerPaymentInstrumentApi.post_customer_payment_instrument, the character length must be great than or equal to 36.'
|
498
|
-
end
|
499
|
-
|
500
388
|
# resource path
|
501
389
|
local_var_path = 'tms/v2/customers/{customerId}/payment-instruments'.sub('{' + 'customerId' + '}', customer_id.to_s)
|
502
390
|
|
@@ -516,6 +404,8 @@ module CyberSource
|
|
516
404
|
|
517
405
|
# http body (model)
|
518
406
|
post_body = @api_client.object_to_http_body(post_customer_payment_instrument_request)
|
407
|
+
sdk_tracker = SdkTracker.new
|
408
|
+
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostCustomerPaymentInstrumentRequest', @api_client.config.host)
|
519
409
|
auth_names = []
|
520
410
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
521
411
|
:header_params => header_params,
|
@@ -22,11 +22,13 @@ module CyberSource
|
|
22
22
|
end
|
23
23
|
# Delete a Customer Shipping Address
|
24
24
|
# | | | | | --- | --- | --- | |**Customer Shipping Address**<br>A Customer Shipping Address represents tokenized customer shipping information.<br>A [Customer](#token-management_customer_create-a-customer) can have [one or more Shipping Addresses](#token-management_customer-shipping-address_list-shipping-addresses-for-a-customer), with one allocated as the Customers default for use in payments.| |**Deleting a Customers Shipping Address**<br>Your system can use this API to delete an existing Shipping Address for a Customer.<br>If a customer has more than one Shipping Address then the default Shipping Address cannot be deleted without first selecting a [new default Shipping Address](#token-management_customer-shipping-address_update-a-customer-shipping-address_samplerequests-dropdown_make-customer-shipping-address-the-default_liveconsole-tab-request-body).
|
25
|
+
#
|
25
26
|
# @param customer_id The Id of a Customer.
|
26
27
|
# @param shipping_address_id The Id of a shipping address.
|
27
28
|
# @param [Hash] opts the optional parameters
|
28
29
|
# @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
|
29
30
|
# @return [nil]
|
31
|
+
#
|
30
32
|
def delete_customer_shipping_address(customer_id, shipping_address_id, opts = {})
|
31
33
|
data, status_code, headers = delete_customer_shipping_address_with_http_info(customer_id, shipping_address_id, opts)
|
32
34
|
return data, status_code, headers
|
@@ -53,34 +55,10 @@ module CyberSource
|
|
53
55
|
if @api_client.config.client_side_validation && customer_id.nil?
|
54
56
|
fail ArgumentError, "Missing the required parameter 'customer_id' when calling CustomerShippingAddressApi.delete_customer_shipping_address"
|
55
57
|
end
|
56
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length > 32
|
57
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.delete_customer_shipping_address, the character length must be smaller than or equal to 32.'
|
58
|
-
end
|
59
|
-
|
60
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length < 1
|
61
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.delete_customer_shipping_address, the character length must be great than or equal to 1.'
|
62
|
-
end
|
63
|
-
|
64
58
|
# verify the required parameter 'shipping_address_id' is set
|
65
59
|
if @api_client.config.client_side_validation && shipping_address_id.nil?
|
66
60
|
fail ArgumentError, "Missing the required parameter 'shipping_address_id' when calling CustomerShippingAddressApi.delete_customer_shipping_address"
|
67
61
|
end
|
68
|
-
if @api_client.config.client_side_validation && shipping_address_id.to_s.length > 32
|
69
|
-
fail ArgumentError, 'invalid value for "shipping_address_id" when calling CustomerShippingAddressApi.delete_customer_shipping_address, the character length must be smaller than or equal to 32.'
|
70
|
-
end
|
71
|
-
|
72
|
-
if @api_client.config.client_side_validation && shipping_address_id.to_s.length < 1
|
73
|
-
fail ArgumentError, 'invalid value for "shipping_address_id" when calling CustomerShippingAddressApi.delete_customer_shipping_address, the character length must be great than or equal to 1.'
|
74
|
-
end
|
75
|
-
|
76
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length > 36
|
77
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerShippingAddressApi.delete_customer_shipping_address, the character length must be smaller than or equal to 36.'
|
78
|
-
end
|
79
|
-
|
80
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length < 36
|
81
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerShippingAddressApi.delete_customer_shipping_address, the character length must be great than or equal to 36.'
|
82
|
-
end
|
83
|
-
|
84
62
|
# resource path
|
85
63
|
local_var_path = 'tms/v2/customers/{customerId}/shipping-addresses/{shippingAddressId}'.sub('{' + 'customerId' + '}', customer_id.to_s).sub('{' + 'shippingAddressId' + '}', shipping_address_id.to_s)
|
86
64
|
|
@@ -123,11 +101,13 @@ module CyberSource
|
|
123
101
|
end
|
124
102
|
# Retrieve a Customer Shipping Address
|
125
103
|
# | | | | | --- | --- | --- | |**Customer Shipping Address**<br>A Customer Shipping Address represents tokenized customer shipping information.<br>A [Customer](#token-management_customer_create-a-customer) can have [one or more Shipping Addresses](#token-management_customer-shipping-address_list-shipping-addresses-for-a-customer), with one allocated as the Customers default for use in payments.| |**Retrieving a Customer Shipping Address**<br>Your system can use this API to retrieve an existing Shipping Address for a Customer.<br>To perform a payment with a particular Shipping Address simply specify the [Shipping Address Id in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body).
|
104
|
+
#
|
126
105
|
# @param customer_id The Id of a Customer.
|
127
106
|
# @param shipping_address_id The Id of a shipping address.
|
128
107
|
# @param [Hash] opts the optional parameters
|
129
108
|
# @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
|
130
109
|
# @return [Tmsv2customersEmbeddedDefaultShippingAddress]
|
110
|
+
#
|
131
111
|
def get_customer_shipping_address(customer_id, shipping_address_id, opts = {})
|
132
112
|
data, status_code, headers = get_customer_shipping_address_with_http_info(customer_id, shipping_address_id, opts)
|
133
113
|
return data, status_code, headers
|
@@ -154,34 +134,10 @@ module CyberSource
|
|
154
134
|
if @api_client.config.client_side_validation && customer_id.nil?
|
155
135
|
fail ArgumentError, "Missing the required parameter 'customer_id' when calling CustomerShippingAddressApi.get_customer_shipping_address"
|
156
136
|
end
|
157
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length > 32
|
158
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.get_customer_shipping_address, the character length must be smaller than or equal to 32.'
|
159
|
-
end
|
160
|
-
|
161
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length < 1
|
162
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.get_customer_shipping_address, the character length must be great than or equal to 1.'
|
163
|
-
end
|
164
|
-
|
165
137
|
# verify the required parameter 'shipping_address_id' is set
|
166
138
|
if @api_client.config.client_side_validation && shipping_address_id.nil?
|
167
139
|
fail ArgumentError, "Missing the required parameter 'shipping_address_id' when calling CustomerShippingAddressApi.get_customer_shipping_address"
|
168
140
|
end
|
169
|
-
if @api_client.config.client_side_validation && shipping_address_id.to_s.length > 32
|
170
|
-
fail ArgumentError, 'invalid value for "shipping_address_id" when calling CustomerShippingAddressApi.get_customer_shipping_address, the character length must be smaller than or equal to 32.'
|
171
|
-
end
|
172
|
-
|
173
|
-
if @api_client.config.client_side_validation && shipping_address_id.to_s.length < 1
|
174
|
-
fail ArgumentError, 'invalid value for "shipping_address_id" when calling CustomerShippingAddressApi.get_customer_shipping_address, the character length must be great than or equal to 1.'
|
175
|
-
end
|
176
|
-
|
177
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length > 36
|
178
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerShippingAddressApi.get_customer_shipping_address, the character length must be smaller than or equal to 36.'
|
179
|
-
end
|
180
|
-
|
181
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length < 36
|
182
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerShippingAddressApi.get_customer_shipping_address, the character length must be great than or equal to 36.'
|
183
|
-
end
|
184
|
-
|
185
141
|
# resource path
|
186
142
|
local_var_path = 'tms/v2/customers/{customerId}/shipping-addresses/{shippingAddressId}'.sub('{' + 'customerId' + '}', customer_id.to_s).sub('{' + 'shippingAddressId' + '}', shipping_address_id.to_s)
|
187
143
|
|
@@ -225,12 +181,14 @@ module CyberSource
|
|
225
181
|
end
|
226
182
|
# List Shipping Addresses for a Customer
|
227
183
|
# | | | | | --- | --- | --- | |**Customer Shipping Address**<br>A Customer Shipping Address represents tokenized customer shipping information.<br>A [Customer](#token-management_customer_create-a-customer) can have [one or more Shipping Addresses](#token-management_customer-shipping-address_list-shipping-addresses-for-a-customer), with one allocated as the Customers default for use in payments.| |**Retrieving all Customer Shipping Addresses**<br>Your system can use this API to retrieve all existing Shipping Addresses for a Customer.
|
184
|
+
#
|
228
185
|
# @param customer_id The Id of a Customer.
|
229
186
|
# @param [Hash] opts the optional parameters
|
230
187
|
# @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
|
231
188
|
# @option opts [Integer] :offset Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0. (default to 0)
|
232
189
|
# @option opts [Integer] :limit The maximum number 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)
|
233
190
|
# @return [ShippingAddressListForCustomer]
|
191
|
+
#
|
234
192
|
def get_customer_shipping_addresses_list(customer_id, opts = {})
|
235
193
|
data, status_code, headers = get_customer_shipping_addresses_list_with_http_info(customer_id, opts)
|
236
194
|
return data, status_code, headers
|
@@ -258,34 +216,6 @@ module CyberSource
|
|
258
216
|
if @api_client.config.client_side_validation && customer_id.nil?
|
259
217
|
fail ArgumentError, "Missing the required parameter 'customer_id' when calling CustomerShippingAddressApi.get_customer_shipping_addresses_list"
|
260
218
|
end
|
261
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length > 32
|
262
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.get_customer_shipping_addresses_list, the character length must be smaller than or equal to 32.'
|
263
|
-
end
|
264
|
-
|
265
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length < 1
|
266
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.get_customer_shipping_addresses_list, the character length must be great than or equal to 1.'
|
267
|
-
end
|
268
|
-
|
269
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length > 36
|
270
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerShippingAddressApi.get_customer_shipping_addresses_list, the character length must be smaller than or equal to 36.'
|
271
|
-
end
|
272
|
-
|
273
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length < 36
|
274
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerShippingAddressApi.get_customer_shipping_addresses_list, the character length must be great than or equal to 36.'
|
275
|
-
end
|
276
|
-
|
277
|
-
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
278
|
-
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling CustomerShippingAddressApi.get_customer_shipping_addresses_list, must be greater than or equal to 0.'
|
279
|
-
end
|
280
|
-
|
281
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 100
|
282
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CustomerShippingAddressApi.get_customer_shipping_addresses_list, must be smaller than or equal to 100.'
|
283
|
-
end
|
284
|
-
|
285
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
286
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CustomerShippingAddressApi.get_customer_shipping_addresses_list, must be greater than or equal to 1.'
|
287
|
-
end
|
288
|
-
|
289
219
|
# resource path
|
290
220
|
local_var_path = 'tms/v2/customers/{customerId}/shipping-addresses'.sub('{' + 'customerId' + '}', customer_id.to_s)
|
291
221
|
|
@@ -331,6 +261,7 @@ module CyberSource
|
|
331
261
|
end
|
332
262
|
# Update a Customer Shipping Address
|
333
263
|
# | | | | | --- | --- | --- | |**Customer Shipping Address**<br>A Customer Shipping Address represents tokenized customer shipping information.<br>A [Customer](#token-management_customer_create-a-customer) can have [one or more Shipping Addresses](#token-management_customer-shipping-address_list-shipping-addresses-for-a-customer), with one allocated as the Customers default for use in payments.| |**Updating a Customers Shipping Address**<br>Your system can use this API to update an existing Shipping Addresses for a Customer, including selecting a [default Shipping Address](#token-management_customer-shipping-address_update-a-customer-shipping-address_samplerequests-dropdown_make-customer-shipping-address-the-default_liveconsole-tab-request-body) for use in payments.
|
264
|
+
#
|
334
265
|
# @param customer_id The Id of a Customer.
|
335
266
|
# @param shipping_address_id The Id of a shipping address.
|
336
267
|
# @param patch_customer_shipping_address_request
|
@@ -338,6 +269,7 @@ module CyberSource
|
|
338
269
|
# @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
|
339
270
|
# @option opts [String] :if_match Contains an ETag value from a GET request to make the request conditional.
|
340
271
|
# @return [Tmsv2customersEmbeddedDefaultShippingAddress]
|
272
|
+
#
|
341
273
|
def patch_customers_shipping_address(customer_id, shipping_address_id, patch_customer_shipping_address_request, opts = {})
|
342
274
|
data, status_code, headers = patch_customers_shipping_address_with_http_info(customer_id, shipping_address_id, patch_customer_shipping_address_request, opts)
|
343
275
|
return data, status_code, headers
|
@@ -366,46 +298,14 @@ module CyberSource
|
|
366
298
|
if @api_client.config.client_side_validation && customer_id.nil?
|
367
299
|
fail ArgumentError, "Missing the required parameter 'customer_id' when calling CustomerShippingAddressApi.patch_customers_shipping_address"
|
368
300
|
end
|
369
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length > 32
|
370
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.patch_customers_shipping_address, the character length must be smaller than or equal to 32.'
|
371
|
-
end
|
372
|
-
|
373
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length < 1
|
374
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.patch_customers_shipping_address, the character length must be great than or equal to 1.'
|
375
|
-
end
|
376
|
-
|
377
301
|
# verify the required parameter 'shipping_address_id' is set
|
378
302
|
if @api_client.config.client_side_validation && shipping_address_id.nil?
|
379
303
|
fail ArgumentError, "Missing the required parameter 'shipping_address_id' when calling CustomerShippingAddressApi.patch_customers_shipping_address"
|
380
304
|
end
|
381
|
-
if @api_client.config.client_side_validation && shipping_address_id.to_s.length > 32
|
382
|
-
fail ArgumentError, 'invalid value for "shipping_address_id" when calling CustomerShippingAddressApi.patch_customers_shipping_address, the character length must be smaller than or equal to 32.'
|
383
|
-
end
|
384
|
-
|
385
|
-
if @api_client.config.client_side_validation && shipping_address_id.to_s.length < 1
|
386
|
-
fail ArgumentError, 'invalid value for "shipping_address_id" when calling CustomerShippingAddressApi.patch_customers_shipping_address, the character length must be great than or equal to 1.'
|
387
|
-
end
|
388
|
-
|
389
305
|
# verify the required parameter 'patch_customer_shipping_address_request' is set
|
390
306
|
if @api_client.config.client_side_validation && patch_customer_shipping_address_request.nil?
|
391
307
|
fail ArgumentError, "Missing the required parameter 'patch_customer_shipping_address_request' when calling CustomerShippingAddressApi.patch_customers_shipping_address"
|
392
308
|
end
|
393
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length > 36
|
394
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerShippingAddressApi.patch_customers_shipping_address, the character length must be smaller than or equal to 36.'
|
395
|
-
end
|
396
|
-
|
397
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length < 36
|
398
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerShippingAddressApi.patch_customers_shipping_address, the character length must be great than or equal to 36.'
|
399
|
-
end
|
400
|
-
|
401
|
-
if @api_client.config.client_side_validation && !opts[:'if_match'].nil? && opts[:'if_match'].to_s.length > 32
|
402
|
-
fail ArgumentError, 'invalid value for "opts[:"if_match"]" when calling CustomerShippingAddressApi.patch_customers_shipping_address, the character length must be smaller than or equal to 32.'
|
403
|
-
end
|
404
|
-
|
405
|
-
if @api_client.config.client_side_validation && !opts[:'if_match'].nil? && opts[:'if_match'].to_s.length < 1
|
406
|
-
fail ArgumentError, 'invalid value for "opts[:"if_match"]" when calling CustomerShippingAddressApi.patch_customers_shipping_address, the character length must be great than or equal to 1.'
|
407
|
-
end
|
408
|
-
|
409
309
|
# resource path
|
410
310
|
local_var_path = 'tms/v2/customers/{customerId}/shipping-addresses/{shippingAddressId}'.sub('{' + 'customerId' + '}', customer_id.to_s).sub('{' + 'shippingAddressId' + '}', shipping_address_id.to_s)
|
411
311
|
|
@@ -426,6 +326,8 @@ module CyberSource
|
|
426
326
|
|
427
327
|
# http body (model)
|
428
328
|
post_body = @api_client.object_to_http_body(patch_customer_shipping_address_request)
|
329
|
+
sdk_tracker = SdkTracker.new
|
330
|
+
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PatchCustomerShippingAddressRequest', @api_client.config.host)
|
429
331
|
auth_names = []
|
430
332
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
431
333
|
:header_params => header_params,
|
@@ -446,11 +348,13 @@ module CyberSource
|
|
446
348
|
end
|
447
349
|
# Create a Customer Shipping Address
|
448
350
|
# | | | | | --- | --- | --- | |**Customer Shipping Address**<br>A Customer Shipping Address represents tokenized customer shipping information.<br>A [Customer](#token-management_customer_create-a-customer) can have [one or more Shipping Addresses](#token-management_customer-shipping-address_list-shipping-addresses-for-a-customer), with one allocated as the Customers default for use in payments.| |**Creating a Customer Shipping Address**<br>Your system can use this API to create an existing Customers default or non default Shipping Address.<br>You can also create additional Customer Shipping Addresses via the [Payments API](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-create-default-payment-instrument-shipping-address-for-existing-customer_liveconsole-tab-request-body).
|
351
|
+
#
|
449
352
|
# @param customer_id The Id of a Customer.
|
450
353
|
# @param post_customer_shipping_address_request
|
451
354
|
# @param [Hash] opts the optional parameters
|
452
355
|
# @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
|
453
356
|
# @return [Tmsv2customersEmbeddedDefaultShippingAddress]
|
357
|
+
#
|
454
358
|
def post_customer_shipping_address(customer_id, post_customer_shipping_address_request, opts = {})
|
455
359
|
data, status_code, headers = post_customer_shipping_address_with_http_info(customer_id, post_customer_shipping_address_request, opts)
|
456
360
|
return data, status_code, headers
|
@@ -477,26 +381,10 @@ module CyberSource
|
|
477
381
|
if @api_client.config.client_side_validation && customer_id.nil?
|
478
382
|
fail ArgumentError, "Missing the required parameter 'customer_id' when calling CustomerShippingAddressApi.post_customer_shipping_address"
|
479
383
|
end
|
480
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length > 32
|
481
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.post_customer_shipping_address, the character length must be smaller than or equal to 32.'
|
482
|
-
end
|
483
|
-
|
484
|
-
if @api_client.config.client_side_validation && customer_id.to_s.length < 1
|
485
|
-
fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.post_customer_shipping_address, the character length must be great than or equal to 1.'
|
486
|
-
end
|
487
|
-
|
488
384
|
# verify the required parameter 'post_customer_shipping_address_request' is set
|
489
385
|
if @api_client.config.client_side_validation && post_customer_shipping_address_request.nil?
|
490
386
|
fail ArgumentError, "Missing the required parameter 'post_customer_shipping_address_request' when calling CustomerShippingAddressApi.post_customer_shipping_address"
|
491
387
|
end
|
492
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length > 36
|
493
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerShippingAddressApi.post_customer_shipping_address, the character length must be smaller than or equal to 36.'
|
494
|
-
end
|
495
|
-
|
496
|
-
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length < 36
|
497
|
-
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling CustomerShippingAddressApi.post_customer_shipping_address, the character length must be great than or equal to 36.'
|
498
|
-
end
|
499
|
-
|
500
388
|
# resource path
|
501
389
|
local_var_path = 'tms/v2/customers/{customerId}/shipping-addresses'.sub('{' + 'customerId' + '}', customer_id.to_s)
|
502
390
|
|
@@ -516,6 +404,8 @@ module CyberSource
|
|
516
404
|
|
517
405
|
# http body (model)
|
518
406
|
post_body = @api_client.object_to_http_body(post_customer_shipping_address_request)
|
407
|
+
sdk_tracker = SdkTracker.new
|
408
|
+
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostCustomerShippingAddressRequest', @api_client.config.host)
|
519
409
|
auth_names = []
|
520
410
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
521
411
|
:header_params => header_params,
|