cybersource_rest_client 0.0.56 → 0.0.58
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/core/Authorization.rb +1 -1
- data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +8 -0
- data/lib/cybersource_rest_client/api/batches_api.rb +14 -26
- data/lib/cybersource_rest_client/api/billing_agreements_api.rb +6 -0
- data/lib/cybersource_rest_client/api/capture_api.rb +2 -0
- data/lib/cybersource_rest_client/api/chargeback_details_api.rb +2 -8
- data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +2 -8
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +2 -8
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +21 -37
- data/lib/cybersource_rest_client/api/credit_api.rb +2 -0
- data/lib/cybersource_rest_client/api/customer_api.rb +8 -64
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +10 -124
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +10 -124
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +10 -0
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +2 -0
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +2 -0
- data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +4 -0
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +12 -108
- data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +2 -8
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +4 -0
- data/lib/cybersource_rest_client/api/invoices_api.rb +12 -0
- data/lib/cybersource_rest_client/api/keymanagement_api.rb +2 -0
- data/lib/cybersource_rest_client/api/keymanagementpassword_api.rb +2 -0
- data/lib/cybersource_rest_client/api/keymanagementpgp_api.rb +2 -0
- data/lib/cybersource_rest_client/api/keymanagementscmp_api.rb +2 -0
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +77 -93
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +2 -2
- data/lib/cybersource_rest_client/api/microform_integration_api.rb +2 -0
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +2 -8
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +2 -0
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +6 -0
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +2 -16
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +8 -64
- data/lib/cybersource_rest_client/api/payments_api.rb +6 -0
- data/lib/cybersource_rest_client/api/payouts_api.rb +2 -0
- data/lib/cybersource_rest_client/api/plans_api.rb +16 -0
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +2 -16
- data/lib/cybersource_rest_client/api/push_funds_api.rb +2 -0
- data/lib/cybersource_rest_client/api/refund_api.rb +4 -0
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +4 -16
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +2 -8
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +12 -58
- data/lib/cybersource_rest_client/api/reports_api.rb +8 -26
- data/lib/cybersource_rest_client/api/retrieval_details_api.rb +2 -8
- data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +2 -8
- data/lib/cybersource_rest_client/api/reversal_api.rb +4 -0
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +4 -0
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +4 -16
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +16 -0
- data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +8 -0
- data/lib/cybersource_rest_client/api/taxes_api.rb +4 -0
- data/lib/cybersource_rest_client/api/token_api.rb +13 -23
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +6 -0
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +2 -0
- data/lib/cybersource_rest_client/api/transient_token_data_api.rb +2 -0
- data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +2 -0
- data/lib/cybersource_rest_client/api/user_management_api.rb +2 -0
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +2 -0
- data/lib/cybersource_rest_client/api/verification_api.rb +4 -0
- data/lib/cybersource_rest_client/api/void_api.rb +10 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_product_information_selected_products.rb +1 -1
- data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater.rb +1 -1
- data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup.rb +1 -1
- data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management.rb +1 -1
- data/lib/cybersource_rest_client/models/create_bundled_decision_manager_case_request.rb +1 -1
- data/lib/cybersource_rest_client/models/create_search_request.rb +1 -1
- data/lib/cybersource_rest_client/models/{create_webhook.rb → create_webhook_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information_bill_to.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get404_response.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information_company.rb +1 -1
- data/lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kms_v2_keys_asym_get200_response_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kmsv2keysasym_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kmsv2keyssym_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kmsv2keyssymdeletes_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kmsv2keyssymverifi_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present.rb +4 -4
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_installment.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_payouts.rb +2 -2
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_processors.rb +2 -2
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_present_processors.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_common_merchant_descriptor_info.rb +2 -2
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_features_card_not_present_payouts_currencies.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service.rb +3 -3
- data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service_internal_only.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service_processors.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_j_cbj_secure.rb +2 -2
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_verified.rb +2 -2
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_verified_currencies.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_notifications_customer_notifications.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_notifications_merchant_notifications.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_payment_types_card_types.rb +5 -5
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_payment_types_card_types_discover.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_global_payment_info.rb +4 -4
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_global_payment_info_basic_info.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_merchant_defined_data_fields.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_payment_info.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info.rb +4 -4
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_email_receipt.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_header.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_order_info.rb +1 -1
- data/lib/cybersource_rest_client/models/{payment_products.rb → payments_products.rb} +18 -18
- data/lib/cybersource_rest_client/models/{payment_products_currency_conversion.rb → payments_products_card_present_connect.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_currency_conversion_configuration_information.rb → payments_products_card_present_connect_configuration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_card_present_connect_configuration_information_configurations.rb → payments_products_card_present_connect_configuration_information_configurations.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_card_present_connect_subscription_information.rb → payments_products_card_present_connect_subscription_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_card_processing.rb → payments_products_card_processing.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_configuration_information.rb → payments_products_card_processing_configuration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations.rb → payments_products_card_processing_configuration_information_configurations.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common.rb → payments_products_card_processing_configuration_information_configurations_common.rb} +4 -4
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_acquirer.rb → payments_products_card_processing_configuration_information_configurations_common_acquirer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_currencies.rb → payments_products_card_processing_configuration_information_configurations_common_currencies.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_currencies_1.rb → payments_products_card_processing_configuration_information_configurations_common_currencies_1.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_payment_types.rb → payments_products_card_processing_configuration_information_configurations_common_payment_types.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_processors.rb → payments_products_card_processing_configuration_information_configurations_common_processors.rb} +10 -10
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_features.rb → payments_products_card_processing_configuration_information_configurations_features.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_features_card_present.rb → payments_products_card_processing_configuration_information_configurations_features_card_present.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_subscription_information.rb → payments_products_card_processing_subscription_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_subscription_information_features.rb → payments_products_card_processing_subscription_information_features.rb} +1 -1
- data/lib/cybersource_rest_client/models/payments_products_currency_conversion.rb +200 -0
- data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_configuration_information.rb → payments_products_currency_conversion_configuration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_currency_conversion_configuration_information_configurations.rb → payments_products_currency_conversion_configuration_information_configurations.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_currency_conversion_configuration_information_configurations_processors.rb → payments_products_currency_conversion_configuration_information_configurations_processors.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_cybs_ready_terminal.rb → payments_products_cybs_ready_terminal.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_differential_fee.rb → payments_products_differential_fee.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_differential_fee_subscription_information.rb → payments_products_differential_fee_subscription_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_differential_fee_subscription_information_features.rb → payments_products_differential_fee_subscription_information_features.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_digital_payments.rb → payments_products_digital_payments.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_digital_payments_subscription_information.rb → payments_products_digital_payments_subscription_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_payouts.rb → payments_products_e_check.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_common_internal_only_processors.rb → payments_products_e_check_config_common_internal_only_processors.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information.rb → payments_products_e_check_configuration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations.rb → payments_products_e_check_configuration_information_configurations.rb} +4 -4
- data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_common.rb → payments_products_e_check_configuration_information_configurations_common.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_common_internal_only.rb → payments_products_e_check_configuration_information_configurations_common_internal_only.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_common_processors.rb → payments_products_e_check_configuration_information_configurations_common_processors.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_features.rb → payments_products_e_check_configuration_information_configurations_features.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_underwriting.rb → payments_products_e_check_configuration_information_configurations_underwriting.rb} +4 -4
- data/lib/cybersource_rest_client/models/{payment_products_e_check_subscription_information.rb → payments_products_e_check_subscription_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/payments_products_payer_authentication.rb +200 -0
- data/lib/cybersource_rest_client/models/{payment_products_card_present_connect_configuration_information.rb → payments_products_payer_authentication_configuration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_configuration_information_configurations.rb → payments_products_payer_authentication_configuration_information_configurations.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_configuration_information_configurations_card_types.rb → payments_products_payer_authentication_configuration_information_configurations_card_types.rb} +9 -9
- data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_configuration_information_configurations_card_types_cb.rb → payments_products_payer_authentication_configuration_information_configurations_card_types_cb.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_subscription_information.rb → payments_products_payer_authentication_subscription_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_e_check.rb → payments_products_payouts.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information.rb → payments_products_payouts_configuration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information_configurations.rb → payments_products_payouts_configuration_information_configurations.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information_configurations_processor_account.rb → payments_products_payouts_configuration_information_configurations_processor_account.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information_configurations_pullfunds.rb → payments_products_payouts_configuration_information_configurations_pullfunds.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information_configurations_pushfunds.rb → payments_products_payouts_configuration_information_configurations_pushfunds.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_card_present_connect.rb → payments_products_secure_acceptance.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information.rb → payments_products_secure_acceptance_configuration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations.rb → payments_products_secure_acceptance_configuration_information_configurations.rb} +7 -7
- data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_checkout.rb → payments_products_secure_acceptance_configuration_information_configurations_checkout.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_contact_information.rb → payments_products_secure_acceptance_configuration_information_configurations_contact_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_notifications.rb → payments_products_secure_acceptance_configuration_information_configurations_notifications.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_payment_methods.rb → payments_products_secure_acceptance_configuration_information_configurations_payment_methods.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_payment_types.rb → payments_products_secure_acceptance_configuration_information_configurations_payment_types.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_service.rb → payments_products_secure_acceptance_configuration_information_configurations_service.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_products_tax.rb → payments_products_tax.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance.rb → payments_products_virtual_terminal.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information.rb → payments_products_virtual_terminal_configuration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_configuration_information_configurations.rb → payments_products_virtual_terminal_configuration_information_configurations.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_configuration_information_configurations_card_not_present.rb → payments_products_virtual_terminal_configuration_information_configurations_card_not_present.rb} +3 -3
- data/lib/cybersource_rest_client/models/post_payment_credentials_request.rb +191 -0
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +16 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_bill_to.rb +4 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_ship_to.rb +6 -6
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_payment_type_method.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_buyer_information.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +4 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_capture.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +18 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_info_codes.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_score.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_watchlist_screening_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information_sub_merchant.rb +8 -8
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information_merchant_descriptor.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_point_of_service_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_device_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information_merchant_descriptor.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_bill_to.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_acquirer_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +9 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_location.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +9 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +7 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type_method.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_watchlist_screening_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_watchlist_screening_information_weights.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +8 -8
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_device_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/push_funds201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/{replay_webhooks.rb → replay_webhooks_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/risk_products_decision_manager.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_products_fraud_management_essentials.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +4 -4
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +7 -7
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information.rb +5 -17
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +4 -4
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_acquirer_information.rb +248 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +6 -6
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information_merchant_descriptor.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +4 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +7 -7
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +4 -4
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +6 -6
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information_marking_details.rb +2 -2
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bill_to.rb +5 -5
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card.rb +24 -2
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information_merchant_descriptor.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +7 -7
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +6 -6
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options_initiator.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +10 -10
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +4 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +1 -1
- data/lib/cybersource_rest_client/models/tssv2transactionsemv_tag_details_emv_details_list.rb +1 -1
- data/lib/cybersource_rest_client/models/{update_webhook.rb → update_webhook_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to.rb +7 -7
- data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to_company.rb +3 -3
- data/lib/cybersource_rest_client/models/value_added_services_products.rb +2 -2
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_tax_information.rb +1 -1
- data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +7 -7
- data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +1 -1
- data/lib/cybersource_rest_client.rb +69 -68
- metadata +98 -97
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication.rb +0 -200
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal.rb +0 -200
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +0 -240
@@ -0,0 +1,191 @@
|
|
1
|
+
=begin
|
2
|
+
#CyberSource Merged Spec
|
3
|
+
|
4
|
+
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module CyberSource
|
16
|
+
class PostPaymentCredentialsRequest
|
17
|
+
# The type of payment credentials to be returned. By default, payment credentials include network token and cryptogram or dynamic CVV. If \"NETWORK_TOKEN\" is supplied then only network token will be returned and cryptogram or dynamic CVV will be excluded. Possible Values: - NETWORK_TOKEN
|
18
|
+
attr_accessor :payment_credential_type
|
19
|
+
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
+
def self.attribute_map
|
22
|
+
{
|
23
|
+
:'payment_credential_type' => :'paymentCredentialType'
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
28
|
+
def self.json_map
|
29
|
+
{
|
30
|
+
:'payment_credential_type' => :'payment_credential_type'
|
31
|
+
}
|
32
|
+
end
|
33
|
+
|
34
|
+
# Attribute type mapping.
|
35
|
+
def self.swagger_types
|
36
|
+
{
|
37
|
+
:'payment_credential_type' => :'String'
|
38
|
+
}
|
39
|
+
end
|
40
|
+
|
41
|
+
# Initializes the object
|
42
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
43
|
+
def initialize(attributes = {})
|
44
|
+
return unless attributes.is_a?(Hash)
|
45
|
+
|
46
|
+
# convert string to symbol for hash key
|
47
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
48
|
+
|
49
|
+
if attributes.has_key?(:'paymentCredentialType')
|
50
|
+
self.payment_credential_type = attributes[:'paymentCredentialType']
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
55
|
+
# @return Array for valid properties with the reasons
|
56
|
+
def list_invalid_properties
|
57
|
+
invalid_properties = Array.new
|
58
|
+
invalid_properties
|
59
|
+
end
|
60
|
+
|
61
|
+
# Check to see if the all the properties in the model are valid
|
62
|
+
# @return true if the model is valid
|
63
|
+
def valid?
|
64
|
+
true
|
65
|
+
end
|
66
|
+
|
67
|
+
# Checks equality by comparing each attribute.
|
68
|
+
# @param [Object] Object to be compared
|
69
|
+
def ==(o)
|
70
|
+
return true if self.equal?(o)
|
71
|
+
self.class == o.class &&
|
72
|
+
payment_credential_type == o.payment_credential_type
|
73
|
+
end
|
74
|
+
|
75
|
+
# @see the `==` method
|
76
|
+
# @param [Object] Object to be compared
|
77
|
+
def eql?(o)
|
78
|
+
self == o
|
79
|
+
end
|
80
|
+
|
81
|
+
# Calculates hash code according to all attributes.
|
82
|
+
# @return [Fixnum] Hash code
|
83
|
+
def hash
|
84
|
+
[payment_credential_type].hash
|
85
|
+
end
|
86
|
+
|
87
|
+
# Builds the object from hash
|
88
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
89
|
+
# @return [Object] Returns the model itself
|
90
|
+
def build_from_hash(attributes)
|
91
|
+
return nil unless attributes.is_a?(Hash)
|
92
|
+
self.class.swagger_types.each_pair do |key, type|
|
93
|
+
if type =~ /\AArray<(.*)>/i
|
94
|
+
# check to ensure the input is an array given that the the attribute
|
95
|
+
# is documented as an array but the input is not
|
96
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
97
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
98
|
+
end
|
99
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
100
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
101
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
102
|
+
end
|
103
|
+
|
104
|
+
self
|
105
|
+
end
|
106
|
+
|
107
|
+
# Deserializes the data based on type
|
108
|
+
# @param string type Data type
|
109
|
+
# @param string value Value to be deserialized
|
110
|
+
# @return [Object] Deserialized data
|
111
|
+
def _deserialize(type, value)
|
112
|
+
case type.to_sym
|
113
|
+
when :DateTime
|
114
|
+
DateTime.parse(value)
|
115
|
+
when :Date
|
116
|
+
Date.parse(value)
|
117
|
+
when :String
|
118
|
+
value.to_s
|
119
|
+
when :Integer
|
120
|
+
value.to_i
|
121
|
+
when :Float
|
122
|
+
value.to_f
|
123
|
+
when :BOOLEAN
|
124
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
125
|
+
true
|
126
|
+
else
|
127
|
+
false
|
128
|
+
end
|
129
|
+
when :Object
|
130
|
+
# generic object (usually a Hash), return directly
|
131
|
+
value
|
132
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
133
|
+
inner_type = Regexp.last_match[:inner_type]
|
134
|
+
value.map { |v| _deserialize(inner_type, v) }
|
135
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
136
|
+
k_type = Regexp.last_match[:k_type]
|
137
|
+
v_type = Regexp.last_match[:v_type]
|
138
|
+
{}.tap do |hash|
|
139
|
+
value.each do |k, v|
|
140
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
141
|
+
end
|
142
|
+
end
|
143
|
+
else # model
|
144
|
+
temp_model = CyberSource.const_get(type).new
|
145
|
+
temp_model.build_from_hash(value)
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
# Returns the string representation of the object
|
150
|
+
# @return [String] String presentation of the object
|
151
|
+
def to_s
|
152
|
+
to_hash.to_s
|
153
|
+
end
|
154
|
+
|
155
|
+
# to_body is an alias to to_hash (backward compatibility)
|
156
|
+
# @return [Hash] Returns the object in the form of hash
|
157
|
+
def to_body
|
158
|
+
to_hash
|
159
|
+
end
|
160
|
+
|
161
|
+
# Returns the object in the form of hash
|
162
|
+
# @return [Hash] Returns the object in the form of hash
|
163
|
+
def to_hash
|
164
|
+
hash = {}
|
165
|
+
self.class.attribute_map.each_pair do |attr, param|
|
166
|
+
value = self.send(attr)
|
167
|
+
next if value.nil?
|
168
|
+
hash[param] = _to_hash(value)
|
169
|
+
end
|
170
|
+
hash
|
171
|
+
end
|
172
|
+
|
173
|
+
# Outputs non-array value in the form of hash
|
174
|
+
# For object, use to_hash. Otherwise, just return the value
|
175
|
+
# @param [Object] value Any valid value
|
176
|
+
# @return [Hash] Returns the value in the form of hash
|
177
|
+
def _to_hash(value)
|
178
|
+
if value.is_a?(Array)
|
179
|
+
value.compact.map { |v| _to_hash(v) }
|
180
|
+
elsif value.is_a?(Hash)
|
181
|
+
{}.tap do |hash|
|
182
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
183
|
+
end
|
184
|
+
elsif value.respond_to? :to_hash
|
185
|
+
value.to_hash
|
186
|
+
else
|
187
|
+
value
|
188
|
+
end
|
189
|
+
end
|
190
|
+
end
|
191
|
+
end
|
data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb
CHANGED
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class PtsV2CreditsPost201ResponseCreditAmountDetails
|
17
|
-
# Amount that was credited to the cardholder
|
17
|
+
# Amount that was credited to the cardholder's account. Returned by PIN debit credit.
|
18
18
|
attr_accessor :credit_amount
|
19
19
|
|
20
20
|
# Currency used for the order. Use the three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) #### Used by **Authorization** Required field. **Authorization Reversal** For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### PIN Debit Currency for the amount you requested for the PIN debit purchase. This value is returned for partial authorizations. The issuing bank can approve a partial amount if the balance on the debit card is less than the requested transaction amount. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Returned by PIN debit purchase. For PIN debit reversal requests, you must use the same currency that was used for the PIN debit purchase or PIN debit credit that you are reversing. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Required field for PIN Debit purchase and PIN Debit credit requests. Optional field for PIN Debit reversal requests. #### GPX This field is optional for reversing an authorization or credit. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). #### Tax Calculation Required for international tax and value added tax only. Optional for U.S. and Canadian taxes. Your local currency.
|
@@ -23,7 +23,7 @@ module CyberSource
|
|
23
23
|
# For most processors, this is the error message sent directly from the bank. Returned only when the processor returns this value. **Important** Do not use this field to evaluate the result of the authorization. #### PIN debit Response value that is returned by the processor or bank. **Important** Do not use this field to evaluate the results of the transaction request. Returned by PIN debit credit, PIN debit purchase, and PIN debit reversal. #### AIBMS If this value is `08`, you can accept the transaction if the customer provides you with identification. #### Atos This value is the response code sent from Atos and it might also include the response code from the bank. Format: `aa,bb` with the two values separated by a comma and where: - `aa` is the two-digit error message from Atos. - `bb` is the optional two-digit error message from the bank. #### Comercio Latino This value is the status code and the error or response code received from the processor separated by a colon. Format: [status code]:E[error code] or [status code]:R[response code] Example `2:R06` #### JCN Gateway Processor-defined detail error code. The associated response category code is in the `processorInformation.responseCategoryCode` field. String (3)
|
24
24
|
attr_accessor :response_code
|
25
25
|
|
26
|
-
# This field is returned only for **American Express Direct** and **CyberSource through VisaNet**. Returned by authorization and incremental authorization services. #### American Express Direct System trace audit number (STAN). This value identifies the transaction and is useful when investigating a chargeback dispute. #### CyberSource through VisaNet System trace number that must be printed on the customer
|
26
|
+
# This field is returned only for **American Express Direct** and **CyberSource through VisaNet**. Returned by authorization and incremental authorization services. #### American Express Direct System trace audit number (STAN). This value identifies the transaction and is useful when investigating a chargeback dispute. #### CyberSource through VisaNet System trace number that must be printed on the customer's receipt.
|
27
27
|
attr_accessor :system_trace_audit_number
|
28
28
|
|
29
29
|
# This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**.
|
@@ -22,7 +22,7 @@ module CyberSource
|
|
22
22
|
# Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services.
|
23
23
|
attr_accessor :submit_time_utc
|
24
24
|
|
25
|
-
# The status of the submitted transaction. Possible values: - PENDING
|
25
|
+
# The status of the submitted transaction. Possible values: - PENDING - TRANSMITTED (Only for Online Capture enabled merchants)
|
26
26
|
attr_accessor :status
|
27
27
|
|
28
28
|
# Reference number for the transaction. Depending on how your Cybersource account is configured, this value could either be provided in the API request or generated by CyberSource. The actual value used in the request to the processor is provided back to you by Cybersource in the response.
|
@@ -17,24 +17,30 @@ module CyberSource
|
|
17
17
|
# Processor transaction ID. This value identifies the transaction on a host system. This value is supported only for Moneris. It contains this information: - Terminal used to process the transaction - Shift during which the transaction took place - Batch number - Transaction number within the batch You must store this value. If you give the customer a receipt, display this value on the receipt. Example For the value 66012345001069003: - Terminal ID = 66012345 - Shift number = 001 - Batch number = 069 - Transaction number = 003
|
18
18
|
attr_accessor :transaction_id
|
19
19
|
|
20
|
+
# Network Transaction Identifier Applicable for online capture transactions only.
|
21
|
+
attr_accessor :network_transaction_id
|
22
|
+
|
20
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
21
24
|
def self.attribute_map
|
22
25
|
{
|
23
|
-
:'transaction_id' => :'transactionId'
|
26
|
+
:'transaction_id' => :'transactionId',
|
27
|
+
:'network_transaction_id' => :'networkTransactionId'
|
24
28
|
}
|
25
29
|
end
|
26
30
|
|
27
31
|
# Attribute mapping from JSON key to ruby-style variable name.
|
28
32
|
def self.json_map
|
29
33
|
{
|
30
|
-
:'transaction_id' => :'transaction_id'
|
34
|
+
:'transaction_id' => :'transaction_id',
|
35
|
+
:'network_transaction_id' => :'network_transaction_id'
|
31
36
|
}
|
32
37
|
end
|
33
38
|
|
34
39
|
# Attribute type mapping.
|
35
40
|
def self.swagger_types
|
36
41
|
{
|
37
|
-
:'transaction_id' => :'String'
|
42
|
+
:'transaction_id' => :'String',
|
43
|
+
:'network_transaction_id' => :'String'
|
38
44
|
}
|
39
45
|
end
|
40
46
|
|
@@ -49,6 +55,10 @@ module CyberSource
|
|
49
55
|
if attributes.has_key?(:'transactionId')
|
50
56
|
self.transaction_id = attributes[:'transactionId']
|
51
57
|
end
|
58
|
+
|
59
|
+
if attributes.has_key?(:'networkTransactionId')
|
60
|
+
self.network_transaction_id = attributes[:'networkTransactionId']
|
61
|
+
end
|
52
62
|
end
|
53
63
|
|
54
64
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -75,7 +85,8 @@ module CyberSource
|
|
75
85
|
def ==(o)
|
76
86
|
return true if self.equal?(o)
|
77
87
|
self.class == o.class &&
|
78
|
-
transaction_id == o.transaction_id
|
88
|
+
transaction_id == o.transaction_id &&
|
89
|
+
network_transaction_id == o.network_transaction_id
|
79
90
|
end
|
80
91
|
|
81
92
|
# @see the `==` method
|
@@ -87,7 +98,7 @@ module CyberSource
|
|
87
98
|
# Calculates hash code according to all attributes.
|
88
99
|
# @return [Fixnum] Hash code
|
89
100
|
def hash
|
90
|
-
[transaction_id].hash
|
101
|
+
[transaction_id, network_transaction_id].hash
|
91
102
|
end
|
92
103
|
|
93
104
|
# Builds the object from hash
|
@@ -14,16 +14,16 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class PtsV2PaymentsPost201Response1OrderInformationBillTo
|
17
|
-
# Customer
|
17
|
+
# Customer's first name. This name must be the same as the name on the card. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### CyberSource Latin American Processing **Important** For an authorization request, CyberSource Latin American Processing concatenates `orderInformation.billTo.firstName` and `orderInformation.billTo.lastName`. If the concatenated value exceeds 30 characters, CyberSource Latin American Processing declines the authorization request.\\ **Note** CyberSource Latin American Processing is the name of a specific processing connection that CyberSource supports. In the CyberSource API documentation, CyberSource Latin American Processing does not refer to the general topic of processing in Latin America. The information in this field description is for the specific processing connection called _CyberSource Latin American Processing_. It is not for any other Latin American processors that CyberSource supports. #### CyberSource through VisaNet Credit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet accepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations of the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the credit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless ASCII characters for transmission to the credit card networks. #### For Payouts: This field may be sent only for FDC Compass. #### Chase Paymentech Solutions Optional field. #### Credit Mutuel-CIC Optional field. #### OmniPay Direct Optional field. #### SIX Optional field. #### TSYS Acquiring Solutions Required when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`. #### Worldpay VAP Optional field. #### All other processors Not used.
|
18
18
|
attr_accessor :first_name
|
19
19
|
|
20
|
-
# Customer
|
20
|
+
# Customer's last name. This name must be the same as the name on the card. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Chase Paymentech Solutions Optional field. #### Credit Mutuel-CIC Optional field. #### CyberSource Latin American Processing **Important** For an authorization request, CyberSource Latin American Processing concatenates `orderInformation.billTo.firstName` and `orderInformation.billTo.lastName`. If the concatenated value exceeds 30 characters, CyberSource Latin American Processing declines the authorization request.\\ **Note** CyberSource Latin American Processing is the name of a specific processing connection that CyberSource supports. In the CyberSource API documentation, CyberSource Latin American Processing does not refer to the general topic of processing in Latin America. The information in this field description is for the specific processing connection called CyberSource Latin American Processing. It is not for any other Latin American processors that CyberSource supports. #### CyberSource through VisaNet Credit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet accepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations of the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the credit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless ASCII characters for transmission to the credit card networks. #### For Payouts: This field may be sent only for FDC Compass. #### OmniPay Direct Optional field. #### RBS WorldPay Atlanta Optional field. #### SIX Optional field. #### TSYS Acquiring Solutions Required when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`. #### Worldpay VAP Optional field. #### All other processors Not used.
|
21
21
|
attr_accessor :last_name
|
22
22
|
|
23
|
-
# Customer
|
23
|
+
# Customer's name suffix.
|
24
24
|
attr_accessor :name_suffix
|
25
25
|
|
26
|
-
# Payment card billing street address as it appears on the credit card issuer
|
26
|
+
# Payment card billing street address as it appears on the credit card issuer's records. #### Atos This field must not contain colons (:). #### CyberSource through VisaNet **Important** When you populate orderInformation.billTo.address1 and orderInformation.billTo.address2, CyberSource through VisaNet concatenates the two values. If the concatenated value exceeds 40 characters, CyberSource through VisaNet truncates the value at 40 characters before sending it to Visa and the issuing bank. Truncating this value affects AVS results and therefore might also affect risk decisions and chargebacks. Credit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet accepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations of the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the credit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless ASCII characters for transmission to the credit card networks. #### FDMS Nashville When the street name is numeric, it must be sent in numeric format. For example, if the address is _One First Street_, it must be sent as _1 1st Street_. Required if keyed; not used if swiped. String (20) #### TSYS Acquiring Solutions Required when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`. #### All other processors: Optional. String (60) #### For Payouts This field may be sent only for FDC Compass. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.
|
27
27
|
attr_accessor :address1
|
28
28
|
|
29
29
|
# Used for additional address information. For example: _Attention: Accounts Payable_ Optional field. For Payouts: This field may be sent only for FDC Compass. #### Atos This field must not contain colons (:). #### CyberSource through VisaNet **Important** When you populate `orderInformation.billTo.address1` and `orderInformation.billTo.address2`, CyberSource through VisaNet concatenates the two values. If the concatenated value exceeds 40 characters, CyberSource through VisaNet truncates the value at 40 characters before sending it to Visa and the issuing bank. Truncating this value affects AVS results and therefore might also affect risk decisions and chargebacks. Credit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet accepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations of the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the credit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless ASCII characters for transmission to the credit card networks. #### Chase Paymentech Solutions, FDC Compass, and TSYS Acquiring Solutions This value is used for AVS. #### FDMS Nashville `orderInformation.billTo.address1` and `orderInformation.billTo.address2` together cannot exceed 20 characters. String (20) #### All Other Processors String (60)
|
@@ -20,22 +20,22 @@ module CyberSource
|
|
20
20
|
# Last name of the recipient. #### Litle Maximum length: 25 #### All other processors Maximum length: 60 Optional field.
|
21
21
|
attr_accessor :last_name
|
22
22
|
|
23
|
-
# First line of the shipping address. Required field for authorization if any shipping address information is included in the request; otherwise, optional. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder
|
23
|
+
# First line of the shipping address. Required field for authorization if any shipping address information is included in the request; otherwise, optional. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder's location when shipTo objects are not present.
|
24
24
|
attr_accessor :address1
|
25
25
|
|
26
|
-
# Second line of the shipping address. Optional field. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder
|
26
|
+
# Second line of the shipping address. Optional field. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder's location when shipTo objects are not present.
|
27
27
|
attr_accessor :address2
|
28
28
|
|
29
|
-
# City of the shipping address. Required field for authorization if any shipping address information is included in the request and shipping to the U.S. or Canada; otherwise, optional. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder
|
29
|
+
# City of the shipping address. Required field for authorization if any shipping address information is included in the request and shipping to the U.S. or Canada; otherwise, optional. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder's location when shipTo objects are not present.
|
30
30
|
attr_accessor :locality
|
31
31
|
|
32
|
-
# State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) Required field for authorization if any shipping address information is included in the request and shipping to the U.S. or Canada; otherwise, optional. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder
|
32
|
+
# State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) Required field for authorization if any shipping address information is included in the request and shipping to the U.S. or Canada; otherwise, optional. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder's location when shipTo objects are not present.
|
33
33
|
attr_accessor :administrative_area
|
34
34
|
|
35
|
-
# Postal code for the shipping address. The postal code must consist of 5 to 9 digits. Required field for authorization if any shipping address information is included in the request and shipping to the U.S. or Canada; otherwise, optional. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example 12345-6789 When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] Example A1B 2C3 #### American Express Direct Before sending the postal code to the processor, all nonalphanumeric characters are removed and, if the remaining value is longer than nine characters, the value is truncated starting from the right side. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder
|
35
|
+
# Postal code for the shipping address. The postal code must consist of 5 to 9 digits. Required field for authorization if any shipping address information is included in the request and shipping to the U.S. or Canada; otherwise, optional. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example 12345-6789 When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] Example A1B 2C3 #### American Express Direct Before sending the postal code to the processor, all nonalphanumeric characters are removed and, if the remaining value is longer than nine characters, the value is truncated starting from the right side. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder's location when shipTo objects are not present.
|
36
36
|
attr_accessor :postal_code
|
37
37
|
|
38
|
-
# Country of the shipping address. Use the two-character [ISO Standard Country Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) Required field for authorization if any shipping address information is included in the request; otherwise, optional. #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes. Billing address objects will be used to determine the cardholder
|
38
|
+
# Country of the shipping address. Use the two-character [ISO Standard Country Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) Required field for authorization if any shipping address information is included in the request; otherwise, optional. #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes. Billing address objects will be used to determine the cardholder's location when shipTo objects are not present.
|
39
39
|
attr_accessor :country
|
40
40
|
|
41
41
|
# Phone number associated with the shipping address.
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class PtsV2PaymentsPost201Response1PaymentInformationPaymentTypeMethod
|
17
|
-
# The payment channel that facilitates the transactions. This parameter can be used if the payment channels are listed on the merchant
|
17
|
+
# The payment channel that facilitates the transactions. This parameter can be used if the payment channels are listed on the merchant's site, and the payment channel is known. Possible Values: #### Via PPRO - `alfaVa` - `kredivo` - `consumerBarCode` - `merchantQrCode` - `dokuWallet`
|
18
18
|
attr_accessor :type
|
19
19
|
|
20
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_buyer_information.rb
CHANGED
@@ -14,13 +14,13 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class PtsV2PaymentsPost201ResponseBuyerInformation
|
17
|
-
# Your identifier for the customer. When a subscription or customer profile is being created, the maximum length for this field for most processors is 30. Otherwise, the maximum length is 100. #### Comercio Latino For recurring payments in Mexico, the value is the customer
|
17
|
+
# Your identifier for the customer. When a subscription or customer profile is being created, the maximum length for this field for most processors is 30. Otherwise, the maximum length is 100. #### Comercio Latino For recurring payments in Mexico, the value is the customer's contract number. Note Before you request the authorization, you must inform the issuer of the customer contract numbers that will be used for recurring transactions. #### Worldpay VAP For a follow-on credit with Worldpay VAP, CyberSource checks the following locations, in the order given, for a customer account ID value and uses the first value it finds: 1. `customer_account_id` value in the follow-on credit request 2. Customer account ID value that was used for the capture that is being credited 3. Customer account ID value that was used for the original authorization If a customer account ID value cannot be found in any of these locations, then no value is used. For processor-specific information, see the `customer_account_id` field description in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html)
|
18
18
|
attr_accessor :merchant_customer_id
|
19
19
|
|
20
|
-
# Recipient
|
20
|
+
# Recipient's date of birth. **Format**: `YYYYMMDD`. This field is a `pass-through`, which means that CyberSource ensures that the value is eight numeric characters but otherwise does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor. For more details, see `recipient_date_of_birth` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
|
21
21
|
attr_accessor :date_of_birth
|
22
22
|
|
23
|
-
# Customer
|
23
|
+
# Customer's government-assigned tax identification number. #### Tax Calculation Optional for international and value added taxes only. Not applicable to U.S. and Canadian taxes. For processor-specific information, see the purchaser_vat_registration_number field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html)
|
24
24
|
attr_accessor :vat_registration_number
|
25
25
|
|
26
26
|
attr_accessor :personal_identification
|
@@ -23,10 +23,10 @@ module CyberSource
|
|
23
23
|
# Unique transaction identifier assigned by the ACS to identify a single transaction.
|
24
24
|
attr_accessor :acs_transaction_id
|
25
25
|
|
26
|
-
# URL for the card-issuing bank
|
26
|
+
# URL for the card-issuing bank's authentication form that you receive when the card is enrolled. The value can be very large.
|
27
27
|
attr_accessor :acs_url
|
28
28
|
|
29
|
-
# Indicates what displays to the customer during the authentication process. This field can contain one of these values: - `ADS`: (Card not enrolled) customer prompted to activate the card during the checkout process. - `ATTEMPTS`: (Attempts processing) Processing briefly displays before the checkout process is completed. - `ENROLLED`: (Card enrolled) the card issuer
|
29
|
+
# Indicates what displays to the customer during the authentication process. This field can contain one of these values: - `ADS`: (Card not enrolled) customer prompted to activate the card during the checkout process. - `ATTEMPTS`: (Attempts processing) Processing briefly displays before the checkout process is completed. - `ENROLLED`: (Card enrolled) the card issuer's authentication window displays. - `UNKNOWN`: Card enrollment status cannot be determined. - `NOREDIRECT`: (Card not enrolled, authentication unavailable, or error occurred) nothing displays to the customer. The following values can be returned if you are using rules-based payer authentication. - `RIBA`: The card-issuing bank supports risk-based authentication, but whether the cardholder is likely to be challenged cannot be determined. - `RIBA_PASS`: The card-issuing bank supports risk-based authentication and it is likely that the cardholder will not be challenged to provide credentials, also known as _silent authentication_. For details about possible values, see `pa_enroll_authentication_path` field description and \"Rules-Based Payer Authentication\" in [CyberSource Payer Authentication Using the SCMP API.] (https://apps.cybersource.com/library/documentation/dev_guides/Payer_Authentication_SCMP_API/html/)
|
30
30
|
attr_accessor :authentication_path
|
31
31
|
|
32
32
|
# The Base64 encoded JSON Payload of CB specific Authorization Values returned in the challenge Flow
|
@@ -35,7 +35,7 @@ module CyberSource
|
|
35
35
|
# Payer authentication transaction identifier is used to link the check enrollment and validate authentication messages. For Rupay, this field should be passed as request only for Resend OTP use case.
|
36
36
|
attr_accessor :authentication_transaction_id
|
37
37
|
|
38
|
-
# Text provided by the ACS/Issuer to Cardholder during a Frictionless or Decoupled transaction.The Issuer can provide information to Cardholder. For example,
|
38
|
+
# Text provided by the ACS/Issuer to Cardholder during a Frictionless or Decoupled transaction.The Issuer can provide information to Cardholder. For example, \"Additional authentication is needed for this transaction, please contact (Issuer Name) at xxx-xxx-xxxx.\". The Issuing Bank can optionally support this value.
|
39
39
|
attr_accessor :cardholder_message
|
40
40
|
|
41
41
|
# Unique identifier generated by the card-issuing bank for Visa, American Express, JCB, Diners Club, and Discover transactions after the customer is authenticated. The value is in base64. When you request the card authorization service, CyberSource automatically converts the value, not the field name, to the format required by your payment processor.
|
@@ -59,7 +59,7 @@ module CyberSource
|
|
59
59
|
# Directory server text and additional detail about the error for this transaction.
|
60
60
|
attr_accessor :directory_server_error_description
|
61
61
|
|
62
|
-
# Commerce indicator for cards not enrolled. This field contains one of these values: - `internet`: Card not enrolled, or card type not supported by payer authentication. No liability shift. - `js_attempted`: Card not enrolled, but attempt to authenticate is recorded. Liability shift. - `js_failure`: J/Secure directory service is not available. No liability shift. - `spa`: Mastercard card not enrolled in the SecureCode program. No liability shift. - `vbv_attempted`: Card not enrolled, but attempt to authenticate is recorded. Liability shift. - `vbv_failure`: For payment processor Barclays, Streamline, AIBMS, or FDC Germany, you receive this result if Visa
|
62
|
+
# Commerce indicator for cards not enrolled. This field contains one of these values: - `internet`: Card not enrolled, or card type not supported by payer authentication. No liability shift. - `js_attempted`: Card not enrolled, but attempt to authenticate is recorded. Liability shift. - `js_failure`: J/Secure directory service is not available. No liability shift. - `spa`: Mastercard card not enrolled in the SecureCode program. No liability shift. - `vbv_attempted`: Card not enrolled, but attempt to authenticate is recorded. Liability shift. - `vbv_failure`: For payment processor Barclays, Streamline, AIBMS, or FDC Germany, you receive this result if Visa's directory service is not available. No liability shift.
|
63
63
|
attr_accessor :ecommerce_indicator
|
64
64
|
|
65
65
|
# Note This field applies only to non-U.S-issued cards. For enroll, Numeric electronic commerce indicator (ECI) returned only for Visa, American Express, JCB, Diners Club, and Discover transactions when the card is not enrolled. For more information, see \"Interpreting the Reply,\" page 22. If you are not using the CyberSource payment services, you must send this value to your payment processor in the subsequent request for card authorization. This field contains one of these values: - `06`: The card can be enrolled. Liability shift. - `07`: The card cannot be enrolled. No liability shift. For validate, Numeric electronic commerce indicator (ECI) returned only for Visa, American Express, JCB, Diners Club, and Discover transactions. The field is absent when authentication fails. You must send this value to your payment processor in the subsequent request for card authorization. This field contains one of these values: - `05`: Successful authentication - `06`: Authentication attempted - `07`: Failed authentication (No response from the merchant because of a problem.)
|
data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_capture.rb
CHANGED
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE
|
17
|
-
# The status of the submitted transaction. Possible values: - PENDING
|
17
|
+
# The status of the submitted transaction. Possible values: - PENDING - TRANSMITTED (Only for Online Capture enabled merchants)
|
18
18
|
attr_accessor :status
|
19
19
|
|
20
20
|
# The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION - EXCEEDS_AUTH_AMOUNT - AUTH_ALREADY_REVERSED - TRANSACTION_ALREADY_SETTLED - INVALID_AMOUNT - MISSING_AUTH - TRANSACTION_ALREADY_REVERSED_OR_SETTLED - NOT_SUPPORTED
|
data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb
CHANGED
@@ -62,10 +62,10 @@ module CyberSource
|
|
62
62
|
# Monthly interest rate. For example: - A value of 1.0 specifies 1%. - A value of 4.0 specifies 4%. This field is included in the authorization reply for the Crediario eligibility request when the issuer approves the cardholder's request for Crediario installment payments in Brazil. For details, see \"Installment Payments on CyberSource through VisaNet\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) This field is supported only for Crediario installment payments in Brazil on **CyberSource through VisaNet**. The value for this field corresponds to the following data in the TC 33 capture file1: - Record: CP01 TCR9 - Position: 144-150 - Field: Monthly Interest Rate
|
63
63
|
attr_accessor :monthly_interest_rate
|
64
64
|
|
65
|
-
# #### American Express Direct, Cielo, and CyberSource Latin American Processing Flag that indicates the type of funding for the installment plan associated with the payment. Possible values: - `1`: Merchant-funded installment plan - `2`: Issuer-funded installment plan If you do not include this field in the request, CyberSource uses the value in your CyberSource account. To change the value in your CyberSource account, contact CyberSource Customer Service. For details, see `installment_plan_type` field description in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### CyberSource through VisaNet and American Express Defined code that indicates the type of installment plan for this transaction. Contact American Express for: - Information about the kinds of installment plans that American Express provides - Values for this field For installment payments with American Express in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR3 - Position: 5-6 - Field: Plan Type * The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant
|
65
|
+
# #### American Express Direct, Cielo, and CyberSource Latin American Processing Flag that indicates the type of funding for the installment plan associated with the payment. Possible values: - `1`: Merchant-funded installment plan - `2`: Issuer-funded installment plan If you do not include this field in the request, CyberSource uses the value in your CyberSource account. To change the value in your CyberSource account, contact CyberSource Customer Service. For details, see `installment_plan_type` field description in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### CyberSource through VisaNet and American Express Defined code that indicates the type of installment plan for this transaction. Contact American Express for: - Information about the kinds of installment plans that American Express provides - Values for this field For installment payments with American Express in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR3 - Position: 5-6 - Field: Plan Type * The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies. #### CyberSource through VisaNet with Visa or Mastercard Flag indicating the type of funding for the installment plan associated with the payment. Possible values: - 1 or 01: Merchant-funded installment plan - 2 or 02: Issuer-funded installment plan - 43: Crediario installment plan—only with Visa in Brazil For details, see \"Installment Payments on CyberSource through VisaNet\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) For installment payments with Visa in Brazil, the value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP07 TCR1 - Position: 5-6 - Field: Installment Type For all other kinds of installment payments, the value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP01 TCR5 - Position: 39-40 - Field: Installment Plan Type (Issuer or Merchant)
|
66
66
|
attr_accessor :plan_type
|
67
67
|
|
68
|
-
# Installment number when making payments in installments. Used along with `totalCount` to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as `sequence` = 2 and `totalCount` = 5. For details, see \"Installment Payments\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. For details, see \"Chase Paymentech Solutions Merchant Descriptors\" and \"FDC Compass Merchant Descriptors\" in the [Merchant Descriptors Using the SCMP API] (https://apps.cybersource.com/library/documentation/dev_guides/Merchant_Descriptors_SCMP_API/html/) #### CyberSource through VisaNet When you do not include this field in a request for a Crediario installment payment, CyberSource sends a value of 0 to the processor. For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 38-40 - Field: Installment Payment Number * The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant
|
68
|
+
# Installment number when making payments in installments. Used along with `totalCount` to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as `sequence` = 2 and `totalCount` = 5. For details, see \"Installment Payments\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. For details, see \"Chase Paymentech Solutions Merchant Descriptors\" and \"FDC Compass Merchant Descriptors\" in the [Merchant Descriptors Using the SCMP API] (https://apps.cybersource.com/library/documentation/dev_guides/Merchant_Descriptors_SCMP_API/html/) #### CyberSource through VisaNet When you do not include this field in a request for a Crediario installment payment, CyberSource sends a value of 0 to the processor. For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 38-40 - Field: Installment Payment Number * The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies.
|
69
69
|
attr_accessor :sequence
|
70
70
|
|
71
71
|
# Taxes collected by the issuer to fund the installment payments. This field is included in the authorization reply for the Crediario eligibility request when the issuer approves the cardholder's request for Crediario installment payments in Brazil. For details, see \"Installment Payments on CyberSource through VisaNet\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) This field is supported only for Crediario installment payments in Brazil on **CyberSource through VisaNet**. The value for this field corresponds to the following data in the TC 33 capture file1: - Record: CP01 TCR9 - Position: 96-107 - Field: Total Taxes
|
@@ -77,7 +77,7 @@ module CyberSource
|
|
77
77
|
# Total amount of the loan that is being paid in installments. This field is supported only for CyberSource through VisaNet. For details, see \"Installment Payments\" in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
|
78
78
|
attr_accessor :total_amount
|
79
79
|
|
80
|
-
# Total number of installments when making payments in installments. For details, see \"Installment Payments\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. For details, see \"Chase Paymentech Solutions Merchant Descriptors\" and \"FDC Compass Merchant Descriptors\" in the [Merchant Descriptors Using the SCMP API.] (https://apps.cybersource.com/library/documentation/dev_guides/Merchant_Descriptors_SCMP_API/html/) #### American Express Direct, Cielo, and Comercio Latino This value is the total number of installments you approved. #### CyberSource Latin American Processing in Brazil This value is the total number of installments that you approved. The default is 1. #### All Other Processors This value is used along with _sequence_ to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as _sequence_ = 2 and _totalCount_ = 5. #### CyberSource through VisaNet For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 23-25 - Field: Number of Installments For installment payments with American Express in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR3 - Position: 7-8 - Field: Number of Installments For installment payments with Visa in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR1 - Position: 7-8 - Field: Number of Installments For all other kinds of installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR5 - Position: 20-22 - Field: Installment Total Count **Note** The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant
|
80
|
+
# Total number of installments when making payments in installments. For details, see \"Installment Payments\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. For details, see \"Chase Paymentech Solutions Merchant Descriptors\" and \"FDC Compass Merchant Descriptors\" in the [Merchant Descriptors Using the SCMP API.] (https://apps.cybersource.com/library/documentation/dev_guides/Merchant_Descriptors_SCMP_API/html/) #### American Express Direct, Cielo, and Comercio Latino This value is the total number of installments you approved. #### CyberSource Latin American Processing in Brazil This value is the total number of installments that you approved. The default is 1. #### All Other Processors This value is used along with _sequence_ to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as _sequence_ = 2 and _totalCount_ = 5. #### CyberSource through VisaNet For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 23-25 - Field: Number of Installments For installment payments with American Express in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR3 - Position: 7-8 - Field: Number of Installments For installment payments with Visa in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR1 - Position: 7-8 - Field: Number of Installments For all other kinds of installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR5 - Position: 20-22 - Field: Installment Total Count **Note** The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies.
|
81
81
|
attr_accessor :total_count
|
82
82
|
|
83
83
|
# \"Minimum number of installments offered by the issuer for this purchase. The issuer provides this value when the first installment payment is successful. This field is supported for installment payments with Mastercard on CyberSource through VisaNet in all countries except Brazil, Croatia, Georgia, and Greece. The value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR5 - Position: 75-76 - Field: Mastercard Minimum Number Of Installments
|
data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb
CHANGED
@@ -26,7 +26,7 @@ module CyberSource
|
|
26
26
|
# Additional authorization code that must be printed on the receipt when returned by the processor. This value is generated by the processor and is returned only for a successful transaction. This reply field is supported only for these processors: - FDC Nashville Global - SIX
|
27
27
|
attr_accessor :response_code
|
28
28
|
|
29
|
-
# This field contains value
|
29
|
+
# This field contains value '1' which is sent by Issuer in the response when PIN is requested by issuer, This field is only supported for Visa Platform Connect.
|
30
30
|
attr_accessor :pin_request_indicator
|
31
31
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class PtsV2PaymentsPost201ResponsePaymentAccountInformationCard
|
17
|
-
# Last four digits of the cardholder
|
17
|
+
# Last four digits of the cardholder's account number. This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### PIN debit This field is returned only for tokenized transactions. You can use this value on the receipt that you give to the cardholder. Returned by PIN debit credit and PIN debit purchase. This field is supported only by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX
|
18
18
|
attr_accessor :suffix
|
19
19
|
|
20
20
|
# Two-digit month in which the payment card expires. Format: `MM`. Valid values: `01` through `12`. Leading 0 is required. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (_type_=039), if there is no expiration date on the card, use `12`. #### FDMS Nashville Required field. #### All other processors Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response.
|
data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb
CHANGED
@@ -42,7 +42,7 @@ module CyberSource
|
|
42
42
|
# Name of the bank or entity that issued the card account. For all possible values, see the `score_card_issuer` field description in the _Decision Manager Using the SCMP API Developer Guide_ on the [CyberSource Business Center.](https://ebc2.cybersource.com/ebc2/) Click **Decision Manager** > **Documentation** > **Guides** > _Decision Manager Using the SCMP API Developer Guide_ (PDF link).
|
43
43
|
attr_accessor :issuer
|
44
44
|
|
45
|
-
# Country (two-digit country code) associated with the BIN of the customer
|
45
|
+
# Country (two-digit country code) associated with the BIN of the customer's card used for the payment. Returned if the information is available. Use this field for additional information when reviewing orders. This information is also displayed in the details page of the CyberSource Business Center. For all possible values, see the `bin_country` field description in the _Decision Manager Using the SCMP API Developer Guide_ on the [CyberSource Business Center.](https://ebc2.cybersource.com/ebc2/) Click **Decision Manager** > **Documentation** > **Guides** > _Decision Manager Using the SCMP API Developer Guide_ (PDF link).
|
46
46
|
attr_accessor :bin_country
|
47
47
|
|
48
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -32,7 +32,7 @@ module CyberSource
|
|
32
32
|
# One of two possible meanings: - The four-digit year in which a token expires. - The four-digit year in which a card expires. Format: `YYYY` Possible values: `1900` through `3000` Data type: Non-negative integer **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (1900 through 3000) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_ type=039`), if there is no expiration date on the card, use `2021`. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. When you send in 2 digits, they must be the last 2 digits of the year. #### Samsung Pay and Apple Pay Year in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. For processor-specific information, see the `customer_cc_expyr` or `token_expiration_year` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html)
|
33
33
|
attr_accessor :expiration_year
|
34
34
|
|
35
|
-
# Value that identifies your business and indicates that the cardholder
|
35
|
+
# Value that identifies your business and indicates that the cardholder's account number is tokenized. This value is assigned by the token service provider and is unique within the token service provider's database. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. #### PIN debit Optional field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.
|
36
36
|
attr_accessor :requestor_id
|
37
37
|
|
38
38
|
# Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **Visa Platform Connect**
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class PtsV2PaymentsPost201ResponsePointOfSaleInformationEmv
|
17
|
-
# EMV data that is transmitted from the chip card to the issuer, and from the issuer to the chip card. The EMV data is in the tag-length-value format and includes chip card tags, terminal tags, and transaction detail tags. For information about the individual tags, see the
|
17
|
+
# EMV data that is transmitted from the chip card to the issuer, and from the issuer to the chip card. The EMV data is in the tag-length-value format and includes chip card tags, terminal tags, and transaction detail tags. For information about the individual tags, see the \"Application Specification\" section in the EMV 4.3 Specifications: http://emvco.com **Note** Card present information about EMV applies only to credit card processing and PIN debit processing. All other card present information applies only to credit card processing. PIN debit processing is available only on FDC Nashville Global. **Important** The following tags contain sensitive information and **must not** be included in this field: - `56`: Track 1 equivalent data - `57`: Track 2 equivalent data - `5A`: Application PAN - `5F20`: Cardholder name - `5F24`: Application expiration date (This sensitivity has been relaxed for Credit Mutuel-CIC, American Express Direct, FDC Nashville Global, First Data Merchant Solutions, and SIX) - `99`: Transaction PIN - `9F0B`: Cardholder name (extended) - `9F1F`: Track 1 discretionary data - `9F20`: Track 2 discretionary data For captures, this field is required for contact EMV transactions. Otherwise, it is optional. For credits, this field is required for contact EMV stand-alone credits and contactless EMV stand-alone credits. Otherwise, it is optional. **Important** For contact EMV captures, contact EMV stand-alone credits, and contactless EMV stand-alone credits, you must include the following tags in this field. For all other types of EMV transactions, the following tags are optional. - `95`: Terminal verification results - `9F10`: Issuer application data - `9F26`: Application cryptogram #### CyberSource through VisaNet - In Japan: 199 bytes - In other countries: String (252) #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International #### JCN Gateway The following tags must be included: - `4F`: Application identifier - `84`: Dedicated file name Data length: 199 bytes #### All other processors: String (999) #### Used by Authorization: Optional Authorization Reversal: Optional Credit: Optional PIN Debit processing (purchase, credit and reversal): Optional
|
18
18
|
attr_accessor :tags
|
19
19
|
|
20
20
|
# Entity or service that provided the validation results returned in `chipValidationResult`. Possible values: - `02`: MasterCard on-behalf pre-validation service (The MasterCard authorization platform validated the M/Chip cryptogram before the authorization request reached the issuer.) - `03`: MasterCard on-behalf stand-in service (The MasterCard authorization platform validated the M/Chip cryptogram because the issuer was not available.) - `50`: Issuer - `90`: Chip fall-back transaction downgrade process (The chip could not be read.) This field is returned only for NFC payment network tokenization transactions with MasterCard. **Note** No CyberSource through VisaNet acquirers support EMV at this time.
|
data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb
CHANGED
@@ -61,13 +61,13 @@ module CyberSource
|
|
61
61
|
|
62
62
|
attr_accessor :consumer_authentication_response
|
63
63
|
|
64
|
-
# This field is returned only for **American Express Direct** and **CyberSource through VisaNet**. Returned by authorization and incremental authorization services. #### American Express Direct System trace audit number (STAN). This value identifies the transaction and is useful when investigating a chargeback dispute. #### CyberSource through VisaNet System trace number that must be printed on the customer
|
64
|
+
# This field is returned only for **American Express Direct** and **CyberSource through VisaNet**. Returned by authorization and incremental authorization services. #### American Express Direct System trace audit number (STAN). This value identifies the transaction and is useful when investigating a chargeback dispute. #### CyberSource through VisaNet System trace number that must be printed on the customer's receipt.
|
65
65
|
attr_accessor :system_trace_audit_number
|
66
66
|
|
67
|
-
# Visa-generated reference number that identifies a card-present transaction for which you provided one of the following: - Visa primary account number (PAN) - Visa-generated token for a PAN This reference number serves as a link to the cardholder account and to all transactions for that account. This reply field is returned only for CyberSource through VisaNet. **Note** On CyberSource through VisaNet, the value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR8 - Position: 79-110 - Field: Payment Account Reference The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant
|
67
|
+
# Visa-generated reference number that identifies a card-present transaction for which you provided one of the following: - Visa primary account number (PAN) - Visa-generated token for a PAN This reference number serves as a link to the cardholder account and to all transactions for that account. This reply field is returned only for CyberSource through VisaNet. **Note** On CyberSource through VisaNet, the value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR8 - Position: 79-110 - Field: Payment Account Reference The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment networks.
|
68
68
|
attr_accessor :payment_account_reference_number
|
69
69
|
|
70
|
-
# Transaction integrity classification provided by Mastercard. This value specifies Mastercard
|
70
|
+
# Transaction integrity classification provided by Mastercard. This value specifies Mastercard's evaluation of the transaction's safety and security. This field is returned only for **CyberSource through VisaNet**. For card-present transactions, possible values: - `A1`: EMV or token in a secure, trusted environment - `B1`: EMV or chip equivalent - `C1`: Magnetic stripe - `E1`: Key entered - `U0`: Unclassified For card-not-present transactions, possible values: - `A2`: Digital transactions - `B2`: Authenticated checkout - `C2`: Transaction validation - `D2`: Enhanced data - `E2`: Generic messaging - `U0`: Unclassified For information about these values, contact Mastercard or your acquirer. #### CyberSource through VisaNet The value for this field corresponds to the following data in the TC 33 capture file,<sup>1</sup>: - Record: CP01 TCR6 - Position: 136-137 - Field: Mastercard Transaction Integrity Classification <sup>1</sup> The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment networks.
|
71
71
|
attr_accessor :transaction_integrity_code
|
72
72
|
|
73
73
|
# Referral response number for a verbal authorization with FDMS Nashville when using an American Express card. Give this number to American Express when you call them for the verbal authorization.
|