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/riskv1authenticationexemptions_acquirer_information.rb
CHANGED
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Riskv1authenticationexemptionsAcquirerInformation
|
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
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -17,13 +17,13 @@ module CyberSource
|
|
17
17
|
# Total amount for the item. Normally calculated as the unit price times quantity. When `orderInformation.lineItems[].productCode` is \"gift_card\", this is the purchase amount total for prepaid gift cards in major units. Example: 123.45 USD = 123
|
18
18
|
attr_accessor :total_amount
|
19
19
|
|
20
|
-
# 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/
|
20
|
+
# 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/)
|
21
21
|
attr_accessor :unit_price
|
22
22
|
|
23
23
|
# 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.
|
24
24
|
attr_accessor :quantity
|
25
25
|
|
26
|
-
# 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/
|
26
|
+
# 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/)
|
27
27
|
attr_accessor :tax_amount
|
28
28
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
data/lib/cybersource_rest_client/models/riskv1authenticationexemptions_payment_information.rb
CHANGED
@@ -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' => :'Riskv1authenticationexemptionsPaymentInformationCard',
|
33
|
-
:'tokenized_card' => :'Riskv1authenticationexemptionsPaymentInformationTokenizedCard'
|
36
|
+
:'tokenized_card' => :'Riskv1authenticationexemptionsPaymentInformationTokenizedCard',
|
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
|
@@ -0,0 +1,268 @@
|
|
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 Riskv1authenticationexemptionsPaymentInformationFluidData
|
17
|
+
# Represents the encrypted payment data BLOB. The entry for this field is dependent on the payment solution a merchant uses. For details, see [Creating an Online Authorization](https://developer.cybersource.com/api/developer-guides/dita-payments/CreatingOnlineAuth.html) for the specific payment- solution entry.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# The encoded or encrypted value that a payment solution returns for an authorization request. For details about the valid values for a key, see [Creating an Online Authorization](https://developer.cybersource.com/api/developer-guides/dita-payments/CreatingOnlineAuth.html)
|
21
|
+
attr_accessor :key_serial_number
|
22
|
+
|
23
|
+
# The identifier for a payment solution, which is sending the encrypted payment data to CyberSource for decryption. Valid values: - Samsung Pay: `RklEPUNPTU1PTi5TQU1TVU5HLklOQVBQLlBBWU1FTlQ=` **NOTE**: For other payment solutions, the value may be specific to the customer's mobile device. For example, the descriptor for a Bluefin payment encryption would be a device-generated descriptor. For details about the list of payment solution identifiers, see [Creating an Online Authorization](https://developer.cybersource.com/api/developer-guides/dita-payments/CreatingOnlineAuth.html). For details about the encrypted payment data, see the `encrypted_payment_descriptor` field description in the [Card-Present Processing Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/Retail_SCMP_API/html/).
|
24
|
+
attr_accessor :descriptor
|
25
|
+
|
26
|
+
# Encoding method used to encrypt the payment data. Valid value: Base64
|
27
|
+
attr_accessor :encoding
|
28
|
+
|
29
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
30
|
+
def self.attribute_map
|
31
|
+
{
|
32
|
+
:'value' => :'value',
|
33
|
+
:'key_serial_number' => :'keySerialNumber',
|
34
|
+
:'descriptor' => :'descriptor',
|
35
|
+
:'encoding' => :'encoding'
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
# Attribute type mapping.
|
40
|
+
def self.swagger_types
|
41
|
+
{
|
42
|
+
:'value' => :'String',
|
43
|
+
:'key_serial_number' => :'String',
|
44
|
+
:'descriptor' => :'String',
|
45
|
+
:'encoding' => :'String'
|
46
|
+
}
|
47
|
+
end
|
48
|
+
|
49
|
+
# Initializes the object
|
50
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
51
|
+
def initialize(attributes = {})
|
52
|
+
return unless attributes.is_a?(Hash)
|
53
|
+
|
54
|
+
# convert string to symbol for hash key
|
55
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
56
|
+
|
57
|
+
if attributes.has_key?(:'value')
|
58
|
+
self.value = attributes[:'value']
|
59
|
+
end
|
60
|
+
|
61
|
+
if attributes.has_key?(:'keySerialNumber')
|
62
|
+
self.key_serial_number = attributes[:'keySerialNumber']
|
63
|
+
end
|
64
|
+
|
65
|
+
if attributes.has_key?(:'descriptor')
|
66
|
+
self.descriptor = attributes[:'descriptor']
|
67
|
+
end
|
68
|
+
|
69
|
+
if attributes.has_key?(:'encoding')
|
70
|
+
self.encoding = attributes[:'encoding']
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
75
|
+
# @return Array for valid properties with the reasons
|
76
|
+
def list_invalid_properties
|
77
|
+
invalid_properties = Array.new
|
78
|
+
if @value.nil?
|
79
|
+
invalid_properties.push('invalid value for "value", value cannot be nil.')
|
80
|
+
end
|
81
|
+
|
82
|
+
if @value.to_s.length > 3072
|
83
|
+
invalid_properties.push('invalid value for "value", the character length must be smaller than or equal to 3072.')
|
84
|
+
end
|
85
|
+
|
86
|
+
if !@descriptor.nil? && @descriptor.to_s.length > 128
|
87
|
+
invalid_properties.push('invalid value for "descriptor", the character length must be smaller than or equal to 128.')
|
88
|
+
end
|
89
|
+
|
90
|
+
if !@encoding.nil? && @encoding.to_s.length > 6
|
91
|
+
invalid_properties.push('invalid value for "encoding", the character length must be smaller than or equal to 6.')
|
92
|
+
end
|
93
|
+
|
94
|
+
invalid_properties
|
95
|
+
end
|
96
|
+
|
97
|
+
# Check to see if the all the properties in the model are valid
|
98
|
+
# @return true if the model is valid
|
99
|
+
def valid?
|
100
|
+
return false if @value.nil?
|
101
|
+
return false if @value.to_s.length > 3072
|
102
|
+
return false if !@descriptor.nil? && @descriptor.to_s.length > 128
|
103
|
+
return false if !@encoding.nil? && @encoding.to_s.length > 6
|
104
|
+
true
|
105
|
+
end
|
106
|
+
|
107
|
+
# Custom attribute writer method with validation
|
108
|
+
# @param [Object] value Value to be assigned
|
109
|
+
def value=(value)
|
110
|
+
if value.nil?
|
111
|
+
fail ArgumentError, 'value cannot be nil'
|
112
|
+
end
|
113
|
+
|
114
|
+
if value.to_s.length > 3072
|
115
|
+
fail ArgumentError, 'invalid value for "value", the character length must be smaller than or equal to 3072.'
|
116
|
+
end
|
117
|
+
|
118
|
+
@value = value
|
119
|
+
end
|
120
|
+
|
121
|
+
# Custom attribute writer method with validation
|
122
|
+
# @param [Object] descriptor Value to be assigned
|
123
|
+
def descriptor=(descriptor)
|
124
|
+
if !descriptor.nil? && descriptor.to_s.length > 128
|
125
|
+
fail ArgumentError, 'invalid value for "descriptor", the character length must be smaller than or equal to 128.'
|
126
|
+
end
|
127
|
+
|
128
|
+
@descriptor = descriptor
|
129
|
+
end
|
130
|
+
|
131
|
+
# Custom attribute writer method with validation
|
132
|
+
# @param [Object] encoding Value to be assigned
|
133
|
+
def encoding=(encoding)
|
134
|
+
if !encoding.nil? && encoding.to_s.length > 6
|
135
|
+
fail ArgumentError, 'invalid value for "encoding", the character length must be smaller than or equal to 6.'
|
136
|
+
end
|
137
|
+
|
138
|
+
@encoding = encoding
|
139
|
+
end
|
140
|
+
|
141
|
+
# Checks equality by comparing each attribute.
|
142
|
+
# @param [Object] Object to be compared
|
143
|
+
def ==(o)
|
144
|
+
return true if self.equal?(o)
|
145
|
+
self.class == o.class &&
|
146
|
+
value == o.value &&
|
147
|
+
key_serial_number == o.key_serial_number &&
|
148
|
+
descriptor == o.descriptor &&
|
149
|
+
encoding == o.encoding
|
150
|
+
end
|
151
|
+
|
152
|
+
# @see the `==` method
|
153
|
+
# @param [Object] Object to be compared
|
154
|
+
def eql?(o)
|
155
|
+
self == o
|
156
|
+
end
|
157
|
+
|
158
|
+
# Calculates hash code according to all attributes.
|
159
|
+
# @return [Fixnum] Hash code
|
160
|
+
def hash
|
161
|
+
[value, key_serial_number, descriptor, encoding].hash
|
162
|
+
end
|
163
|
+
|
164
|
+
# Builds the object from hash
|
165
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
166
|
+
# @return [Object] Returns the model itself
|
167
|
+
def build_from_hash(attributes)
|
168
|
+
return nil unless attributes.is_a?(Hash)
|
169
|
+
self.class.swagger_types.each_pair do |key, type|
|
170
|
+
if type =~ /\AArray<(.*)>/i
|
171
|
+
# check to ensure the input is an array given that the the attribute
|
172
|
+
# is documented as an array but the input is not
|
173
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
174
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
175
|
+
end
|
176
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
177
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
178
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
179
|
+
end
|
180
|
+
|
181
|
+
self
|
182
|
+
end
|
183
|
+
|
184
|
+
# Deserializes the data based on type
|
185
|
+
# @param string type Data type
|
186
|
+
# @param string value Value to be deserialized
|
187
|
+
# @return [Object] Deserialized data
|
188
|
+
def _deserialize(type, value)
|
189
|
+
case type.to_sym
|
190
|
+
when :DateTime
|
191
|
+
DateTime.parse(value)
|
192
|
+
when :Date
|
193
|
+
Date.parse(value)
|
194
|
+
when :String
|
195
|
+
value.to_s
|
196
|
+
when :Integer
|
197
|
+
value.to_i
|
198
|
+
when :Float
|
199
|
+
value.to_f
|
200
|
+
when :BOOLEAN
|
201
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
202
|
+
true
|
203
|
+
else
|
204
|
+
false
|
205
|
+
end
|
206
|
+
when :Object
|
207
|
+
# generic object (usually a Hash), return directly
|
208
|
+
value
|
209
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
210
|
+
inner_type = Regexp.last_match[:inner_type]
|
211
|
+
value.map { |v| _deserialize(inner_type, v) }
|
212
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
213
|
+
k_type = Regexp.last_match[:k_type]
|
214
|
+
v_type = Regexp.last_match[:v_type]
|
215
|
+
{}.tap do |hash|
|
216
|
+
value.each do |k, v|
|
217
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
218
|
+
end
|
219
|
+
end
|
220
|
+
else # model
|
221
|
+
temp_model = CyberSource.const_get(type).new
|
222
|
+
temp_model.build_from_hash(value)
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
# Returns the string representation of the object
|
227
|
+
# @return [String] String presentation of the object
|
228
|
+
def to_s
|
229
|
+
to_hash.to_s
|
230
|
+
end
|
231
|
+
|
232
|
+
# to_body is an alias to to_hash (backward compatibility)
|
233
|
+
# @return [Hash] Returns the object in the form of hash
|
234
|
+
def to_body
|
235
|
+
to_hash
|
236
|
+
end
|
237
|
+
|
238
|
+
# Returns the object in the form of hash
|
239
|
+
# @return [Hash] Returns the object in the form of hash
|
240
|
+
def to_hash
|
241
|
+
hash = {}
|
242
|
+
self.class.attribute_map.each_pair do |attr, param|
|
243
|
+
value = self.send(attr)
|
244
|
+
next if value.nil?
|
245
|
+
hash[param] = _to_hash(value)
|
246
|
+
end
|
247
|
+
hash
|
248
|
+
end
|
249
|
+
|
250
|
+
# Outputs non-array value in the form of hash
|
251
|
+
# For object, use to_hash. Otherwise, just return the value
|
252
|
+
# @param [Object] value Any valid value
|
253
|
+
# @return [Hash] Returns the value in the form of hash
|
254
|
+
def _to_hash(value)
|
255
|
+
if value.is_a?(Array)
|
256
|
+
value.compact.map { |v| _to_hash(v) }
|
257
|
+
elsif value.is_a?(Hash)
|
258
|
+
{}.tap do |hash|
|
259
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
260
|
+
end
|
261
|
+
elsif value.respond_to? :to_hash
|
262
|
+
value.to_hash
|
263
|
+
else
|
264
|
+
value
|
265
|
+
end
|
266
|
+
end
|
267
|
+
end
|
268
|
+
end
|
@@ -14,90 +14,45 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Riskv1authenticationresultsConsumerAuthenticationInformation
|
17
|
-
# Identifies the UI Type the ACS will use to complete the challenge. **NOTE**: Only available for App transactions using the Cardinal Mobile SDK.
|
18
|
-
attr_accessor :acs_rendering_type
|
19
|
-
|
20
|
-
# Unique transaction identifier assigned by the ACS to identify a single transaction.
|
21
|
-
attr_accessor :acs_transaction_id
|
22
|
-
|
23
17
|
# 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.
|
24
18
|
attr_accessor :authentication_transaction_id
|
25
19
|
|
26
20
|
# 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.
|
27
21
|
attr_accessor :authentication_type
|
28
22
|
|
29
|
-
# 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
|
30
|
-
attr_accessor :challenge_cancel_code
|
31
|
-
|
32
23
|
# 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).
|
33
24
|
attr_accessor :effective_authentication_type
|
34
25
|
|
35
|
-
# The directory server error code indicating a problem with this transaction.
|
36
|
-
attr_accessor :directory_server_error_code
|
37
|
-
|
38
|
-
# Directory server text and additional detail about the error for this transaction.
|
39
|
-
attr_accessor :directory_server_error_description
|
40
|
-
|
41
|
-
# Indicates the number of authentication cycles attempted by the cardholder and is tracked by the Issuing Banks ACS.Example: if customer gets the challenge window and enter in their one time password and hit submit then that interaction counter should just be 1. When customer gets the challenge window and the bank asks if they want to have the one time password sent to their phone or their email and they have to choose before going to the next screen to enter in their one time password then this interaction count would be 2. One for the selection of how they want the one time password delivered and another with them actually entering in the one time password and hitting the submit button.
|
42
|
-
attr_accessor :interaction_counter
|
43
|
-
|
44
26
|
# Provides additional information as to why the PAResStatus has a specific value.
|
45
27
|
attr_accessor :signed_pares_status_reason
|
46
28
|
|
47
|
-
# SDK unique transaction identifier that is generated on each new transaction.
|
48
|
-
attr_accessor :sdk_transaction_id
|
49
|
-
|
50
29
|
# Payer authentication result (PARes) message returned by the card-issuing bank. If you need to show proof of enrollment checking, you may need to decrypt and parse the string for the information required by the payment card company. For more information, see \"Storing Payer Authentication Data,\" page 160. Important The value is in base64. You must remove all carriage returns and line feeds before adding the PARes to the request.
|
51
30
|
attr_accessor :signed_pares
|
52
31
|
|
53
|
-
# Unique transaction identifier assigned by the 3DS Server to identify a single transaction.
|
54
|
-
attr_accessor :three_ds_server_transaction_id
|
55
|
-
|
56
32
|
# 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
|
57
33
|
attr_accessor :white_list_status
|
58
34
|
|
59
|
-
# This data element will be populated by the system setting Whitelist Status. Possible Values: 01 - 3DS/ Server/ 02 – DS/03 - ACS
|
60
|
-
attr_accessor :white_list_status_source
|
61
|
-
|
62
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
63
36
|
def self.attribute_map
|
64
37
|
{
|
65
|
-
:'acs_rendering_type' => :'acsRenderingType',
|
66
|
-
:'acs_transaction_id' => :'acsTransactionId',
|
67
38
|
:'authentication_transaction_id' => :'authenticationTransactionId',
|
68
39
|
:'authentication_type' => :'authenticationType',
|
69
|
-
:'challenge_cancel_code' => :'challengeCancelCode',
|
70
40
|
:'effective_authentication_type' => :'effectiveAuthenticationType',
|
71
|
-
:'directory_server_error_code' => :'directoryServerErrorCode',
|
72
|
-
:'directory_server_error_description' => :'directoryServerErrorDescription',
|
73
|
-
:'interaction_counter' => :'interactionCounter',
|
74
41
|
:'signed_pares_status_reason' => :'signedParesStatusReason',
|
75
|
-
:'sdk_transaction_id' => :'sdkTransactionId',
|
76
42
|
:'signed_pares' => :'signedPares',
|
77
|
-
:'
|
78
|
-
:'white_list_status' => :'whiteListStatus',
|
79
|
-
:'white_list_status_source' => :'whiteListStatusSource'
|
43
|
+
:'white_list_status' => :'whiteListStatus'
|
80
44
|
}
|
81
45
|
end
|
82
46
|
|
83
47
|
# Attribute type mapping.
|
84
48
|
def self.swagger_types
|
85
49
|
{
|
86
|
-
:'acs_rendering_type' => :'String',
|
87
|
-
:'acs_transaction_id' => :'String',
|
88
50
|
:'authentication_transaction_id' => :'String',
|
89
51
|
:'authentication_type' => :'String',
|
90
|
-
:'challenge_cancel_code' => :'String',
|
91
52
|
:'effective_authentication_type' => :'String',
|
92
|
-
:'directory_server_error_code' => :'String',
|
93
|
-
:'directory_server_error_description' => :'String',
|
94
|
-
:'interaction_counter' => :'String',
|
95
53
|
:'signed_pares_status_reason' => :'String',
|
96
|
-
:'sdk_transaction_id' => :'String',
|
97
54
|
:'signed_pares' => :'String',
|
98
|
-
:'
|
99
|
-
:'white_list_status' => :'String',
|
100
|
-
:'white_list_status_source' => :'String'
|
55
|
+
:'white_list_status' => :'String'
|
101
56
|
}
|
102
57
|
end
|
103
58
|
|
@@ -109,14 +64,6 @@ module CyberSource
|
|
109
64
|
# convert string to symbol for hash key
|
110
65
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
111
66
|
|
112
|
-
if attributes.has_key?(:'acsRenderingType')
|
113
|
-
self.acs_rendering_type = attributes[:'acsRenderingType']
|
114
|
-
end
|
115
|
-
|
116
|
-
if attributes.has_key?(:'acsTransactionId')
|
117
|
-
self.acs_transaction_id = attributes[:'acsTransactionId']
|
118
|
-
end
|
119
|
-
|
120
67
|
if attributes.has_key?(:'authenticationTransactionId')
|
121
68
|
self.authentication_transaction_id = attributes[:'authenticationTransactionId']
|
122
69
|
end
|
@@ -125,59 +72,27 @@ module CyberSource
|
|
125
72
|
self.authentication_type = attributes[:'authenticationType']
|
126
73
|
end
|
127
74
|
|
128
|
-
if attributes.has_key?(:'challengeCancelCode')
|
129
|
-
self.challenge_cancel_code = attributes[:'challengeCancelCode']
|
130
|
-
end
|
131
|
-
|
132
75
|
if attributes.has_key?(:'effectiveAuthenticationType')
|
133
76
|
self.effective_authentication_type = attributes[:'effectiveAuthenticationType']
|
134
77
|
end
|
135
78
|
|
136
|
-
if attributes.has_key?(:'directoryServerErrorCode')
|
137
|
-
self.directory_server_error_code = attributes[:'directoryServerErrorCode']
|
138
|
-
end
|
139
|
-
|
140
|
-
if attributes.has_key?(:'directoryServerErrorDescription')
|
141
|
-
self.directory_server_error_description = attributes[:'directoryServerErrorDescription']
|
142
|
-
end
|
143
|
-
|
144
|
-
if attributes.has_key?(:'interactionCounter')
|
145
|
-
self.interaction_counter = attributes[:'interactionCounter']
|
146
|
-
end
|
147
|
-
|
148
79
|
if attributes.has_key?(:'signedParesStatusReason')
|
149
80
|
self.signed_pares_status_reason = attributes[:'signedParesStatusReason']
|
150
81
|
end
|
151
82
|
|
152
|
-
if attributes.has_key?(:'sdkTransactionId')
|
153
|
-
self.sdk_transaction_id = attributes[:'sdkTransactionId']
|
154
|
-
end
|
155
|
-
|
156
83
|
if attributes.has_key?(:'signedPares')
|
157
84
|
self.signed_pares = attributes[:'signedPares']
|
158
85
|
end
|
159
86
|
|
160
|
-
if attributes.has_key?(:'threeDSServerTransactionId')
|
161
|
-
self.three_ds_server_transaction_id = attributes[:'threeDSServerTransactionId']
|
162
|
-
end
|
163
|
-
|
164
87
|
if attributes.has_key?(:'whiteListStatus')
|
165
88
|
self.white_list_status = attributes[:'whiteListStatus']
|
166
89
|
end
|
167
|
-
|
168
|
-
if attributes.has_key?(:'whiteListStatusSource')
|
169
|
-
self.white_list_status_source = attributes[:'whiteListStatusSource']
|
170
|
-
end
|
171
90
|
end
|
172
91
|
|
173
92
|
# Show invalid properties with the reasons. Usually used together with valid?
|
174
93
|
# @return Array for valid properties with the reasons
|
175
94
|
def list_invalid_properties
|
176
95
|
invalid_properties = Array.new
|
177
|
-
if !@acs_transaction_id.nil? && @acs_transaction_id.to_s.length > 36
|
178
|
-
invalid_properties.push('invalid value for "acs_transaction_id", the character length must be smaller than or equal to 36.')
|
179
|
-
end
|
180
|
-
|
181
96
|
if !@authentication_transaction_id.nil? && @authentication_transaction_id.to_s.length > 20
|
182
97
|
invalid_properties.push('invalid value for "authentication_transaction_id", the character length must be smaller than or equal to 20.')
|
183
98
|
end
|
@@ -186,83 +101,37 @@ module CyberSource
|
|
186
101
|
invalid_properties.push('invalid value for "authentication_type", the character length must be smaller than or equal to 2.')
|
187
102
|
end
|
188
103
|
|
189
|
-
if !@challenge_cancel_code.nil? && @challenge_cancel_code.to_s.length > 2
|
190
|
-
invalid_properties.push('invalid value for "challenge_cancel_code", the character length must be smaller than or equal to 2.')
|
191
|
-
end
|
192
|
-
|
193
104
|
if !@effective_authentication_type.nil? && @effective_authentication_type.to_s.length > 2
|
194
105
|
invalid_properties.push('invalid value for "effective_authentication_type", the character length must be smaller than or equal to 2.')
|
195
106
|
end
|
196
107
|
|
197
|
-
if !@directory_server_error_code.nil? && @directory_server_error_code.to_s.length > 3
|
198
|
-
invalid_properties.push('invalid value for "directory_server_error_code", the character length must be smaller than or equal to 3.')
|
199
|
-
end
|
200
|
-
|
201
|
-
if !@directory_server_error_description.nil? && @directory_server_error_description.to_s.length > 4096
|
202
|
-
invalid_properties.push('invalid value for "directory_server_error_description", the character length must be smaller than or equal to 4096.')
|
203
|
-
end
|
204
|
-
|
205
|
-
if !@interaction_counter.nil? && @interaction_counter.to_s.length > 2
|
206
|
-
invalid_properties.push('invalid value for "interaction_counter", the character length must be smaller than or equal to 2.')
|
207
|
-
end
|
208
|
-
|
209
108
|
if !@signed_pares_status_reason.nil? && @signed_pares_status_reason.to_s.length > 2
|
210
109
|
invalid_properties.push('invalid value for "signed_pares_status_reason", the character length must be smaller than or equal to 2.')
|
211
110
|
end
|
212
111
|
|
213
|
-
if !@sdk_transaction_id.nil? && @sdk_transaction_id.to_s.length > 36
|
214
|
-
invalid_properties.push('invalid value for "sdk_transaction_id", the character length must be smaller than or equal to 36.')
|
215
|
-
end
|
216
|
-
|
217
112
|
if @signed_pares.nil?
|
218
113
|
invalid_properties.push('invalid value for "signed_pares", signed_pares cannot be nil.')
|
219
114
|
end
|
220
115
|
|
221
|
-
if !@three_ds_server_transaction_id.nil? && @three_ds_server_transaction_id.to_s.length > 36
|
222
|
-
invalid_properties.push('invalid value for "three_ds_server_transaction_id", the character length must be smaller than or equal to 36.')
|
223
|
-
end
|
224
|
-
|
225
116
|
if !@white_list_status.nil? && @white_list_status.to_s.length > 1
|
226
117
|
invalid_properties.push('invalid value for "white_list_status", the character length must be smaller than or equal to 1.')
|
227
118
|
end
|
228
119
|
|
229
|
-
if !@white_list_status_source.nil? && @white_list_status_source.to_s.length > 2
|
230
|
-
invalid_properties.push('invalid value for "white_list_status_source", the character length must be smaller than or equal to 2.')
|
231
|
-
end
|
232
|
-
|
233
120
|
invalid_properties
|
234
121
|
end
|
235
122
|
|
236
123
|
# Check to see if the all the properties in the model are valid
|
237
124
|
# @return true if the model is valid
|
238
125
|
def valid?
|
239
|
-
return false if !@acs_transaction_id.nil? && @acs_transaction_id.to_s.length > 36
|
240
126
|
return false if !@authentication_transaction_id.nil? && @authentication_transaction_id.to_s.length > 20
|
241
127
|
return false if !@authentication_type.nil? && @authentication_type.to_s.length > 2
|
242
|
-
return false if !@challenge_cancel_code.nil? && @challenge_cancel_code.to_s.length > 2
|
243
128
|
return false if !@effective_authentication_type.nil? && @effective_authentication_type.to_s.length > 2
|
244
|
-
return false if !@directory_server_error_code.nil? && @directory_server_error_code.to_s.length > 3
|
245
|
-
return false if !@directory_server_error_description.nil? && @directory_server_error_description.to_s.length > 4096
|
246
|
-
return false if !@interaction_counter.nil? && @interaction_counter.to_s.length > 2
|
247
129
|
return false if !@signed_pares_status_reason.nil? && @signed_pares_status_reason.to_s.length > 2
|
248
|
-
return false if !@sdk_transaction_id.nil? && @sdk_transaction_id.to_s.length > 36
|
249
130
|
return false if @signed_pares.nil?
|
250
|
-
return false if !@three_ds_server_transaction_id.nil? && @three_ds_server_transaction_id.to_s.length > 36
|
251
131
|
return false if !@white_list_status.nil? && @white_list_status.to_s.length > 1
|
252
|
-
return false if !@white_list_status_source.nil? && @white_list_status_source.to_s.length > 2
|
253
132
|
true
|
254
133
|
end
|
255
134
|
|
256
|
-
# Custom attribute writer method with validation
|
257
|
-
# @param [Object] acs_transaction_id Value to be assigned
|
258
|
-
def acs_transaction_id=(acs_transaction_id)
|
259
|
-
if !acs_transaction_id.nil? && acs_transaction_id.to_s.length > 36
|
260
|
-
fail ArgumentError, 'invalid value for "acs_transaction_id", the character length must be smaller than or equal to 36.'
|
261
|
-
end
|
262
|
-
|
263
|
-
@acs_transaction_id = acs_transaction_id
|
264
|
-
end
|
265
|
-
|
266
135
|
# Custom attribute writer method with validation
|
267
136
|
# @param [Object] authentication_transaction_id Value to be assigned
|
268
137
|
def authentication_transaction_id=(authentication_transaction_id)
|
@@ -283,16 +152,6 @@ module CyberSource
|
|
283
152
|
@authentication_type = authentication_type
|
284
153
|
end
|
285
154
|
|
286
|
-
# Custom attribute writer method with validation
|
287
|
-
# @param [Object] challenge_cancel_code Value to be assigned
|
288
|
-
def challenge_cancel_code=(challenge_cancel_code)
|
289
|
-
if !challenge_cancel_code.nil? && challenge_cancel_code.to_s.length > 2
|
290
|
-
fail ArgumentError, 'invalid value for "challenge_cancel_code", the character length must be smaller than or equal to 2.'
|
291
|
-
end
|
292
|
-
|
293
|
-
@challenge_cancel_code = challenge_cancel_code
|
294
|
-
end
|
295
|
-
|
296
155
|
# Custom attribute writer method with validation
|
297
156
|
# @param [Object] effective_authentication_type Value to be assigned
|
298
157
|
def effective_authentication_type=(effective_authentication_type)
|
@@ -303,36 +162,6 @@ module CyberSource
|
|
303
162
|
@effective_authentication_type = effective_authentication_type
|
304
163
|
end
|
305
164
|
|
306
|
-
# Custom attribute writer method with validation
|
307
|
-
# @param [Object] directory_server_error_code Value to be assigned
|
308
|
-
def directory_server_error_code=(directory_server_error_code)
|
309
|
-
if !directory_server_error_code.nil? && directory_server_error_code.to_s.length > 3
|
310
|
-
fail ArgumentError, 'invalid value for "directory_server_error_code", the character length must be smaller than or equal to 3.'
|
311
|
-
end
|
312
|
-
|
313
|
-
@directory_server_error_code = directory_server_error_code
|
314
|
-
end
|
315
|
-
|
316
|
-
# Custom attribute writer method with validation
|
317
|
-
# @param [Object] directory_server_error_description Value to be assigned
|
318
|
-
def directory_server_error_description=(directory_server_error_description)
|
319
|
-
if !directory_server_error_description.nil? && directory_server_error_description.to_s.length > 4096
|
320
|
-
fail ArgumentError, 'invalid value for "directory_server_error_description", the character length must be smaller than or equal to 4096.'
|
321
|
-
end
|
322
|
-
|
323
|
-
@directory_server_error_description = directory_server_error_description
|
324
|
-
end
|
325
|
-
|
326
|
-
# Custom attribute writer method with validation
|
327
|
-
# @param [Object] interaction_counter Value to be assigned
|
328
|
-
def interaction_counter=(interaction_counter)
|
329
|
-
if !interaction_counter.nil? && interaction_counter.to_s.length > 2
|
330
|
-
fail ArgumentError, 'invalid value for "interaction_counter", the character length must be smaller than or equal to 2.'
|
331
|
-
end
|
332
|
-
|
333
|
-
@interaction_counter = interaction_counter
|
334
|
-
end
|
335
|
-
|
336
165
|
# Custom attribute writer method with validation
|
337
166
|
# @param [Object] signed_pares_status_reason Value to be assigned
|
338
167
|
def signed_pares_status_reason=(signed_pares_status_reason)
|
@@ -343,26 +172,6 @@ module CyberSource
|
|
343
172
|
@signed_pares_status_reason = signed_pares_status_reason
|
344
173
|
end
|
345
174
|
|
346
|
-
# Custom attribute writer method with validation
|
347
|
-
# @param [Object] sdk_transaction_id Value to be assigned
|
348
|
-
def sdk_transaction_id=(sdk_transaction_id)
|
349
|
-
if !sdk_transaction_id.nil? && sdk_transaction_id.to_s.length > 36
|
350
|
-
fail ArgumentError, 'invalid value for "sdk_transaction_id", the character length must be smaller than or equal to 36.'
|
351
|
-
end
|
352
|
-
|
353
|
-
@sdk_transaction_id = sdk_transaction_id
|
354
|
-
end
|
355
|
-
|
356
|
-
# Custom attribute writer method with validation
|
357
|
-
# @param [Object] three_ds_server_transaction_id Value to be assigned
|
358
|
-
def three_ds_server_transaction_id=(three_ds_server_transaction_id)
|
359
|
-
if !three_ds_server_transaction_id.nil? && three_ds_server_transaction_id.to_s.length > 36
|
360
|
-
fail ArgumentError, 'invalid value for "three_ds_server_transaction_id", the character length must be smaller than or equal to 36.'
|
361
|
-
end
|
362
|
-
|
363
|
-
@three_ds_server_transaction_id = three_ds_server_transaction_id
|
364
|
-
end
|
365
|
-
|
366
175
|
# Custom attribute writer method with validation
|
367
176
|
# @param [Object] white_list_status Value to be assigned
|
368
177
|
def white_list_status=(white_list_status)
|
@@ -373,36 +182,17 @@ module CyberSource
|
|
373
182
|
@white_list_status = white_list_status
|
374
183
|
end
|
375
184
|
|
376
|
-
# Custom attribute writer method with validation
|
377
|
-
# @param [Object] white_list_status_source Value to be assigned
|
378
|
-
def white_list_status_source=(white_list_status_source)
|
379
|
-
if !white_list_status_source.nil? && white_list_status_source.to_s.length > 2
|
380
|
-
fail ArgumentError, 'invalid value for "white_list_status_source", the character length must be smaller than or equal to 2.'
|
381
|
-
end
|
382
|
-
|
383
|
-
@white_list_status_source = white_list_status_source
|
384
|
-
end
|
385
|
-
|
386
185
|
# Checks equality by comparing each attribute.
|
387
186
|
# @param [Object] Object to be compared
|
388
187
|
def ==(o)
|
389
188
|
return true if self.equal?(o)
|
390
189
|
self.class == o.class &&
|
391
|
-
acs_rendering_type == o.acs_rendering_type &&
|
392
|
-
acs_transaction_id == o.acs_transaction_id &&
|
393
190
|
authentication_transaction_id == o.authentication_transaction_id &&
|
394
191
|
authentication_type == o.authentication_type &&
|
395
|
-
challenge_cancel_code == o.challenge_cancel_code &&
|
396
192
|
effective_authentication_type == o.effective_authentication_type &&
|
397
|
-
directory_server_error_code == o.directory_server_error_code &&
|
398
|
-
directory_server_error_description == o.directory_server_error_description &&
|
399
|
-
interaction_counter == o.interaction_counter &&
|
400
193
|
signed_pares_status_reason == o.signed_pares_status_reason &&
|
401
|
-
sdk_transaction_id == o.sdk_transaction_id &&
|
402
194
|
signed_pares == o.signed_pares &&
|
403
|
-
|
404
|
-
white_list_status == o.white_list_status &&
|
405
|
-
white_list_status_source == o.white_list_status_source
|
195
|
+
white_list_status == o.white_list_status
|
406
196
|
end
|
407
197
|
|
408
198
|
# @see the `==` method
|
@@ -414,7 +204,7 @@ module CyberSource
|
|
414
204
|
# Calculates hash code according to all attributes.
|
415
205
|
# @return [Fixnum] Hash code
|
416
206
|
def hash
|
417
|
-
[
|
207
|
+
[authentication_transaction_id, authentication_type, effective_authentication_type, signed_pares_status_reason, signed_pares, white_list_status].hash
|
418
208
|
end
|
419
209
|
|
420
210
|
# Builds the object from hash
|