cybersource_rest_client 0.0.64 → 0.0.65
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cybersource_rest_client/api/batches_api.rb +9 -9
- data/lib/cybersource_rest_client/api/bin_lookup_api.rb +3 -3
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +3 -3
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +6 -6
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +3 -3
- data/lib/cybersource_rest_client/models/bin_lookupv400_response.rb +224 -224
- data/lib/cybersource_rest_client/models/binv1binlookup_client_reference_information.rb +222 -222
- data/lib/cybersource_rest_client/models/binv1binlookup_payment_information.rb +219 -219
- data/lib/cybersource_rest_client/models/binv1binlookup_payment_information_card.rb +196 -196
- data/lib/cybersource_rest_client/models/binv1binlookup_processing_information.rb +200 -200
- data/lib/cybersource_rest_client/models/binv1binlookup_processing_information_payout_options.rb +213 -213
- data/lib/cybersource_rest_client/models/binv1binlookup_token_information.rb +207 -207
- data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +321 -321
- data/lib/cybersource_rest_client/models/create_bin_lookup_request.rb +219 -219
- data/lib/cybersource_rest_client/models/create_payment_request.rb +462 -452
- data/lib/cybersource_rest_client/models/inline_response_200_1.rb +253 -247
- data/lib/cybersource_rest_client/models/{inline_response_200_2_integration_information.rb → inline_response_200_1_integration_information.rb} +204 -204
- data/lib/cybersource_rest_client/models/{inline_response_200_2_integration_information_tenant_configurations.rb → inline_response_200_1_integration_information_tenant_configurations.rb} +296 -296
- data/lib/cybersource_rest_client/models/inline_response_200_2.rb +25 -65
- data/lib/cybersource_rest_client/models/inline_response_200_3.rb +335 -213
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +251 -335
- data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded.rb → inline_response_200_5__embedded.rb} +191 -191
- data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded__links.rb → inline_response_200_5__embedded__links.rb} +191 -191
- data/lib/cybersource_rest_client/models/{inline_response_200_7__links_report.rb → inline_response_200_5__embedded__links_reports.rb} +190 -189
- data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded_batches.rb → inline_response_200_5__embedded_batches.rb} +295 -295
- data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded_totals.rb → inline_response_200_5__embedded_totals.rb} +229 -229
- data/lib/cybersource_rest_client/models/inline_response_200_5__links.rb +200 -0
- data/lib/cybersource_rest_client/models/inline_response_200_6.rb +290 -251
- data/lib/cybersource_rest_client/models/inline_response_200_6__links.rb +201 -200
- data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded__links_reports.rb → inline_response_200_6__links_report.rb} +189 -190
- data/lib/cybersource_rest_client/models/{inline_response_200_7_billing.rb → inline_response_200_6_billing.rb} +219 -219
- data/lib/cybersource_rest_client/models/inline_response_200_7.rb +292 -290
- data/lib/cybersource_rest_client/models/{inline_response_200_8_records.rb → inline_response_200_7_records.rb} +209 -209
- data/lib/cybersource_rest_client/models/{inline_response_200_8_response_record.rb → inline_response_200_7_response_record.rb} +307 -307
- data/lib/cybersource_rest_client/models/{inline_response_200_8_response_record_additional_updates.rb → inline_response_200_7_response_record_additional_updates.rb} +242 -242
- data/lib/cybersource_rest_client/models/{inline_response_200_8_source_record.rb → inline_response_200_7_source_record.rb} +295 -295
- data/lib/cybersource_rest_client/models/inline_response_201_1.rb +248 -248
- data/lib/cybersource_rest_client/models/inline_response_201_1_issuer_information.rb +264 -264
- data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information.rb +209 -209
- data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_card.rb +277 -277
- data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_card_brands.rb +213 -213
- data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_features.rb +320 -320
- data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_network.rb +190 -190
- data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information.rb +216 -216
- data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information_pull_funds.rb +213 -213
- data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information_push_funds.rb +417 -417
- data/lib/cybersource_rest_client/models/inline_response_201_2.rb +315 -315
- data/lib/cybersource_rest_client/models/inline_response_201_2_integration_information.rb +192 -192
- data/lib/cybersource_rest_client/models/inline_response_201_2_integration_information_tenant_configurations.rb +286 -286
- data/lib/cybersource_rest_client/models/inline_response_201_2_organization_information.rb +217 -217
- data/lib/cybersource_rest_client/models/inline_response_201_2_product_information_setups.rb +214 -214
- data/lib/cybersource_rest_client/models/inline_response_201_2_registration_information.rb +256 -256
- data/lib/cybersource_rest_client/models/inline_response_201_2_setups.rb +219 -219
- data/lib/cybersource_rest_client/models/inline_response_201_2_setups_commerce_solutions.rb +209 -209
- data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments.rb +15 -5
- data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_card_processing.rb +199 -199
- data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_card_processing_configuration_status.rb +299 -299
- data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_card_processing_subscription_status.rb +278 -278
- data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_digital_payments.rb +189 -189
- data/lib/cybersource_rest_client/models/inline_response_201_2_setups_risk.rb +199 -199
- data/lib/cybersource_rest_client/models/inline_response_201_2_setups_value_added_services.rb +199 -199
- data/lib/cybersource_rest_client/models/inline_response_201_3.rb +222 -222
- data/lib/cybersource_rest_client/models/inline_response_201_3_key_information.rb +300 -300
- data/lib/cybersource_rest_client/models/inline_response_201_3_key_information_error_information.rb +202 -202
- data/lib/cybersource_rest_client/models/inline_response_201_3_key_information_error_information_details.rb +201 -201
- data/lib/cybersource_rest_client/models/inline_response_201_4.rb +347 -347
- data/lib/cybersource_rest_client/models/inline_response_201_5.rb +222 -222
- data/lib/cybersource_rest_client/models/inline_response_400_5.rb +269 -234
- data/lib/cybersource_rest_client/models/{inline_response_400_7_details.rb → inline_response_400_5_details.rb} +201 -201
- data/lib/cybersource_rest_client/models/inline_response_400_6.rb +275 -235
- data/lib/cybersource_rest_client/models/{inline_response_400_8_details.rb → inline_response_400_6_details.rb} +199 -199
- data/lib/cybersource_rest_client/models/inline_response_404_1.rb +269 -269
- data/lib/cybersource_rest_client/models/inline_response_422_1.rb +269 -269
- data/lib/cybersource_rest_client/models/inline_response_500_2.rb +257 -223
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +225 -225
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +225 -225
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +333 -333
- data/lib/cybersource_rest_client/models/merchant_initiated_transaction_object.rb +241 -241
- data/lib/cybersource_rest_client/models/payer_auth_config_card_types_verified_by_visa_currencies.rb +244 -243
- data/lib/cybersource_rest_client/models/payer_auth_setup_request.rb +219 -219
- data/lib/cybersource_rest_client/models/payments_products.rb +369 -359
- data/lib/cybersource_rest_client/models/{kms_v2_keys_asym_get200_response.rb → payments_products_service_fee.rb} +199 -200
- data/lib/cybersource_rest_client/models/{inline_response_200_7__links.rb → payments_products_service_fee_configuration_information.rb} +189 -201
- data/lib/cybersource_rest_client/models/{inline_response_200_8.rb → payments_products_service_fee_configuration_information_configurations.rb} +266 -292
- data/lib/cybersource_rest_client/models/{kms_v2_keys_sym_deletes_post200_response_key_information.rb → payments_products_service_fee_configuration_information_configurations_merchant_information.rb} +239 -234
- data/lib/cybersource_rest_client/models/{inline_response_400_8.rb → payments_products_service_fee_configuration_information_configurations_payment_information.rb} +280 -275
- data/lib/cybersource_rest_client/models/payments_products_service_fee_configuration_information_configurations_products.rb +190 -0
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +284 -284
- data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_processor_information.rb +233 -233
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +249 -249
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_2_processor_information.rb +264 -264
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +765 -765
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_consumer_authentication.rb +212 -212
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +609 -609
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +264 -264
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +309 -309
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information.rb +199 -199
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information_orchestration.rb +192 -192
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information_response_insights.rb +230 -230
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +223 -223
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +217 -217
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +18 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +230 -230
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +232 -232
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_buyer_information.rb +247 -247
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +326 -326
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information.rb +285 -285
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information_merchant_descriptor.rb +241 -241
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +275 -275
- data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +453 -453
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_line_items.rb +361 -361
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_ship_to.rb +485 -485
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +366 -366
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +1075 -1075
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +416 -416
- data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +464 -464
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +405 -405
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +641 -641
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_order.rb +332 -332
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +286 -286
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +444 -444
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +699 -699
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +496 -496
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +346 -346
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_account_reference.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +377 -377
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +633 -633
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +704 -704
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +467 -456
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +213 -213
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +205 -205
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +72 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_sender_information.rb +298 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +332 -332
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +604 -604
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +267 -267
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +287 -287
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +206 -206
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +362 -362
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +257 -257
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +502 -502
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +299 -299
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +342 -342
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +192 -192
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +213 -213
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +287 -287
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +234 -234
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +286 -286
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +301 -301
- data/lib/cybersource_rest_client/models/ptsv2voids_processing_information.rb +190 -190
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +269 -280
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +80 -1
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +279 -290
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post400_response_1.rb +235 -235
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +840 -840
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +290 -290
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +312 -337
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +241 -258
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +258 -258
- data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +434 -366
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +497 -497
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information.rb +219 -219
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +351 -351
- data/lib/cybersource_rest_client/models/{kmsv2keyssym_client_reference_information.rb → riskv1authenticationsetups_client_reference_information.rb} +240 -217
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +299 -299
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +213 -213
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +812 -820
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +223 -223
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +416 -416
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +259 -259
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +314 -314
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +196 -196
- data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_bank_account.rb +207 -207
- data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info.rb +200 -200
- data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info_bank_transfer_options.rb +196 -196
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +236 -236
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +292 -292
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +349 -349
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options_initiator.rb +222 -222
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +383 -383
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +241 -241
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +231 -231
- data/lib/cybersource_rest_client/models/validate_request.rb +249 -249
- data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +196 -196
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +403 -403
- data/lib/cybersource_rest_client/utilities/tracking/sdk_tracker.rb +0 -5
- data/lib/cybersource_rest_client.rb +24 -57
- metadata +26 -59
- data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +0 -307
- data/lib/cybersource_rest_client/api/key_management_api.rb +0 -120
- data/lib/cybersource_rest_client/api/key_management_password_api.rb +0 -98
- data/lib/cybersource_rest_client/api/key_management_pgp_api.rb +0 -98
- data/lib/cybersource_rest_client/api/key_management_scmp_api.rb +0 -98
- data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +0 -308
- data/lib/cybersource_rest_client/models/create_p12_keys_request.rb +0 -201
- data/lib/cybersource_rest_client/models/create_shared_secret_keys_request.rb +0 -201
- data/lib/cybersource_rest_client/models/create_shared_secret_keys_verifi_request.rb +0 -201
- data/lib/cybersource_rest_client/models/delete_bulk_p12_keys_request.rb +0 -201
- data/lib/cybersource_rest_client/models/delete_bulk_symmetric_keys_request.rb +0 -201
- data/lib/cybersource_rest_client/models/inline_response_200_1_keys.rb +0 -323
- data/lib/cybersource_rest_client/models/inline_response_400_7.rb +0 -269
- data/lib/cybersource_rest_client/models/inline_response_500_3.rb +0 -257
- data/lib/cybersource_rest_client/models/inline_response_502_1.rb +0 -234
- data/lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response.rb +0 -212
- data/lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response_key_information.rb +0 -245
- data/lib/cybersource_rest_client/models/kms_v2_keys_asym_get200_response_key_information.rb +0 -267
- data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response.rb +0 -235
- data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response_certificate_information.rb +0 -223
- data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response_key_information.rb +0 -278
- data/lib/cybersource_rest_client/models/kms_v2_keys_sym_deletes_post200_response.rb +0 -223
- data/lib/cybersource_rest_client/models/kms_v2_keys_sym_get200_response.rb +0 -211
- data/lib/cybersource_rest_client/models/kms_v2_keys_sym_get200_response_key_information.rb +0 -245
- data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response.rb +0 -223
- data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_error_information.rb +0 -202
- data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_key_information.rb +0 -284
- data/lib/cybersource_rest_client/models/kmsv2keysasym_key_information.rb +0 -223
- data/lib/cybersource_rest_client/models/kmsv2keyssym_key_information.rb +0 -207
- data/lib/cybersource_rest_client/models/kmsv2keyssymdeletes_key_information.rb +0 -223
- data/lib/cybersource_rest_client/models/kmsv2keyssymverifi_key_information.rb +0 -254
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +0 -290
- data/lib/cybersource_rest_client/models/update_asym_keys_request.rb +0 -211
- data/lib/cybersource_rest_client/models/update_password_keys_request.rb +0 -211
- data/lib/cybersource_rest_client/models/update_pgp_keys_request.rb +0 -211
- data/lib/cybersource_rest_client/models/update_pgp_keys_request_1.rb +0 -234
data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb
CHANGED
@@ -1,820 +1,812 @@
|
|
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.4.38
|
10
|
-
=end
|
11
|
-
|
12
|
-
require 'date'
|
13
|
-
|
14
|
-
module CyberSource
|
15
|
-
class Riskv1decisionsConsumerAuthenticationInformation
|
16
|
-
attr_accessor :strong_authentication
|
17
|
-
|
18
|
-
#
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
#
|
22
|
-
attr_accessor :
|
23
|
-
|
24
|
-
#
|
25
|
-
attr_accessor :
|
26
|
-
|
27
|
-
#
|
28
|
-
attr_accessor :
|
29
|
-
|
30
|
-
#
|
31
|
-
attr_accessor :
|
32
|
-
|
33
|
-
#
|
34
|
-
attr_accessor :
|
35
|
-
|
36
|
-
#
|
37
|
-
attr_accessor :
|
38
|
-
|
39
|
-
#
|
40
|
-
attr_accessor :
|
41
|
-
|
42
|
-
#
|
43
|
-
attr_accessor :
|
44
|
-
|
45
|
-
#
|
46
|
-
attr_accessor :
|
47
|
-
|
48
|
-
#
|
49
|
-
attr_accessor :
|
50
|
-
|
51
|
-
#
|
52
|
-
attr_accessor :
|
53
|
-
|
54
|
-
# Indicates
|
55
|
-
attr_accessor :
|
56
|
-
|
57
|
-
# Indicates
|
58
|
-
attr_accessor :
|
59
|
-
|
60
|
-
#
|
61
|
-
attr_accessor :
|
62
|
-
|
63
|
-
#
|
64
|
-
attr_accessor :
|
65
|
-
|
66
|
-
#
|
67
|
-
attr_accessor :
|
68
|
-
|
69
|
-
#
|
70
|
-
attr_accessor :
|
71
|
-
|
72
|
-
# Indicates
|
73
|
-
attr_accessor :
|
74
|
-
|
75
|
-
#
|
76
|
-
attr_accessor :
|
77
|
-
|
78
|
-
#
|
79
|
-
attr_accessor :
|
80
|
-
|
81
|
-
#
|
82
|
-
attr_accessor :
|
83
|
-
|
84
|
-
#
|
85
|
-
attr_accessor :
|
86
|
-
|
87
|
-
#
|
88
|
-
attr_accessor :
|
89
|
-
|
90
|
-
#
|
91
|
-
attr_accessor :
|
92
|
-
|
93
|
-
#
|
94
|
-
attr_accessor :
|
95
|
-
|
96
|
-
#
|
97
|
-
attr_accessor :
|
98
|
-
|
99
|
-
#
|
100
|
-
attr_accessor :
|
101
|
-
|
102
|
-
#
|
103
|
-
attr_accessor :
|
104
|
-
|
105
|
-
#
|
106
|
-
attr_accessor :
|
107
|
-
|
108
|
-
#
|
109
|
-
attr_accessor :
|
110
|
-
|
111
|
-
#
|
112
|
-
attr_accessor :
|
113
|
-
|
114
|
-
#
|
115
|
-
attr_accessor :
|
116
|
-
|
117
|
-
#
|
118
|
-
attr_accessor :
|
119
|
-
|
120
|
-
#
|
121
|
-
attr_accessor :
|
122
|
-
|
123
|
-
#
|
124
|
-
attr_accessor :
|
125
|
-
|
126
|
-
#
|
127
|
-
attr_accessor :
|
128
|
-
|
129
|
-
#
|
130
|
-
attr_accessor :
|
131
|
-
|
132
|
-
#
|
133
|
-
attr_accessor :
|
134
|
-
|
135
|
-
#
|
136
|
-
attr_accessor :
|
137
|
-
|
138
|
-
#
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
:'
|
145
|
-
:'
|
146
|
-
:'
|
147
|
-
:'
|
148
|
-
:'
|
149
|
-
:'
|
150
|
-
:'
|
151
|
-
:'
|
152
|
-
:'
|
153
|
-
:'
|
154
|
-
:'
|
155
|
-
:'
|
156
|
-
:'
|
157
|
-
:'
|
158
|
-
:'
|
159
|
-
:'
|
160
|
-
:'
|
161
|
-
:'
|
162
|
-
:'
|
163
|
-
:'
|
164
|
-
:'
|
165
|
-
:'
|
166
|
-
:'
|
167
|
-
:'
|
168
|
-
:'
|
169
|
-
:'
|
170
|
-
:'
|
171
|
-
:'
|
172
|
-
:'
|
173
|
-
:'
|
174
|
-
:'
|
175
|
-
:'
|
176
|
-
:'
|
177
|
-
:'
|
178
|
-
:'
|
179
|
-
:'
|
180
|
-
:'
|
181
|
-
:'
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
:'
|
193
|
-
:'
|
194
|
-
:'
|
195
|
-
:'
|
196
|
-
:'
|
197
|
-
:'
|
198
|
-
:'
|
199
|
-
:'
|
200
|
-
:'
|
201
|
-
:'
|
202
|
-
:'
|
203
|
-
:'
|
204
|
-
:'
|
205
|
-
:'
|
206
|
-
:'
|
207
|
-
:'
|
208
|
-
:'
|
209
|
-
:'
|
210
|
-
:'
|
211
|
-
:'
|
212
|
-
:'
|
213
|
-
:'
|
214
|
-
:'
|
215
|
-
:'
|
216
|
-
:'
|
217
|
-
:'
|
218
|
-
:'
|
219
|
-
:'
|
220
|
-
:'
|
221
|
-
:'
|
222
|
-
:'
|
223
|
-
:'
|
224
|
-
:'
|
225
|
-
:'
|
226
|
-
:'
|
227
|
-
:'
|
228
|
-
:'
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
:'
|
241
|
-
:'
|
242
|
-
:'
|
243
|
-
:'
|
244
|
-
:'
|
245
|
-
:'
|
246
|
-
:'
|
247
|
-
:'
|
248
|
-
:'
|
249
|
-
:'
|
250
|
-
:'
|
251
|
-
:'
|
252
|
-
:'
|
253
|
-
:'
|
254
|
-
:'
|
255
|
-
:'
|
256
|
-
:'
|
257
|
-
:'
|
258
|
-
:'
|
259
|
-
:'
|
260
|
-
:'
|
261
|
-
:'
|
262
|
-
:'
|
263
|
-
:'
|
264
|
-
:'
|
265
|
-
:'
|
266
|
-
:'
|
267
|
-
:'
|
268
|
-
:'
|
269
|
-
:'
|
270
|
-
:'
|
271
|
-
:'
|
272
|
-
:'
|
273
|
-
:'
|
274
|
-
:'
|
275
|
-
:'
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
#
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
#
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
#
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
#
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
#
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
#
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
#
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
#
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
#
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
#
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
#
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
#
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
#
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
#
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
#
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
#
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
#
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
#
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
#
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
#
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
#
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
#
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
#
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
#
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
#
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
#
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
#
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
#
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
#
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
#
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
#
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
#
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
when :
|
743
|
-
|
744
|
-
when :
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
when :
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
value
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
elsif value.respond_to? :to_hash
|
814
|
-
value.to_hash
|
815
|
-
else
|
816
|
-
value
|
817
|
-
end
|
818
|
-
end
|
819
|
-
end
|
820
|
-
end
|
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.4.38
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'date'
|
13
|
+
|
14
|
+
module CyberSource
|
15
|
+
class Riskv1decisionsConsumerAuthenticationInformation
|
16
|
+
attr_accessor :strong_authentication
|
17
|
+
|
18
|
+
# 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
|
19
|
+
attr_accessor :acs_window_size
|
20
|
+
|
21
|
+
# Data that documents and supports a specific authentication process.
|
22
|
+
attr_accessor :alternate_authentication_data
|
23
|
+
|
24
|
+
# Date and time in UTC of the cardholder authentication. Format: YYYYMMDDHHMM
|
25
|
+
attr_accessor :alternate_authentication_date
|
26
|
+
|
27
|
+
# Mechanism used by the cardholder to authenticate to the 3D Secure requestor. Possible values: - `01`: No authentication occurred - `02`: Login using merchant system credentials - `03`: Login using Federated ID - `04`: Login using issuer credentials - `05`: Login using third-party authenticator - `06`: Login using FIDO Authenticator
|
28
|
+
attr_accessor :alternate_authentication_method
|
29
|
+
|
30
|
+
# The date/time of the authentication at the 3DS servers. RISK update authorization service in auth request payload with value returned in `consumerAuthenticationInformation.alternateAuthenticationData` if merchant calls via CYBS or field can be provided by merchant in authorization request if calling an external 3DS provider. This field is supported for Cartes Bancaires Fast'R transactions on Credit Mutuel-CIC. Format: YYYYMMDDHHMMSS
|
31
|
+
attr_accessor :authentication_date
|
32
|
+
|
33
|
+
# Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages.For Rupay,this is passed only in Re-Send OTP usecase. **Note**: Required for Standard integration, Rupay Seamless server to server integration for enroll service. Required for Hybrid integration for validate service.
|
34
|
+
attr_accessor :authentication_transaction_id
|
35
|
+
|
36
|
+
# This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values. 01:NW- Transaction performed at domestic merchant. 02:TW- Transaction performed at domestic merchant along with Token provisioning. 03:IT- Transaction performed at International merchant. 04:AT- Authentication Transaction Only. 05:AW- Authentication transaction for provisioning. 06:DI- Domestic InApp Transaction. 07:II- International InApp transaction. 08:GC- Guest Checkout 09:ST- SI Authentication Transaction only 10:SW- SI Authorization along with token provisioning
|
37
|
+
attr_accessor :transaction_flow_indicator
|
38
|
+
|
39
|
+
# 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
|
40
|
+
attr_accessor :challenge_cancel_code
|
41
|
+
|
42
|
+
# 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`.
|
43
|
+
attr_accessor :challenge_code
|
44
|
+
|
45
|
+
# 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.
|
46
|
+
attr_accessor :challenge_status
|
47
|
+
|
48
|
+
# An alias that uniquely identifies the customer's account and credit card on file. Note This field is required if Tokenization is enabled in the merchant profile settings.
|
49
|
+
attr_accessor :customer_card_alias
|
50
|
+
|
51
|
+
# Indicates whether the 3DS Requestor requests the ACS to utilize Decoupled Authentication and agrees to utilize Decoupled Authentication if the ACS confirms its use. Possible Values: Y - Decoupled Authentication is supported and preferred if challenge is necessary N - Do not use Decoupled Authentication **Default Value**: N
|
52
|
+
attr_accessor :decoupled_authentication_indicator
|
53
|
+
|
54
|
+
# Indicates the maximum amount of time that the 3DS Requestor will wait for an ACS (Active control server) to provide the results of a Decoupled Authentication transaction (in minutes). Possible Values: Numeric values between 1 and 10080 accepted.
|
55
|
+
attr_accessor :decoupled_authentication_max_time
|
56
|
+
|
57
|
+
# Indicates that the card being used is the one designated as the primary payment card for purchase. Recommended for Discover ProtectBuy.
|
58
|
+
attr_accessor :default_card
|
59
|
+
|
60
|
+
# Determines the channel that the transaction came through. Possible Values: SDK/Browser/3RI. 3RI - 3DS request initiated.
|
61
|
+
attr_accessor :device_channel
|
62
|
+
|
63
|
+
# 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.
|
64
|
+
attr_accessor :installment_total_count
|
65
|
+
|
66
|
+
# 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
|
67
|
+
attr_accessor :merchant_fraud_rate
|
68
|
+
|
69
|
+
# Indicates whether the customer has opted in for marketing offers. Recommended for Discover ProtectBuy.
|
70
|
+
attr_accessor :marketing_opt_in
|
71
|
+
|
72
|
+
# Indicates origin of the marketing offer. Recommended for Discover ProtectBuy.
|
73
|
+
attr_accessor :marketing_source
|
74
|
+
|
75
|
+
# Merchant category code. **Important** Required only for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
|
76
|
+
attr_accessor :mcc
|
77
|
+
|
78
|
+
# Risk Score provided by merchants. This is specific for CB transactions.
|
79
|
+
attr_accessor :merchant_score
|
80
|
+
|
81
|
+
# 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
|
82
|
+
attr_accessor :message_category
|
83
|
+
|
84
|
+
# 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
|
85
|
+
attr_accessor :npa_code
|
86
|
+
|
87
|
+
# Specifies the Brazilian payment account type used for the transaction. This field overrides other payment types that might be specified in the request. Use one of the following values for this field: - `NA`: Not applicable. Do not override other payment types that are specified in the request. - `CR`: Credit card. - `DB`: Debit card. - `VSAVR`: Visa Vale Refeicao - `VSAVA`: Visa Vale Alimentacao **Important** Required only for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
|
88
|
+
attr_accessor :override_payment_method
|
89
|
+
|
90
|
+
# Two-character [ISO Standard Country Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf)..
|
91
|
+
attr_accessor :override_country_code
|
92
|
+
|
93
|
+
# This field carry data that the ACS can use to verify the authentication process.
|
94
|
+
attr_accessor :prior_authentication_data
|
95
|
+
|
96
|
+
# Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. 01 - Frictionless authentication occurred by ACS 02 - Cardholder challenge occurred by ACS 03 - AVS verified 04 - Other issuer methods 05-79 - Reserved for EMVCo future use (values invalid until defined by EMVCo) 80-99 - Reserved for DS use
|
97
|
+
attr_accessor :prior_authentication_method
|
98
|
+
|
99
|
+
# This data element contains a ACS Transaction ID for a prior authenticated transaction. For example, the first recurring transaction that was authenticated with the cardholder
|
100
|
+
attr_accessor :prior_authentication_reference_id
|
101
|
+
|
102
|
+
# Date and time in UTC of the prior cardholder authentication. Format – YYYYMMDDHHMM
|
103
|
+
attr_accessor :prior_authentication_time
|
104
|
+
|
105
|
+
# Specifies the product code, which designates the type of transaction. Specify one of the following values for this field: - AIR: Airline purchase Important Required for American Express SafeKey (U.S.). - `ACC`: Accommodation Rental - `ACF`: Account funding - `CHA`: Check acceptance - `DIG`: Digital Goods - `DSP`: Cash Dispensing - `GAS`: Fuel - `GEN`: General Retail - `LUX`: Luxury Retail - `PAL`: Prepaid activation and load - `PHY`: Goods or services purchase - `QCT`: Quasi-cash transaction - `REN`: Car Rental - `RES`: Restaurant - `SVC`: Services - `TBD`: Other - `TRA`: Travel **Important** Required for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
|
106
|
+
attr_accessor :product_code
|
107
|
+
|
108
|
+
# The URL of the merchant's return page. CyberSource adds this return URL to the step-up JWT and returns it in the response of the Payer Authentication enrollment call. The merchant's return URL page serves as a listening URL. Once the bank session completes, the merchant receives a POST to their URL. This response contains the completed bank session's transactionId. The merchant's return page should capture the transaction ID and send it in the Payer Authentication validation call.
|
109
|
+
attr_accessor :return_url
|
110
|
+
|
111
|
+
# Cardinal's directory server assigned 3DS Requestor ID value
|
112
|
+
attr_accessor :requestor_id
|
113
|
+
|
114
|
+
# Indicates the type of 3RI request. Possible Values: 01 - Recurring transaction 02 - Installment transaction 03 - Add card 04 - Maintain card 05 - Account verification 06 - Split/delayed shipment 07 - Top-up 08 - Mail Order 09 - Telephone Order 10 - Whitelist status check 11 - Other payment
|
115
|
+
attr_accessor :requestor_initiated_authentication_indicator
|
116
|
+
|
117
|
+
# Cardinal's directory server assigned 3DS Requestor Name value
|
118
|
+
attr_accessor :requestor_name
|
119
|
+
|
120
|
+
# Reference ID that corresponds to the device fingerprinting data that was collected previously. Note Required for Hybrid integration.
|
121
|
+
attr_accessor :reference_id
|
122
|
+
|
123
|
+
# 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
|
124
|
+
attr_accessor :sdk_max_timeout
|
125
|
+
|
126
|
+
# Indicates dedicated payment processes and procedures were used, potential secure corporate payment exemption applies. Possible Values : 0/1
|
127
|
+
attr_accessor :secure_corporate_payment_indicator
|
128
|
+
|
129
|
+
# 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
|
130
|
+
attr_accessor :transaction_mode
|
131
|
+
|
132
|
+
# 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
|
133
|
+
attr_accessor :white_list_status
|
134
|
+
|
135
|
+
# Risk Assessment from Mastercard. This is to be sent by merchant if they would like to request a score
|
136
|
+
attr_accessor :score_request
|
137
|
+
|
138
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
139
|
+
def self.attribute_map
|
140
|
+
{
|
141
|
+
:'strong_authentication' => :'strongAuthentication',
|
142
|
+
:'acs_window_size' => :'acsWindowSize',
|
143
|
+
:'alternate_authentication_data' => :'alternateAuthenticationData',
|
144
|
+
:'alternate_authentication_date' => :'alternateAuthenticationDate',
|
145
|
+
:'alternate_authentication_method' => :'alternateAuthenticationMethod',
|
146
|
+
:'authentication_date' => :'authenticationDate',
|
147
|
+
:'authentication_transaction_id' => :'authenticationTransactionId',
|
148
|
+
:'transaction_flow_indicator' => :'transactionFlowIndicator',
|
149
|
+
:'challenge_cancel_code' => :'challengeCancelCode',
|
150
|
+
:'challenge_code' => :'challengeCode',
|
151
|
+
:'challenge_status' => :'challengeStatus',
|
152
|
+
:'customer_card_alias' => :'customerCardAlias',
|
153
|
+
:'decoupled_authentication_indicator' => :'decoupledAuthenticationIndicator',
|
154
|
+
:'decoupled_authentication_max_time' => :'decoupledAuthenticationMaxTime',
|
155
|
+
:'default_card' => :'defaultCard',
|
156
|
+
:'device_channel' => :'deviceChannel',
|
157
|
+
:'installment_total_count' => :'installmentTotalCount',
|
158
|
+
:'merchant_fraud_rate' => :'merchantFraudRate',
|
159
|
+
:'marketing_opt_in' => :'marketingOptIn',
|
160
|
+
:'marketing_source' => :'marketingSource',
|
161
|
+
:'mcc' => :'mcc',
|
162
|
+
:'merchant_score' => :'merchantScore',
|
163
|
+
:'message_category' => :'messageCategory',
|
164
|
+
:'npa_code' => :'npaCode',
|
165
|
+
:'override_payment_method' => :'overridePaymentMethod',
|
166
|
+
:'override_country_code' => :'overrideCountryCode',
|
167
|
+
:'prior_authentication_data' => :'priorAuthenticationData',
|
168
|
+
:'prior_authentication_method' => :'priorAuthenticationMethod',
|
169
|
+
:'prior_authentication_reference_id' => :'priorAuthenticationReferenceId',
|
170
|
+
:'prior_authentication_time' => :'priorAuthenticationTime',
|
171
|
+
:'product_code' => :'productCode',
|
172
|
+
:'return_url' => :'returnUrl',
|
173
|
+
:'requestor_id' => :'requestorId',
|
174
|
+
:'requestor_initiated_authentication_indicator' => :'requestorInitiatedAuthenticationIndicator',
|
175
|
+
:'requestor_name' => :'requestorName',
|
176
|
+
:'reference_id' => :'referenceId',
|
177
|
+
:'sdk_max_timeout' => :'sdkMaxTimeout',
|
178
|
+
:'secure_corporate_payment_indicator' => :'secureCorporatePaymentIndicator',
|
179
|
+
:'transaction_mode' => :'transactionMode',
|
180
|
+
:'white_list_status' => :'whiteListStatus',
|
181
|
+
:'score_request' => :'scoreRequest'
|
182
|
+
}
|
183
|
+
end
|
184
|
+
|
185
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
186
|
+
def self.json_map
|
187
|
+
{
|
188
|
+
:'strong_authentication' => :'strong_authentication',
|
189
|
+
:'acs_window_size' => :'acs_window_size',
|
190
|
+
:'alternate_authentication_data' => :'alternate_authentication_data',
|
191
|
+
:'alternate_authentication_date' => :'alternate_authentication_date',
|
192
|
+
:'alternate_authentication_method' => :'alternate_authentication_method',
|
193
|
+
:'authentication_date' => :'authentication_date',
|
194
|
+
:'authentication_transaction_id' => :'authentication_transaction_id',
|
195
|
+
:'transaction_flow_indicator' => :'transaction_flow_indicator',
|
196
|
+
:'challenge_cancel_code' => :'challenge_cancel_code',
|
197
|
+
:'challenge_code' => :'challenge_code',
|
198
|
+
:'challenge_status' => :'challenge_status',
|
199
|
+
:'customer_card_alias' => :'customer_card_alias',
|
200
|
+
:'decoupled_authentication_indicator' => :'decoupled_authentication_indicator',
|
201
|
+
:'decoupled_authentication_max_time' => :'decoupled_authentication_max_time',
|
202
|
+
:'default_card' => :'default_card',
|
203
|
+
:'device_channel' => :'device_channel',
|
204
|
+
:'installment_total_count' => :'installment_total_count',
|
205
|
+
:'merchant_fraud_rate' => :'merchant_fraud_rate',
|
206
|
+
:'marketing_opt_in' => :'marketing_opt_in',
|
207
|
+
:'marketing_source' => :'marketing_source',
|
208
|
+
:'mcc' => :'mcc',
|
209
|
+
:'merchant_score' => :'merchant_score',
|
210
|
+
:'message_category' => :'message_category',
|
211
|
+
:'npa_code' => :'npa_code',
|
212
|
+
:'override_payment_method' => :'override_payment_method',
|
213
|
+
:'override_country_code' => :'override_country_code',
|
214
|
+
:'prior_authentication_data' => :'prior_authentication_data',
|
215
|
+
:'prior_authentication_method' => :'prior_authentication_method',
|
216
|
+
:'prior_authentication_reference_id' => :'prior_authentication_reference_id',
|
217
|
+
:'prior_authentication_time' => :'prior_authentication_time',
|
218
|
+
:'product_code' => :'product_code',
|
219
|
+
:'return_url' => :'return_url',
|
220
|
+
:'requestor_id' => :'requestor_id',
|
221
|
+
:'requestor_initiated_authentication_indicator' => :'requestor_initiated_authentication_indicator',
|
222
|
+
:'requestor_name' => :'requestor_name',
|
223
|
+
:'reference_id' => :'reference_id',
|
224
|
+
:'sdk_max_timeout' => :'sdk_max_timeout',
|
225
|
+
:'secure_corporate_payment_indicator' => :'secure_corporate_payment_indicator',
|
226
|
+
:'transaction_mode' => :'transaction_mode',
|
227
|
+
:'white_list_status' => :'white_list_status',
|
228
|
+
:'score_request' => :'score_request'
|
229
|
+
}
|
230
|
+
end
|
231
|
+
|
232
|
+
# Attribute type mapping.
|
233
|
+
def self.swagger_types
|
234
|
+
{
|
235
|
+
:'strong_authentication' => :'Riskv1decisionsConsumerAuthenticationInformationStrongAuthentication',
|
236
|
+
:'acs_window_size' => :'String',
|
237
|
+
:'alternate_authentication_data' => :'String',
|
238
|
+
:'alternate_authentication_date' => :'String',
|
239
|
+
:'alternate_authentication_method' => :'String',
|
240
|
+
:'authentication_date' => :'String',
|
241
|
+
:'authentication_transaction_id' => :'String',
|
242
|
+
:'transaction_flow_indicator' => :'Integer',
|
243
|
+
:'challenge_cancel_code' => :'String',
|
244
|
+
:'challenge_code' => :'String',
|
245
|
+
:'challenge_status' => :'String',
|
246
|
+
:'customer_card_alias' => :'String',
|
247
|
+
:'decoupled_authentication_indicator' => :'String',
|
248
|
+
:'decoupled_authentication_max_time' => :'String',
|
249
|
+
:'default_card' => :'BOOLEAN',
|
250
|
+
:'device_channel' => :'String',
|
251
|
+
:'installment_total_count' => :'Integer',
|
252
|
+
:'merchant_fraud_rate' => :'String',
|
253
|
+
:'marketing_opt_in' => :'BOOLEAN',
|
254
|
+
:'marketing_source' => :'String',
|
255
|
+
:'mcc' => :'String',
|
256
|
+
:'merchant_score' => :'Integer',
|
257
|
+
:'message_category' => :'String',
|
258
|
+
:'npa_code' => :'String',
|
259
|
+
:'override_payment_method' => :'String',
|
260
|
+
:'override_country_code' => :'String',
|
261
|
+
:'prior_authentication_data' => :'String',
|
262
|
+
:'prior_authentication_method' => :'String',
|
263
|
+
:'prior_authentication_reference_id' => :'String',
|
264
|
+
:'prior_authentication_time' => :'String',
|
265
|
+
:'product_code' => :'String',
|
266
|
+
:'return_url' => :'String',
|
267
|
+
:'requestor_id' => :'String',
|
268
|
+
:'requestor_initiated_authentication_indicator' => :'String',
|
269
|
+
:'requestor_name' => :'String',
|
270
|
+
:'reference_id' => :'String',
|
271
|
+
:'sdk_max_timeout' => :'String',
|
272
|
+
:'secure_corporate_payment_indicator' => :'String',
|
273
|
+
:'transaction_mode' => :'String',
|
274
|
+
:'white_list_status' => :'String',
|
275
|
+
:'score_request' => :'Integer'
|
276
|
+
}
|
277
|
+
end
|
278
|
+
|
279
|
+
# Initializes the object
|
280
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
281
|
+
def initialize(attributes = {})
|
282
|
+
return unless attributes.is_a?(Hash)
|
283
|
+
|
284
|
+
# convert string to symbol for hash key
|
285
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
286
|
+
|
287
|
+
if attributes.has_key?(:'strongAuthentication')
|
288
|
+
self.strong_authentication = attributes[:'strongAuthentication']
|
289
|
+
end
|
290
|
+
|
291
|
+
if attributes.has_key?(:'acsWindowSize')
|
292
|
+
self.acs_window_size = attributes[:'acsWindowSize']
|
293
|
+
end
|
294
|
+
|
295
|
+
if attributes.has_key?(:'alternateAuthenticationData')
|
296
|
+
self.alternate_authentication_data = attributes[:'alternateAuthenticationData']
|
297
|
+
end
|
298
|
+
|
299
|
+
if attributes.has_key?(:'alternateAuthenticationDate')
|
300
|
+
self.alternate_authentication_date = attributes[:'alternateAuthenticationDate']
|
301
|
+
end
|
302
|
+
|
303
|
+
if attributes.has_key?(:'alternateAuthenticationMethod')
|
304
|
+
self.alternate_authentication_method = attributes[:'alternateAuthenticationMethod']
|
305
|
+
end
|
306
|
+
|
307
|
+
if attributes.has_key?(:'authenticationDate')
|
308
|
+
self.authentication_date = attributes[:'authenticationDate']
|
309
|
+
end
|
310
|
+
|
311
|
+
if attributes.has_key?(:'authenticationTransactionId')
|
312
|
+
self.authentication_transaction_id = attributes[:'authenticationTransactionId']
|
313
|
+
end
|
314
|
+
|
315
|
+
if attributes.has_key?(:'transactionFlowIndicator')
|
316
|
+
self.transaction_flow_indicator = attributes[:'transactionFlowIndicator']
|
317
|
+
end
|
318
|
+
|
319
|
+
if attributes.has_key?(:'challengeCancelCode')
|
320
|
+
self.challenge_cancel_code = attributes[:'challengeCancelCode']
|
321
|
+
end
|
322
|
+
|
323
|
+
if attributes.has_key?(:'challengeCode')
|
324
|
+
self.challenge_code = attributes[:'challengeCode']
|
325
|
+
end
|
326
|
+
|
327
|
+
if attributes.has_key?(:'challengeStatus')
|
328
|
+
self.challenge_status = attributes[:'challengeStatus']
|
329
|
+
end
|
330
|
+
|
331
|
+
if attributes.has_key?(:'customerCardAlias')
|
332
|
+
self.customer_card_alias = attributes[:'customerCardAlias']
|
333
|
+
end
|
334
|
+
|
335
|
+
if attributes.has_key?(:'decoupledAuthenticationIndicator')
|
336
|
+
self.decoupled_authentication_indicator = attributes[:'decoupledAuthenticationIndicator']
|
337
|
+
end
|
338
|
+
|
339
|
+
if attributes.has_key?(:'decoupledAuthenticationMaxTime')
|
340
|
+
self.decoupled_authentication_max_time = attributes[:'decoupledAuthenticationMaxTime']
|
341
|
+
end
|
342
|
+
|
343
|
+
if attributes.has_key?(:'defaultCard')
|
344
|
+
self.default_card = attributes[:'defaultCard']
|
345
|
+
end
|
346
|
+
|
347
|
+
if attributes.has_key?(:'deviceChannel')
|
348
|
+
self.device_channel = attributes[:'deviceChannel']
|
349
|
+
end
|
350
|
+
|
351
|
+
if attributes.has_key?(:'installmentTotalCount')
|
352
|
+
self.installment_total_count = attributes[:'installmentTotalCount']
|
353
|
+
end
|
354
|
+
|
355
|
+
if attributes.has_key?(:'merchantFraudRate')
|
356
|
+
self.merchant_fraud_rate = attributes[:'merchantFraudRate']
|
357
|
+
end
|
358
|
+
|
359
|
+
if attributes.has_key?(:'marketingOptIn')
|
360
|
+
self.marketing_opt_in = attributes[:'marketingOptIn']
|
361
|
+
end
|
362
|
+
|
363
|
+
if attributes.has_key?(:'marketingSource')
|
364
|
+
self.marketing_source = attributes[:'marketingSource']
|
365
|
+
end
|
366
|
+
|
367
|
+
if attributes.has_key?(:'mcc')
|
368
|
+
self.mcc = attributes[:'mcc']
|
369
|
+
end
|
370
|
+
|
371
|
+
if attributes.has_key?(:'merchantScore')
|
372
|
+
self.merchant_score = attributes[:'merchantScore']
|
373
|
+
end
|
374
|
+
|
375
|
+
if attributes.has_key?(:'messageCategory')
|
376
|
+
self.message_category = attributes[:'messageCategory']
|
377
|
+
end
|
378
|
+
|
379
|
+
if attributes.has_key?(:'npaCode')
|
380
|
+
self.npa_code = attributes[:'npaCode']
|
381
|
+
end
|
382
|
+
|
383
|
+
if attributes.has_key?(:'overridePaymentMethod')
|
384
|
+
self.override_payment_method = attributes[:'overridePaymentMethod']
|
385
|
+
end
|
386
|
+
|
387
|
+
if attributes.has_key?(:'overrideCountryCode')
|
388
|
+
self.override_country_code = attributes[:'overrideCountryCode']
|
389
|
+
end
|
390
|
+
|
391
|
+
if attributes.has_key?(:'priorAuthenticationData')
|
392
|
+
self.prior_authentication_data = attributes[:'priorAuthenticationData']
|
393
|
+
end
|
394
|
+
|
395
|
+
if attributes.has_key?(:'priorAuthenticationMethod')
|
396
|
+
self.prior_authentication_method = attributes[:'priorAuthenticationMethod']
|
397
|
+
end
|
398
|
+
|
399
|
+
if attributes.has_key?(:'priorAuthenticationReferenceId')
|
400
|
+
self.prior_authentication_reference_id = attributes[:'priorAuthenticationReferenceId']
|
401
|
+
end
|
402
|
+
|
403
|
+
if attributes.has_key?(:'priorAuthenticationTime')
|
404
|
+
self.prior_authentication_time = attributes[:'priorAuthenticationTime']
|
405
|
+
end
|
406
|
+
|
407
|
+
if attributes.has_key?(:'productCode')
|
408
|
+
self.product_code = attributes[:'productCode']
|
409
|
+
end
|
410
|
+
|
411
|
+
if attributes.has_key?(:'returnUrl')
|
412
|
+
self.return_url = attributes[:'returnUrl']
|
413
|
+
end
|
414
|
+
|
415
|
+
if attributes.has_key?(:'requestorId')
|
416
|
+
self.requestor_id = attributes[:'requestorId']
|
417
|
+
end
|
418
|
+
|
419
|
+
if attributes.has_key?(:'requestorInitiatedAuthenticationIndicator')
|
420
|
+
self.requestor_initiated_authentication_indicator = attributes[:'requestorInitiatedAuthenticationIndicator']
|
421
|
+
end
|
422
|
+
|
423
|
+
if attributes.has_key?(:'requestorName')
|
424
|
+
self.requestor_name = attributes[:'requestorName']
|
425
|
+
end
|
426
|
+
|
427
|
+
if attributes.has_key?(:'referenceId')
|
428
|
+
self.reference_id = attributes[:'referenceId']
|
429
|
+
end
|
430
|
+
|
431
|
+
if attributes.has_key?(:'sdkMaxTimeout')
|
432
|
+
self.sdk_max_timeout = attributes[:'sdkMaxTimeout']
|
433
|
+
end
|
434
|
+
|
435
|
+
if attributes.has_key?(:'secureCorporatePaymentIndicator')
|
436
|
+
self.secure_corporate_payment_indicator = attributes[:'secureCorporatePaymentIndicator']
|
437
|
+
end
|
438
|
+
|
439
|
+
if attributes.has_key?(:'transactionMode')
|
440
|
+
self.transaction_mode = attributes[:'transactionMode']
|
441
|
+
end
|
442
|
+
|
443
|
+
if attributes.has_key?(:'whiteListStatus')
|
444
|
+
self.white_list_status = attributes[:'whiteListStatus']
|
445
|
+
end
|
446
|
+
|
447
|
+
if attributes.has_key?(:'scoreRequest')
|
448
|
+
self.score_request = attributes[:'scoreRequest']
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|
452
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
453
|
+
# @return Array for valid properties with the reasons
|
454
|
+
def list_invalid_properties
|
455
|
+
invalid_properties = Array.new
|
456
|
+
if @device_channel.nil?
|
457
|
+
invalid_properties.push('invalid value for "device_channel", device_channel cannot be nil.')
|
458
|
+
end
|
459
|
+
|
460
|
+
invalid_properties
|
461
|
+
end
|
462
|
+
|
463
|
+
# Check to see if the all the properties in the model are valid
|
464
|
+
# @return true if the model is valid
|
465
|
+
def valid?
|
466
|
+
return false if @device_channel.nil?
|
467
|
+
true
|
468
|
+
end
|
469
|
+
|
470
|
+
# Custom attribute writer method with validation
|
471
|
+
# @param [Object] acs_window_size Value to be assigned
|
472
|
+
def acs_window_size=(acs_window_size)
|
473
|
+
@acs_window_size = acs_window_size
|
474
|
+
end
|
475
|
+
|
476
|
+
# Custom attribute writer method with validation
|
477
|
+
# @param [Object] alternate_authentication_data Value to be assigned
|
478
|
+
def alternate_authentication_data=(alternate_authentication_data)
|
479
|
+
@alternate_authentication_data = alternate_authentication_data
|
480
|
+
end
|
481
|
+
|
482
|
+
# Custom attribute writer method with validation
|
483
|
+
# @param [Object] alternate_authentication_date Value to be assigned
|
484
|
+
def alternate_authentication_date=(alternate_authentication_date)
|
485
|
+
@alternate_authentication_date = alternate_authentication_date
|
486
|
+
end
|
487
|
+
|
488
|
+
# Custom attribute writer method with validation
|
489
|
+
# @param [Object] authentication_date Value to be assigned
|
490
|
+
def authentication_date=(authentication_date)
|
491
|
+
@authentication_date = authentication_date
|
492
|
+
end
|
493
|
+
|
494
|
+
# Custom attribute writer method with validation
|
495
|
+
# @param [Object] authentication_transaction_id Value to be assigned
|
496
|
+
def authentication_transaction_id=(authentication_transaction_id)
|
497
|
+
@authentication_transaction_id = authentication_transaction_id
|
498
|
+
end
|
499
|
+
|
500
|
+
# Custom attribute writer method with validation
|
501
|
+
# @param [Object] challenge_cancel_code Value to be assigned
|
502
|
+
def challenge_cancel_code=(challenge_cancel_code)
|
503
|
+
@challenge_cancel_code = challenge_cancel_code
|
504
|
+
end
|
505
|
+
|
506
|
+
# Custom attribute writer method with validation
|
507
|
+
# @param [Object] challenge_status Value to be assigned
|
508
|
+
def challenge_status=(challenge_status)
|
509
|
+
@challenge_status = challenge_status
|
510
|
+
end
|
511
|
+
|
512
|
+
# Custom attribute writer method with validation
|
513
|
+
# @param [Object] customer_card_alias Value to be assigned
|
514
|
+
def customer_card_alias=(customer_card_alias)
|
515
|
+
@customer_card_alias = customer_card_alias
|
516
|
+
end
|
517
|
+
|
518
|
+
# Custom attribute writer method with validation
|
519
|
+
# @param [Object] decoupled_authentication_indicator Value to be assigned
|
520
|
+
def decoupled_authentication_indicator=(decoupled_authentication_indicator)
|
521
|
+
@decoupled_authentication_indicator = decoupled_authentication_indicator
|
522
|
+
end
|
523
|
+
|
524
|
+
# Custom attribute writer method with validation
|
525
|
+
# @param [Object] decoupled_authentication_max_time Value to be assigned
|
526
|
+
def decoupled_authentication_max_time=(decoupled_authentication_max_time)
|
527
|
+
@decoupled_authentication_max_time = decoupled_authentication_max_time
|
528
|
+
end
|
529
|
+
|
530
|
+
# Custom attribute writer method with validation
|
531
|
+
# @param [Object] device_channel Value to be assigned
|
532
|
+
def device_channel=(device_channel)
|
533
|
+
#if device_channel.nil?
|
534
|
+
#fail ArgumentError, 'device_channel cannot be nil'
|
535
|
+
#end
|
536
|
+
|
537
|
+
@device_channel = device_channel
|
538
|
+
end
|
539
|
+
|
540
|
+
# Custom attribute writer method with validation
|
541
|
+
# @param [Object] merchant_fraud_rate Value to be assigned
|
542
|
+
def merchant_fraud_rate=(merchant_fraud_rate)
|
543
|
+
@merchant_fraud_rate = merchant_fraud_rate
|
544
|
+
end
|
545
|
+
|
546
|
+
# Custom attribute writer method with validation
|
547
|
+
# @param [Object] marketing_source Value to be assigned
|
548
|
+
def marketing_source=(marketing_source)
|
549
|
+
@marketing_source = marketing_source
|
550
|
+
end
|
551
|
+
|
552
|
+
# Custom attribute writer method with validation
|
553
|
+
# @param [Object] mcc Value to be assigned
|
554
|
+
def mcc=(mcc)
|
555
|
+
@mcc = mcc
|
556
|
+
end
|
557
|
+
|
558
|
+
# Custom attribute writer method with validation
|
559
|
+
# @param [Object] npa_code Value to be assigned
|
560
|
+
def npa_code=(npa_code)
|
561
|
+
@npa_code = npa_code
|
562
|
+
end
|
563
|
+
|
564
|
+
# Custom attribute writer method with validation
|
565
|
+
# @param [Object] override_country_code Value to be assigned
|
566
|
+
def override_country_code=(override_country_code)
|
567
|
+
@override_country_code = override_country_code
|
568
|
+
end
|
569
|
+
|
570
|
+
# Custom attribute writer method with validation
|
571
|
+
# @param [Object] prior_authentication_data Value to be assigned
|
572
|
+
def prior_authentication_data=(prior_authentication_data)
|
573
|
+
@prior_authentication_data = prior_authentication_data
|
574
|
+
end
|
575
|
+
|
576
|
+
# Custom attribute writer method with validation
|
577
|
+
# @param [Object] prior_authentication_method Value to be assigned
|
578
|
+
def prior_authentication_method=(prior_authentication_method)
|
579
|
+
@prior_authentication_method = prior_authentication_method
|
580
|
+
end
|
581
|
+
|
582
|
+
# Custom attribute writer method with validation
|
583
|
+
# @param [Object] prior_authentication_reference_id Value to be assigned
|
584
|
+
def prior_authentication_reference_id=(prior_authentication_reference_id)
|
585
|
+
@prior_authentication_reference_id = prior_authentication_reference_id
|
586
|
+
end
|
587
|
+
|
588
|
+
# Custom attribute writer method with validation
|
589
|
+
# @param [Object] prior_authentication_time Value to be assigned
|
590
|
+
def prior_authentication_time=(prior_authentication_time)
|
591
|
+
@prior_authentication_time = prior_authentication_time
|
592
|
+
end
|
593
|
+
|
594
|
+
# Custom attribute writer method with validation
|
595
|
+
# @param [Object] product_code Value to be assigned
|
596
|
+
def product_code=(product_code)
|
597
|
+
@product_code = product_code
|
598
|
+
end
|
599
|
+
|
600
|
+
# Custom attribute writer method with validation
|
601
|
+
# @param [Object] return_url Value to be assigned
|
602
|
+
def return_url=(return_url)
|
603
|
+
@return_url = return_url
|
604
|
+
end
|
605
|
+
|
606
|
+
# Custom attribute writer method with validation
|
607
|
+
# @param [Object] requestor_id Value to be assigned
|
608
|
+
def requestor_id=(requestor_id)
|
609
|
+
@requestor_id = requestor_id
|
610
|
+
end
|
611
|
+
|
612
|
+
# Custom attribute writer method with validation
|
613
|
+
# @param [Object] requestor_initiated_authentication_indicator Value to be assigned
|
614
|
+
def requestor_initiated_authentication_indicator=(requestor_initiated_authentication_indicator)
|
615
|
+
@requestor_initiated_authentication_indicator = requestor_initiated_authentication_indicator
|
616
|
+
end
|
617
|
+
|
618
|
+
# Custom attribute writer method with validation
|
619
|
+
# @param [Object] requestor_name Value to be assigned
|
620
|
+
def requestor_name=(requestor_name)
|
621
|
+
@requestor_name = requestor_name
|
622
|
+
end
|
623
|
+
|
624
|
+
# Custom attribute writer method with validation
|
625
|
+
# @param [Object] reference_id Value to be assigned
|
626
|
+
def reference_id=(reference_id)
|
627
|
+
@reference_id = reference_id
|
628
|
+
end
|
629
|
+
|
630
|
+
# Custom attribute writer method with validation
|
631
|
+
# @param [Object] sdk_max_timeout Value to be assigned
|
632
|
+
def sdk_max_timeout=(sdk_max_timeout)
|
633
|
+
@sdk_max_timeout = sdk_max_timeout
|
634
|
+
end
|
635
|
+
|
636
|
+
# Custom attribute writer method with validation
|
637
|
+
# @param [Object] secure_corporate_payment_indicator Value to be assigned
|
638
|
+
def secure_corporate_payment_indicator=(secure_corporate_payment_indicator)
|
639
|
+
@secure_corporate_payment_indicator = secure_corporate_payment_indicator
|
640
|
+
end
|
641
|
+
|
642
|
+
# Custom attribute writer method with validation
|
643
|
+
# @param [Object] white_list_status Value to be assigned
|
644
|
+
def white_list_status=(white_list_status)
|
645
|
+
@white_list_status = white_list_status
|
646
|
+
end
|
647
|
+
|
648
|
+
# Checks equality by comparing each attribute.
|
649
|
+
# @param [Object] Object to be compared
|
650
|
+
def ==(o)
|
651
|
+
return true if self.equal?(o)
|
652
|
+
self.class == o.class &&
|
653
|
+
strong_authentication == o.strong_authentication &&
|
654
|
+
acs_window_size == o.acs_window_size &&
|
655
|
+
alternate_authentication_data == o.alternate_authentication_data &&
|
656
|
+
alternate_authentication_date == o.alternate_authentication_date &&
|
657
|
+
alternate_authentication_method == o.alternate_authentication_method &&
|
658
|
+
authentication_date == o.authentication_date &&
|
659
|
+
authentication_transaction_id == o.authentication_transaction_id &&
|
660
|
+
transaction_flow_indicator == o.transaction_flow_indicator &&
|
661
|
+
challenge_cancel_code == o.challenge_cancel_code &&
|
662
|
+
challenge_code == o.challenge_code &&
|
663
|
+
challenge_status == o.challenge_status &&
|
664
|
+
customer_card_alias == o.customer_card_alias &&
|
665
|
+
decoupled_authentication_indicator == o.decoupled_authentication_indicator &&
|
666
|
+
decoupled_authentication_max_time == o.decoupled_authentication_max_time &&
|
667
|
+
default_card == o.default_card &&
|
668
|
+
device_channel == o.device_channel &&
|
669
|
+
installment_total_count == o.installment_total_count &&
|
670
|
+
merchant_fraud_rate == o.merchant_fraud_rate &&
|
671
|
+
marketing_opt_in == o.marketing_opt_in &&
|
672
|
+
marketing_source == o.marketing_source &&
|
673
|
+
mcc == o.mcc &&
|
674
|
+
merchant_score == o.merchant_score &&
|
675
|
+
message_category == o.message_category &&
|
676
|
+
npa_code == o.npa_code &&
|
677
|
+
override_payment_method == o.override_payment_method &&
|
678
|
+
override_country_code == o.override_country_code &&
|
679
|
+
prior_authentication_data == o.prior_authentication_data &&
|
680
|
+
prior_authentication_method == o.prior_authentication_method &&
|
681
|
+
prior_authentication_reference_id == o.prior_authentication_reference_id &&
|
682
|
+
prior_authentication_time == o.prior_authentication_time &&
|
683
|
+
product_code == o.product_code &&
|
684
|
+
return_url == o.return_url &&
|
685
|
+
requestor_id == o.requestor_id &&
|
686
|
+
requestor_initiated_authentication_indicator == o.requestor_initiated_authentication_indicator &&
|
687
|
+
requestor_name == o.requestor_name &&
|
688
|
+
reference_id == o.reference_id &&
|
689
|
+
sdk_max_timeout == o.sdk_max_timeout &&
|
690
|
+
secure_corporate_payment_indicator == o.secure_corporate_payment_indicator &&
|
691
|
+
transaction_mode == o.transaction_mode &&
|
692
|
+
white_list_status == o.white_list_status &&
|
693
|
+
score_request == o.score_request
|
694
|
+
end
|
695
|
+
|
696
|
+
# @see the `==` method
|
697
|
+
# @param [Object] Object to be compared
|
698
|
+
def eql?(o)
|
699
|
+
self == o
|
700
|
+
end
|
701
|
+
|
702
|
+
# Calculates hash code according to all attributes.
|
703
|
+
# @return [Fixnum] Hash code
|
704
|
+
def hash
|
705
|
+
[strong_authentication, acs_window_size, alternate_authentication_data, alternate_authentication_date, alternate_authentication_method, authentication_date, authentication_transaction_id, transaction_flow_indicator, 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, return_url, requestor_id, requestor_initiated_authentication_indicator, requestor_name, reference_id, sdk_max_timeout, secure_corporate_payment_indicator, transaction_mode, white_list_status, score_request].hash
|
706
|
+
end
|
707
|
+
|
708
|
+
# Builds the object from hash
|
709
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
710
|
+
# @return [Object] Returns the model itself
|
711
|
+
def build_from_hash(attributes)
|
712
|
+
return nil unless attributes.is_a?(Hash)
|
713
|
+
self.class.swagger_types.each_pair do |key, type|
|
714
|
+
if type =~ /\AArray<(.*)>/i
|
715
|
+
# check to ensure the input is an array given that the the attribute
|
716
|
+
# is documented as an array but the input is not
|
717
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
718
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
719
|
+
end
|
720
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
721
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
722
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
723
|
+
end
|
724
|
+
|
725
|
+
self
|
726
|
+
end
|
727
|
+
|
728
|
+
# Deserializes the data based on type
|
729
|
+
# @param string type Data type
|
730
|
+
# @param string value Value to be deserialized
|
731
|
+
# @return [Object] Deserialized data
|
732
|
+
def _deserialize(type, value)
|
733
|
+
case type.to_sym
|
734
|
+
when :DateTime
|
735
|
+
DateTime.parse(value)
|
736
|
+
when :Date
|
737
|
+
Date.parse(value)
|
738
|
+
when :String
|
739
|
+
value.to_s
|
740
|
+
when :Integer
|
741
|
+
value.to_i
|
742
|
+
when :Float
|
743
|
+
value.to_f
|
744
|
+
when :BOOLEAN
|
745
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
746
|
+
true
|
747
|
+
else
|
748
|
+
false
|
749
|
+
end
|
750
|
+
when :Object
|
751
|
+
# generic object (usually a Hash), return directly
|
752
|
+
value
|
753
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
754
|
+
inner_type = Regexp.last_match[:inner_type]
|
755
|
+
value.map { |v| _deserialize(inner_type, v) }
|
756
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
757
|
+
k_type = Regexp.last_match[:k_type]
|
758
|
+
v_type = Regexp.last_match[:v_type]
|
759
|
+
{}.tap do |hash|
|
760
|
+
value.each do |k, v|
|
761
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
762
|
+
end
|
763
|
+
end
|
764
|
+
else # model
|
765
|
+
temp_model = CyberSource.const_get(type).new
|
766
|
+
temp_model.build_from_hash(value)
|
767
|
+
end
|
768
|
+
end
|
769
|
+
|
770
|
+
# Returns the string representation of the object
|
771
|
+
# @return [String] String presentation of the object
|
772
|
+
def to_s
|
773
|
+
to_hash.to_s
|
774
|
+
end
|
775
|
+
|
776
|
+
# to_body is an alias to to_hash (backward compatibility)
|
777
|
+
# @return [Hash] Returns the object in the form of hash
|
778
|
+
def to_body
|
779
|
+
to_hash
|
780
|
+
end
|
781
|
+
|
782
|
+
# Returns the object in the form of hash
|
783
|
+
# @return [Hash] Returns the object in the form of hash
|
784
|
+
def to_hash
|
785
|
+
hash = {}
|
786
|
+
self.class.attribute_map.each_pair do |attr, param|
|
787
|
+
value = self.send(attr)
|
788
|
+
next if value.nil?
|
789
|
+
hash[param] = _to_hash(value)
|
790
|
+
end
|
791
|
+
hash
|
792
|
+
end
|
793
|
+
|
794
|
+
# Outputs non-array value in the form of hash
|
795
|
+
# For object, use to_hash. Otherwise, just return the value
|
796
|
+
# @param [Object] value Any valid value
|
797
|
+
# @return [Hash] Returns the value in the form of hash
|
798
|
+
def _to_hash(value)
|
799
|
+
if value.is_a?(Array)
|
800
|
+
value.compact.map { |v| _to_hash(v) }
|
801
|
+
elsif value.is_a?(Hash)
|
802
|
+
{}.tap do |hash|
|
803
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
804
|
+
end
|
805
|
+
elsif value.respond_to? :to_hash
|
806
|
+
value.to_hash
|
807
|
+
else
|
808
|
+
value
|
809
|
+
end
|
810
|
+
end
|
811
|
+
end
|
812
|
+
end
|