cybersource_rest_client 0.0.19 → 0.0.21
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/MerchantConfig.rb +4 -0
- data/lib/AuthenticationSDK/util/Constants.rb +8 -0
- data/lib/cybersource_rest_client.rb +104 -11
- data/lib/cybersource_rest_client/api/authentication_exemptions_api.rb +2 -2
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +2 -2
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +142 -0
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +2 -2
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +2 -2
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +2 -2
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +2 -2
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +78 -13
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +2 -2
- data/lib/cybersource_rest_client/api/payments_api.rb +71 -0
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +2 -2
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +4 -4
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +2 -2
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +87 -87
- data/lib/cybersource_rest_client/api/reports_api.rb +4 -4
- data/lib/cybersource_rest_client/api/reversal_api.rb +65 -0
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +4 -4
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +4 -4
- data/lib/cybersource_rest_client/api/tokenization_api.rb +2 -2
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +15 -9
- data/lib/cybersource_rest_client/api/user_management_api.rb +2 -2
- data/lib/cybersource_rest_client/api/verification_api.rb +154 -0
- data/lib/cybersource_rest_client/api/void_api.rb +65 -0
- data/lib/cybersource_rest_client/models/add_negative_list_request.rb +228 -0
- data/lib/cybersource_rest_client/models/authentication_exemptions_request.rb +1 -1
- data/lib/cybersource_rest_client/models/capture_payment_request.rb +22 -4
- data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +11 -2
- data/lib/cybersource_rest_client/models/create_credit_request.rb +32 -5
- data/lib/cybersource_rest_client/models/create_instrument_identifier_request.rb +1 -1
- data/lib/cybersource_rest_client/models/create_payment_request.rb +22 -4
- data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +1 -1
- data/lib/cybersource_rest_client/models/embedded_instrument_identifier_response.rb +10 -1
- data/lib/cybersource_rest_client/models/error.rb +13 -23
- data/lib/cybersource_rest_client/models/error_bean.rb +1 -1
- data/lib/cybersource_rest_client/models/error_links.rb +15 -15
- data/lib/cybersource_rest_client/models/error_response.rb +20 -2
- data/lib/cybersource_rest_client/models/fraud_marking_action_request.rb +183 -0
- data/lib/cybersource_rest_client/models/generate_public_key_request.rb +14 -4
- data/lib/cybersource_rest_client/models/increment_auth_request.rb +219 -0
- data/lib/cybersource_rest_client/models/inline_response_400.rb +14 -59
- data/lib/cybersource_rest_client/models/inline_response_400_1.rb +59 -14
- data/lib/cybersource_rest_client/models/{inline_response_400_fields.rb → inline_response_400_1_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/instrument_identifier_enrollable_card.rb +1 -1
- data/lib/cybersource_rest_client/models/instrument_identifier_response.rb +10 -1
- data/lib/cybersource_rest_client/models/instrument_identifier_tokenized_card.rb +272 -0
- data/lib/cybersource_rest_client/models/key_parameters.rb +14 -4
- data/lib/cybersource_rest_client/models/link.rb +25 -4
- data/lib/cybersource_rest_client/models/links.rb +18 -23
- data/lib/cybersource_rest_client/models/mit_reversal_request.rb +219 -0
- data/lib/cybersource_rest_client/models/mit_void_request.rb +183 -0
- data/lib/cybersource_rest_client/models/oct_create_payment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/payer_auth_setup_request.rb +210 -0
- data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +15 -6
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information.rb +14 -4
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response.rb +298 -0
- data/lib/cybersource_rest_client/models/{pts_v2_payments_reversals_post201_response__links.rb → pts_v2_incremental_authorization_patch201_response__links.rb} +1 -1
- data/lib/cybersource_rest_client/models/{ptsv2payouts_client_reference_information.rb → pts_v2_incremental_authorization_patch201_response_client_reference_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_error_information.rb +205 -0
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_order_information.rb +183 -0
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information.rb +183 -0
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information_account_features.rb +199 -0
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +293 -0
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch400_response.rb +225 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +23 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_invoice_details.rb +184 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +199 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processing_information.rb +184 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +264 -19
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +28 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +29 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +10 -10
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +35 -10
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +14 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +3 -28
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +5 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +14 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +199 -0
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +108 -15
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_japan_payment_options.rb +209 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +32 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +17 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +29 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +55 -21
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +299 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +74 -14
- data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +26 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +21 -12
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_currency_conversion.rb +249 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +7 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +30 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +10 -10
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +29 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +1 -1
- 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 +27 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +91 -16
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +158 -15
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +19 -9
- 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 +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb +359 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +224 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_promotion_information.rb +224 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +226 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_agency.rb +224 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +1229 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb +233 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit.rb +183 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +988 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +285 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +224 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +614 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer.rb +349 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb +208 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +249 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_merchant_information.rb +199 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information.rb +183 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +224 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information.rb +183 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information_authorization_options.rb +183 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information_authorization_options_initiator.rb +184 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_travel_information.rb +199 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +34 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +194 -19
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +7 -7
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information.rb +13 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card.rb +224 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +23 -14
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_travel_information.rb +201 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +19 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +54 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +33 -8
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +29 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/refund_capture_request.rb +22 -4
- data/lib/cybersource_rest_client/models/refund_payment_request.rb +22 -4
- data/lib/cybersource_rest_client/models/reporting_v3_report_subscriptions_get200_response_subscriptions.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb +285 -0
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1.rb +224 -0
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +327 -0
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_bar_code.rb +209 -0
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_standard_address.rb +433 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentication_exemptions_post201_response.rb +2 -2
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +3 -3
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +249 -4
- data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response.rb +246 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_consumer_authentication_information.rb +224 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_error_information.rb +205 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +3 -3
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_consumer_authentication_information.rb +386 -7
- data/lib/cybersource_rest_client/models/{riskv1authentications_consumer_authentication_information_ivr.rb → risk_v1_authentications_post201_response_consumer_authentication_information_ivr.rb} +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post400_response.rb +225 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_ip_address.rb +54 -4
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +285 -0
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information.rb +229 -0
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information_watch_list.rb +185 -0
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_watch_list_matches.rb +235 -0
- data/lib/cybersource_rest_client/models/risk_v1_update_post201_response.rb +237 -0
- data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +199 -0
- data/lib/cybersource_rest_client/models/riskv1addressverifications_client_reference_information.rb +233 -0
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information.rb +203 -0
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +410 -0
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +342 -0
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +392 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationexemptions_acquirer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationexemptions_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authenticationexemptions_payment_information.rb +13 -4
- data/lib/cybersource_rest_client/models/riskv1authenticationexemptions_payment_information_fluid_data.rb +268 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +4 -214
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information.rb +13 -4
- data/lib/cybersource_rest_client/models/riskv1authentications_acquirer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_consumer_authentication_information.rb +4 -333
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authentications_travel_information_legs.rb +2 -2
- data/lib/cybersource_rest_client/models/{riskv1authentications_client_reference_information.rb → riskv1authenticationsetups_client_reference_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information.rb +210 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +286 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +325 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +224 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_token_information.rb +184 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_card_verification.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +1 -26
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +4 -13
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +1 -26
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb +4 -13
- data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +4 -13
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information.rb +183 -0
- data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details.rb +247 -0
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information.rb +224 -0
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information.rb +205 -0
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information_weights.rb +249 -0
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information.rb +203 -0
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +503 -0
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to_company.rb +199 -0
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +364 -0
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +249 -0
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_buyer_information.rb +186 -0
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb +224 -0
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information.rb +213 -0
- data/lib/cybersource_rest_client/models/{riskv1decisions_order_information_address.rb → riskv1liststypeentries_order_information_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +449 -0
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +199 -0
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +325 -0
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information.rb +193 -0
- data/lib/cybersource_rest_client/models/{riskv1decisions_payment_information_bank.rb → riskv1liststypeentries_payment_information_bank.rb} +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +234 -0
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information.rb +183 -0
- data/lib/cybersource_rest_client/models/{riskv1decisions_risk_information_marking_details.rb → riskv1liststypeentries_risk_information_marking_details.rb} +29 -44
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_embedded_instrument_identifier.rb +10 -1
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response.rb +10 -1
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_tokenized_card.rb +272 -0
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_tokenized_card_card.rb +253 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_fraud_marking_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_account_features.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_bank_transfer_options.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 +4 -4
- 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_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +1 -1
- data/lib/cybersource_rest_client/models/validate_export_compliance_request.rb +219 -0
- data/lib/cybersource_rest_client/models/{request.rb → validate_request.rb} +12 -3
- data/lib/cybersource_rest_client/models/verify_customer_address_request.rb +201 -0
- metadata +107 -14
- data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information.rb +0 -365
- data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information_emv.rb +0 -221
data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb
CHANGED
@@ -14,13 +14,13 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Riskv1authenticationresultsOrderInformationLineItems
|
17
|
-
# Per-item price of the product. This value cannot be negative. You can include a decimal point (.), but you cannot include any other special characters. CyberSource truncates the amount to the correct number of decimal places. For processor-specific information, see the `amount` field description in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) **Important** Some processors have specific requirements and limitations, such as maximum amounts and maximum field lengths. See these guides for details: - [Merchant Descriptors Using the SCMP API Guide] (https://apps.cybersource.com/library/documentation/dev_guides/Merchant_Descriptors_SCMP_API/html/
|
17
|
+
# Per-item price of the product. This value cannot be negative. You can include a decimal point (.), but you cannot include any other special characters. CyberSource truncates the amount to the correct number of decimal places. For processor-specific information, see the `amount` field description in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) **Important** Some processors have specific requirements and limitations, such as maximum amounts and maximum field lengths. See these guides for details: - [Merchant Descriptors Using the SCMP API Guide] (https://apps.cybersource.com/library/documentation/dev_guides/Merchant_Descriptors_SCMP_API/html/) - \"Capture Information for Specific Processors\" section in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### DCC with a Third-Party Provider Set this field to the converted amount that was returned by the DCC provider. You must include either the 1st line item in the order and this field, or the request-level field `orderInformation.amountDetails.totalAmount` in your request. For details, see \"Dynamic Currency Conversion with a Third Party Provider\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### FDMS South If you accept IDR or CLP currencies, see the entry for FDMS South in the [Merchant Descriptors Using the SCMP API Guide.] (https://apps.cybersource.com/library/documentation/dev_guides/Merchant_Descriptors_SCMP_API/html/) #### Zero Amount Authorizations If your processor supports zero amount authorizations, you can set this field to 0 for the authorization to check if the card is lost or stolen. See \"Zero Amount Authorizations\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
|
18
18
|
attr_accessor :unit_price
|
19
19
|
|
20
20
|
# Number of units for this order. The default is `1`. For an authorization or capture transaction (`processingOptions.capture` is set to `true` or `false`), this field is required when _orderInformation.lineItems[].productCode_ is not set to **default** or one of the other values that are related to shipping and/or handling. When orderInformation.lineItems[].productCode is \"gift_card\", this is the total count of individual prepaid gift cards purchased.
|
21
21
|
attr_accessor :quantity
|
22
22
|
|
23
|
-
# Total tax to apply to the product. This value cannot be negative. The tax amount and the offer amount must be in the same currency. The tax amount field is additive. The following example uses a two-exponent currency such as USD: 1. You include each line item in your request. ..- 1st line item has amount=10.00, quantity=1, and taxAmount=0.80 ..- 2nd line item has amount=20.00, quantity=1, and taxAmount=1.60 2. The total amount authorized will be 32.40, not 30.00 with 2.40 of tax included. If you want to include the tax amount and also request the ics_tax service, see Tax Calculation Service Using the SCMP API. This field is frequently used for Level II and Level III transactions. For details, see `tax_amount` field description in [Level II and Level III Processing Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html/
|
23
|
+
# Total tax to apply to the product. This value cannot be negative. The tax amount and the offer amount must be in the same currency. The tax amount field is additive. The following example uses a two-exponent currency such as USD: 1. You include each line item in your request. ..- 1st line item has amount=10.00, quantity=1, and taxAmount=0.80 ..- 2nd line item has amount=20.00, quantity=1, and taxAmount=1.60 2. The total amount authorized will be 32.40, not 30.00 with 2.40 of tax included. If you want to include the tax amount and also request the ics_tax service, see Tax Calculation Service Using the SCMP API. This field is frequently used for Level II and Level III transactions. For details, see `tax_amount` field description in [Level II and Level III Processing Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html/)
|
24
24
|
attr_accessor :tax_amount
|
25
25
|
|
26
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -18,11 +18,14 @@ module CyberSource
|
|
18
18
|
|
19
19
|
attr_accessor :tokenized_card
|
20
20
|
|
21
|
+
attr_accessor :fluid_data
|
22
|
+
|
21
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
22
24
|
def self.attribute_map
|
23
25
|
{
|
24
26
|
:'card' => :'card',
|
25
|
-
:'tokenized_card' => :'tokenizedCard'
|
27
|
+
:'tokenized_card' => :'tokenizedCard',
|
28
|
+
:'fluid_data' => :'fluidData'
|
26
29
|
}
|
27
30
|
end
|
28
31
|
|
@@ -30,7 +33,8 @@ module CyberSource
|
|
30
33
|
def self.swagger_types
|
31
34
|
{
|
32
35
|
:'card' => :'Riskv1authenticationresultsPaymentInformationCard',
|
33
|
-
:'tokenized_card' => :'Riskv1authenticationresultsPaymentInformationTokenizedCard'
|
36
|
+
:'tokenized_card' => :'Riskv1authenticationresultsPaymentInformationTokenizedCard',
|
37
|
+
:'fluid_data' => :'Riskv1authenticationexemptionsPaymentInformationFluidData'
|
34
38
|
}
|
35
39
|
end
|
36
40
|
|
@@ -49,6 +53,10 @@ module CyberSource
|
|
49
53
|
if attributes.has_key?(:'tokenizedCard')
|
50
54
|
self.tokenized_card = attributes[:'tokenizedCard']
|
51
55
|
end
|
56
|
+
|
57
|
+
if attributes.has_key?(:'fluidData')
|
58
|
+
self.fluid_data = attributes[:'fluidData']
|
59
|
+
end
|
52
60
|
end
|
53
61
|
|
54
62
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -70,7 +78,8 @@ module CyberSource
|
|
70
78
|
return true if self.equal?(o)
|
71
79
|
self.class == o.class &&
|
72
80
|
card == o.card &&
|
73
|
-
tokenized_card == o.tokenized_card
|
81
|
+
tokenized_card == o.tokenized_card &&
|
82
|
+
fluid_data == o.fluid_data
|
74
83
|
end
|
75
84
|
|
76
85
|
# @see the `==` method
|
@@ -82,7 +91,7 @@ module CyberSource
|
|
82
91
|
# Calculates hash code according to all attributes.
|
83
92
|
# @return [Fixnum] Hash code
|
84
93
|
def hash
|
85
|
-
[card, tokenized_card].hash
|
94
|
+
[card, tokenized_card, fluid_data].hash
|
86
95
|
end
|
87
96
|
|
88
97
|
# Builds the object from hash
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Riskv1authenticationsAcquirerInformation
|
17
|
-
# Acquirer bank ID number that
|
17
|
+
# Acquirer bank ID number that corresponds to a certificate that Cybersource already has.This ID has this format. 4XXXXX for Visa and 5XXXXX for Mastercard.
|
18
18
|
attr_accessor :acquirer_bin
|
19
19
|
|
20
20
|
# Issuers need to be aware of the Acquirer's Country Code when the Acquirer country differs from the Merchant country and the Acquirer is in the EEA (European Economic Area).
|
data/lib/cybersource_rest_client/models/riskv1authentications_consumer_authentication_information.rb
CHANGED
@@ -19,12 +19,6 @@ module CyberSource
|
|
19
19
|
# Indicates the type of authentication that will be used to challenge the card holder. Possible Values: 01 - Static 02 - Dynamic 03 - OOB (Out of Band) 04 - Decoupled **NOTE**: EMV 3-D Secure version 2.1.0 supports values 01-03. Version 2.2.0 supports values 01-04. Decoupled authentication is not supported at this time.
|
20
20
|
attr_accessor :authentication_type
|
21
21
|
|
22
|
-
# Identifies the UI Type the ACS will use to complete the challenge. **NOTE**: Only available for App transactions using the Cardinal Mobile SDK.
|
23
|
-
attr_accessor :acs_rendering_type
|
24
|
-
|
25
|
-
# Unique transaction identifier assigned by the ACS to identify a single transaction.
|
26
|
-
attr_accessor :acs_transaction_id
|
27
|
-
|
28
22
|
# An override field that a merchant can pass in to set the challenge window size to display to the end cardholder. The ACS (Active Control Server) will reply with content that is formatted appropriately to this window size to allow for the best user experience. The sizes are width x height in pixels of the window displayed in the cardholder browser window. 01 - 250x400 02 - 390x400 03 - 500x600 04 - 600x400 05 - Full page
|
29
23
|
attr_accessor :acs_window_size
|
30
24
|
|
@@ -43,21 +37,12 @@ module CyberSource
|
|
43
37
|
# Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages. **Note**: Required for Standard integration for enroll service. Required for Hybrid integration for validate service.
|
44
38
|
attr_accessor :authentication_transaction_id
|
45
39
|
|
46
|
-
# The Base64 encoded JSON Payload of CB specific Authorization Values returned in the challenge Flow
|
47
|
-
attr_accessor :authorization_payload
|
48
|
-
|
49
|
-
# 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.
|
50
|
-
attr_accessor :cardholder_message
|
51
|
-
|
52
40
|
# An indicator as to why the transaction was canceled. Possible Values: - `01`: Cardholder selected Cancel. - `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo). - `03`: Transaction Timed Out—Decoupled Authentication - `04`: Transaction timed out at ACS—other timeouts - `05`: Transaction Timed out at ACS - First CReq not received by ACS - `06`: Transaction Error - `07`: Unknown - `08`: Transaction Timed Out at SDK
|
53
41
|
attr_accessor :challenge_cancel_code
|
54
42
|
|
55
43
|
# Possible values: - `01`: No preference - `02`: No challenge request - `03`: Challenge requested (3D Secure requestor preference) - `04`: Challenge requested (mandate) - `05`: No challenge requested (transactional risk analysis is already performed) - `06`: No challenge requested (Data share only) - `07`: No challenge requested (strong consumer authentication is already performed) - `08`: No challenge requested (utilize whitelist exemption if no challenge required) - `09`: Challenge requested (whitelist prompt requested if challenge required) **Note** This field will default to `01` on merchant configuration and can be overridden by the merchant. EMV 3D Secure version 2.1.0 supports values `01-04`. Version 2.2.0 supports values `01-09`. For details, see `pa_challenge_code` field description in [CyberSource Payer Authentication Using the SCMP API.] (https://apps.cybersource.com/library/documentation/dev_guides/Payer_Authentication_SCMP_API/html)
|
56
44
|
attr_accessor :challenge_code
|
57
45
|
|
58
|
-
# Indicates whether a challenge is required in order to complete authentication. **Note** Regional mandates might determine that a challenge is required. Possible values: - `Y`: Challenge required - `N`: Challenge not required **Note** Used by the Hybrid integration.
|
59
|
-
attr_accessor :challenge_required
|
60
|
-
|
61
46
|
# The `consumerAuthenticationInformation.challengeCode` indicates the authentication type/level, or challenge, that was presented to the cardholder at checkout by the merchant when calling the Carte Bancaire 3DS servers via CYBS RISK services. It conveys to the issuer the alternative authentication methods that the consumer used.
|
62
47
|
attr_accessor :challenge_status
|
63
48
|
|
@@ -76,20 +61,9 @@ module CyberSource
|
|
76
61
|
# Determines the channel that the transaction came through. Possible Values: SDK/Browser/3RI. 3RI - 3DS request initiated.
|
77
62
|
attr_accessor :device_channel
|
78
63
|
|
79
|
-
# The directory server error code indicating a problem with this transaction.
|
80
|
-
attr_accessor :directory_server_error_code
|
81
|
-
|
82
|
-
# Directory server text and additional detail about the error for this transaction.
|
83
|
-
attr_accessor :directory_server_error_description
|
84
|
-
|
85
|
-
# This field describes the type of 3DS transaction flow that took place. It can be one of three possible flows; CH - Challenge FR - Frictionless FD - Frictionless with delegation, (challenge not generated by the issuer but by the scheme on behalf of the issuer).
|
86
|
-
attr_accessor :effective_authentication_type
|
87
|
-
|
88
64
|
# An integer value greater than 1 indicating the max number of permitted authorizations for installment payments. **Note** This is required if the merchant and cardholder have agreed to installment payments.
|
89
65
|
attr_accessor :installment_total_count
|
90
66
|
|
91
|
-
attr_accessor :ivr
|
92
|
-
|
93
67
|
# Calculated by merchants as per PSD2** RTS** (EEA** card fraud divided by all EEA card volumes). Possible Values: 1 = Represents fraud rate <=1 2 = Represents fraud rate >1 and <=6 3 = Represents fraud rate >6 and <=13 4 = Represents fraud rate >13 and <=25 5 = Represents fraud rate >25 EEA** = European Economic Area RTS** = Regulatory Technical Standards PSD2** = Payment Services Directive
|
94
68
|
attr_accessor :merchant_fraud_rate
|
95
69
|
|
@@ -108,9 +82,6 @@ module CyberSource
|
|
108
82
|
# Category of the message for a specific use case. Possible values: - `01`: PA- payment authentication - `02`: NPA- non-payment authentication - `03-79`: Reserved for EMVCo future use (values invalid until defined by EMVCo) - `80-99`: Reserved for DS use
|
109
83
|
attr_accessor :message_category
|
110
84
|
|
111
|
-
# The global score calculated by the CB scoring platform and returned to merchants.
|
112
|
-
attr_accessor :network_score
|
113
|
-
|
114
85
|
# Non-Payer Authentication Indicator. Possible values: - `01`: Add card - `02`: Maintain card information - `03`: Cardholder verification for EMV token - `04-80` Reserved for EMVCo - `80-90` Reserved DS
|
115
86
|
attr_accessor :npa_code
|
116
87
|
|
@@ -150,66 +121,41 @@ module CyberSource
|
|
150
121
|
# This field indicates the maximum amount of time for all 3DS 2.0 messages to be communicated between all components (in minutes). Possible Values: Greater than or equal to 05 (05 is the minimum timeout to set) Cardinal Default is set to 15 NOTE: This field is a required 3DS 2.0 field and Cardinal sends in a default of 15 if nothing is passed
|
151
122
|
attr_accessor :sdk_max_timeout
|
152
123
|
|
153
|
-
# SDK unique transaction identifier that is generated on each new transaction.
|
154
|
-
attr_accessor :sdk_transaction_id
|
155
|
-
|
156
124
|
# Indicates dedicated payment processes and procedures were used, potential secure corporate payment exemption applies. Possible Values : 0/1
|
157
125
|
attr_accessor :secure_corporate_payment_indicator
|
158
126
|
|
159
|
-
# Provides additional information as to why the PAResStatus has a specific value.
|
160
|
-
attr_accessor :signed_pares_status_reason
|
161
|
-
|
162
|
-
# The fully qualified URL that the merchant uses to post a form to the cardholder in order to complete the Consumer Authentication transaction for the Cardinal Cruise API integration.
|
163
|
-
attr_accessor :step_up_url
|
164
|
-
|
165
|
-
# Unique transaction identifier assigned by the 3DS Server to identify a single transaction.
|
166
|
-
attr_accessor :three_ds_server_transaction_id
|
167
|
-
|
168
127
|
# Transaction mode identifier. Identifies the channel from which the transaction originates. Possible values: - `M`: MOTO (Mail Order Telephone Order) - `R`: Retail - `S`: eCommerce - `P`: Mobile Device - `T`: Tablet
|
169
128
|
attr_accessor :transaction_mode
|
170
129
|
|
171
130
|
# Enables the communication of trusted beneficiary/whitelist status between the ACS, the DS and the 3DS Requestor. Possible Values: Y - 3DS Requestor is whitelisted by cardholder N - 3DS Requestor is not whitelisted by cardholder
|
172
131
|
attr_accessor :white_list_status
|
173
132
|
|
174
|
-
# This data element will be populated by the system setting Whitelist Status. Possible Values: 01 - 3DS/ Server/ 02 – DS/03 - ACS
|
175
|
-
attr_accessor :white_list_status_source
|
176
|
-
|
177
133
|
# Attribute mapping from ruby-style variable name to JSON key.
|
178
134
|
def self.attribute_map
|
179
135
|
{
|
180
136
|
:'strong_authentication' => :'strongAuthentication',
|
181
137
|
:'authentication_type' => :'authenticationType',
|
182
|
-
:'acs_rendering_type' => :'acsRenderingType',
|
183
|
-
:'acs_transaction_id' => :'acsTransactionId',
|
184
138
|
:'acs_window_size' => :'acsWindowSize',
|
185
139
|
:'alternate_authentication_data' => :'alternateAuthenticationData',
|
186
140
|
:'alternate_authentication_date' => :'alternateAuthenticationDate',
|
187
141
|
:'alternate_authentication_method' => :'alternateAuthenticationMethod',
|
188
142
|
:'authentication_date' => :'authenticationDate',
|
189
143
|
:'authentication_transaction_id' => :'authenticationTransactionId',
|
190
|
-
:'authorization_payload' => :'authorizationPayload',
|
191
|
-
:'cardholder_message' => :'cardholderMessage',
|
192
144
|
:'challenge_cancel_code' => :'challengeCancelCode',
|
193
145
|
:'challenge_code' => :'challengeCode',
|
194
|
-
:'challenge_required' => :'challengeRequired',
|
195
146
|
:'challenge_status' => :'challengeStatus',
|
196
147
|
:'customer_card_alias' => :'customerCardAlias',
|
197
148
|
:'decoupled_authentication_indicator' => :'decoupledAuthenticationIndicator',
|
198
149
|
:'decoupled_authentication_max_time' => :'decoupledAuthenticationMaxTime',
|
199
150
|
:'default_card' => :'defaultCard',
|
200
151
|
:'device_channel' => :'deviceChannel',
|
201
|
-
:'directory_server_error_code' => :'directoryServerErrorCode',
|
202
|
-
:'directory_server_error_description' => :'directoryServerErrorDescription',
|
203
|
-
:'effective_authentication_type' => :'effectiveAuthenticationType',
|
204
152
|
:'installment_total_count' => :'installmentTotalCount',
|
205
|
-
:'ivr' => :'ivr',
|
206
153
|
:'merchant_fraud_rate' => :'merchantFraudRate',
|
207
154
|
:'marketing_opt_in' => :'marketingOptIn',
|
208
155
|
:'marketing_source' => :'marketingSource',
|
209
156
|
:'mcc' => :'mcc',
|
210
157
|
:'merchant_score' => :'merchantScore',
|
211
158
|
:'message_category' => :'messageCategory',
|
212
|
-
:'network_score' => :'networkScore',
|
213
159
|
:'npa_code' => :'npaCode',
|
214
160
|
:'override_payment_method' => :'overridePaymentMethod',
|
215
161
|
:'override_country_code' => :'overrideCountryCode',
|
@@ -223,14 +169,9 @@ module CyberSource
|
|
223
169
|
:'requestor_name' => :'requestorName',
|
224
170
|
:'reference_id' => :'referenceId',
|
225
171
|
:'sdk_max_timeout' => :'sdkMaxTimeout',
|
226
|
-
:'sdk_transaction_id' => :'sdkTransactionId',
|
227
172
|
:'secure_corporate_payment_indicator' => :'secureCorporatePaymentIndicator',
|
228
|
-
:'signed_pares_status_reason' => :'signedParesStatusReason',
|
229
|
-
:'step_up_url' => :'stepUpUrl',
|
230
|
-
:'three_ds_server_transaction_id' => :'threeDSServerTransactionId',
|
231
173
|
:'transaction_mode' => :'transactionMode',
|
232
|
-
:'white_list_status' => :'whiteListStatus'
|
233
|
-
:'white_list_status_source' => :'whiteListStatusSource'
|
174
|
+
:'white_list_status' => :'whiteListStatus'
|
234
175
|
}
|
235
176
|
end
|
236
177
|
|
@@ -239,37 +180,27 @@ module CyberSource
|
|
239
180
|
{
|
240
181
|
:'strong_authentication' => :'Riskv1authenticationsConsumerAuthenticationInformationStrongAuthentication',
|
241
182
|
:'authentication_type' => :'String',
|
242
|
-
:'acs_rendering_type' => :'String',
|
243
|
-
:'acs_transaction_id' => :'String',
|
244
183
|
:'acs_window_size' => :'String',
|
245
184
|
:'alternate_authentication_data' => :'String',
|
246
185
|
:'alternate_authentication_date' => :'String',
|
247
186
|
:'alternate_authentication_method' => :'String',
|
248
187
|
:'authentication_date' => :'String',
|
249
188
|
:'authentication_transaction_id' => :'String',
|
250
|
-
:'authorization_payload' => :'String',
|
251
|
-
:'cardholder_message' => :'String',
|
252
189
|
:'challenge_cancel_code' => :'String',
|
253
190
|
:'challenge_code' => :'String',
|
254
|
-
:'challenge_required' => :'String',
|
255
191
|
:'challenge_status' => :'String',
|
256
192
|
:'customer_card_alias' => :'String',
|
257
193
|
:'decoupled_authentication_indicator' => :'String',
|
258
194
|
:'decoupled_authentication_max_time' => :'String',
|
259
195
|
:'default_card' => :'BOOLEAN',
|
260
196
|
:'device_channel' => :'String',
|
261
|
-
:'directory_server_error_code' => :'String',
|
262
|
-
:'directory_server_error_description' => :'String',
|
263
|
-
:'effective_authentication_type' => :'String',
|
264
197
|
:'installment_total_count' => :'Integer',
|
265
|
-
:'ivr' => :'Riskv1authenticationsConsumerAuthenticationInformationIvr',
|
266
198
|
:'merchant_fraud_rate' => :'String',
|
267
199
|
:'marketing_opt_in' => :'BOOLEAN',
|
268
200
|
:'marketing_source' => :'String',
|
269
201
|
:'mcc' => :'String',
|
270
202
|
:'merchant_score' => :'Integer',
|
271
203
|
:'message_category' => :'String',
|
272
|
-
:'network_score' => :'String',
|
273
204
|
:'npa_code' => :'String',
|
274
205
|
:'override_payment_method' => :'String',
|
275
206
|
:'override_country_code' => :'String',
|
@@ -283,14 +214,9 @@ module CyberSource
|
|
283
214
|
:'requestor_name' => :'String',
|
284
215
|
:'reference_id' => :'String',
|
285
216
|
:'sdk_max_timeout' => :'String',
|
286
|
-
:'sdk_transaction_id' => :'String',
|
287
217
|
:'secure_corporate_payment_indicator' => :'String',
|
288
|
-
:'signed_pares_status_reason' => :'String',
|
289
|
-
:'step_up_url' => :'String',
|
290
|
-
:'three_ds_server_transaction_id' => :'String',
|
291
218
|
:'transaction_mode' => :'String',
|
292
|
-
:'white_list_status' => :'String'
|
293
|
-
:'white_list_status_source' => :'String'
|
219
|
+
:'white_list_status' => :'String'
|
294
220
|
}
|
295
221
|
end
|
296
222
|
|
@@ -310,14 +236,6 @@ module CyberSource
|
|
310
236
|
self.authentication_type = attributes[:'authenticationType']
|
311
237
|
end
|
312
238
|
|
313
|
-
if attributes.has_key?(:'acsRenderingType')
|
314
|
-
self.acs_rendering_type = attributes[:'acsRenderingType']
|
315
|
-
end
|
316
|
-
|
317
|
-
if attributes.has_key?(:'acsTransactionId')
|
318
|
-
self.acs_transaction_id = attributes[:'acsTransactionId']
|
319
|
-
end
|
320
|
-
|
321
239
|
if attributes.has_key?(:'acsWindowSize')
|
322
240
|
self.acs_window_size = attributes[:'acsWindowSize']
|
323
241
|
end
|
@@ -342,14 +260,6 @@ module CyberSource
|
|
342
260
|
self.authentication_transaction_id = attributes[:'authenticationTransactionId']
|
343
261
|
end
|
344
262
|
|
345
|
-
if attributes.has_key?(:'authorizationPayload')
|
346
|
-
self.authorization_payload = attributes[:'authorizationPayload']
|
347
|
-
end
|
348
|
-
|
349
|
-
if attributes.has_key?(:'cardholderMessage')
|
350
|
-
self.cardholder_message = attributes[:'cardholderMessage']
|
351
|
-
end
|
352
|
-
|
353
263
|
if attributes.has_key?(:'challengeCancelCode')
|
354
264
|
self.challenge_cancel_code = attributes[:'challengeCancelCode']
|
355
265
|
end
|
@@ -358,10 +268,6 @@ module CyberSource
|
|
358
268
|
self.challenge_code = attributes[:'challengeCode']
|
359
269
|
end
|
360
270
|
|
361
|
-
if attributes.has_key?(:'challengeRequired')
|
362
|
-
self.challenge_required = attributes[:'challengeRequired']
|
363
|
-
end
|
364
|
-
|
365
271
|
if attributes.has_key?(:'challengeStatus')
|
366
272
|
self.challenge_status = attributes[:'challengeStatus']
|
367
273
|
end
|
@@ -386,26 +292,10 @@ module CyberSource
|
|
386
292
|
self.device_channel = attributes[:'deviceChannel']
|
387
293
|
end
|
388
294
|
|
389
|
-
if attributes.has_key?(:'directoryServerErrorCode')
|
390
|
-
self.directory_server_error_code = attributes[:'directoryServerErrorCode']
|
391
|
-
end
|
392
|
-
|
393
|
-
if attributes.has_key?(:'directoryServerErrorDescription')
|
394
|
-
self.directory_server_error_description = attributes[:'directoryServerErrorDescription']
|
395
|
-
end
|
396
|
-
|
397
|
-
if attributes.has_key?(:'effectiveAuthenticationType')
|
398
|
-
self.effective_authentication_type = attributes[:'effectiveAuthenticationType']
|
399
|
-
end
|
400
|
-
|
401
295
|
if attributes.has_key?(:'installmentTotalCount')
|
402
296
|
self.installment_total_count = attributes[:'installmentTotalCount']
|
403
297
|
end
|
404
298
|
|
405
|
-
if attributes.has_key?(:'ivr')
|
406
|
-
self.ivr = attributes[:'ivr']
|
407
|
-
end
|
408
|
-
|
409
299
|
if attributes.has_key?(:'merchantFraudRate')
|
410
300
|
self.merchant_fraud_rate = attributes[:'merchantFraudRate']
|
411
301
|
end
|
@@ -430,10 +320,6 @@ module CyberSource
|
|
430
320
|
self.message_category = attributes[:'messageCategory']
|
431
321
|
end
|
432
322
|
|
433
|
-
if attributes.has_key?(:'networkScore')
|
434
|
-
self.network_score = attributes[:'networkScore']
|
435
|
-
end
|
436
|
-
|
437
323
|
if attributes.has_key?(:'npaCode')
|
438
324
|
self.npa_code = attributes[:'npaCode']
|
439
325
|
end
|
@@ -486,26 +372,10 @@ module CyberSource
|
|
486
372
|
self.sdk_max_timeout = attributes[:'sdkMaxTimeout']
|
487
373
|
end
|
488
374
|
|
489
|
-
if attributes.has_key?(:'sdkTransactionId')
|
490
|
-
self.sdk_transaction_id = attributes[:'sdkTransactionId']
|
491
|
-
end
|
492
|
-
|
493
375
|
if attributes.has_key?(:'secureCorporatePaymentIndicator')
|
494
376
|
self.secure_corporate_payment_indicator = attributes[:'secureCorporatePaymentIndicator']
|
495
377
|
end
|
496
378
|
|
497
|
-
if attributes.has_key?(:'signedParesStatusReason')
|
498
|
-
self.signed_pares_status_reason = attributes[:'signedParesStatusReason']
|
499
|
-
end
|
500
|
-
|
501
|
-
if attributes.has_key?(:'stepUpUrl')
|
502
|
-
self.step_up_url = attributes[:'stepUpUrl']
|
503
|
-
end
|
504
|
-
|
505
|
-
if attributes.has_key?(:'threeDSServerTransactionId')
|
506
|
-
self.three_ds_server_transaction_id = attributes[:'threeDSServerTransactionId']
|
507
|
-
end
|
508
|
-
|
509
379
|
if attributes.has_key?(:'transactionMode')
|
510
380
|
self.transaction_mode = attributes[:'transactionMode']
|
511
381
|
end
|
@@ -513,10 +383,6 @@ module CyberSource
|
|
513
383
|
if attributes.has_key?(:'whiteListStatus')
|
514
384
|
self.white_list_status = attributes[:'whiteListStatus']
|
515
385
|
end
|
516
|
-
|
517
|
-
if attributes.has_key?(:'whiteListStatusSource')
|
518
|
-
self.white_list_status_source = attributes[:'whiteListStatusSource']
|
519
|
-
end
|
520
386
|
end
|
521
387
|
|
522
388
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -527,10 +393,6 @@ module CyberSource
|
|
527
393
|
invalid_properties.push('invalid value for "authentication_type", the character length must be smaller than or equal to 2.')
|
528
394
|
end
|
529
395
|
|
530
|
-
if !@acs_transaction_id.nil? && @acs_transaction_id.to_s.length > 36
|
531
|
-
invalid_properties.push('invalid value for "acs_transaction_id", the character length must be smaller than or equal to 36.')
|
532
|
-
end
|
533
|
-
|
534
396
|
if !@acs_window_size.nil? && @acs_window_size.to_s.length > 2
|
535
397
|
invalid_properties.push('invalid value for "acs_window_size", the character length must be smaller than or equal to 2.')
|
536
398
|
end
|
@@ -551,18 +413,10 @@ module CyberSource
|
|
551
413
|
invalid_properties.push('invalid value for "authentication_transaction_id", the character length must be smaller than or equal to 20.')
|
552
414
|
end
|
553
415
|
|
554
|
-
if !@cardholder_message.nil? && @cardholder_message.to_s.length > 128
|
555
|
-
invalid_properties.push('invalid value for "cardholder_message", the character length must be smaller than or equal to 128.')
|
556
|
-
end
|
557
|
-
|
558
416
|
if !@challenge_cancel_code.nil? && @challenge_cancel_code.to_s.length > 2
|
559
417
|
invalid_properties.push('invalid value for "challenge_cancel_code", the character length must be smaller than or equal to 2.')
|
560
418
|
end
|
561
419
|
|
562
|
-
if !@challenge_required.nil? && @challenge_required.to_s.length > 1
|
563
|
-
invalid_properties.push('invalid value for "challenge_required", the character length must be smaller than or equal to 1.')
|
564
|
-
end
|
565
|
-
|
566
420
|
if !@challenge_status.nil? && @challenge_status.to_s.length > 2
|
567
421
|
invalid_properties.push('invalid value for "challenge_status", the character length must be smaller than or equal to 2.')
|
568
422
|
end
|
@@ -583,18 +437,6 @@ module CyberSource
|
|
583
437
|
invalid_properties.push('invalid value for "device_channel", the character length must be smaller than or equal to 10.')
|
584
438
|
end
|
585
439
|
|
586
|
-
if !@directory_server_error_code.nil? && @directory_server_error_code.to_s.length > 3
|
587
|
-
invalid_properties.push('invalid value for "directory_server_error_code", the character length must be smaller than or equal to 3.')
|
588
|
-
end
|
589
|
-
|
590
|
-
if !@directory_server_error_description.nil? && @directory_server_error_description.to_s.length > 4096
|
591
|
-
invalid_properties.push('invalid value for "directory_server_error_description", the character length must be smaller than or equal to 4096.')
|
592
|
-
end
|
593
|
-
|
594
|
-
if !@effective_authentication_type.nil? && @effective_authentication_type.to_s.length > 2
|
595
|
-
invalid_properties.push('invalid value for "effective_authentication_type", the character length must be smaller than or equal to 2.')
|
596
|
-
end
|
597
|
-
|
598
440
|
if !@merchant_fraud_rate.nil? && @merchant_fraud_rate.to_s.length > 2
|
599
441
|
invalid_properties.push('invalid value for "merchant_fraud_rate", the character length must be smaller than or equal to 2.')
|
600
442
|
end
|
@@ -611,10 +453,6 @@ module CyberSource
|
|
611
453
|
invalid_properties.push('invalid value for "mcc", the character length must be smaller than or equal to 4.')
|
612
454
|
end
|
613
455
|
|
614
|
-
if !@network_score.nil? && @network_score.to_s.length > 2
|
615
|
-
invalid_properties.push('invalid value for "network_score", the character length must be smaller than or equal to 2.')
|
616
|
-
end
|
617
|
-
|
618
456
|
if !@npa_code.nil? && @npa_code.to_s.length > 2
|
619
457
|
invalid_properties.push('invalid value for "npa_code", the character length must be smaller than or equal to 2.')
|
620
458
|
end
|
@@ -671,26 +509,10 @@ module CyberSource
|
|
671
509
|
invalid_properties.push('invalid value for "sdk_max_timeout", the character length must be smaller than or equal to 2.')
|
672
510
|
end
|
673
511
|
|
674
|
-
if !@sdk_transaction_id.nil? && @sdk_transaction_id.to_s.length > 36
|
675
|
-
invalid_properties.push('invalid value for "sdk_transaction_id", the character length must be smaller than or equal to 36.')
|
676
|
-
end
|
677
|
-
|
678
512
|
if !@secure_corporate_payment_indicator.nil? && @secure_corporate_payment_indicator.to_s.length > 1
|
679
513
|
invalid_properties.push('invalid value for "secure_corporate_payment_indicator", the character length must be smaller than or equal to 1.')
|
680
514
|
end
|
681
515
|
|
682
|
-
if !@signed_pares_status_reason.nil? && @signed_pares_status_reason.to_s.length > 2
|
683
|
-
invalid_properties.push('invalid value for "signed_pares_status_reason", the character length must be smaller than or equal to 2.')
|
684
|
-
end
|
685
|
-
|
686
|
-
if !@step_up_url.nil? && @step_up_url.to_s.length > 2048
|
687
|
-
invalid_properties.push('invalid value for "step_up_url", the character length must be smaller than or equal to 2048.')
|
688
|
-
end
|
689
|
-
|
690
|
-
if !@three_ds_server_transaction_id.nil? && @three_ds_server_transaction_id.to_s.length > 36
|
691
|
-
invalid_properties.push('invalid value for "three_ds_server_transaction_id", the character length must be smaller than or equal to 36.')
|
692
|
-
end
|
693
|
-
|
694
516
|
if @transaction_mode.nil?
|
695
517
|
invalid_properties.push('invalid value for "transaction_mode", transaction_mode cannot be nil.')
|
696
518
|
end
|
@@ -699,10 +521,6 @@ module CyberSource
|
|
699
521
|
invalid_properties.push('invalid value for "white_list_status", the character length must be smaller than or equal to 1.')
|
700
522
|
end
|
701
523
|
|
702
|
-
if !@white_list_status_source.nil? && @white_list_status_source.to_s.length > 2
|
703
|
-
invalid_properties.push('invalid value for "white_list_status_source", the character length must be smaller than or equal to 2.')
|
704
|
-
end
|
705
|
-
|
706
524
|
invalid_properties
|
707
525
|
end
|
708
526
|
|
@@ -710,28 +528,21 @@ module CyberSource
|
|
710
528
|
# @return true if the model is valid
|
711
529
|
def valid?
|
712
530
|
return false if !@authentication_type.nil? && @authentication_type.to_s.length > 2
|
713
|
-
return false if !@acs_transaction_id.nil? && @acs_transaction_id.to_s.length > 36
|
714
531
|
return false if !@acs_window_size.nil? && @acs_window_size.to_s.length > 2
|
715
532
|
return false if !@alternate_authentication_data.nil? && @alternate_authentication_data.to_s.length > 2048
|
716
533
|
return false if !@alternate_authentication_date.nil? && @alternate_authentication_date.to_s.length > 14
|
717
534
|
return false if !@authentication_date.nil? && @authentication_date.to_s.length > 14
|
718
535
|
return false if !@authentication_transaction_id.nil? && @authentication_transaction_id.to_s.length > 20
|
719
|
-
return false if !@cardholder_message.nil? && @cardholder_message.to_s.length > 128
|
720
536
|
return false if !@challenge_cancel_code.nil? && @challenge_cancel_code.to_s.length > 2
|
721
|
-
return false if !@challenge_required.nil? && @challenge_required.to_s.length > 1
|
722
537
|
return false if !@challenge_status.nil? && @challenge_status.to_s.length > 2
|
723
538
|
return false if !@customer_card_alias.nil? && @customer_card_alias.to_s.length > 128
|
724
539
|
return false if !@decoupled_authentication_indicator.nil? && @decoupled_authentication_indicator.to_s.length > 1
|
725
540
|
return false if !@decoupled_authentication_max_time.nil? && @decoupled_authentication_max_time.to_s.length > 5
|
726
541
|
return false if !@device_channel.nil? && @device_channel.to_s.length > 10
|
727
|
-
return false if !@directory_server_error_code.nil? && @directory_server_error_code.to_s.length > 3
|
728
|
-
return false if !@directory_server_error_description.nil? && @directory_server_error_description.to_s.length > 4096
|
729
|
-
return false if !@effective_authentication_type.nil? && @effective_authentication_type.to_s.length > 2
|
730
542
|
return false if !@merchant_fraud_rate.nil? && @merchant_fraud_rate.to_s.length > 2
|
731
543
|
return false if !@marketing_source.nil? && @marketing_source.to_s.length > 40
|
732
544
|
return false if @mcc.nil?
|
733
545
|
return false if @mcc.to_s.length > 4
|
734
|
-
return false if !@network_score.nil? && @network_score.to_s.length > 2
|
735
546
|
return false if !@npa_code.nil? && @npa_code.to_s.length > 2
|
736
547
|
return false if @override_country_code.nil?
|
737
548
|
return false if @override_country_code.to_s.length > 2
|
@@ -746,14 +557,9 @@ module CyberSource
|
|
746
557
|
return false if @reference_id.nil?
|
747
558
|
return false if @reference_id.to_s.length > 50
|
748
559
|
return false if !@sdk_max_timeout.nil? && @sdk_max_timeout.to_s.length > 2
|
749
|
-
return false if !@sdk_transaction_id.nil? && @sdk_transaction_id.to_s.length > 36
|
750
560
|
return false if !@secure_corporate_payment_indicator.nil? && @secure_corporate_payment_indicator.to_s.length > 1
|
751
|
-
return false if !@signed_pares_status_reason.nil? && @signed_pares_status_reason.to_s.length > 2
|
752
|
-
return false if !@step_up_url.nil? && @step_up_url.to_s.length > 2048
|
753
|
-
return false if !@three_ds_server_transaction_id.nil? && @three_ds_server_transaction_id.to_s.length > 36
|
754
561
|
return false if @transaction_mode.nil?
|
755
562
|
return false if !@white_list_status.nil? && @white_list_status.to_s.length > 1
|
756
|
-
return false if !@white_list_status_source.nil? && @white_list_status_source.to_s.length > 2
|
757
563
|
true
|
758
564
|
end
|
759
565
|
|
@@ -767,16 +573,6 @@ module CyberSource
|
|
767
573
|
@authentication_type = authentication_type
|
768
574
|
end
|
769
575
|
|
770
|
-
# Custom attribute writer method with validation
|
771
|
-
# @param [Object] acs_transaction_id Value to be assigned
|
772
|
-
def acs_transaction_id=(acs_transaction_id)
|
773
|
-
if !acs_transaction_id.nil? && acs_transaction_id.to_s.length > 36
|
774
|
-
fail ArgumentError, 'invalid value for "acs_transaction_id", the character length must be smaller than or equal to 36.'
|
775
|
-
end
|
776
|
-
|
777
|
-
@acs_transaction_id = acs_transaction_id
|
778
|
-
end
|
779
|
-
|
780
576
|
# Custom attribute writer method with validation
|
781
577
|
# @param [Object] acs_window_size Value to be assigned
|
782
578
|
def acs_window_size=(acs_window_size)
|
@@ -827,16 +623,6 @@ module CyberSource
|
|
827
623
|
@authentication_transaction_id = authentication_transaction_id
|
828
624
|
end
|
829
625
|
|
830
|
-
# Custom attribute writer method with validation
|
831
|
-
# @param [Object] cardholder_message Value to be assigned
|
832
|
-
def cardholder_message=(cardholder_message)
|
833
|
-
if !cardholder_message.nil? && cardholder_message.to_s.length > 128
|
834
|
-
fail ArgumentError, 'invalid value for "cardholder_message", the character length must be smaller than or equal to 128.'
|
835
|
-
end
|
836
|
-
|
837
|
-
@cardholder_message = cardholder_message
|
838
|
-
end
|
839
|
-
|
840
626
|
# Custom attribute writer method with validation
|
841
627
|
# @param [Object] challenge_cancel_code Value to be assigned
|
842
628
|
def challenge_cancel_code=(challenge_cancel_code)
|
@@ -847,16 +633,6 @@ module CyberSource
|
|
847
633
|
@challenge_cancel_code = challenge_cancel_code
|
848
634
|
end
|
849
635
|
|
850
|
-
# Custom attribute writer method with validation
|
851
|
-
# @param [Object] challenge_required Value to be assigned
|
852
|
-
def challenge_required=(challenge_required)
|
853
|
-
if !challenge_required.nil? && challenge_required.to_s.length > 1
|
854
|
-
fail ArgumentError, 'invalid value for "challenge_required", the character length must be smaller than or equal to 1.'
|
855
|
-
end
|
856
|
-
|
857
|
-
@challenge_required = challenge_required
|
858
|
-
end
|
859
|
-
|
860
636
|
# Custom attribute writer method with validation
|
861
637
|
# @param [Object] challenge_status Value to be assigned
|
862
638
|
def challenge_status=(challenge_status)
|
@@ -907,36 +683,6 @@ module CyberSource
|
|
907
683
|
@device_channel = device_channel
|
908
684
|
end
|
909
685
|
|
910
|
-
# Custom attribute writer method with validation
|
911
|
-
# @param [Object] directory_server_error_code Value to be assigned
|
912
|
-
def directory_server_error_code=(directory_server_error_code)
|
913
|
-
if !directory_server_error_code.nil? && directory_server_error_code.to_s.length > 3
|
914
|
-
fail ArgumentError, 'invalid value for "directory_server_error_code", the character length must be smaller than or equal to 3.'
|
915
|
-
end
|
916
|
-
|
917
|
-
@directory_server_error_code = directory_server_error_code
|
918
|
-
end
|
919
|
-
|
920
|
-
# Custom attribute writer method with validation
|
921
|
-
# @param [Object] directory_server_error_description Value to be assigned
|
922
|
-
def directory_server_error_description=(directory_server_error_description)
|
923
|
-
if !directory_server_error_description.nil? && directory_server_error_description.to_s.length > 4096
|
924
|
-
fail ArgumentError, 'invalid value for "directory_server_error_description", the character length must be smaller than or equal to 4096.'
|
925
|
-
end
|
926
|
-
|
927
|
-
@directory_server_error_description = directory_server_error_description
|
928
|
-
end
|
929
|
-
|
930
|
-
# Custom attribute writer method with validation
|
931
|
-
# @param [Object] effective_authentication_type Value to be assigned
|
932
|
-
def effective_authentication_type=(effective_authentication_type)
|
933
|
-
if !effective_authentication_type.nil? && effective_authentication_type.to_s.length > 2
|
934
|
-
fail ArgumentError, 'invalid value for "effective_authentication_type", the character length must be smaller than or equal to 2.'
|
935
|
-
end
|
936
|
-
|
937
|
-
@effective_authentication_type = effective_authentication_type
|
938
|
-
end
|
939
|
-
|
940
686
|
# Custom attribute writer method with validation
|
941
687
|
# @param [Object] merchant_fraud_rate Value to be assigned
|
942
688
|
def merchant_fraud_rate=(merchant_fraud_rate)
|
@@ -971,16 +717,6 @@ module CyberSource
|
|
971
717
|
@mcc = mcc
|
972
718
|
end
|
973
719
|
|
974
|
-
# Custom attribute writer method with validation
|
975
|
-
# @param [Object] network_score Value to be assigned
|
976
|
-
def network_score=(network_score)
|
977
|
-
if !network_score.nil? && network_score.to_s.length > 2
|
978
|
-
fail ArgumentError, 'invalid value for "network_score", the character length must be smaller than or equal to 2.'
|
979
|
-
end
|
980
|
-
|
981
|
-
@network_score = network_score
|
982
|
-
end
|
983
|
-
|
984
720
|
# Custom attribute writer method with validation
|
985
721
|
# @param [Object] npa_code Value to be assigned
|
986
722
|
def npa_code=(npa_code)
|
@@ -1109,16 +845,6 @@ module CyberSource
|
|
1109
845
|
@sdk_max_timeout = sdk_max_timeout
|
1110
846
|
end
|
1111
847
|
|
1112
|
-
# Custom attribute writer method with validation
|
1113
|
-
# @param [Object] sdk_transaction_id Value to be assigned
|
1114
|
-
def sdk_transaction_id=(sdk_transaction_id)
|
1115
|
-
if !sdk_transaction_id.nil? && sdk_transaction_id.to_s.length > 36
|
1116
|
-
fail ArgumentError, 'invalid value for "sdk_transaction_id", the character length must be smaller than or equal to 36.'
|
1117
|
-
end
|
1118
|
-
|
1119
|
-
@sdk_transaction_id = sdk_transaction_id
|
1120
|
-
end
|
1121
|
-
|
1122
848
|
# Custom attribute writer method with validation
|
1123
849
|
# @param [Object] secure_corporate_payment_indicator Value to be assigned
|
1124
850
|
def secure_corporate_payment_indicator=(secure_corporate_payment_indicator)
|
@@ -1129,36 +855,6 @@ module CyberSource
|
|
1129
855
|
@secure_corporate_payment_indicator = secure_corporate_payment_indicator
|
1130
856
|
end
|
1131
857
|
|
1132
|
-
# Custom attribute writer method with validation
|
1133
|
-
# @param [Object] signed_pares_status_reason Value to be assigned
|
1134
|
-
def signed_pares_status_reason=(signed_pares_status_reason)
|
1135
|
-
if !signed_pares_status_reason.nil? && signed_pares_status_reason.to_s.length > 2
|
1136
|
-
fail ArgumentError, 'invalid value for "signed_pares_status_reason", the character length must be smaller than or equal to 2.'
|
1137
|
-
end
|
1138
|
-
|
1139
|
-
@signed_pares_status_reason = signed_pares_status_reason
|
1140
|
-
end
|
1141
|
-
|
1142
|
-
# Custom attribute writer method with validation
|
1143
|
-
# @param [Object] step_up_url Value to be assigned
|
1144
|
-
def step_up_url=(step_up_url)
|
1145
|
-
if !step_up_url.nil? && step_up_url.to_s.length > 2048
|
1146
|
-
fail ArgumentError, 'invalid value for "step_up_url", the character length must be smaller than or equal to 2048.'
|
1147
|
-
end
|
1148
|
-
|
1149
|
-
@step_up_url = step_up_url
|
1150
|
-
end
|
1151
|
-
|
1152
|
-
# Custom attribute writer method with validation
|
1153
|
-
# @param [Object] three_ds_server_transaction_id Value to be assigned
|
1154
|
-
def three_ds_server_transaction_id=(three_ds_server_transaction_id)
|
1155
|
-
if !three_ds_server_transaction_id.nil? && three_ds_server_transaction_id.to_s.length > 36
|
1156
|
-
fail ArgumentError, 'invalid value for "three_ds_server_transaction_id", the character length must be smaller than or equal to 36.'
|
1157
|
-
end
|
1158
|
-
|
1159
|
-
@three_ds_server_transaction_id = three_ds_server_transaction_id
|
1160
|
-
end
|
1161
|
-
|
1162
858
|
# Custom attribute writer method with validation
|
1163
859
|
# @param [Object] white_list_status Value to be assigned
|
1164
860
|
def white_list_status=(white_list_status)
|
@@ -1169,16 +865,6 @@ module CyberSource
|
|
1169
865
|
@white_list_status = white_list_status
|
1170
866
|
end
|
1171
867
|
|
1172
|
-
# Custom attribute writer method with validation
|
1173
|
-
# @param [Object] white_list_status_source Value to be assigned
|
1174
|
-
def white_list_status_source=(white_list_status_source)
|
1175
|
-
if !white_list_status_source.nil? && white_list_status_source.to_s.length > 2
|
1176
|
-
fail ArgumentError, 'invalid value for "white_list_status_source", the character length must be smaller than or equal to 2.'
|
1177
|
-
end
|
1178
|
-
|
1179
|
-
@white_list_status_source = white_list_status_source
|
1180
|
-
end
|
1181
|
-
|
1182
868
|
# Checks equality by comparing each attribute.
|
1183
869
|
# @param [Object] Object to be compared
|
1184
870
|
def ==(o)
|
@@ -1186,37 +872,27 @@ module CyberSource
|
|
1186
872
|
self.class == o.class &&
|
1187
873
|
strong_authentication == o.strong_authentication &&
|
1188
874
|
authentication_type == o.authentication_type &&
|
1189
|
-
acs_rendering_type == o.acs_rendering_type &&
|
1190
|
-
acs_transaction_id == o.acs_transaction_id &&
|
1191
875
|
acs_window_size == o.acs_window_size &&
|
1192
876
|
alternate_authentication_data == o.alternate_authentication_data &&
|
1193
877
|
alternate_authentication_date == o.alternate_authentication_date &&
|
1194
878
|
alternate_authentication_method == o.alternate_authentication_method &&
|
1195
879
|
authentication_date == o.authentication_date &&
|
1196
880
|
authentication_transaction_id == o.authentication_transaction_id &&
|
1197
|
-
authorization_payload == o.authorization_payload &&
|
1198
|
-
cardholder_message == o.cardholder_message &&
|
1199
881
|
challenge_cancel_code == o.challenge_cancel_code &&
|
1200
882
|
challenge_code == o.challenge_code &&
|
1201
|
-
challenge_required == o.challenge_required &&
|
1202
883
|
challenge_status == o.challenge_status &&
|
1203
884
|
customer_card_alias == o.customer_card_alias &&
|
1204
885
|
decoupled_authentication_indicator == o.decoupled_authentication_indicator &&
|
1205
886
|
decoupled_authentication_max_time == o.decoupled_authentication_max_time &&
|
1206
887
|
default_card == o.default_card &&
|
1207
888
|
device_channel == o.device_channel &&
|
1208
|
-
directory_server_error_code == o.directory_server_error_code &&
|
1209
|
-
directory_server_error_description == o.directory_server_error_description &&
|
1210
|
-
effective_authentication_type == o.effective_authentication_type &&
|
1211
889
|
installment_total_count == o.installment_total_count &&
|
1212
|
-
ivr == o.ivr &&
|
1213
890
|
merchant_fraud_rate == o.merchant_fraud_rate &&
|
1214
891
|
marketing_opt_in == o.marketing_opt_in &&
|
1215
892
|
marketing_source == o.marketing_source &&
|
1216
893
|
mcc == o.mcc &&
|
1217
894
|
merchant_score == o.merchant_score &&
|
1218
895
|
message_category == o.message_category &&
|
1219
|
-
network_score == o.network_score &&
|
1220
896
|
npa_code == o.npa_code &&
|
1221
897
|
override_payment_method == o.override_payment_method &&
|
1222
898
|
override_country_code == o.override_country_code &&
|
@@ -1230,14 +906,9 @@ module CyberSource
|
|
1230
906
|
requestor_name == o.requestor_name &&
|
1231
907
|
reference_id == o.reference_id &&
|
1232
908
|
sdk_max_timeout == o.sdk_max_timeout &&
|
1233
|
-
sdk_transaction_id == o.sdk_transaction_id &&
|
1234
909
|
secure_corporate_payment_indicator == o.secure_corporate_payment_indicator &&
|
1235
|
-
signed_pares_status_reason == o.signed_pares_status_reason &&
|
1236
|
-
step_up_url == o.step_up_url &&
|
1237
|
-
three_ds_server_transaction_id == o.three_ds_server_transaction_id &&
|
1238
910
|
transaction_mode == o.transaction_mode &&
|
1239
|
-
white_list_status == o.white_list_status
|
1240
|
-
white_list_status_source == o.white_list_status_source
|
911
|
+
white_list_status == o.white_list_status
|
1241
912
|
end
|
1242
913
|
|
1243
914
|
# @see the `==` method
|
@@ -1249,7 +920,7 @@ module CyberSource
|
|
1249
920
|
# Calculates hash code according to all attributes.
|
1250
921
|
# @return [Fixnum] Hash code
|
1251
922
|
def hash
|
1252
|
-
[strong_authentication, authentication_type,
|
923
|
+
[strong_authentication, authentication_type, acs_window_size, alternate_authentication_data, alternate_authentication_date, alternate_authentication_method, authentication_date, authentication_transaction_id, challenge_cancel_code, challenge_code, challenge_status, customer_card_alias, decoupled_authentication_indicator, decoupled_authentication_max_time, default_card, device_channel, installment_total_count, merchant_fraud_rate, marketing_opt_in, marketing_source, mcc, merchant_score, message_category, npa_code, override_payment_method, override_country_code, prior_authentication_data, prior_authentication_method, prior_authentication_reference_id, prior_authentication_time, product_code, requestor_id, requestor_initiated_authentication_indicator, requestor_name, reference_id, sdk_max_timeout, secure_corporate_payment_indicator, transaction_mode, white_list_status].hash
|
1253
924
|
end
|
1254
925
|
|
1255
926
|
# Builds the object from hash
|