cybersource_rest_client 0.0.68 → 0.0.69
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/cybersource_rest_client/api/instrument_identifier_api.rb +12 -0
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +9 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information.rb +314 -314
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +437 -437
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc.rb +337 -337
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc_deposit_bank_account.rb +297 -297
- data/lib/cybersource_rest_client/models/boardingv1registrations_registration_information.rb +271 -271
- data/lib/cybersource_rest_client/models/card_processing_config_common.rb +433 -433
- data/lib/cybersource_rest_client/models/card_processing_config_common_acquirer.rb +257 -257
- data/lib/cybersource_rest_client/models/card_processing_config_common_merchant_descriptor_information.rb +279 -279
- data/lib/cybersource_rest_client/models/card_processing_config_common_processors.rb +719 -719
- data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management_configuration_information_configurations.rb +200 -200
- data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management_configuration_information_configurations_vault.rb +251 -251
- data/lib/cybersource_rest_client/models/create_order_request.rb +229 -229
- data/lib/cybersource_rest_client/models/create_payment_request.rb +11 -1
- data/lib/cybersource_rest_client/models/e_check_config_common_internal_only_processors.rb +267 -267
- data/lib/cybersource_rest_client/models/e_check_config_common_processors.rb +273 -273
- data/lib/cybersource_rest_client/models/e_check_config_features_account_validation_service_internal_only_processors.rb +193 -193
- data/lib/cybersource_rest_client/models/e_check_config_features_account_validation_service_processors.rb +285 -285
- data/lib/cybersource_rest_client/models/flexv2sessions_fields.rb +199 -199
- data/lib/cybersource_rest_client/models/flexv2sessions_fields_order_information.rb +209 -209
- data/lib/cybersource_rest_client/models/flexv2sessions_fields_order_information_amount_details.rb +199 -199
- data/lib/cybersource_rest_client/models/flexv2sessions_fields_order_information_amount_details_total_amount.rb +189 -189
- data/lib/cybersource_rest_client/models/flexv2sessions_fields_order_information_bill_to.rb +309 -309
- data/lib/cybersource_rest_client/models/flexv2sessions_fields_order_information_ship_to.rb +289 -289
- data/lib/cybersource_rest_client/models/flexv2sessions_fields_payment_information.rb +189 -189
- data/lib/cybersource_rest_client/models/flexv2sessions_fields_payment_information_card.rb +229 -229
- data/lib/cybersource_rest_client/models/generate_capture_context_request.rb +230 -227
- data/lib/cybersource_rest_client/models/generate_flex_api_capture_context_request.rb +189 -189
- data/lib/cybersource_rest_client/models/generate_unified_checkout_capture_context_request.rb +283 -293
- data/lib/cybersource_rest_client/models/inline_response_200_1_integration_information_tenant_configurations.rb +263 -263
- data/lib/cybersource_rest_client/models/inline_response_201_1.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_201_2.rb +281 -281
- data/lib/cybersource_rest_client/models/inline_response_201_2_integration_information_tenant_configurations.rb +253 -253
- data/lib/cybersource_rest_client/models/inline_response_201_2_registration_information.rb +222 -222
- data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_card_processing_configuration_status.rb +255 -255
- data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_card_processing_subscription_status.rb +234 -234
- data/lib/cybersource_rest_client/models/inline_response_400_1.rb +242 -242
- data/lib/cybersource_rest_client/models/inline_response_400_1_details.rb +199 -199
- data/lib/cybersource_rest_client/models/inline_response_400_2.rb +235 -235
- data/lib/cybersource_rest_client/models/inline_response_400_3.rb +235 -235
- data/lib/cybersource_rest_client/models/inline_response_400_4.rb +235 -235
- data/lib/cybersource_rest_client/models/inline_response_400_5.rb +258 -258
- data/lib/cybersource_rest_client/models/inline_response_400_5_fields.rb +213 -213
- data/lib/cybersource_rest_client/models/inline_response_400_6.rb +235 -235
- data/lib/cybersource_rest_client/models/inline_response_400_6_details.rb +201 -201
- data/lib/cybersource_rest_client/models/inline_response_404_1.rb +235 -235
- data/lib/cybersource_rest_client/models/inline_response_422_1.rb +235 -235
- data/lib/cybersource_rest_client/models/inline_response_500_2.rb +223 -223
- data/lib/cybersource_rest_client/models/oct_create_payment_request.rb +15 -5
- data/lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb +323 -313
- data/lib/cybersource_rest_client/models/payments_products_card_present_connect_subscription_information.rb +202 -202
- data/lib/cybersource_rest_client/models/payments_products_card_processing_subscription_information.rb +215 -215
- data/lib/cybersource_rest_client/models/payments_products_differential_fee_subscription_information.rb +212 -212
- data/lib/cybersource_rest_client/models/payments_products_digital_payments_subscription_information.rb +215 -215
- data/lib/cybersource_rest_client/models/payments_products_e_check_subscription_information.rb +215 -215
- data/lib/cybersource_rest_client/models/payments_products_payer_authentication_subscription_information.rb +202 -202
- data/lib/cybersource_rest_client/models/payments_products_service_fee_configuration_information_configurations_payment_information.rb +234 -234
- data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +323 -313
- data/lib/cybersource_rest_client/models/post_instrument_identifier_request.rb +323 -313
- data/lib/cybersource_rest_client/models/post_payment_credentials_request.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_create_order_post201_response.rb +269 -269
- data/lib/cybersource_rest_client/models/pts_v2_create_order_post201_response_buyer_information.rb +196 -196
- data/lib/cybersource_rest_client/models/pts_v2_create_order_post201_response_processor_information.rb +224 -224
- data/lib/cybersource_rest_client/models/pts_v2_create_order_post400_response.rb +224 -224
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_1_processor_information.rb +213 -213
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +312 -295
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +305 -305
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_embedded_actions.rb +189 -189
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_embedded_actions_ap_capture.rb +190 -190
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +263 -263
- data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_buyer_information_personal_identification.rb +207 -207
- data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_payment_information_e_wallet.rb +241 -241
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +18 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions.rb +25 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_token_create.rb +212 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_token_update.rb +212 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +22 -5
- 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_processing_information.rb +247 -227
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_authorization_options.rb +196 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_capture_options.rb +196 -196
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_purchase_options.rb +247 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +831 -814
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_seller_protection.rb +237 -237
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +313 -313
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +305 -305
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +320 -309
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +224 -224
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +15 -5
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processing_information.rb +189 -0
- data/lib/cybersource_rest_client/models/pts_v2_update_order_patch201_response.rb +200 -200
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +205 -205
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_amount_details.rb +302 -302
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_point_of_service_information.rb +189 -189
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_point_of_service_information_emv.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +318 -318
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information_payouts_options.rb +282 -282
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +446 -446
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +321 -321
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_personal_identification.rb +256 -256
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information.rb +533 -533
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_account.rb +222 -222
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information_card.rb +317 -317
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_personal_identification.rb +256 -256
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2intents_client_reference_information.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv2intents_merchant_information.rb +223 -223
- data/lib/cybersource_rest_client/models/ptsv2intents_merchant_information_merchant_descriptor.rb +207 -207
- data/lib/cybersource_rest_client/models/ptsv2intents_order_information.rb +231 -231
- data/lib/cybersource_rest_client/models/ptsv2intents_order_information_amount_details.rb +315 -315
- data/lib/cybersource_rest_client/models/ptsv2intents_order_information_bill_to.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv2intents_order_information_invoice_details.rb +190 -190
- data/lib/cybersource_rest_client/models/ptsv2intents_order_information_line_items.rb +309 -309
- data/lib/cybersource_rest_client/models/ptsv2intents_order_information_ship_to.rb +332 -332
- data/lib/cybersource_rest_client/models/ptsv2intents_payment_information.rb +189 -189
- data/lib/cybersource_rest_client/models/ptsv2intents_payment_information_payment_type.rb +200 -200
- data/lib/cybersource_rest_client/models/ptsv2intents_payment_information_payment_type_method.rb +190 -190
- data/lib/cybersource_rest_client/models/ptsv2intents_processing_information.rb +219 -219
- data/lib/cybersource_rest_client/models/ptsv2intents_processing_information_authorization_options.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv2intentsid_merchant_information.rb +189 -189
- data/lib/cybersource_rest_client/models/ptsv2intentsid_order_information.rb +221 -221
- data/lib/cybersource_rest_client/models/ptsv2intentsid_processing_information.rb +192 -192
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +90 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_agreement_information.rb +207 -207
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +229 -229
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +56 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +651 -651
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_octsurcharge.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +445 -445
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +19 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +789 -721
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +529 -467
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +298 -264
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb +339 -339
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options_bonuses.rb +213 -213
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_purchase_options.rb +56 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +502 -383
- data/lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb +363 -363
- data/lib/cybersource_rest_client/models/ptsv2payments_sender_information.rb +359 -298
- data/lib/cybersource_rest_client/models/ptsv2payments_sender_information_account.rb +230 -0
- data/lib/cybersource_rest_client/models/{tss_v2_transactions_get200_response_unscheduled_payment_information.rb → ptsv2payments_unscheduled_payment_information.rb} +7 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb +256 -256
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +230 -230
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_capture_options.rb +264 -247
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_point_of_sale_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +22 -5
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_aggregator_information.rb → ptsv2payouts_aggregator_information.rb} +325 -240
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_aggregator_information_sub_merchant.rb → ptsv2payouts_aggregator_information_sub_merchant.rb} +196 -196
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +32 -5
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_purchase_options.rb +213 -0
- data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +90 -5
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_processing_information.rb +192 -192
- data/lib/cybersource_rest_client/models/ptsv2voids_processing_information.rb +7 -1
- data/lib/cybersource_rest_client/models/push_funds201_response.rb +337 -337
- data/lib/cybersource_rest_client/models/push_funds201_response_error_information.rb +225 -225
- data/lib/cybersource_rest_client/models/push_funds201_response_payment_information.rb +189 -189
- data/lib/cybersource_rest_client/models/push_funds201_response_payment_information_tokenized_card.rb +205 -205
- data/lib/cybersource_rest_client/models/push_funds201_response_processing_information.rb +189 -189
- data/lib/cybersource_rest_client/models/push_funds201_response_processing_information_domestic_national_net.rb +197 -197
- data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +329 -329
- data/lib/cybersource_rest_client/models/push_funds201_response_processor_information_routing.rb +196 -196
- data/lib/cybersource_rest_client/models/push_funds201_response_processor_information_settlement.rb +207 -207
- data/lib/cybersource_rest_client/models/push_funds201_response_recipient_information.rb +206 -206
- data/lib/cybersource_rest_client/models/push_funds502_response.rb +246 -246
- data/lib/cybersource_rest_client/models/push_funds_request.rb +264 -264
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_processing_information.rb +206 -206
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information.rb +219 -219
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information.rb +219 -219
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_customer.rb +222 -222
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_customer.rb +205 -205
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +795 -795
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +305 -305
- data/lib/cybersource_rest_client/models/sa_config_payment_methods.rb +191 -191
- data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_co_brand_logo_asset.rb → tms_bin_lookup.rb} +200 -200
- data/lib/cybersource_rest_client/models/{inline_response_201_1_issuer_information.rb → tms_bin_lookup_issuer_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_1_payment_account_information.rb → tms_bin_lookup_payment_account_information.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_201_1_payment_account_information_card.rb → tms_bin_lookup_payment_account_information_card.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_1_payment_account_information_card_brands.rb → tms_bin_lookup_payment_account_information_card_brands.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_1_payment_account_information_features.rb → tms_bin_lookup_payment_account_information_features.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_1_payment_account_information_network.rb → tms_bin_lookup_payment_account_information_network.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art.rb → tms_card_art.rb} +231 -250
- data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_icon_asset.rb → tms_card_art_brand_logo_asset.rb} +201 -200
- data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_icon_asset__links.rb → tms_card_art_brand_logo_asset__links.rb} +189 -189
- data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_icon_asset__links_self.rb → tms_card_art_brand_logo_asset__links_self.rb} +190 -190
- data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_combined_asset.rb → tms_card_art_combined_asset.rb} +201 -200
- data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_combined_asset__links.rb → tms_card_art_combined_asset__links.rb} +189 -189
- data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_combined_asset__links_self.rb → tms_card_art_combined_asset__links_self.rb} +190 -190
- data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_background_asset.rb → tms_card_art_icon_asset.rb} +201 -200
- data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_brand_logo_asset__links.rb → tms_card_art_icon_asset__links.rb} +189 -189
- data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_brand_logo_asset__links_self.rb → tms_card_art_icon_asset__links_self.rb} +190 -190
- data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_brand_logo_asset.rb → tms_card_art_issuer_logo_asset.rb} +201 -200
- data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_background_asset__links.rb → tms_card_art_issuer_logo_asset__links.rb} +189 -189
- data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_background_asset__links_self.rb → tms_card_art_issuer_logo_asset__links_self.rb} +190 -190
- data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier.rb +323 -313
- data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier__embedded.rb +189 -0
- data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/tms_network_token_services.rb +239 -239
- data/lib/cybersource_rest_client/models/tms_network_token_services_american_express_token_service.rb +253 -253
- data/lib/cybersource_rest_client/models/tms_network_token_services_mastercard_digital_enablement_service.rb +227 -227
- data/lib/cybersource_rest_client/models/tms_network_token_services_notifications.rb +190 -190
- data/lib/cybersource_rest_client/models/tms_network_token_services_payment_credentials.rb +190 -190
- data/lib/cybersource_rest_client/models/tms_network_token_services_synchronous_provisioning.rb +190 -190
- data/lib/cybersource_rest_client/models/tms_network_token_services_visa_token_service.rb +244 -244
- data/lib/cybersource_rest_client/models/tms_nullify.rb +212 -212
- data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info.rb +1 -1
- data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info_bank_transfer_options.rb +1 -1
- data/lib/cybersource_rest_client/models/tms_sensitive_privileges.rb +190 -190
- data/lib/cybersource_rest_client/models/tms_token_formats.rb +223 -223
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card.rb +407 -321
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card__links.rb +189 -0
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card__links_self.rb +190 -0
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_card.rb +253 -225
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata.rb +200 -189
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer.rb +213 -0
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_passcode.rb +191 -0
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/token_permissions.rb +223 -223
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +326 -326
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +251 -245
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_japan_payment_options.rb +322 -322
- 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_get200_response_processor_information_multi_processor_routing.rb +235 -235
- 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_processor_information.rb +223 -223
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +392 -392
- data/lib/cybersource_rest_client/models/update_order_request.rb +229 -229
- data/lib/cybersource_rest_client/models/upv1capturecontexts_capture_mandate.rb +253 -253
- data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_amount_details.rb +201 -201
- data/lib/cybersource_rest_client/models/vt_config_card_not_present_global_payment_information_basic_information.rb +273 -273
- data/lib/cybersource_rest_client/models/vt_config_card_not_present_global_payment_information_payment_information.rb +315 -315
- data/lib/cybersource_rest_client.rb +35 -30
- metadata +38 -33
- data/lib/cybersource_rest_client/models/microformv2sessions_checkout_api_initialization.rb +0 -281
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_co_brand_logo_asset__links.rb +0 -189
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_co_brand_logo_asset__links_self.rb +0 -190
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_issuer_logo_asset.rb +0 -200
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_issuer_logo_asset__links.rb +0 -189
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_issuer_logo_asset__links_self.rb +0 -190
- data/lib/cybersource_rest_client/models/upv1capturecontexts_checkout_api_initialization.rb +0 -280
@@ -221,12 +221,6 @@ require 'cybersource_rest_client/models/inline_response_200__embedded_reversal__
|
|
221
221
|
require 'cybersource_rest_client/models/inline_response_200__embedded_reversal__links_self'
|
222
222
|
require 'cybersource_rest_client/models/inline_response_201'
|
223
223
|
require 'cybersource_rest_client/models/inline_response_201_1'
|
224
|
-
require 'cybersource_rest_client/models/inline_response_201_1_issuer_information'
|
225
|
-
require 'cybersource_rest_client/models/inline_response_201_1_payment_account_information'
|
226
|
-
require 'cybersource_rest_client/models/inline_response_201_1_payment_account_information_card'
|
227
|
-
require 'cybersource_rest_client/models/inline_response_201_1_payment_account_information_card_brands'
|
228
|
-
require 'cybersource_rest_client/models/inline_response_201_1_payment_account_information_features'
|
229
|
-
require 'cybersource_rest_client/models/inline_response_201_1_payment_account_information_network'
|
230
224
|
require 'cybersource_rest_client/models/inline_response_201_1_payout_information'
|
231
225
|
require 'cybersource_rest_client/models/inline_response_201_1_payout_information_pull_funds'
|
232
226
|
require 'cybersource_rest_client/models/inline_response_201_1_payout_information_push_funds'
|
@@ -336,7 +330,6 @@ require 'cybersource_rest_client/models/kmsegressv2keysasym_key_information'
|
|
336
330
|
require 'cybersource_rest_client/models/kmsegressv2keyssym_client_reference_information'
|
337
331
|
require 'cybersource_rest_client/models/kmsegressv2keyssym_key_information'
|
338
332
|
require 'cybersource_rest_client/models/merchant_initiated_transaction_object'
|
339
|
-
require 'cybersource_rest_client/models/microformv2sessions_checkout_api_initialization'
|
340
333
|
require 'cybersource_rest_client/models/mit_reversal_request'
|
341
334
|
require 'cybersource_rest_client/models/mit_void_request'
|
342
335
|
require 'cybersource_rest_client/models/modify_billing_agreement'
|
@@ -533,6 +526,8 @@ require 'cybersource_rest_client/models/pts_v2_payments_post201_response_embedde
|
|
533
526
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_capture'
|
534
527
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_consumer_authentication'
|
535
528
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_decision'
|
529
|
+
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_token_create'
|
530
|
+
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_token_update'
|
536
531
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_watchlist_screening'
|
537
532
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_error_information'
|
538
533
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_error_information_details'
|
@@ -564,8 +559,10 @@ require 'cybersource_rest_client/models/pts_v2_payments_post201_response_payment
|
|
564
559
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information'
|
565
560
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv'
|
566
561
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information'
|
562
|
+
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_authorization_options'
|
567
563
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options'
|
568
564
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_capture_options'
|
565
|
+
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_purchase_options'
|
569
566
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information'
|
570
567
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification'
|
571
568
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_avs'
|
@@ -625,13 +622,12 @@ require 'cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant
|
|
625
622
|
require 'cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor'
|
626
623
|
require 'cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information'
|
627
624
|
require 'cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details'
|
625
|
+
require 'cybersource_rest_client/models/pts_v2_payouts_post201_response_processing_information'
|
628
626
|
require 'cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information'
|
629
627
|
require 'cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information'
|
630
628
|
require 'cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card'
|
631
629
|
require 'cybersource_rest_client/models/pts_v2_payouts_post400_response'
|
632
630
|
require 'cybersource_rest_client/models/pts_v2_update_order_patch201_response'
|
633
|
-
require 'cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information'
|
634
|
-
require 'cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information_sub_merchant'
|
635
631
|
require 'cybersource_rest_client/models/ptsv1pushfundstransfer_client_reference_information'
|
636
632
|
require 'cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information'
|
637
633
|
require 'cybersource_rest_client/models/ptsv1pushfundstransfer_order_information'
|
@@ -815,6 +811,7 @@ require 'cybersource_rest_client/models/ptsv2payments_risk_information_buyer_his
|
|
815
811
|
require 'cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account'
|
816
812
|
require 'cybersource_rest_client/models/ptsv2payments_risk_information_profile'
|
817
813
|
require 'cybersource_rest_client/models/ptsv2payments_sender_information'
|
814
|
+
require 'cybersource_rest_client/models/ptsv2payments_sender_information_account'
|
818
815
|
require 'cybersource_rest_client/models/ptsv2payments_token_information'
|
819
816
|
require 'cybersource_rest_client/models/ptsv2payments_token_information_payment_instrument'
|
820
817
|
require 'cybersource_rest_client/models/ptsv2payments_token_information_shipping_address'
|
@@ -834,6 +831,7 @@ require 'cybersource_rest_client/models/ptsv2payments_travel_information_transit
|
|
834
831
|
require 'cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs'
|
835
832
|
require 'cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer'
|
836
833
|
require 'cybersource_rest_client/models/ptsv2payments_travel_information_vehicle_data'
|
834
|
+
require 'cybersource_rest_client/models/ptsv2payments_unscheduled_payment_information'
|
837
835
|
require 'cybersource_rest_client/models/ptsv2payments_watchlist_screening_information'
|
838
836
|
require 'cybersource_rest_client/models/ptsv2payments_watchlist_screening_information_weights'
|
839
837
|
require 'cybersource_rest_client/models/ptsv2paymentsid_client_reference_information'
|
@@ -899,6 +897,8 @@ require 'cybersource_rest_client/models/ptsv2paymentsidvoids_merchant_informatio
|
|
899
897
|
require 'cybersource_rest_client/models/ptsv2paymentsidvoids_order_information'
|
900
898
|
require 'cybersource_rest_client/models/ptsv2paymentsidvoids_payment_information'
|
901
899
|
require 'cybersource_rest_client/models/ptsv2paymentsidvoids_processing_information'
|
900
|
+
require 'cybersource_rest_client/models/ptsv2payouts_aggregator_information'
|
901
|
+
require 'cybersource_rest_client/models/ptsv2payouts_aggregator_information_sub_merchant'
|
902
902
|
require 'cybersource_rest_client/models/ptsv2payouts_client_reference_information'
|
903
903
|
require 'cybersource_rest_client/models/ptsv2payouts_merchant_information'
|
904
904
|
require 'cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor'
|
@@ -912,6 +912,7 @@ require 'cybersource_rest_client/models/ptsv2payouts_processing_information'
|
|
912
912
|
require 'cybersource_rest_client/models/ptsv2payouts_processing_information_funding_options'
|
913
913
|
require 'cybersource_rest_client/models/ptsv2payouts_processing_information_funding_options_initiator'
|
914
914
|
require 'cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options'
|
915
|
+
require 'cybersource_rest_client/models/ptsv2payouts_processing_information_purchase_options'
|
915
916
|
require 'cybersource_rest_client/models/ptsv2payouts_recipient_information'
|
916
917
|
require 'cybersource_rest_client/models/ptsv2payouts_sender_information'
|
917
918
|
require 'cybersource_rest_client/models/ptsv2payouts_sender_information_account'
|
@@ -1160,10 +1161,31 @@ require 'cybersource_rest_client/models/tax_request'
|
|
1160
1161
|
require 'cybersource_rest_client/models/tms_authorization_options'
|
1161
1162
|
require 'cybersource_rest_client/models/tms_authorization_options_initiator'
|
1162
1163
|
require 'cybersource_rest_client/models/tms_authorization_options_initiator_merchant_initiated_transaction'
|
1164
|
+
require 'cybersource_rest_client/models/tms_bin_lookup'
|
1165
|
+
require 'cybersource_rest_client/models/tms_bin_lookup_issuer_information'
|
1166
|
+
require 'cybersource_rest_client/models/tms_bin_lookup_payment_account_information'
|
1167
|
+
require 'cybersource_rest_client/models/tms_bin_lookup_payment_account_information_card'
|
1168
|
+
require 'cybersource_rest_client/models/tms_bin_lookup_payment_account_information_card_brands'
|
1169
|
+
require 'cybersource_rest_client/models/tms_bin_lookup_payment_account_information_features'
|
1170
|
+
require 'cybersource_rest_client/models/tms_bin_lookup_payment_account_information_network'
|
1171
|
+
require 'cybersource_rest_client/models/tms_card_art'
|
1172
|
+
require 'cybersource_rest_client/models/tms_card_art_brand_logo_asset'
|
1173
|
+
require 'cybersource_rest_client/models/tms_card_art_brand_logo_asset__links'
|
1174
|
+
require 'cybersource_rest_client/models/tms_card_art_brand_logo_asset__links_self'
|
1175
|
+
require 'cybersource_rest_client/models/tms_card_art_combined_asset'
|
1176
|
+
require 'cybersource_rest_client/models/tms_card_art_combined_asset__links'
|
1177
|
+
require 'cybersource_rest_client/models/tms_card_art_combined_asset__links_self'
|
1178
|
+
require 'cybersource_rest_client/models/tms_card_art_icon_asset'
|
1179
|
+
require 'cybersource_rest_client/models/tms_card_art_icon_asset__links'
|
1180
|
+
require 'cybersource_rest_client/models/tms_card_art_icon_asset__links_self'
|
1181
|
+
require 'cybersource_rest_client/models/tms_card_art_issuer_logo_asset'
|
1182
|
+
require 'cybersource_rest_client/models/tms_card_art_issuer_logo_asset__links'
|
1183
|
+
require 'cybersource_rest_client/models/tms_card_art_issuer_logo_asset__links_self'
|
1163
1184
|
require 'cybersource_rest_client/models/tms_embedded_instrument_identifier'
|
1164
1185
|
require 'cybersource_rest_client/models/tms_embedded_instrument_identifier_bank_account'
|
1165
1186
|
require 'cybersource_rest_client/models/tms_embedded_instrument_identifier_bill_to'
|
1166
1187
|
require 'cybersource_rest_client/models/tms_embedded_instrument_identifier_card'
|
1188
|
+
require 'cybersource_rest_client/models/tms_embedded_instrument_identifier__embedded'
|
1167
1189
|
require 'cybersource_rest_client/models/tms_embedded_instrument_identifier_issuer'
|
1168
1190
|
require 'cybersource_rest_client/models/tms_embedded_instrument_identifier__links'
|
1169
1191
|
require 'cybersource_rest_client/models/tms_embedded_instrument_identifier__links_payment_instruments'
|
@@ -1184,26 +1206,11 @@ require 'cybersource_rest_client/models/tms_sensitive_privileges'
|
|
1184
1206
|
require 'cybersource_rest_client/models/tms_token_formats'
|
1185
1207
|
require 'cybersource_rest_client/models/tmsv2_tokenized_card'
|
1186
1208
|
require 'cybersource_rest_client/models/tmsv2_tokenized_card_card'
|
1209
|
+
require 'cybersource_rest_client/models/tmsv2_tokenized_card__links'
|
1210
|
+
require 'cybersource_rest_client/models/tmsv2_tokenized_card__links_self'
|
1187
1211
|
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata'
|
1188
|
-
require 'cybersource_rest_client/models/
|
1189
|
-
require 'cybersource_rest_client/models/
|
1190
|
-
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_background_asset__links'
|
1191
|
-
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_background_asset__links_self'
|
1192
|
-
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_brand_logo_asset'
|
1193
|
-
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_brand_logo_asset__links'
|
1194
|
-
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_brand_logo_asset__links_self'
|
1195
|
-
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_co_brand_logo_asset'
|
1196
|
-
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_co_brand_logo_asset__links'
|
1197
|
-
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_co_brand_logo_asset__links_self'
|
1198
|
-
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_combined_asset'
|
1199
|
-
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_combined_asset__links'
|
1200
|
-
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_combined_asset__links_self'
|
1201
|
-
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_icon_asset'
|
1202
|
-
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_icon_asset__links'
|
1203
|
-
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_icon_asset__links_self'
|
1204
|
-
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_issuer_logo_asset'
|
1205
|
-
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_issuer_logo_asset__links'
|
1206
|
-
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_issuer_logo_asset__links_self'
|
1212
|
+
require 'cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer'
|
1213
|
+
require 'cybersource_rest_client/models/tmsv2_tokenized_card_passcode'
|
1207
1214
|
require 'cybersource_rest_client/models/tmsv2customers_buyer_information'
|
1208
1215
|
require 'cybersource_rest_client/models/tmsv2customers_client_reference_information'
|
1209
1216
|
require 'cybersource_rest_client/models/tmsv2customers_default_payment_instrument'
|
@@ -1299,7 +1306,6 @@ require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_risk
|
|
1299
1306
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_score'
|
1300
1307
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information'
|
1301
1308
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_token_information'
|
1302
|
-
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_unscheduled_payment_information'
|
1303
1309
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response'
|
1304
1310
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded'
|
1305
1311
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_application_information'
|
@@ -1341,7 +1347,6 @@ require 'cybersource_rest_client/models/update_subscription'
|
|
1341
1347
|
require 'cybersource_rest_client/models/update_subscription_response'
|
1342
1348
|
require 'cybersource_rest_client/models/update_webhook_request'
|
1343
1349
|
require 'cybersource_rest_client/models/upv1capturecontexts_capture_mandate'
|
1344
|
-
require 'cybersource_rest_client/models/upv1capturecontexts_checkout_api_initialization'
|
1345
1350
|
require 'cybersource_rest_client/models/upv1capturecontexts_order_information'
|
1346
1351
|
require 'cybersource_rest_client/models/upv1capturecontexts_order_information_amount_details'
|
1347
1352
|
require 'cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cybersource_rest_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.69
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CyberSource
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -558,12 +558,6 @@ files:
|
|
558
558
|
- lib/cybersource_rest_client/models/inline_response_200__embedded_reversal__links_self.rb
|
559
559
|
- lib/cybersource_rest_client/models/inline_response_201.rb
|
560
560
|
- lib/cybersource_rest_client/models/inline_response_201_1.rb
|
561
|
-
- lib/cybersource_rest_client/models/inline_response_201_1_issuer_information.rb
|
562
|
-
- lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information.rb
|
563
|
-
- lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_card.rb
|
564
|
-
- lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_card_brands.rb
|
565
|
-
- lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_features.rb
|
566
|
-
- lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_network.rb
|
567
561
|
- lib/cybersource_rest_client/models/inline_response_201_1_payout_information.rb
|
568
562
|
- lib/cybersource_rest_client/models/inline_response_201_1_payout_information_pull_funds.rb
|
569
563
|
- lib/cybersource_rest_client/models/inline_response_201_1_payout_information_push_funds.rb
|
@@ -673,7 +667,6 @@ files:
|
|
673
667
|
- lib/cybersource_rest_client/models/kmsegressv2keyssym_client_reference_information.rb
|
674
668
|
- lib/cybersource_rest_client/models/kmsegressv2keyssym_key_information.rb
|
675
669
|
- lib/cybersource_rest_client/models/merchant_initiated_transaction_object.rb
|
676
|
-
- lib/cybersource_rest_client/models/microformv2sessions_checkout_api_initialization.rb
|
677
670
|
- lib/cybersource_rest_client/models/mit_reversal_request.rb
|
678
671
|
- lib/cybersource_rest_client/models/mit_void_request.rb
|
679
672
|
- lib/cybersource_rest_client/models/modify_billing_agreement.rb
|
@@ -872,6 +865,8 @@ files:
|
|
872
865
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_capture.rb
|
873
866
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_consumer_authentication.rb
|
874
867
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_decision.rb
|
868
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_token_create.rb
|
869
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_token_update.rb
|
875
870
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_watchlist_screening.rb
|
876
871
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information.rb
|
877
872
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information_details.rb
|
@@ -901,8 +896,10 @@ files:
|
|
901
896
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb
|
902
897
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb
|
903
898
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb
|
899
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_authorization_options.rb
|
904
900
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb
|
905
901
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_capture_options.rb
|
902
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_purchase_options.rb
|
906
903
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb
|
907
904
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb
|
908
905
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_avs.rb
|
@@ -962,13 +959,12 @@ files:
|
|
962
959
|
- lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb
|
963
960
|
- lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information.rb
|
964
961
|
- lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb
|
962
|
+
- lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processing_information.rb
|
965
963
|
- lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb
|
966
964
|
- lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information.rb
|
967
965
|
- lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb
|
968
966
|
- lib/cybersource_rest_client/models/pts_v2_payouts_post400_response.rb
|
969
967
|
- lib/cybersource_rest_client/models/pts_v2_update_order_patch201_response.rb
|
970
|
-
- lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information.rb
|
971
|
-
- lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information_sub_merchant.rb
|
972
968
|
- lib/cybersource_rest_client/models/ptsv1pushfundstransfer_client_reference_information.rb
|
973
969
|
- lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb
|
974
970
|
- lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information.rb
|
@@ -1152,6 +1148,7 @@ files:
|
|
1152
1148
|
- lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb
|
1153
1149
|
- lib/cybersource_rest_client/models/ptsv2payments_risk_information_profile.rb
|
1154
1150
|
- lib/cybersource_rest_client/models/ptsv2payments_sender_information.rb
|
1151
|
+
- lib/cybersource_rest_client/models/ptsv2payments_sender_information_account.rb
|
1155
1152
|
- lib/cybersource_rest_client/models/ptsv2payments_token_information.rb
|
1156
1153
|
- lib/cybersource_rest_client/models/ptsv2payments_token_information_payment_instrument.rb
|
1157
1154
|
- lib/cybersource_rest_client/models/ptsv2payments_token_information_shipping_address.rb
|
@@ -1171,6 +1168,7 @@ files:
|
|
1171
1168
|
- lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb
|
1172
1169
|
- lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer.rb
|
1173
1170
|
- lib/cybersource_rest_client/models/ptsv2payments_travel_information_vehicle_data.rb
|
1171
|
+
- lib/cybersource_rest_client/models/ptsv2payments_unscheduled_payment_information.rb
|
1174
1172
|
- lib/cybersource_rest_client/models/ptsv2payments_watchlist_screening_information.rb
|
1175
1173
|
- lib/cybersource_rest_client/models/ptsv2payments_watchlist_screening_information_weights.rb
|
1176
1174
|
- lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb
|
@@ -1236,6 +1234,8 @@ files:
|
|
1236
1234
|
- lib/cybersource_rest_client/models/ptsv2paymentsidvoids_order_information.rb
|
1237
1235
|
- lib/cybersource_rest_client/models/ptsv2paymentsidvoids_payment_information.rb
|
1238
1236
|
- lib/cybersource_rest_client/models/ptsv2paymentsidvoids_processing_information.rb
|
1237
|
+
- lib/cybersource_rest_client/models/ptsv2payouts_aggregator_information.rb
|
1238
|
+
- lib/cybersource_rest_client/models/ptsv2payouts_aggregator_information_sub_merchant.rb
|
1239
1239
|
- lib/cybersource_rest_client/models/ptsv2payouts_client_reference_information.rb
|
1240
1240
|
- lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb
|
1241
1241
|
- lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb
|
@@ -1249,6 +1249,7 @@ files:
|
|
1249
1249
|
- lib/cybersource_rest_client/models/ptsv2payouts_processing_information_funding_options.rb
|
1250
1250
|
- lib/cybersource_rest_client/models/ptsv2payouts_processing_information_funding_options_initiator.rb
|
1251
1251
|
- lib/cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb
|
1252
|
+
- lib/cybersource_rest_client/models/ptsv2payouts_processing_information_purchase_options.rb
|
1252
1253
|
- lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb
|
1253
1254
|
- lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb
|
1254
1255
|
- lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb
|
@@ -1498,7 +1499,28 @@ files:
|
|
1498
1499
|
- lib/cybersource_rest_client/models/tms_authorization_options.rb
|
1499
1500
|
- lib/cybersource_rest_client/models/tms_authorization_options_initiator.rb
|
1500
1501
|
- lib/cybersource_rest_client/models/tms_authorization_options_initiator_merchant_initiated_transaction.rb
|
1502
|
+
- lib/cybersource_rest_client/models/tms_bin_lookup.rb
|
1503
|
+
- lib/cybersource_rest_client/models/tms_bin_lookup_issuer_information.rb
|
1504
|
+
- lib/cybersource_rest_client/models/tms_bin_lookup_payment_account_information.rb
|
1505
|
+
- lib/cybersource_rest_client/models/tms_bin_lookup_payment_account_information_card.rb
|
1506
|
+
- lib/cybersource_rest_client/models/tms_bin_lookup_payment_account_information_card_brands.rb
|
1507
|
+
- lib/cybersource_rest_client/models/tms_bin_lookup_payment_account_information_features.rb
|
1508
|
+
- lib/cybersource_rest_client/models/tms_bin_lookup_payment_account_information_network.rb
|
1509
|
+
- lib/cybersource_rest_client/models/tms_card_art.rb
|
1510
|
+
- lib/cybersource_rest_client/models/tms_card_art_brand_logo_asset.rb
|
1511
|
+
- lib/cybersource_rest_client/models/tms_card_art_brand_logo_asset__links.rb
|
1512
|
+
- lib/cybersource_rest_client/models/tms_card_art_brand_logo_asset__links_self.rb
|
1513
|
+
- lib/cybersource_rest_client/models/tms_card_art_combined_asset.rb
|
1514
|
+
- lib/cybersource_rest_client/models/tms_card_art_combined_asset__links.rb
|
1515
|
+
- lib/cybersource_rest_client/models/tms_card_art_combined_asset__links_self.rb
|
1516
|
+
- lib/cybersource_rest_client/models/tms_card_art_icon_asset.rb
|
1517
|
+
- lib/cybersource_rest_client/models/tms_card_art_icon_asset__links.rb
|
1518
|
+
- lib/cybersource_rest_client/models/tms_card_art_icon_asset__links_self.rb
|
1519
|
+
- lib/cybersource_rest_client/models/tms_card_art_issuer_logo_asset.rb
|
1520
|
+
- lib/cybersource_rest_client/models/tms_card_art_issuer_logo_asset__links.rb
|
1521
|
+
- lib/cybersource_rest_client/models/tms_card_art_issuer_logo_asset__links_self.rb
|
1501
1522
|
- lib/cybersource_rest_client/models/tms_embedded_instrument_identifier.rb
|
1523
|
+
- lib/cybersource_rest_client/models/tms_embedded_instrument_identifier__embedded.rb
|
1502
1524
|
- lib/cybersource_rest_client/models/tms_embedded_instrument_identifier__links.rb
|
1503
1525
|
- lib/cybersource_rest_client/models/tms_embedded_instrument_identifier__links_payment_instruments.rb
|
1504
1526
|
- lib/cybersource_rest_client/models/tms_embedded_instrument_identifier__links_self.rb
|
@@ -1521,27 +1543,12 @@ files:
|
|
1521
1543
|
- lib/cybersource_rest_client/models/tms_sensitive_privileges.rb
|
1522
1544
|
- lib/cybersource_rest_client/models/tms_token_formats.rb
|
1523
1545
|
- lib/cybersource_rest_client/models/tmsv2_tokenized_card.rb
|
1546
|
+
- lib/cybersource_rest_client/models/tmsv2_tokenized_card__links.rb
|
1547
|
+
- lib/cybersource_rest_client/models/tmsv2_tokenized_card__links_self.rb
|
1524
1548
|
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_card.rb
|
1525
1549
|
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata.rb
|
1526
|
-
- lib/cybersource_rest_client/models/
|
1527
|
-
- lib/cybersource_rest_client/models/
|
1528
|
-
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_background_asset__links.rb
|
1529
|
-
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_background_asset__links_self.rb
|
1530
|
-
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_brand_logo_asset.rb
|
1531
|
-
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_brand_logo_asset__links.rb
|
1532
|
-
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_brand_logo_asset__links_self.rb
|
1533
|
-
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_co_brand_logo_asset.rb
|
1534
|
-
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_co_brand_logo_asset__links.rb
|
1535
|
-
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_co_brand_logo_asset__links_self.rb
|
1536
|
-
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_combined_asset.rb
|
1537
|
-
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_combined_asset__links.rb
|
1538
|
-
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_combined_asset__links_self.rb
|
1539
|
-
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_icon_asset.rb
|
1540
|
-
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_icon_asset__links.rb
|
1541
|
-
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_icon_asset__links_self.rb
|
1542
|
-
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_issuer_logo_asset.rb
|
1543
|
-
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_issuer_logo_asset__links.rb
|
1544
|
-
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_issuer_logo_asset__links_self.rb
|
1550
|
+
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer.rb
|
1551
|
+
- lib/cybersource_rest_client/models/tmsv2_tokenized_card_passcode.rb
|
1545
1552
|
- lib/cybersource_rest_client/models/tmsv2customers__embedded.rb
|
1546
1553
|
- lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb
|
1547
1554
|
- lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded.rb
|
@@ -1637,7 +1644,6 @@ files:
|
|
1637
1644
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_score.rb
|
1638
1645
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb
|
1639
1646
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_token_information.rb
|
1640
|
-
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_unscheduled_payment_information.rb
|
1641
1647
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb
|
1642
1648
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded.rb
|
1643
1649
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded__links.rb
|
@@ -1680,7 +1686,6 @@ files:
|
|
1680
1686
|
- lib/cybersource_rest_client/models/update_subscription_response.rb
|
1681
1687
|
- lib/cybersource_rest_client/models/update_webhook_request.rb
|
1682
1688
|
- lib/cybersource_rest_client/models/upv1capturecontexts_capture_mandate.rb
|
1683
|
-
- lib/cybersource_rest_client/models/upv1capturecontexts_checkout_api_initialization.rb
|
1684
1689
|
- lib/cybersource_rest_client/models/upv1capturecontexts_order_information.rb
|
1685
1690
|
- lib/cybersource_rest_client/models/upv1capturecontexts_order_information_amount_details.rb
|
1686
1691
|
- lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to.rb
|
@@ -1758,7 +1763,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1758
1763
|
- !ruby/object:Gem::Version
|
1759
1764
|
version: '0'
|
1760
1765
|
requirements: []
|
1761
|
-
rubygems_version: 3.
|
1766
|
+
rubygems_version: 3.5.22
|
1762
1767
|
signing_key:
|
1763
1768
|
specification_version: 4
|
1764
1769
|
summary: CyberSource Ruby SDK Gem
|
@@ -1,281 +0,0 @@
|
|
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
|
-
# Use the [Digital Accept Checkout API](https://developer.cybersource.com/library/documentation/dev_guides/Secure_Acceptance_Checkout_API/Secure_Acceptance_Checkout_API.pdf) in conjunction with Microform to provide a cohesive PCI SAQ A embedded payment application within your merchant e-commerce page. The Digital Accept Checkout API provides access to payment processing and additional value-added services directly from the browser.
|
16
|
-
class Microformv2sessionsCheckoutApiInitialization
|
17
|
-
attr_accessor :profile_id
|
18
|
-
|
19
|
-
attr_accessor :access_key
|
20
|
-
|
21
|
-
attr_accessor :reference_number
|
22
|
-
|
23
|
-
attr_accessor :transaction_uuid
|
24
|
-
|
25
|
-
attr_accessor :transaction_type
|
26
|
-
|
27
|
-
attr_accessor :currency
|
28
|
-
|
29
|
-
attr_accessor :amount
|
30
|
-
|
31
|
-
# Locale where application is being used. This field controls aspects of the application such as the language it will be rendered in.
|
32
|
-
attr_accessor :locale
|
33
|
-
|
34
|
-
attr_accessor :override_custom_receipt_page
|
35
|
-
|
36
|
-
attr_accessor :unsigned_field_names
|
37
|
-
|
38
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
39
|
-
def self.attribute_map
|
40
|
-
{
|
41
|
-
:'profile_id' => :'profile_id',
|
42
|
-
:'access_key' => :'access_key',
|
43
|
-
:'reference_number' => :'reference_number',
|
44
|
-
:'transaction_uuid' => :'transaction_uuid',
|
45
|
-
:'transaction_type' => :'transaction_type',
|
46
|
-
:'currency' => :'currency',
|
47
|
-
:'amount' => :'amount',
|
48
|
-
:'locale' => :'locale',
|
49
|
-
:'override_custom_receipt_page' => :'override_custom_receipt_page',
|
50
|
-
:'unsigned_field_names' => :'unsigned_field_names'
|
51
|
-
}
|
52
|
-
end
|
53
|
-
|
54
|
-
# Attribute mapping from JSON key to ruby-style variable name.
|
55
|
-
def self.json_map
|
56
|
-
{
|
57
|
-
:'profile_id' => :'profile_id',
|
58
|
-
:'access_key' => :'access_key',
|
59
|
-
:'reference_number' => :'reference_number',
|
60
|
-
:'transaction_uuid' => :'transaction_uuid',
|
61
|
-
:'transaction_type' => :'transaction_type',
|
62
|
-
:'currency' => :'currency',
|
63
|
-
:'amount' => :'amount',
|
64
|
-
:'locale' => :'locale',
|
65
|
-
:'override_custom_receipt_page' => :'override_custom_receipt_page',
|
66
|
-
:'unsigned_field_names' => :'unsigned_field_names'
|
67
|
-
}
|
68
|
-
end
|
69
|
-
|
70
|
-
# Attribute type mapping.
|
71
|
-
def self.swagger_types
|
72
|
-
{
|
73
|
-
:'profile_id' => :'String',
|
74
|
-
:'access_key' => :'String',
|
75
|
-
:'reference_number' => :'String',
|
76
|
-
:'transaction_uuid' => :'String',
|
77
|
-
:'transaction_type' => :'String',
|
78
|
-
:'currency' => :'String',
|
79
|
-
:'amount' => :'String',
|
80
|
-
:'locale' => :'String',
|
81
|
-
:'override_custom_receipt_page' => :'String',
|
82
|
-
:'unsigned_field_names' => :'String'
|
83
|
-
}
|
84
|
-
end
|
85
|
-
|
86
|
-
# Initializes the object
|
87
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
88
|
-
def initialize(attributes = {})
|
89
|
-
return unless attributes.is_a?(Hash)
|
90
|
-
|
91
|
-
# convert string to symbol for hash key
|
92
|
-
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
93
|
-
|
94
|
-
if attributes.has_key?(:'profile_id')
|
95
|
-
self.profile_id = attributes[:'profile_id']
|
96
|
-
end
|
97
|
-
|
98
|
-
if attributes.has_key?(:'access_key')
|
99
|
-
self.access_key = attributes[:'access_key']
|
100
|
-
end
|
101
|
-
|
102
|
-
if attributes.has_key?(:'reference_number')
|
103
|
-
self.reference_number = attributes[:'reference_number']
|
104
|
-
end
|
105
|
-
|
106
|
-
if attributes.has_key?(:'transaction_uuid')
|
107
|
-
self.transaction_uuid = attributes[:'transaction_uuid']
|
108
|
-
end
|
109
|
-
|
110
|
-
if attributes.has_key?(:'transaction_type')
|
111
|
-
self.transaction_type = attributes[:'transaction_type']
|
112
|
-
end
|
113
|
-
|
114
|
-
if attributes.has_key?(:'currency')
|
115
|
-
self.currency = attributes[:'currency']
|
116
|
-
end
|
117
|
-
|
118
|
-
if attributes.has_key?(:'amount')
|
119
|
-
self.amount = attributes[:'amount']
|
120
|
-
end
|
121
|
-
|
122
|
-
if attributes.has_key?(:'locale')
|
123
|
-
self.locale = attributes[:'locale']
|
124
|
-
end
|
125
|
-
|
126
|
-
if attributes.has_key?(:'override_custom_receipt_page')
|
127
|
-
self.override_custom_receipt_page = attributes[:'override_custom_receipt_page']
|
128
|
-
end
|
129
|
-
|
130
|
-
if attributes.has_key?(:'unsigned_field_names')
|
131
|
-
self.unsigned_field_names = attributes[:'unsigned_field_names']
|
132
|
-
end
|
133
|
-
end
|
134
|
-
|
135
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
136
|
-
# @return Array for valid properties with the reasons
|
137
|
-
def list_invalid_properties
|
138
|
-
invalid_properties = Array.new
|
139
|
-
invalid_properties
|
140
|
-
end
|
141
|
-
|
142
|
-
# Check to see if the all the properties in the model are valid
|
143
|
-
# @return true if the model is valid
|
144
|
-
def valid?
|
145
|
-
true
|
146
|
-
end
|
147
|
-
|
148
|
-
# Checks equality by comparing each attribute.
|
149
|
-
# @param [Object] Object to be compared
|
150
|
-
def ==(o)
|
151
|
-
return true if self.equal?(o)
|
152
|
-
self.class == o.class &&
|
153
|
-
profile_id == o.profile_id &&
|
154
|
-
access_key == o.access_key &&
|
155
|
-
reference_number == o.reference_number &&
|
156
|
-
transaction_uuid == o.transaction_uuid &&
|
157
|
-
transaction_type == o.transaction_type &&
|
158
|
-
currency == o.currency &&
|
159
|
-
amount == o.amount &&
|
160
|
-
locale == o.locale &&
|
161
|
-
override_custom_receipt_page == o.override_custom_receipt_page &&
|
162
|
-
unsigned_field_names == o.unsigned_field_names
|
163
|
-
end
|
164
|
-
|
165
|
-
# @see the `==` method
|
166
|
-
# @param [Object] Object to be compared
|
167
|
-
def eql?(o)
|
168
|
-
self == o
|
169
|
-
end
|
170
|
-
|
171
|
-
# Calculates hash code according to all attributes.
|
172
|
-
# @return [Fixnum] Hash code
|
173
|
-
def hash
|
174
|
-
[profile_id, access_key, reference_number, transaction_uuid, transaction_type, currency, amount, locale, override_custom_receipt_page, unsigned_field_names].hash
|
175
|
-
end
|
176
|
-
|
177
|
-
# Builds the object from hash
|
178
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
179
|
-
# @return [Object] Returns the model itself
|
180
|
-
def build_from_hash(attributes)
|
181
|
-
return nil unless attributes.is_a?(Hash)
|
182
|
-
self.class.swagger_types.each_pair do |key, type|
|
183
|
-
if type =~ /\AArray<(.*)>/i
|
184
|
-
# check to ensure the input is an array given that the the attribute
|
185
|
-
# is documented as an array but the input is not
|
186
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
187
|
-
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
188
|
-
end
|
189
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
190
|
-
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
191
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
192
|
-
end
|
193
|
-
|
194
|
-
self
|
195
|
-
end
|
196
|
-
|
197
|
-
# Deserializes the data based on type
|
198
|
-
# @param string type Data type
|
199
|
-
# @param string value Value to be deserialized
|
200
|
-
# @return [Object] Deserialized data
|
201
|
-
def _deserialize(type, value)
|
202
|
-
case type.to_sym
|
203
|
-
when :DateTime
|
204
|
-
DateTime.parse(value)
|
205
|
-
when :Date
|
206
|
-
Date.parse(value)
|
207
|
-
when :String
|
208
|
-
value.to_s
|
209
|
-
when :Integer
|
210
|
-
value.to_i
|
211
|
-
when :Float
|
212
|
-
value.to_f
|
213
|
-
when :BOOLEAN
|
214
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
215
|
-
true
|
216
|
-
else
|
217
|
-
false
|
218
|
-
end
|
219
|
-
when :Object
|
220
|
-
# generic object (usually a Hash), return directly
|
221
|
-
value
|
222
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
223
|
-
inner_type = Regexp.last_match[:inner_type]
|
224
|
-
value.map { |v| _deserialize(inner_type, v) }
|
225
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
226
|
-
k_type = Regexp.last_match[:k_type]
|
227
|
-
v_type = Regexp.last_match[:v_type]
|
228
|
-
{}.tap do |hash|
|
229
|
-
value.each do |k, v|
|
230
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
231
|
-
end
|
232
|
-
end
|
233
|
-
else # model
|
234
|
-
temp_model = CyberSource.const_get(type).new
|
235
|
-
temp_model.build_from_hash(value)
|
236
|
-
end
|
237
|
-
end
|
238
|
-
|
239
|
-
# Returns the string representation of the object
|
240
|
-
# @return [String] String presentation of the object
|
241
|
-
def to_s
|
242
|
-
to_hash.to_s
|
243
|
-
end
|
244
|
-
|
245
|
-
# to_body is an alias to to_hash (backward compatibility)
|
246
|
-
# @return [Hash] Returns the object in the form of hash
|
247
|
-
def to_body
|
248
|
-
to_hash
|
249
|
-
end
|
250
|
-
|
251
|
-
# Returns the object in the form of hash
|
252
|
-
# @return [Hash] Returns the object in the form of hash
|
253
|
-
def to_hash
|
254
|
-
hash = {}
|
255
|
-
self.class.attribute_map.each_pair do |attr, param|
|
256
|
-
value = self.send(attr)
|
257
|
-
next if value.nil?
|
258
|
-
hash[param] = _to_hash(value)
|
259
|
-
end
|
260
|
-
hash
|
261
|
-
end
|
262
|
-
|
263
|
-
# Outputs non-array value in the form of hash
|
264
|
-
# For object, use to_hash. Otherwise, just return the value
|
265
|
-
# @param [Object] value Any valid value
|
266
|
-
# @return [Hash] Returns the value in the form of hash
|
267
|
-
def _to_hash(value)
|
268
|
-
if value.is_a?(Array)
|
269
|
-
value.compact.map { |v| _to_hash(v) }
|
270
|
-
elsif value.is_a?(Hash)
|
271
|
-
{}.tap do |hash|
|
272
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
273
|
-
end
|
274
|
-
elsif value.respond_to? :to_hash
|
275
|
-
value.to_hash
|
276
|
-
else
|
277
|
-
value
|
278
|
-
end
|
279
|
-
end
|
280
|
-
end
|
281
|
-
end
|