cybersource_rest_client 0.0.79 → 0.0.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/authentication/jwt/JwtToken.rb +17 -7
- data/lib/AuthenticationSDK/core/Authorization.rb +2 -2
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +278 -23
- data/lib/AuthenticationSDK/util/Cache.rb +158 -8
- data/lib/AuthenticationSDK/util/CachedMLEKId.rb +17 -0
- data/lib/AuthenticationSDK/util/CertificateUtility.rb +109 -29
- data/lib/AuthenticationSDK/util/Constants.rb +6 -0
- data/lib/AuthenticationSDK/util/JWT/JWTExceptions.rb +81 -0
- data/lib/AuthenticationSDK/util/JWT/JWTUtility.rb +154 -0
- data/lib/AuthenticationSDK/util/MLEUtility.rb +167 -11
- data/lib/AuthenticationSDK/util/Utility.rb +37 -1
- data/lib/cybersource_rest_client/api/bank_account_validation_api.rb +13 -5
- data/lib/cybersource_rest_client/api/batches_api.rb +50 -18
- data/lib/cybersource_rest_client/api/billing_agreements_api.rb +33 -9
- data/lib/cybersource_rest_client/api/bin_lookup_api.rb +11 -3
- data/lib/cybersource_rest_client/api/capture_api.rb +11 -3
- data/lib/cybersource_rest_client/api/chargeback_details_api.rb +11 -3
- data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +11 -3
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +11 -3
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +35 -11
- data/lib/cybersource_rest_client/api/credit_api.rb +11 -3
- data/lib/cybersource_rest_client/api/customer_api.rb +44 -12
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +55 -15
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +55 -15
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +57 -17
- data/lib/cybersource_rest_client/api/device_de_association_api.rb +24 -8
- data/lib/cybersource_rest_client/api/device_search_api.rb +26 -10
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +11 -3
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +11 -3
- data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +22 -6
- data/lib/cybersource_rest_client/api/enrollment_api.rb +104 -0
- data/lib/cybersource_rest_client/api/flex_api_api.rb +11 -3
- data/lib/cybersource_rest_client/api/instructions_api.rb +452 -0
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +66 -18
- data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +11 -3
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +22 -6
- data/lib/cybersource_rest_client/api/invoices_api.rb +77 -21
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +81 -25
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +24 -8
- data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +50 -18
- data/lib/cybersource_rest_client/api/microform_integration_api.rb +11 -3
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +11 -3
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +11 -3
- data/lib/cybersource_rest_client/api/offers_api.rb +24 -8
- data/lib/cybersource_rest_client/api/orders_api.rb +22 -6
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +33 -9
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +11 -3
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +44 -12
- data/lib/cybersource_rest_client/api/payment_links_api.rb +44 -12
- data/lib/cybersource_rest_client/api/payment_tokens_api.rb +11 -3
- data/lib/cybersource_rest_client/api/payments_api.rb +66 -18
- data/lib/cybersource_rest_client/api/payouts_api.rb +11 -3
- data/lib/cybersource_rest_client/api/plans_api.rb +88 -24
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +11 -3
- data/lib/cybersource_rest_client/api/push_funds_api.rb +11 -3
- data/lib/cybersource_rest_client/api/refund_api.rb +22 -6
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +22 -6
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +11 -3
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +55 -15
- data/lib/cybersource_rest_client/api/reports_api.rb +33 -9
- data/lib/cybersource_rest_client/api/retrieval_details_api.rb +11 -3
- data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +11 -3
- data/lib/cybersource_rest_client/api/reversal_api.rb +22 -6
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +22 -6
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +22 -6
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +97 -33
- data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +22 -6
- data/lib/cybersource_rest_client/api/taxes_api.rb +22 -6
- data/lib/cybersource_rest_client/api/token_api.rb +24 -8
- data/lib/cybersource_rest_client/api/tokenize_api.rb +107 -0
- data/lib/cybersource_rest_client/api/tokenized_card_api.rb +126 -9
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +44 -12
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +11 -3
- data/lib/cybersource_rest_client/api/transient_token_data_api.rb +22 -6
- data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +11 -3
- data/lib/cybersource_rest_client/api/user_management_api.rb +11 -3
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +11 -3
- data/lib/cybersource_rest_client/api/verification_api.rb +22 -6
- data/lib/cybersource_rest_client/api/void_api.rb +55 -15
- data/lib/cybersource_rest_client/api_client.rb +20 -3
- data/lib/cybersource_rest_client/models/acpv1instructions_decline_threshold.rb +232 -0
- data/lib/cybersource_rest_client/models/acpv1instructions_mandates.rb +405 -0
- data/lib/cybersource_rest_client/models/acpv1instructions_recurring_payment_information.rb +191 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconf_processor_info_payment_instrument_verifi_results.rb +213 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_confirmation_data.rb +229 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_merchant_information.rb +258 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_order_information.rb +377 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_order_information_shipping_details.rb +206 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information.rb +425 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information_payment_instrument.rb +190 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_attachments.rb +258 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_client_reference_information.rb +215 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_mandate_reference_data.rb +205 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_merchant_information.rb +334 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_merchant_information_merchant_descriptor.rb +250 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information.rb +228 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_amount_detail.rb +354 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items.rb +367 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items_additional_info.rb +231 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items_policies.rb +346 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_line_items.rb +190 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_ship_to.rb +686 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_payment_options.rb +217 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_transaction_data.rb +348 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_assurance_data.rb +313 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_authenticated_identities.rb +237 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_authentication_context.rb +191 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_bill_to.rb +400 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_buyer_information.rb +229 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_buyer_information_personal_identification.rb +212 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_consent_data.rb +297 -0
- data/lib/cybersource_rest_client/models/{rbsv1subscriptions_client_reference_information.rb → acpv1tokens_consumer_identity.rb} +73 -61
- data/lib/cybersource_rest_client/models/acpv1tokens_device_information.rb +378 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_device_information_device_data.rb +302 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_enrollment_reference_data.rb +207 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information.rb +215 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information_customer.rb +197 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information_instrument_identifier.rb +206 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information_payment_instrument.rb +197 -0
- data/lib/cybersource_rest_client/models/agentic_cancel_purchase_intent_request.rb +257 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400.rb +189 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400_error.rb +238 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400_error_detail.rb +224 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_request.rb +325 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_response200.rb +206 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_response202.rb +219 -0
- data/lib/cybersource_rest_client/models/agentic_confirm_transaction_events_request.rb +247 -0
- data/lib/cybersource_rest_client/models/agentic_confirm_transaction_events_response202.rb +195 -0
- data/lib/cybersource_rest_client/models/agentic_create_purchase_intent_request.rb +327 -0
- data/lib/cybersource_rest_client/models/agentic_create_purchase_intent_response200.rb +222 -0
- data/lib/cybersource_rest_client/models/agentic_pending_purchase_intent_response202.rb +241 -0
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_request.rb +247 -0
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200.rb +200 -0
- data/lib/cybersource_rest_client/models/{rbsv1plans_client_reference_information.rb → agentic_retrieve_payment_credentials_response200_transaction_response_complete.rb} +52 -47
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200_transaction_response_with_pending_events.rb +235 -0
- data/lib/cybersource_rest_client/models/agentic_update_purchase_intent_request.rb +315 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +36 -1
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_localized_names.rb +254 -0
- data/lib/cybersource_rest_client/models/create_plan_request.rb +1 -11
- data/lib/cybersource_rest_client/models/create_subscription_request.rb +1 -1
- data/lib/cybersource_rest_client/models/create_subscription_request_1.rb +1 -1
- data/lib/cybersource_rest_client/models/create_subscription_response.rb +15 -5
- data/lib/cybersource_rest_client/models/generate_unified_checkout_capture_context_request.rb +13 -2
- data/lib/cybersource_rest_client/models/get_all_subscriptions_response_client_reference_information.rb +196 -0
- data/lib/cybersource_rest_client/models/get_all_subscriptions_response_subscriptions.rb +11 -1
- data/lib/cybersource_rest_client/models/get_subscription_response.rb +11 -1
- data/lib/cybersource_rest_client/models/get_subscription_response_1_payment_instrument.rb +1 -1
- data/lib/cybersource_rest_client/models/get_subscription_response_1_payment_instrument_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/get_subscription_response_1_shipping_address.rb +1 -1
- data/lib/cybersource_rest_client/models/get_subscription_response_reactivation_information.rb +22 -22
- data/lib/cybersource_rest_client/models/inline_response_200.rb +9 -44
- data/lib/cybersource_rest_client/models/inline_response_200_1.rb +29 -31
- data/lib/cybersource_rest_client/models/inline_response_200_10.rb +33 -37
- data/lib/cybersource_rest_client/models/{inline_response_200_9_devices.rb → inline_response_200_10_devices.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_9_payment_processor_to_terminal_map.rb → inline_response_200_10_payment_processor_to_terminal_map.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_11.rb +47 -86
- data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded.rb → inline_response_200_11__embedded.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded__links.rb → inline_response_200_11__embedded__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded__links_reports.rb → inline_response_200_11__embedded__links_reports.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded_batches.rb → inline_response_200_11__embedded_batches.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded_totals.rb → inline_response_200_11__embedded_totals.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_11__links.rb +16 -17
- data/lib/cybersource_rest_client/models/inline_response_200_12.rb +47 -49
- data/lib/cybersource_rest_client/models/inline_response_200_12__links.rb +201 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_11__links_report.rb → inline_response_200_12__links_report.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_11_billing.rb → inline_response_200_12_billing.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_13.rb +102 -31
- data/lib/cybersource_rest_client/models/{inline_response_200_12_records.rb → inline_response_200_13_records.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_12_response_record.rb → inline_response_200_13_response_record.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_12_response_record_additional_updates.rb → inline_response_200_13_response_record_additional_updates.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12_source_record.rb → inline_response_200_13_source_record.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_14.rb +18 -84
- data/lib/cybersource_rest_client/models/inline_response_200_15.rb +287 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_14_client_reference_information.rb → inline_response_200_15_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_content.rb → inline_response_200_1_content.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_2.rb +32 -103
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded.rb → inline_response_200_2__embedded.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_capture.rb → inline_response_200_2__embedded_capture.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_capture__links.rb → inline_response_200_2__embedded_capture__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_capture__links_self.rb → inline_response_200_2__embedded_capture__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_reversal.rb → inline_response_200_2__embedded_reversal.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_reversal__links.rb → inline_response_200_2__embedded_reversal__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_reversal__links_self.rb → inline_response_200_2__embedded_reversal__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_3.rb +100 -54
- data/lib/cybersource_rest_client/models/inline_response_200_4.rb +65 -25
- data/lib/cybersource_rest_client/models/{inline_response_200_3_integration_information.rb → inline_response_200_4_integration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_3_integration_information_tenant_configurations.rb → inline_response_200_4_integration_information_tenant_configurations.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +25 -126
- data/lib/cybersource_rest_client/models/inline_response_200_6.rb +1 -12
- data/lib/cybersource_rest_client/models/inline_response_200_7.rb +129 -51
- data/lib/cybersource_rest_client/models/inline_response_200_8.rb +55 -10
- data/lib/cybersource_rest_client/models/{inline_response_200_7_devices.rb → inline_response_200_8_devices.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_9.rb +10 -55
- data/lib/cybersource_rest_client/models/{inline_response_200_10__links.rb → inline_response_200_details.rb} +18 -17
- data/lib/cybersource_rest_client/models/inline_response_200_errors.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_200_responses.rb +224 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments.rb +15 -5
- data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +9 -9
- data/lib/cybersource_rest_client/models/patch_customer_request.rb +9 -9
- data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +3 -3
- data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +9 -9
- data/lib/cybersource_rest_client/models/payment_instrument_list_1__embedded_payment_instruments.rb +8 -8
- data/lib/cybersource_rest_client/models/payment_instrument_list__embedded.rb +1 -1
- data/lib/cybersource_rest_client/models/payments_products.rb +15 -5
- data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +9 -9
- data/lib/cybersource_rest_client/models/post_customer_request.rb +9 -9
- data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +3 -3
- data/lib/cybersource_rest_client/models/post_issuer_life_cycle_simulation_request.rb +211 -0
- data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +9 -9
- data/lib/cybersource_rest_client/models/post_tokenize_request.rb +199 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +39 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information.rb +246 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit.rb +189 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline.rb +889 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline_ancillary_information.rb +259 -0
- data/lib/cybersource_rest_client/models/{rbsv1subscriptions_client_reference_information_partner.rb → ptsv2paymentsidrefunds_travel_information_transit_airline_ancillary_information_service.rb} +24 -24
- data/lib/cybersource_rest_client/models/refund_capture_request.rb +1 -1
- data/lib/cybersource_rest_client/models/refund_payment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/shipping_address_list_for_customer__embedded.rb +1 -1
- data/lib/cybersource_rest_client/models/tms_issuerlifecycleeventsimulations_metadata_card_art_combined_asset.rb +190 -0
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_merchant_information.rb → tms_merchant_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb → tms_merchant_information_merchant_descriptor.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb → tmsv2tokenize_default_payment_instrument_buyer_info_issued_by.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb → tmsv2tokenize_default_payment_instrument_buyer_info_personal_identification.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb → tmsv2tokenize_default_payment_instrument_card_tokenized_info.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb → tmsv2tokenize_default_payment_instrument_instrument_identifier.rb} +1 -1
- data/lib/cybersource_rest_client/models/tmsv2tokenize_processing_information.rb +205 -0
- data/lib/cybersource_rest_client/models/tmsv2tokenize_token_information.rb +247 -0
- data/lib/cybersource_rest_client/models/tmsv2tokenize_token_information_customer.rb +289 -0
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded.rb → tmsv2tokenize_token_information_customer__embedded.rb} +3 -3
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument.rb} +10 -10
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__embedded.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__links.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__links.rb} +3 -3
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__links_self.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_bank_account.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_bank_account.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_bill_to.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_bill_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_buyer_information.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_buyer_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_card.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_card.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_metadata.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_metadata.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address.rb} +4 -4
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address__links.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links.rb} +3 -3
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address__links_customer.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links_customer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address__links_self.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address_metadata.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address_metadata.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address_ship_to.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address_ship_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__links.rb → tmsv2tokenize_token_information_customer__links.rb} +4 -4
- data/lib/cybersource_rest_client/models/{tmsv2customers__links_payment_instruments.rb → tmsv2tokenize_token_information_customer__links_payment_instruments.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__links_self.rb → tmsv2tokenize_token_information_customer__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers__links_shipping_address.rb → tmsv2tokenize_token_information_customer__links_shipping_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_buyer_information.rb → tmsv2tokenize_token_information_customer_buyer_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_client_reference_information.rb → tmsv2tokenize_token_information_customer_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_default_payment_instrument.rb → tmsv2tokenize_token_information_customer_default_payment_instrument.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_default_shipping_address.rb → tmsv2tokenize_token_information_customer_default_shipping_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_merchant_defined_information.rb → tmsv2tokenize_token_information_customer_merchant_defined_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_metadata.rb → tmsv2tokenize_token_information_customer_metadata.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2customers_object_information.rb → tmsv2tokenize_token_information_customer_object_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_card.rb +230 -0
- data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata.rb +189 -0
- data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art.rb +189 -0
- data/lib/cybersource_rest_client/models/update_subscription.rb +1 -1
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data.rb +28 -6
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_buyer_information.rb +41 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_buyer_information_personal_identification.rb +1 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_client_reference_information_partner.rb +3 -3
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_consumer_authentication_information.rb +24 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_device_information.rb +196 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_merchant_defined_information.rb +3 -2
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_merchant_information_merchant_descriptor.rb +124 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information.rb +15 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_amount_details.rb +15 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_amount_details_tax_details.rb +213 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_invoice_details.rb +213 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items.rb +30 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items_passenger.rb +8 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items_tax_details.rb +7 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_payment_information.rb +189 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_payment_information_card.rb +196 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information.rb +1 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information_authorization_options.rb +74 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information_authorization_options_initiator.rb +1 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_recipient_information.rb +39 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information.rb +1 -0
- data/lib/cybersource_rest_client/utilities/capture_context/capture_context_parsing_utility.rb +113 -0
- data/lib/cybersource_rest_client/utilities/capture_context/public_key_fetcher.rb +131 -0
- data/lib/cybersource_rest_client/utilities/jwe_utility.rb +1 -1
- data/lib/cybersource_rest_client.rb +144 -62
- metadata +151 -65
- /data/lib/AuthenticationSDK/util/{JWEUtility.rb → AuthJWEUtility.rb} +0 -0
|
@@ -13,43 +13,76 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse20013
|
|
16
|
-
attr_accessor :
|
|
16
|
+
attr_accessor :version
|
|
17
17
|
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ
|
|
19
|
+
attr_accessor :report_created_date
|
|
20
20
|
|
|
21
|
-
#
|
|
22
|
-
attr_accessor :
|
|
21
|
+
# Unique identification number assigned to the submitted request.
|
|
22
|
+
attr_accessor :batch_id
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
# Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE
|
|
25
|
+
attr_accessor :batch_source
|
|
26
|
+
|
|
27
|
+
attr_accessor :batch_ca_endpoints
|
|
28
|
+
|
|
29
|
+
# ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ
|
|
30
|
+
attr_accessor :batch_created_date
|
|
31
|
+
|
|
32
|
+
# Reference used by merchant to identify batch.
|
|
33
|
+
attr_accessor :merchant_reference
|
|
34
|
+
|
|
35
|
+
attr_accessor :totals
|
|
36
|
+
|
|
37
|
+
attr_accessor :billing
|
|
38
|
+
|
|
39
|
+
attr_accessor :records
|
|
25
40
|
|
|
26
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
27
42
|
def self.attribute_map
|
|
28
43
|
{
|
|
29
|
-
:'
|
|
30
|
-
:'
|
|
31
|
-
:'
|
|
32
|
-
:'
|
|
44
|
+
:'version' => :'version',
|
|
45
|
+
:'report_created_date' => :'reportCreatedDate',
|
|
46
|
+
:'batch_id' => :'batchId',
|
|
47
|
+
:'batch_source' => :'batchSource',
|
|
48
|
+
:'batch_ca_endpoints' => :'batchCaEndpoints',
|
|
49
|
+
:'batch_created_date' => :'batchCreatedDate',
|
|
50
|
+
:'merchant_reference' => :'merchantReference',
|
|
51
|
+
:'totals' => :'totals',
|
|
52
|
+
:'billing' => :'billing',
|
|
53
|
+
:'records' => :'records'
|
|
33
54
|
}
|
|
34
55
|
end
|
|
35
56
|
|
|
36
57
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
37
58
|
def self.json_map
|
|
38
59
|
{
|
|
39
|
-
:'
|
|
40
|
-
:'
|
|
41
|
-
:'
|
|
42
|
-
:'
|
|
60
|
+
:'version' => :'version',
|
|
61
|
+
:'report_created_date' => :'report_created_date',
|
|
62
|
+
:'batch_id' => :'batch_id',
|
|
63
|
+
:'batch_source' => :'batch_source',
|
|
64
|
+
:'batch_ca_endpoints' => :'batch_ca_endpoints',
|
|
65
|
+
:'batch_created_date' => :'batch_created_date',
|
|
66
|
+
:'merchant_reference' => :'merchant_reference',
|
|
67
|
+
:'totals' => :'totals',
|
|
68
|
+
:'billing' => :'billing',
|
|
69
|
+
:'records' => :'records'
|
|
43
70
|
}
|
|
44
71
|
end
|
|
45
72
|
|
|
46
73
|
# Attribute type mapping.
|
|
47
74
|
def self.swagger_types
|
|
48
75
|
{
|
|
49
|
-
:'
|
|
50
|
-
:'
|
|
51
|
-
:'
|
|
52
|
-
:'
|
|
76
|
+
:'version' => :'String',
|
|
77
|
+
:'report_created_date' => :'String',
|
|
78
|
+
:'batch_id' => :'String',
|
|
79
|
+
:'batch_source' => :'String',
|
|
80
|
+
:'batch_ca_endpoints' => :'String',
|
|
81
|
+
:'batch_created_date' => :'String',
|
|
82
|
+
:'merchant_reference' => :'String',
|
|
83
|
+
:'totals' => :'InlineResponse20011EmbeddedTotals',
|
|
84
|
+
:'billing' => :'InlineResponse20012Billing',
|
|
85
|
+
:'records' => :'Array<InlineResponse20013Records>'
|
|
53
86
|
}
|
|
54
87
|
end
|
|
55
88
|
|
|
@@ -61,20 +94,46 @@ module CyberSource
|
|
|
61
94
|
# convert string to symbol for hash key
|
|
62
95
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
63
96
|
|
|
64
|
-
if attributes.has_key?(:'
|
|
65
|
-
self.
|
|
97
|
+
if attributes.has_key?(:'version')
|
|
98
|
+
self.version = attributes[:'version']
|
|
66
99
|
end
|
|
67
100
|
|
|
68
|
-
if attributes.has_key?(:'
|
|
69
|
-
self.
|
|
101
|
+
if attributes.has_key?(:'reportCreatedDate')
|
|
102
|
+
self.report_created_date = attributes[:'reportCreatedDate']
|
|
70
103
|
end
|
|
71
104
|
|
|
72
|
-
if attributes.has_key?(:'
|
|
73
|
-
self.
|
|
105
|
+
if attributes.has_key?(:'batchId')
|
|
106
|
+
self.batch_id = attributes[:'batchId']
|
|
74
107
|
end
|
|
75
108
|
|
|
76
|
-
if attributes.has_key?(:'
|
|
77
|
-
self.
|
|
109
|
+
if attributes.has_key?(:'batchSource')
|
|
110
|
+
self.batch_source = attributes[:'batchSource']
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
if attributes.has_key?(:'batchCaEndpoints')
|
|
114
|
+
self.batch_ca_endpoints = attributes[:'batchCaEndpoints']
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
if attributes.has_key?(:'batchCreatedDate')
|
|
118
|
+
self.batch_created_date = attributes[:'batchCreatedDate']
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
if attributes.has_key?(:'merchantReference')
|
|
122
|
+
self.merchant_reference = attributes[:'merchantReference']
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
if attributes.has_key?(:'totals')
|
|
126
|
+
self.totals = attributes[:'totals']
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
if attributes.has_key?(:'billing')
|
|
130
|
+
self.billing = attributes[:'billing']
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
if attributes.has_key?(:'records')
|
|
134
|
+
if (value = attributes[:'records']).is_a?(Array)
|
|
135
|
+
self.records = value
|
|
136
|
+
end
|
|
78
137
|
end
|
|
79
138
|
end
|
|
80
139
|
|
|
@@ -91,15 +150,27 @@ module CyberSource
|
|
|
91
150
|
true
|
|
92
151
|
end
|
|
93
152
|
|
|
153
|
+
# Custom attribute writer method with validation
|
|
154
|
+
# @param [Object] merchant_reference Value to be assigned
|
|
155
|
+
def merchant_reference=(merchant_reference)
|
|
156
|
+
@merchant_reference = merchant_reference
|
|
157
|
+
end
|
|
158
|
+
|
|
94
159
|
# Checks equality by comparing each attribute.
|
|
95
160
|
# @param [Object] Object to be compared
|
|
96
161
|
def ==(o)
|
|
97
162
|
return true if self.equal?(o)
|
|
98
163
|
self.class == o.class &&
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
164
|
+
version == o.version &&
|
|
165
|
+
report_created_date == o.report_created_date &&
|
|
166
|
+
batch_id == o.batch_id &&
|
|
167
|
+
batch_source == o.batch_source &&
|
|
168
|
+
batch_ca_endpoints == o.batch_ca_endpoints &&
|
|
169
|
+
batch_created_date == o.batch_created_date &&
|
|
170
|
+
merchant_reference == o.merchant_reference &&
|
|
171
|
+
totals == o.totals &&
|
|
172
|
+
billing == o.billing &&
|
|
173
|
+
records == o.records
|
|
103
174
|
end
|
|
104
175
|
|
|
105
176
|
# @see the `==` method
|
|
@@ -111,7 +182,7 @@ module CyberSource
|
|
|
111
182
|
# Calculates hash code according to all attributes.
|
|
112
183
|
# @return [Fixnum] Hash code
|
|
113
184
|
def hash
|
|
114
|
-
[
|
|
185
|
+
[version, report_created_date, batch_id, batch_source, batch_ca_endpoints, batch_created_date, merchant_reference, totals, billing, records].hash
|
|
115
186
|
end
|
|
116
187
|
|
|
117
188
|
# Builds the object from hash
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
class
|
|
15
|
+
class InlineResponse20013Records
|
|
16
16
|
attr_accessor :id
|
|
17
17
|
|
|
18
18
|
attr_accessor :source_record
|
|
@@ -41,8 +41,8 @@ module CyberSource
|
|
|
41
41
|
def self.swagger_types
|
|
42
42
|
{
|
|
43
43
|
:'id' => :'String',
|
|
44
|
-
:'source_record' => :'
|
|
45
|
-
:'response_record' => :'
|
|
44
|
+
:'source_record' => :'InlineResponse20013SourceRecord',
|
|
45
|
+
:'response_record' => :'InlineResponse20013ResponseRecord'
|
|
46
46
|
}
|
|
47
47
|
end
|
|
48
48
|
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
class
|
|
15
|
+
class InlineResponse20013ResponseRecord
|
|
16
16
|
# Valid Values: * NAN * NED * ACL * CCH * CUR * NUP * UNA * ERR * DEC
|
|
17
17
|
attr_accessor :response
|
|
18
18
|
|
|
@@ -79,7 +79,7 @@ module CyberSource
|
|
|
79
79
|
:'card_expiry_month' => :'String',
|
|
80
80
|
:'card_expiry_year' => :'String',
|
|
81
81
|
:'card_type' => :'String',
|
|
82
|
-
:'additional_updates' => :'Array<
|
|
82
|
+
:'additional_updates' => :'Array<InlineResponse20013ResponseRecordAdditionalUpdates>'
|
|
83
83
|
}
|
|
84
84
|
end
|
|
85
85
|
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
class
|
|
15
|
+
class InlineResponse20013ResponseRecordAdditionalUpdates
|
|
16
16
|
attr_accessor :customer_id
|
|
17
17
|
|
|
18
18
|
attr_accessor :payment_instrument_id
|
|
@@ -15,28 +15,21 @@ module CyberSource
|
|
|
15
15
|
class InlineResponse20014
|
|
16
16
|
attr_accessor :client_reference_information
|
|
17
17
|
|
|
18
|
-
# Request
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# Request Id sent as part of the request.
|
|
19
|
+
attr_accessor :request_id
|
|
20
20
|
|
|
21
|
-
# Time of request in UTC.
|
|
21
|
+
# Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.)
|
|
22
22
|
attr_accessor :submit_time_utc
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
attr_accessor :status
|
|
26
|
-
|
|
27
|
-
attr_accessor :error_information
|
|
28
|
-
|
|
29
|
-
attr_accessor :order_information
|
|
24
|
+
attr_accessor :bank_account_validation
|
|
30
25
|
|
|
31
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
32
27
|
def self.attribute_map
|
|
33
28
|
{
|
|
34
29
|
:'client_reference_information' => :'clientReferenceInformation',
|
|
35
|
-
:'
|
|
30
|
+
:'request_id' => :'requestId',
|
|
36
31
|
:'submit_time_utc' => :'submitTimeUtc',
|
|
37
|
-
:'
|
|
38
|
-
:'error_information' => :'errorInformation',
|
|
39
|
-
:'order_information' => :'orderInformation'
|
|
32
|
+
:'bank_account_validation' => :'bankAccountValidation'
|
|
40
33
|
}
|
|
41
34
|
end
|
|
42
35
|
|
|
@@ -44,23 +37,19 @@ module CyberSource
|
|
|
44
37
|
def self.json_map
|
|
45
38
|
{
|
|
46
39
|
:'client_reference_information' => :'client_reference_information',
|
|
47
|
-
:'
|
|
40
|
+
:'request_id' => :'request_id',
|
|
48
41
|
:'submit_time_utc' => :'submit_time_utc',
|
|
49
|
-
:'
|
|
50
|
-
:'error_information' => :'error_information',
|
|
51
|
-
:'order_information' => :'order_information'
|
|
42
|
+
:'bank_account_validation' => :'bank_account_validation'
|
|
52
43
|
}
|
|
53
44
|
end
|
|
54
45
|
|
|
55
46
|
# Attribute type mapping.
|
|
56
47
|
def self.swagger_types
|
|
57
48
|
{
|
|
58
|
-
:'client_reference_information' => :'
|
|
59
|
-
:'
|
|
49
|
+
:'client_reference_information' => :'Bavsv1accountvalidationsClientReferenceInformation',
|
|
50
|
+
:'request_id' => :'String',
|
|
60
51
|
:'submit_time_utc' => :'String',
|
|
61
|
-
:'
|
|
62
|
-
:'error_information' => :'InlineResponse2018ErrorInformation',
|
|
63
|
-
:'order_information' => :'InlineResponse2018OrderInformation'
|
|
52
|
+
:'bank_account_validation' => :'TssV2TransactionsGet200ResponseBankAccountValidation'
|
|
64
53
|
}
|
|
65
54
|
end
|
|
66
55
|
|
|
@@ -76,24 +65,16 @@ module CyberSource
|
|
|
76
65
|
self.client_reference_information = attributes[:'clientReferenceInformation']
|
|
77
66
|
end
|
|
78
67
|
|
|
79
|
-
if attributes.has_key?(:'
|
|
80
|
-
self.
|
|
68
|
+
if attributes.has_key?(:'requestId')
|
|
69
|
+
self.request_id = attributes[:'requestId']
|
|
81
70
|
end
|
|
82
71
|
|
|
83
72
|
if attributes.has_key?(:'submitTimeUtc')
|
|
84
73
|
self.submit_time_utc = attributes[:'submitTimeUtc']
|
|
85
74
|
end
|
|
86
75
|
|
|
87
|
-
if attributes.has_key?(:'
|
|
88
|
-
self.
|
|
89
|
-
end
|
|
90
|
-
|
|
91
|
-
if attributes.has_key?(:'errorInformation')
|
|
92
|
-
self.error_information = attributes[:'errorInformation']
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
if attributes.has_key?(:'orderInformation')
|
|
96
|
-
self.order_information = attributes[:'orderInformation']
|
|
76
|
+
if attributes.has_key?(:'bankAccountValidation')
|
|
77
|
+
self.bank_account_validation = attributes[:'bankAccountValidation']
|
|
97
78
|
end
|
|
98
79
|
end
|
|
99
80
|
|
|
@@ -101,71 +82,24 @@ module CyberSource
|
|
|
101
82
|
# @return Array for valid properties with the reasons
|
|
102
83
|
def list_invalid_properties
|
|
103
84
|
invalid_properties = Array.new
|
|
104
|
-
if @id.nil?
|
|
105
|
-
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
if @submit_time_utc.nil?
|
|
109
|
-
invalid_properties.push('invalid value for "submit_time_utc", submit_time_utc cannot be nil.')
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
if @status.nil?
|
|
113
|
-
invalid_properties.push('invalid value for "status", status cannot be nil.')
|
|
114
|
-
end
|
|
115
|
-
|
|
116
85
|
invalid_properties
|
|
117
86
|
end
|
|
118
87
|
|
|
119
88
|
# Check to see if the all the properties in the model are valid
|
|
120
89
|
# @return true if the model is valid
|
|
121
90
|
def valid?
|
|
122
|
-
return false if @id.nil?
|
|
123
|
-
return false if @submit_time_utc.nil?
|
|
124
|
-
return false if @status.nil?
|
|
125
91
|
true
|
|
126
92
|
end
|
|
127
93
|
|
|
128
|
-
# Custom attribute writer method with validation
|
|
129
|
-
# @param [Object] id Value to be assigned
|
|
130
|
-
def id=(id)
|
|
131
|
-
#if id.nil?
|
|
132
|
-
#fail ArgumentError, 'id cannot be nil'
|
|
133
|
-
#end
|
|
134
|
-
|
|
135
|
-
@id = id
|
|
136
|
-
end
|
|
137
|
-
|
|
138
|
-
# Custom attribute writer method with validation
|
|
139
|
-
# @param [Object] submit_time_utc Value to be assigned
|
|
140
|
-
def submit_time_utc=(submit_time_utc)
|
|
141
|
-
#if submit_time_utc.nil?
|
|
142
|
-
#fail ArgumentError, 'submit_time_utc cannot be nil'
|
|
143
|
-
#end
|
|
144
|
-
|
|
145
|
-
@submit_time_utc = submit_time_utc
|
|
146
|
-
end
|
|
147
|
-
|
|
148
|
-
# Custom attribute writer method with validation
|
|
149
|
-
# @param [Object] status Value to be assigned
|
|
150
|
-
def status=(status)
|
|
151
|
-
#if status.nil?
|
|
152
|
-
#fail ArgumentError, 'status cannot be nil'
|
|
153
|
-
#end
|
|
154
|
-
|
|
155
|
-
@status = status
|
|
156
|
-
end
|
|
157
|
-
|
|
158
94
|
# Checks equality by comparing each attribute.
|
|
159
95
|
# @param [Object] Object to be compared
|
|
160
96
|
def ==(o)
|
|
161
97
|
return true if self.equal?(o)
|
|
162
98
|
self.class == o.class &&
|
|
163
99
|
client_reference_information == o.client_reference_information &&
|
|
164
|
-
|
|
100
|
+
request_id == o.request_id &&
|
|
165
101
|
submit_time_utc == o.submit_time_utc &&
|
|
166
|
-
|
|
167
|
-
error_information == o.error_information &&
|
|
168
|
-
order_information == o.order_information
|
|
102
|
+
bank_account_validation == o.bank_account_validation
|
|
169
103
|
end
|
|
170
104
|
|
|
171
105
|
# @see the `==` method
|
|
@@ -177,7 +111,7 @@ module CyberSource
|
|
|
177
111
|
# Calculates hash code according to all attributes.
|
|
178
112
|
# @return [Fixnum] Hash code
|
|
179
113
|
def hash
|
|
180
|
-
[client_reference_information,
|
|
114
|
+
[client_reference_information, request_id, submit_time_utc, bank_account_validation].hash
|
|
181
115
|
end
|
|
182
116
|
|
|
183
117
|
# Builds the object from hash
|