cybersource_rest_client 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AuthenticationSDK/Cybersource.gemspec +22 -21
- data/AuthenticationSDK/authentication/http/GetSignatureParameter.rb +3 -1
- data/AuthenticationSDK/authentication/http/HttpSignatureHeader.rb +3 -1
- data/AuthenticationSDK/authentication/jwt/JwtToken.rb +2 -2
- data/AuthenticationSDK/util/Constants.rb +4 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/api/capture_api.rb +4 -53
- data/lib/{cyberSource_client → cybersource_rest_client}/api/credit_api.rb +4 -53
- data/lib/{cyberSource_client/api/tokenization_api.rb → cybersource_rest_client/api/flex_token_api.rb} +9 -6
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +254 -0
- data/lib/cybersource_rest_client/api/instrument_identifiers_api.rb +91 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/api/key_generation_api.rb +11 -12
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +86 -0
- data/lib/{cyberSource_client/api/instrument_identifier_api.rb → cybersource_rest_client/api/payment_instruments_api.rb} +171 -150
- data/lib/cybersource_rest_client/api/payments_api.rb +78 -0
- data/lib/{cyberSource_client/api/default_api.rb → cybersource_rest_client/api/process_a_payout_api.rb} +8 -6
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +129 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/api/refund_api.rb +6 -53
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +156 -0
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +100 -0
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +262 -0
- data/lib/cybersource_rest_client/api/reports_api.rb +257 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/api/reversal_api.rb +4 -53
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +132 -0
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +169 -0
- data/lib/cybersource_rest_client/api/transaction_batch_api.rb +77 -0
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +86 -0
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +78 -0
- data/lib/cybersource_rest_client/api/user_management_api.rb +84 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/api/void_api.rb +10 -53
- data/lib/{cyberSource_client → cybersource_rest_client}/api_client.rb +33 -23
- data/lib/{cyberSource_client → cybersource_rest_client}/api_error.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/configuration.rb +1 -1
- data/lib/{cyberSource_client → cybersource_rest_client}/models/auth_reversal_request.rb +5 -5
- data/lib/{cyberSource_client → cybersource_rest_client}/models/body.rb +5 -5
- data/lib/{cyberSource_client → cybersource_rest_client}/models/body_1.rb +1 -1
- data/lib/{cyberSource_client → cybersource_rest_client}/models/body_2.rb +9 -9
- data/lib/{cyberSource_client → cybersource_rest_client}/models/body_3.rb +9 -9
- data/lib/{cyberSource_client → cybersource_rest_client}/models/capture_payment_request.rb +11 -11
- data/lib/{cyberSource_client → cybersource_rest_client}/models/card_info.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/create_credit_request.rb +11 -11
- data/lib/{cyberSource_client → cybersource_rest_client}/models/create_payment_request.rb +13 -13
- data/lib/cybersource_rest_client/models/create_search_request.rb +244 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/der_public_key.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/error.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/error_links.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/error_response.rb +0 -0
- data/lib/{cyberSource_client/models/paymentsflexv1tokens_card_info.rb → cybersource_rest_client/models/flexv1tokens_card_info.rb} +1 -1
- data/lib/{cyberSource_client → cybersource_rest_client}/models/generate_public_key_request.rb +69 -4
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_200.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_200_1.rb +0 -0
- data/lib/{cyberSource_client/models/inline_response_200_7.rb → cybersource_rest_client/models/inline_response_200_10.rb} +6 -6
- data/lib/{cyberSource_client/models/inline_response_200_8.rb → cybersource_rest_client/models/inline_response_200_11.rb} +2 -2
- data/lib/{cyberSource_client/models/inline_response_200_8__links.rb → cybersource_rest_client/models/inline_response_200_11__links.rb} +6 -6
- data/lib/{cyberSource_client/models/inline_response_200_8__links_first.rb → cybersource_rest_client/models/inline_response_200_11__links_first.rb} +1 -1
- data/lib/{cyberSource_client/models/inline_response_200_8__links_last.rb → cybersource_rest_client/models/inline_response_200_11__links_last.rb} +1 -1
- data/lib/{cyberSource_client/models/inline_response_200_8__links_next.rb → cybersource_rest_client/models/inline_response_200_11__links_next.rb} +1 -1
- data/lib/{cyberSource_client/models/inline_response_200_8__links_prev.rb → cybersource_rest_client/models/inline_response_200_11__links_prev.rb} +1 -1
- data/lib/{cyberSource_client/models/inline_response_200_8__links_self.rb → cybersource_rest_client/models/inline_response_200_11__links_self.rb} +1 -1
- data/lib/{cyberSource_client/models/inline_response_200_4.rb → cybersource_rest_client/models/inline_response_200_12.rb} +176 -82
- data/lib/cybersource_rest_client/models/inline_response_200_12_application_information.rb +225 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12_application_information_applications.rb +254 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12_buyer_information.rb +224 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12_client_reference_information.rb +239 -0
- data/lib/{cyberSource_client/models/inline_response_200_2_processor_information.rb → cybersource_rest_client/models/inline_response_200_12_consumer_authentication_information.rb} +62 -30
- data/lib/{cyberSource_client/models/inline_response_200_2_device_information.rb → cybersource_rest_client/models/inline_response_200_12_device_information.rb} +38 -23
- data/lib/cybersource_rest_client/models/inline_response_200_12_error_information.rb +205 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12_fraud_marking_information.rb +184 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12_installment_information.rb +184 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12_merchant_defined_information.rb +224 -0
- data/lib/{cyberSource_client/models/paymentinstruments_merchant_information.rb → cybersource_rest_client/models/inline_response_200_12_merchant_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/inline_response_200_12_merchant_information_merchant_descriptor.rb +199 -0
- data/lib/{cyberSource_client/models/v2paymentsidrefunds_order_information.rb → cybersource_rest_client/models/inline_response_200_12_order_information.rb} +13 -21
- data/lib/cybersource_rest_client/models/inline_response_200_12_order_information_amount_details.rb +274 -0
- data/lib/{cyberSource_client/models/inline_response_200_2_order_information_bill_to.rb → cybersource_rest_client/models/inline_response_200_12_order_information_bill_to.rb} +108 -43
- data/lib/{cyberSource_client/models/inline_response_200_2_order_information_line_items.rb → cybersource_rest_client/models/inline_response_200_12_order_information_line_items.rb} +34 -255
- data/lib/{cyberSource_client/models/inline_response_200_2_order_information_ship_to.rb → cybersource_rest_client/models/inline_response_200_12_order_information_ship_to.rb} +24 -29
- data/lib/cybersource_rest_client/models/inline_response_200_12_order_information_shipping_details.rb +209 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12_payment_information.rb +228 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12_payment_information_account_features.rb +249 -0
- data/lib/{cyberSource_client/models/inline_response_200_4_order_information.rb → cybersource_rest_client/models/inline_response_200_12_payment_information_bank.rb} +52 -40
- data/lib/cybersource_rest_client/models/inline_response_200_12_payment_information_bank_account.rb +244 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12_payment_information_bank_mandate.rb +204 -0
- data/lib/{cyberSource_client/models/inline_response_200_2_payment_information_card.rb → cybersource_rest_client/models/inline_response_200_12_payment_information_card.rb} +166 -12
- data/lib/cybersource_rest_client/models/inline_response_200_12_payment_information_invoice.rb +204 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12_payment_information_payment_type.rb +244 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12_point_of_sale_information.rb +233 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12_processing_information.rb +252 -0
- data/lib/{cyberSource_client/models/inline_response_200_2_processing_information.rb → cybersource_rest_client/models/inline_response_200_12_processing_information_authorization_options.rb} +17 -17
- data/lib/cybersource_rest_client/models/inline_response_200_12_processing_information_bank_transfer_options.rb +184 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12_processor_information.rb +309 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12_processor_information_ach_verification.rb +224 -0
- data/lib/{cyberSource_client/models/inline_response_200_2_processor_information_card_verification.rb → cybersource_rest_client/models/inline_response_200_12_processor_information_card_verification.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_12_processor_information_electronic_verification_results.rb +424 -0
- data/lib/{cyberSource_client/models/inline_response_200_2_processor_information_avs.rb → cybersource_rest_client/models/inline_response_200_12_processor_information_processor.rb} +17 -17
- data/lib/cybersource_rest_client/models/inline_response_200_12_risk_information.rb +233 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12_risk_information_profile.rb +194 -0
- data/lib/{cyberSource_client/models/inline_response_200_2_payment_information.rb → cybersource_rest_client/models/inline_response_200_12_risk_information_score.rb} +18 -14
- data/lib/cybersource_rest_client/models/inline_response_200_12_sender_information.rb +199 -0
- data/lib/{cyberSource_client/models/inline_response_201__embedded.rb → cybersource_rest_client/models/inline_response_200_13.rb} +10 -8
- data/lib/cybersource_rest_client/models/inline_response_200_13_account_information.rb +282 -0
- data/lib/cybersource_rest_client/models/inline_response_200_13_contact_information.rb +210 -0
- data/lib/cybersource_rest_client/models/inline_response_200_13_organization_information.rb +183 -0
- data/lib/cybersource_rest_client/models/inline_response_200_13_users.rb +201 -0
- data/lib/cybersource_rest_client/models/inline_response_200_2.rb +204 -0
- data/lib/cybersource_rest_client/models/inline_response_200_2__links.rb +183 -0
- data/lib/cybersource_rest_client/models/inline_response_200_2__links_self.rb +192 -0
- data/lib/cybersource_rest_client/models/inline_response_200_2_transaction_batches.rb +277 -0
- data/lib/cybersource_rest_client/models/inline_response_200_3.rb +186 -0
- data/lib/cybersource_rest_client/models/inline_response_200_3_notification_of_changes.rb +255 -0
- data/lib/cybersource_rest_client/models/inline_response_200_4.rb +185 -0
- data/lib/cybersource_rest_client/models/inline_response_200_4_report_definitions.rb +243 -0
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +254 -0
- data/lib/cybersource_rest_client/models/inline_response_200_5_attributes.rb +237 -0
- data/lib/cybersource_rest_client/models/inline_response_200_6.rb +185 -0
- data/lib/cybersource_rest_client/models/inline_response_200_6_report_preferences.rb +229 -0
- data/lib/cybersource_rest_client/models/inline_response_200_6_subscriptions.rb +354 -0
- data/lib/cybersource_rest_client/models/inline_response_200_7.rb +185 -0
- data/lib/cybersource_rest_client/models/inline_response_200_7_reports.rb +373 -0
- data/lib/cybersource_rest_client/models/inline_response_200_8.rb +376 -0
- data/lib/{cyberSource_client/models/inline_response_201__embedded_capture.rb → cybersource_rest_client/models/inline_response_200_9.rb} +11 -10
- data/lib/cybersource_rest_client/models/inline_response_200_9__links.rb +194 -0
- data/lib/cybersource_rest_client/models/inline_response_200_9__links_files.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_200_9__links_self.rb +192 -0
- data/lib/cybersource_rest_client/models/inline_response_200_9_file_details.rb +278 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_200_der.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_200_jwk.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201.rb +1 -10
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_1.rb +2 -2
- data/lib/{cyberSource_client/models/inline_response_201__embedded_capture__links.rb → cybersource_rest_client/models/inline_response_201_1__links.rb} +1 -1
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_1_authorization_information.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_1_processor_information.rb +1 -1
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_1_reversal_amount_details.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_2.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_2__links.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_2_order_information.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_2_order_information_amount_details.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_2_processor_information.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_3.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_3__links.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_3_order_information.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_3_processor_information.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_3_refund_amount_details.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_4.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_4_credit_amount_details.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_5.rb +1 -1
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_5_void_amount_details.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_6.rb +9 -9
- data/lib/{cyberSource_client/models/inline_response_200_5.rb → cybersource_rest_client/models/inline_response_201_7.rb} +99 -87
- data/lib/cybersource_rest_client/models/inline_response_201_7__embedded.rb +186 -0
- data/lib/cybersource_rest_client/models/inline_response_201_7__embedded__links.rb +183 -0
- data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_buyer_information.rb +199 -0
- data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_client_reference_information.rb +219 -0
- data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_consumer_authentication_information.rb +209 -0
- data/lib/{cyberSource_client/models/inline_response_200_4_device_information.rb → cybersource_rest_client/models/inline_response_201_7__embedded_device_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_merchant_information.rb +199 -0
- data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_order_information.rb +201 -0
- data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_order_information_bill_to.rb +299 -0
- data/lib/{cyberSource_client/models/inline_response_200_4_order_information_ship_to.rb → cybersource_rest_client/models/inline_response_201_7__embedded_order_information_ship_to.rb} +85 -35
- data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_payment_information.rb +201 -0
- data/lib/{cyberSource_client/models/inline_response_200_2_payment_information_tokenized_card.rb → cybersource_rest_client/models/inline_response_201_7__embedded_payment_information_card.rb} +31 -81
- data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_payment_information_payment_method.rb +184 -0
- data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_point_of_sale_information.rb +228 -0
- data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_point_of_sale_information_partner.rb +199 -0
- data/lib/{cyberSource_client/models/inline_response_200_4_processing_information.rb → cybersource_rest_client/models/inline_response_201_7__embedded_processing_information.rb} +9 -8
- data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_processor_information.rb +183 -0
- data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_risk_information.rb +183 -0
- data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_risk_information_providers.rb +183 -0
- data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_risk_information_providers_fingerprint.rb +249 -0
- data/lib/{cyberSource_client/models/inline_response_200_2.rb → cybersource_rest_client/models/inline_response_201_7__embedded_transaction_summaries.rb} +103 -123
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201__links.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201__links_self.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_client_reference_information.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_error_information.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_error_information_details.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_order_information.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_order_information_amount_details.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_order_information_invoice_details.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_payment_information.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_payment_information_account_features.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_payment_information_card.rb +1 -1
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_payment_information_tokenized_card.rb +1 -1
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_point_of_sale_information.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_point_of_sale_information_emv.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_processor_information.rb +5 -5
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_processor_information_avs.rb +10 -7
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_processor_information_card_verification.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_processor_information_consumer_authentication_response.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_processor_information_customer.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_processor_information_electronic_verification_results.rb +10 -10
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_processor_information_issuer.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_processor_information_merchant_advice.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_400.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_400_1.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_400_2.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_400_3.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_400_4.rb +0 -0
- data/lib/cybersource_rest_client/models/inline_response_400_5.rb +193 -0
- data/lib/cybersource_rest_client/models/inline_response_400_5_error_information.rb +203 -0
- data/lib/cybersource_rest_client/models/inline_response_400_5_error_information_details.rb +194 -0
- data/lib/{cyberSource_client/models/inline_response_400_5.rb → cybersource_rest_client/models/inline_response_400_6.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_7.rb +247 -0
- data/lib/cybersource_rest_client/models/inline_response_400_7_fields.rb +205 -0
- data/lib/{cyberSource_client/models/inline_response_400_6.rb → cybersource_rest_client/models/inline_response_400_8.rb} +2 -2
- data/lib/cybersource_rest_client/models/inline_response_400_9.rb +249 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_409.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_409__links.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_409__links_payment_instruments.rb +0 -0
- data/lib/cybersource_rest_client/models/inline_response_500.rb +193 -0
- data/lib/cybersource_rest_client/models/inline_response_500_error_information.rb +194 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_502.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_default.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_default__links.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_default__links_next.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_default_response_status.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_default_response_status_details.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/json_web_key.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/key_parameters.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/key_result.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/link.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/links.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/oct_create_payment_request.rb +6 -6
- data/lib/{cyberSource_client/models/v2credits_point_of_sale_information.rb → cybersource_rest_client/models/ptsv2credits_point_of_sale_information.rb} +2 -2
- data/lib/{cyberSource_client/models/v2credits_point_of_sale_information_emv.rb → cybersource_rest_client/models/ptsv2credits_point_of_sale_information_emv.rb} +1 -1
- data/lib/{cyberSource_client/models/v2credits_processing_information.rb → cybersource_rest_client/models/ptsv2credits_processing_information.rb} +2 -2
- data/lib/{cyberSource_client/models/v2payments_aggregator_information.rb → cybersource_rest_client/models/ptsv2payments_aggregator_information.rb} +2 -2
- data/lib/{cyberSource_client/models/v2payments_aggregator_information_sub_merchant.rb → cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb} +10 -10
- data/lib/{cyberSource_client/models/v2payments_buyer_information.rb → cybersource_rest_client/models/ptsv2payments_buyer_information.rb} +4 -4
- data/lib/{cyberSource_client/models/v2payments_buyer_information_personal_identification.rb → cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb} +2 -2
- data/lib/{cyberSource_client/models/v2payments_client_reference_information.rb → cybersource_rest_client/models/ptsv2payments_client_reference_information.rb} +1 -1
- data/lib/{cyberSource_client/models/v2payments_consumer_authentication_information.rb → cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb} +1 -1
- data/lib/{cyberSource_client/models/v2payments_device_information.rb → cybersource_rest_client/models/ptsv2payments_device_information.rb} +2 -2
- data/lib/{cyberSource_client/models/v2payments_merchant_defined_information.rb → cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb} +3 -3
- data/lib/{cyberSource_client/models/v2payments_merchant_information.rb → cybersource_rest_client/models/ptsv2payments_merchant_information.rb} +2 -2
- data/lib/{cyberSource_client/models/v2payments_merchant_information_merchant_descriptor.rb → cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb} +1 -1
- data/lib/{cyberSource_client/models/v2payments_order_information.rb → cybersource_rest_client/models/ptsv2payments_order_information.rb} +7 -7
- data/lib/{cyberSource_client/models/v2payments_order_information_amount_details.rb → cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb} +5 -5
- data/lib/{cyberSource_client/models/v2payments_order_information_amount_details_amex_additional_amounts.rb → cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb} +1 -1
- data/lib/{cyberSource_client/models/v2payments_order_information_amount_details_surcharge.rb → cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb} +2 -2
- data/lib/{cyberSource_client/models/v2payments_order_information_amount_details_tax_details.rb → cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb} +1 -1
- data/lib/{cyberSource_client/models/v2payments_order_information_bill_to.rb → cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb} +9 -9
- data/lib/{cyberSource_client/models/v2payments_order_information_invoice_details.rb → cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb} +34 -4
- data/lib/{cyberSource_client/models/v2payments_order_information_invoice_details_transaction_advice_addendum.rb → cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb} +2 -2
- data/lib/{cyberSource_client/models/v2payments_order_information_line_items.rb → cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb} +2 -2
- data/lib/{cyberSource_client/models/v2payments_order_information_ship_to.rb → cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb} +2 -2
- data/lib/{cyberSource_client/models/v2payments_order_information_shipping_details.rb → cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb} +2 -2
- data/lib/{cyberSource_client/models/v2payments_payment_information.rb → cybersource_rest_client/models/ptsv2payments_payment_information.rb} +5 -5
- data/lib/{cyberSource_client/models/v2payments_payment_information_card.rb → cybersource_rest_client/models/ptsv2payments_payment_information_card.rb} +3 -3
- data/lib/{cyberSource_client/models/v2payments_payment_information_customer.rb → cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb} +8 -11
- data/lib/{cyberSource_client/models/v2payments_payment_information_fluid_data.rb → cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb} +2 -2
- data/lib/{cyberSource_client/models/v2payments_payment_information_tokenized_card.rb → cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb} +4 -4
- data/lib/{cyberSource_client/models/v2payments_point_of_sale_information.rb → cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb} +5 -5
- data/lib/{cyberSource_client/models/v2payments_point_of_sale_information_emv.rb → cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb} +1 -1
- data/lib/{cyberSource_client/models/v2payments_processing_information.rb → cybersource_rest_client/models/ptsv2payments_processing_information.rb} +6 -6
- data/lib/{cyberSource_client/models/v2payments_processing_information_authorization_options.rb → cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb} +2 -2
- data/lib/{cyberSource_client/models/v2payments_processing_information_authorization_options_initiator.rb → cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb} +2 -2
- data/lib/{cyberSource_client/models/v2payments_processing_information_authorization_options_merchant_initiated_transaction.rb → cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_merchant_initiated_transaction.rb} +1 -1
- data/lib/{cyberSource_client/models/v2payments_processing_information_capture_options.rb → cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb} +1 -1
- data/lib/{cyberSource_client/models/v2payments_processing_information_issuer.rb → cybersource_rest_client/models/ptsv2payments_processing_information_issuer.rb} +1 -1
- data/lib/{cyberSource_client/models/v2payments_processing_information_recurring_options.rb → cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb} +1 -1
- data/lib/{cyberSource_client/models/v2payments_recipient_information.rb → cybersource_rest_client/models/ptsv2payments_recipient_information.rb} +4 -4
- data/lib/{cyberSource_client/models/v2paymentsidcaptures_aggregator_information.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb} +2 -2
- data/lib/{cyberSource_client/models/v2paymentsidcaptures_aggregator_information_sub_merchant.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb} +9 -9
- data/lib/{cyberSource_client/models/v2paymentsidcaptures_buyer_information.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb} +2 -2
- data/lib/{cyberSource_client/models/v2paymentsidcaptures_merchant_information.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb} +2 -2
- data/lib/{cyberSource_client/models/inline_response_200_2_order_information.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information.rb} +7 -7
- data/lib/{cyberSource_client/models/v2paymentsidcaptures_order_information_amount_details.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb} +3 -3
- data/lib/{cyberSource_client/models/v2paymentsidcaptures_order_information_bill_to.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb} +6 -6
- data/lib/{cyberSource_client/models/v2paymentsidcaptures_order_information_invoice_details.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb} +3 -3
- data/lib/{cyberSource_client/models/v2paymentsidcaptures_order_information_ship_to.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb} +1 -1
- data/lib/{cyberSource_client/models/v2paymentsidcaptures_order_information_shipping_details.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb} +1 -1
- data/lib/{cyberSource_client/models/v2paymentsidcaptures_payment_information.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information.rb} +2 -2
- data/lib/{cyberSource_client/models/v2paymentsidcaptures_point_of_sale_information.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb} +2 -2
- data/lib/{cyberSource_client/models/v2paymentsidcaptures_point_of_sale_information_emv.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb} +1 -1
- data/lib/{cyberSource_client/models/v2paymentsidcaptures_processing_information.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb} +4 -4
- data/lib/{cyberSource_client/models/v2paymentsidcaptures_processing_information_authorization_options.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb} +1 -1
- data/lib/{cyberSource_client/models/v2paymentsidcaptures_processing_information_capture_options.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_capture_options.rb} +1 -1
- data/lib/{cyberSource_client/models/v2paymentsidrefunds_merchant_information.rb → cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb} +2 -2
- data/lib/{cyberSource_client/models/v2paymentsidcaptures_order_information.rb → cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information.rb} +7 -7
- data/lib/{cyberSource_client/models/v2paymentsidrefunds_order_information_line_items.rb → cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb} +2 -2
- data/lib/{cyberSource_client/models/v2paymentsidrefunds_payment_information.rb → cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb} +2 -2
- data/lib/{cyberSource_client/models/v2paymentsidrefunds_payment_information_card.rb → cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb} +3 -3
- data/lib/{cyberSource_client/models/v2paymentsidrefunds_point_of_sale_information.rb → cybersource_rest_client/models/ptsv2paymentsidrefunds_point_of_sale_information.rb} +2 -2
- data/lib/{cyberSource_client/models/v2paymentsidrefunds_processing_information.rb → cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb} +2 -2
- data/lib/{cyberSource_client/models/v2paymentsidrefunds_processing_information_recurring_options.rb → cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb} +1 -1
- data/lib/{cyberSource_client/models/v2paymentsidreversals_client_reference_information.rb → cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb} +1 -1
- data/lib/{cyberSource_client/models/v2paymentsidreversals_order_information.rb → cybersource_rest_client/models/ptsv2paymentsidreversals_order_information.rb} +2 -2
- data/lib/{cyberSource_client/models/v2paymentsidreversals_order_information_line_items.rb → cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb} +1 -1
- data/lib/{cyberSource_client/models/v2paymentsidreversals_point_of_sale_information.rb → cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information.rb} +1 -1
- data/lib/{cyberSource_client/models/v2paymentsidreversals_processing_information.rb → cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb} +2 -2
- data/lib/{cyberSource_client/models/v2paymentsidreversals_reversal_information.rb → cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information.rb} +8 -5
- data/lib/{cyberSource_client/models/v2paymentsidreversals_reversal_information_amount_details.rb → cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb} +1 -1
- data/lib/{cyberSource_client/models/v2payouts_merchant_information.rb → cybersource_rest_client/models/ptsv2payouts_merchant_information.rb} +2 -2
- data/lib/{cyberSource_client/models/v2payouts_merchant_information_merchant_descriptor.rb → cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb} +1 -1
- data/lib/{cyberSource_client/models/v2payouts_order_information.rb → cybersource_rest_client/models/ptsv2payouts_order_information.rb} +3 -3
- data/lib/{cyberSource_client/models/v2payouts_order_information_amount_details.rb → cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb} +8 -24
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb +199 -0
- data/lib/{cyberSource_client/models/v2payouts_order_information_bill_to.rb → cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb} +5 -5
- data/lib/{cyberSource_client/models/v2payouts_payment_information.rb → cybersource_rest_client/models/ptsv2payouts_payment_information.rb} +2 -2
- data/lib/{cyberSource_client/models/v2payouts_payment_information_card.rb → cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb} +4 -4
- data/lib/{cyberSource_client/models/v2payouts_processing_information.rb → cybersource_rest_client/models/ptsv2payouts_processing_information.rb} +3 -3
- data/lib/{cyberSource_client/models/v2payouts_processing_information_payouts_options.rb → cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb} +1 -1
- data/lib/{cyberSource_client/models/v2payouts_recipient_information.rb → cybersource_rest_client/models/ptsv2payouts_recipient_information.rb} +1 -1
- data/lib/{cyberSource_client/models/v2payouts_sender_information.rb → cybersource_rest_client/models/ptsv2payouts_sender_information.rb} +6 -6
- data/lib/{cyberSource_client/models/v2payouts_sender_information_account.rb → cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb} +2 -2
- data/lib/{cyberSource_client → cybersource_rest_client}/models/refund_capture_request.rb +11 -11
- data/lib/{cyberSource_client → cybersource_rest_client}/models/refund_payment_request.rb +11 -11
- data/lib/cybersource_rest_client/models/request_body.rb +463 -0
- data/lib/cybersource_rest_client/models/request_body_1.rb +415 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/response_status.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/response_status_details.rb +0 -0
- data/lib/{cyberSource_client/models/instrumentidentifiers__links.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers__links.rb} +4 -4
- data/lib/{cyberSource_client/models/instrumentidentifiers__links_self.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers__links_self.rb} +1 -1
- data/lib/{cyberSource_client/models/instrumentidentifiers_authorization_options_merchant_initiated_transaction.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers_authorization_options_merchant_initiated_transaction.rb} +1 -1
- data/lib/{cyberSource_client/models/instrumentidentifiers_bank_account.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers_bank_account.rb} +1 -1
- data/lib/{cyberSource_client/models/instrumentidentifiers_card.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers_card.rb} +1 -1
- data/lib/{cyberSource_client/models/instrumentidentifiers_details.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers_details.rb} +1 -1
- data/lib/{cyberSource_client/models/instrumentidentifiers_metadata.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers_metadata.rb} +1 -1
- data/lib/{cyberSource_client/models/instrumentidentifiers_processing_information.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers_processing_information.rb} +2 -2
- data/lib/{cyberSource_client/models/instrumentidentifiers_processing_information_authorization_options.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers_processing_information_authorization_options.rb} +2 -2
- data/lib/{cyberSource_client/models/instrumentidentifiers_processing_information_authorization_options_initiator.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers_processing_information_authorization_options_initiator.rb} +2 -2
- data/lib/{cyberSource_client/models/paymentinstruments_bank_account.rb → cybersource_rest_client/models/tmsv1paymentinstruments_bank_account.rb} +1 -1
- data/lib/{cyberSource_client/models/paymentinstruments_bill_to.rb → cybersource_rest_client/models/tmsv1paymentinstruments_bill_to.rb} +1 -1
- data/lib/{cyberSource_client/models/paymentinstruments_buyer_information.rb → cybersource_rest_client/models/tmsv1paymentinstruments_buyer_information.rb} +2 -2
- data/lib/{cyberSource_client/models/paymentinstruments_buyer_information_issued_by.rb → cybersource_rest_client/models/tmsv1paymentinstruments_buyer_information_issued_by.rb} +1 -1
- data/lib/{cyberSource_client/models/paymentinstruments_buyer_information_personal_identification.rb → cybersource_rest_client/models/tmsv1paymentinstruments_buyer_information_personal_identification.rb} +2 -2
- data/lib/{cyberSource_client/models/paymentinstruments_card.rb → cybersource_rest_client/models/tmsv1paymentinstruments_card.rb} +1 -1
- data/lib/{cyberSource_client/models/paymentinstruments_instrument_identifier.rb → cybersource_rest_client/models/tmsv1paymentinstruments_instrument_identifier.rb} +6 -6
- data/lib/cybersource_rest_client/models/tmsv1paymentinstruments_merchant_information.rb +183 -0
- data/lib/{cyberSource_client/models/paymentinstruments_merchant_information_merchant_descriptor.rb → cybersource_rest_client/models/tmsv1paymentinstruments_merchant_information_merchant_descriptor.rb} +1 -1
- data/lib/{cyberSource_client/models/paymentinstruments_processing_information.rb → cybersource_rest_client/models/tmsv1paymentinstruments_processing_information.rb} +2 -2
- data/lib/{cyberSource_client/models/paymentinstruments_processing_information_bank_transfer_options.rb → cybersource_rest_client/models/tmsv1paymentinstruments_processing_information_bank_transfer_options.rb} +1 -1
- data/lib/{cyberSource_client → cybersource_rest_client}/models/tokenize_parameters.rb +1 -1
- data/lib/{cyberSource_client → cybersource_rest_client}/models/tokenize_request.rb +1 -1
- data/lib/{cyberSource_client → cybersource_rest_client}/models/tokenize_result.rb +0 -0
- data/lib/{cyberSource_client → cybersource_rest_client}/models/void_capture_request.rb +1 -1
- data/lib/{cyberSource_client → cybersource_rest_client}/models/void_credit_request.rb +1 -1
- data/lib/{cyberSource_client → cybersource_rest_client}/models/void_payment_request.rb +1 -1
- data/lib/{cyberSource_client → cybersource_rest_client}/models/void_refund_request.rb +1 -1
- data/lib/{cyberSource_client → cybersource_rest_client}/version.rb +0 -0
- data/lib/cybersource_rest_client.rb +369 -0
- metadata +338 -255
- data/lib/cyberSource_client/api/payment_api.rb +0 -127
- data/lib/cyberSource_client/api/payment_instrument_api.rb +0 -312
- data/lib/cyberSource_client/models/inline_response_200_2_buyer_information.rb +0 -270
- data/lib/cyberSource_client/models/inline_response_200_2_merchant_information.rb +0 -233
- data/lib/cyberSource_client/models/inline_response_200_2_order_information_amount_details.rb +0 -385
- data/lib/cyberSource_client/models/inline_response_200_2_order_information_invoice_details.rb +0 -315
- data/lib/cyberSource_client/models/inline_response_200_3.rb +0 -314
- data/lib/cyberSource_client/models/inline_response_200_4_order_information_amount_details.rb +0 -360
- data/lib/cyberSource_client/models/inline_response_200_4_order_information_invoice_details.rb +0 -305
- data/lib/cyberSource_client/models/inline_response_200_4_processing_information_authorization_options.rb +0 -199
- data/lib/cyberSource_client/models/inline_response_200_6.rb +0 -305
- data/lib/cyberSource_client.rb +0 -286
@@ -16,8 +16,6 @@ module CyberSource
|
|
16
16
|
class InlineResponse201
|
17
17
|
attr_accessor :_links
|
18
18
|
|
19
|
-
attr_accessor :_embedded
|
20
|
-
|
21
19
|
# An unique identification number assigned by CyberSource to identify the submitted request.
|
22
20
|
attr_accessor :id
|
23
21
|
|
@@ -68,7 +66,6 @@ module CyberSource
|
|
68
66
|
def self.attribute_map
|
69
67
|
{
|
70
68
|
:'_links' => :'_links',
|
71
|
-
:'_embedded' => :'_embedded',
|
72
69
|
:'id' => :'id',
|
73
70
|
:'submit_time_utc' => :'submitTimeUtc',
|
74
71
|
:'status' => :'status',
|
@@ -86,7 +83,6 @@ module CyberSource
|
|
86
83
|
def self.swagger_types
|
87
84
|
{
|
88
85
|
:'_links' => :'InlineResponse201Links',
|
89
|
-
:'_embedded' => :'InlineResponse201Embedded',
|
90
86
|
:'id' => :'String',
|
91
87
|
:'submit_time_utc' => :'String',
|
92
88
|
:'status' => :'String',
|
@@ -112,10 +108,6 @@ module CyberSource
|
|
112
108
|
self._links = attributes[:'_links']
|
113
109
|
end
|
114
110
|
|
115
|
-
if attributes.has_key?(:'_embedded')
|
116
|
-
self._embedded = attributes[:'_embedded']
|
117
|
-
end
|
118
|
-
|
119
111
|
if attributes.has_key?(:'id')
|
120
112
|
self.id = attributes[:'id']
|
121
113
|
end
|
@@ -218,7 +210,6 @@ module CyberSource
|
|
218
210
|
return true if self.equal?(o)
|
219
211
|
self.class == o.class &&
|
220
212
|
_links == o._links &&
|
221
|
-
_embedded == o._embedded &&
|
222
213
|
id == o.id &&
|
223
214
|
submit_time_utc == o.submit_time_utc &&
|
224
215
|
status == o.status &&
|
@@ -240,7 +231,7 @@ module CyberSource
|
|
240
231
|
# Calculates hash code according to all attributes.
|
241
232
|
# @return [Fixnum] Hash code
|
242
233
|
def hash
|
243
|
-
[_links,
|
234
|
+
[_links, id, submit_time_utc, status, reconciliation_id, error_information, client_reference_information, processor_information, payment_information, order_information, point_of_sale_information].hash
|
244
235
|
end
|
245
236
|
|
246
237
|
# Builds the object from hash
|
@@ -79,7 +79,7 @@ module CyberSource
|
|
79
79
|
# Attribute type mapping.
|
80
80
|
def self.swagger_types
|
81
81
|
{
|
82
|
-
:'_links' => :'
|
82
|
+
:'_links' => :'InlineResponse2011Links',
|
83
83
|
:'id' => :'String',
|
84
84
|
:'submit_time_utc' => :'String',
|
85
85
|
:'status' => :'String',
|
@@ -88,7 +88,7 @@ module CyberSource
|
|
88
88
|
:'reversal_amount_details' => :'InlineResponse2011ReversalAmountDetails',
|
89
89
|
:'processor_information' => :'InlineResponse2011ProcessorInformation',
|
90
90
|
:'authorization_information' => :'InlineResponse2011AuthorizationInformation',
|
91
|
-
:'point_of_sale_information' => :'
|
91
|
+
:'point_of_sale_information' => :'Ptsv2paymentsidreversalsPointOfSaleInformation'
|
92
92
|
}
|
93
93
|
end
|
94
94
|
|
File without changes
|
@@ -20,7 +20,7 @@ module CyberSource
|
|
20
20
|
# For most processors, this is the error message sent directly from the bank. Returned only when the processor returns this value. Important Do not use this field to evaluate the result of the authorization.
|
21
21
|
attr_accessor :response_code
|
22
22
|
|
23
|
-
# Processor-defined response category code. The associated detail error code is in the auth_auth_response field or the auth_reversal_auth_ response field depending on which service you requested. This field is supported only for: - Japanese issuers - Domestic transactions in Japan - Comercio Latino
|
23
|
+
# Processor-defined response category code. The associated detail error code is in the auth_auth_response field or the auth_reversal_auth_ response field depending on which service you requested. This field is supported only for: - Japanese issuers - Domestic transactions in Japan - Comercio Latino—processor transaction ID required for troubleshooting **Maximum length for processors**: - Comercio Latino: 32 - All other processors: 3
|
24
24
|
attr_accessor :response_category_code
|
25
25
|
|
26
26
|
# Name of the Japanese acquirer that processed the transaction. Returned only for CCS (CAFIS) and JCN Gateway. Please contact the CyberSource Japan Support Group for more information.
|
File without changes
|
File without changes
|
data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_2__links.rb
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_3__links.rb
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -66,7 +66,7 @@ module CyberSource
|
|
66
66
|
# Attribute type mapping.
|
67
67
|
def self.swagger_types
|
68
68
|
{
|
69
|
-
:'_links' => :'
|
69
|
+
:'_links' => :'InlineResponse2011Links',
|
70
70
|
:'id' => :'String',
|
71
71
|
:'submit_time_utc' => :'String',
|
72
72
|
:'status' => :'String',
|
File without changes
|
@@ -84,18 +84,18 @@ module CyberSource
|
|
84
84
|
# Attribute type mapping.
|
85
85
|
def self.swagger_types
|
86
86
|
{
|
87
|
-
:'_links' => :'
|
87
|
+
:'_links' => :'Tmsv1instrumentidentifiersLinks',
|
88
88
|
:'id' => :'String',
|
89
89
|
:'object' => :'String',
|
90
90
|
:'state' => :'String',
|
91
|
-
:'bank_account' => :'
|
92
|
-
:'card' => :'
|
93
|
-
:'buyer_information' => :'
|
94
|
-
:'bill_to' => :'
|
95
|
-
:'processing_information' => :'
|
96
|
-
:'merchant_information' => :'
|
97
|
-
:'meta_data' => :'
|
98
|
-
:'instrument_identifier' => :'
|
91
|
+
:'bank_account' => :'Tmsv1paymentinstrumentsBankAccount',
|
92
|
+
:'card' => :'Tmsv1paymentinstrumentsCard',
|
93
|
+
:'buyer_information' => :'Tmsv1paymentinstrumentsBuyerInformation',
|
94
|
+
:'bill_to' => :'Tmsv1paymentinstrumentsBillTo',
|
95
|
+
:'processing_information' => :'Tmsv1paymentinstrumentsProcessingInformation',
|
96
|
+
:'merchant_information' => :'Tmsv1paymentinstrumentsMerchantInformation',
|
97
|
+
:'meta_data' => :'Tmsv1instrumentidentifiersMetadata',
|
98
|
+
:'instrument_identifier' => :'Tmsv1paymentinstrumentsInstrumentIdentifier'
|
99
99
|
}
|
100
100
|
end
|
101
101
|
|
@@ -13,70 +13,79 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
class
|
17
|
-
attr_accessor :_links
|
18
|
-
|
16
|
+
class InlineResponse2017
|
19
17
|
# An unique identification number assigned by CyberSource to identify the submitted request.
|
20
18
|
attr_accessor :id
|
21
19
|
|
22
|
-
#
|
23
|
-
attr_accessor :
|
20
|
+
# save or not save.
|
21
|
+
attr_accessor :save
|
24
22
|
|
25
|
-
# The
|
26
|
-
attr_accessor :
|
23
|
+
# The description for this field is not available.
|
24
|
+
attr_accessor :name
|
27
25
|
|
28
|
-
#
|
29
|
-
attr_accessor :
|
26
|
+
# Time Zone.
|
27
|
+
attr_accessor :timezone
|
30
28
|
|
31
|
-
|
29
|
+
# transaction search query string.
|
30
|
+
attr_accessor :query
|
32
31
|
|
33
|
-
|
32
|
+
# offset.
|
33
|
+
attr_accessor :offset
|
34
34
|
|
35
|
-
|
36
|
-
|
37
|
-
attr_reader :allowable_values
|
35
|
+
# limit on number of results.
|
36
|
+
attr_accessor :limit
|
38
37
|
|
39
|
-
|
40
|
-
|
41
|
-
case datatype.to_s
|
42
|
-
when /Integer/i
|
43
|
-
value.to_i
|
44
|
-
when /Float/i
|
45
|
-
value.to_f
|
46
|
-
else
|
47
|
-
value
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
38
|
+
# A comma separated list of the following form - fieldName1 asc or desc, fieldName2 asc or desc, etc.
|
39
|
+
attr_accessor :sort
|
51
40
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
41
|
+
# Results for this page, this could be below the limit.
|
42
|
+
attr_accessor :count
|
43
|
+
|
44
|
+
# total number of results.
|
45
|
+
attr_accessor :total_count
|
46
|
+
|
47
|
+
# Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC.
|
48
|
+
attr_accessor :submit_time_utc
|
49
|
+
|
50
|
+
attr_accessor :_embedded
|
51
|
+
|
52
|
+
attr_accessor :_links
|
56
53
|
|
57
54
|
# Attribute mapping from ruby-style variable name to JSON key.
|
58
55
|
def self.attribute_map
|
59
56
|
{
|
60
|
-
:'_links' => :'_links',
|
61
57
|
:'id' => :'id',
|
58
|
+
:'save' => :'save',
|
59
|
+
:'name' => :'name',
|
60
|
+
:'timezone' => :'timezone',
|
61
|
+
:'query' => :'query',
|
62
|
+
:'offset' => :'offset',
|
63
|
+
:'limit' => :'limit',
|
64
|
+
:'sort' => :'sort',
|
65
|
+
:'count' => :'count',
|
66
|
+
:'total_count' => :'totalCount',
|
62
67
|
:'submit_time_utc' => :'submitTimeUtc',
|
63
|
-
:'
|
64
|
-
:'
|
65
|
-
:'client_reference_information' => :'clientReferenceInformation',
|
66
|
-
:'refund_amount_details' => :'refundAmountDetails'
|
68
|
+
:'_embedded' => :'_embedded',
|
69
|
+
:'_links' => :'_links'
|
67
70
|
}
|
68
71
|
end
|
69
72
|
|
70
73
|
# Attribute type mapping.
|
71
74
|
def self.swagger_types
|
72
75
|
{
|
73
|
-
:'_links' => :'InlineResponse2013Links',
|
74
76
|
:'id' => :'String',
|
77
|
+
:'save' => :'BOOLEAN',
|
78
|
+
:'name' => :'String',
|
79
|
+
:'timezone' => :'String',
|
80
|
+
:'query' => :'String',
|
81
|
+
:'offset' => :'Integer',
|
82
|
+
:'limit' => :'Integer',
|
83
|
+
:'sort' => :'String',
|
84
|
+
:'count' => :'Integer',
|
85
|
+
:'total_count' => :'Integer',
|
75
86
|
:'submit_time_utc' => :'String',
|
76
|
-
:'
|
77
|
-
:'
|
78
|
-
:'client_reference_information' => :'InlineResponse201ClientReferenceInformation',
|
79
|
-
:'refund_amount_details' => :'InlineResponse2013RefundAmountDetails'
|
87
|
+
:'_embedded' => :'InlineResponse2017Embedded',
|
88
|
+
:'_links' => :'InlineResponse2011Links'
|
80
89
|
}
|
81
90
|
end
|
82
91
|
|
@@ -88,32 +97,56 @@ module CyberSource
|
|
88
97
|
# convert string to symbol for hash key
|
89
98
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
90
99
|
|
91
|
-
if attributes.has_key?(:'_links')
|
92
|
-
self._links = attributes[:'_links']
|
93
|
-
end
|
94
|
-
|
95
100
|
if attributes.has_key?(:'id')
|
96
101
|
self.id = attributes[:'id']
|
97
102
|
end
|
98
103
|
|
99
|
-
if attributes.has_key?(:'
|
100
|
-
self.
|
104
|
+
if attributes.has_key?(:'save')
|
105
|
+
self.save = attributes[:'save']
|
106
|
+
end
|
107
|
+
|
108
|
+
if attributes.has_key?(:'name')
|
109
|
+
self.name = attributes[:'name']
|
110
|
+
end
|
111
|
+
|
112
|
+
if attributes.has_key?(:'timezone')
|
113
|
+
self.timezone = attributes[:'timezone']
|
114
|
+
end
|
115
|
+
|
116
|
+
if attributes.has_key?(:'query')
|
117
|
+
self.query = attributes[:'query']
|
101
118
|
end
|
102
119
|
|
103
|
-
if attributes.has_key?(:'
|
104
|
-
self.
|
120
|
+
if attributes.has_key?(:'offset')
|
121
|
+
self.offset = attributes[:'offset']
|
105
122
|
end
|
106
123
|
|
107
|
-
if attributes.has_key?(:'
|
108
|
-
self.
|
124
|
+
if attributes.has_key?(:'limit')
|
125
|
+
self.limit = attributes[:'limit']
|
109
126
|
end
|
110
127
|
|
111
|
-
if attributes.has_key?(:'
|
112
|
-
self.
|
128
|
+
if attributes.has_key?(:'sort')
|
129
|
+
self.sort = attributes[:'sort']
|
113
130
|
end
|
114
131
|
|
115
|
-
if attributes.has_key?(:'
|
116
|
-
self.
|
132
|
+
if attributes.has_key?(:'count')
|
133
|
+
self.count = attributes[:'count']
|
134
|
+
end
|
135
|
+
|
136
|
+
if attributes.has_key?(:'totalCount')
|
137
|
+
self.total_count = attributes[:'totalCount']
|
138
|
+
end
|
139
|
+
|
140
|
+
if attributes.has_key?(:'submitTimeUtc')
|
141
|
+
self.submit_time_utc = attributes[:'submitTimeUtc']
|
142
|
+
end
|
143
|
+
|
144
|
+
if attributes.has_key?(:'_embedded')
|
145
|
+
self._embedded = attributes[:'_embedded']
|
146
|
+
end
|
147
|
+
|
148
|
+
if attributes.has_key?(:'_links')
|
149
|
+
self._links = attributes[:'_links']
|
117
150
|
end
|
118
151
|
end
|
119
152
|
|
@@ -125,10 +158,6 @@ module CyberSource
|
|
125
158
|
invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 26.')
|
126
159
|
end
|
127
160
|
|
128
|
-
if !@reconciliation_id.nil? && @reconciliation_id.to_s.length > 60
|
129
|
-
invalid_properties.push('invalid value for "reconciliation_id", the character length must be smaller than or equal to 60.')
|
130
|
-
end
|
131
|
-
|
132
161
|
invalid_properties
|
133
162
|
end
|
134
163
|
|
@@ -136,9 +165,6 @@ module CyberSource
|
|
136
165
|
# @return true if the model is valid
|
137
166
|
def valid?
|
138
167
|
return false if !@id.nil? && @id.to_s.length > 26
|
139
|
-
status_validator = EnumAttributeValidator.new('String', ['PENDING', 'TRANSMITTED', 'BATCH_ERROR', 'VOIDED'])
|
140
|
-
return false unless status_validator.valid?(@status)
|
141
|
-
return false if !@reconciliation_id.nil? && @reconciliation_id.to_s.length > 60
|
142
168
|
true
|
143
169
|
end
|
144
170
|
|
@@ -152,38 +178,24 @@ module CyberSource
|
|
152
178
|
@id = id
|
153
179
|
end
|
154
180
|
|
155
|
-
# Custom attribute writer method checking allowed values (enum).
|
156
|
-
# @param [Object] status Object to be assigned
|
157
|
-
def status=(status)
|
158
|
-
validator = EnumAttributeValidator.new('String', ['PENDING', 'TRANSMITTED', 'BATCH_ERROR', 'VOIDED'])
|
159
|
-
unless validator.valid?(status)
|
160
|
-
fail ArgumentError, 'invalid value for "status", must be one of #{validator.allowable_values}.'
|
161
|
-
end
|
162
|
-
@status = status
|
163
|
-
end
|
164
|
-
|
165
|
-
# Custom attribute writer method with validation
|
166
|
-
# @param [Object] reconciliation_id Value to be assigned
|
167
|
-
def reconciliation_id=(reconciliation_id)
|
168
|
-
if !reconciliation_id.nil? && reconciliation_id.to_s.length > 60
|
169
|
-
fail ArgumentError, 'invalid value for "reconciliation_id", the character length must be smaller than or equal to 60.'
|
170
|
-
end
|
171
|
-
|
172
|
-
@reconciliation_id = reconciliation_id
|
173
|
-
end
|
174
|
-
|
175
181
|
# Checks equality by comparing each attribute.
|
176
182
|
# @param [Object] Object to be compared
|
177
183
|
def ==(o)
|
178
184
|
return true if self.equal?(o)
|
179
185
|
self.class == o.class &&
|
180
|
-
_links == o._links &&
|
181
186
|
id == o.id &&
|
187
|
+
save == o.save &&
|
188
|
+
name == o.name &&
|
189
|
+
timezone == o.timezone &&
|
190
|
+
query == o.query &&
|
191
|
+
offset == o.offset &&
|
192
|
+
limit == o.limit &&
|
193
|
+
sort == o.sort &&
|
194
|
+
count == o.count &&
|
195
|
+
total_count == o.total_count &&
|
182
196
|
submit_time_utc == o.submit_time_utc &&
|
183
|
-
|
184
|
-
|
185
|
-
client_reference_information == o.client_reference_information &&
|
186
|
-
refund_amount_details == o.refund_amount_details
|
197
|
+
_embedded == o._embedded &&
|
198
|
+
_links == o._links
|
187
199
|
end
|
188
200
|
|
189
201
|
# @see the `==` method
|
@@ -195,7 +207,7 @@ module CyberSource
|
|
195
207
|
# Calculates hash code according to all attributes.
|
196
208
|
# @return [Fixnum] Hash code
|
197
209
|
def hash
|
198
|
-
[
|
210
|
+
[id, save, name, timezone, query, offset, limit, sort, count, total_count, submit_time_utc, _embedded, _links].hash
|
199
211
|
end
|
200
212
|
|
201
213
|
# Builds the object from hash
|
@@ -0,0 +1,186 @@
|
|
1
|
+
=begin
|
2
|
+
#CyberSource Flex API
|
3
|
+
|
4
|
+
#Simple PAN tokenization service
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module CyberSource
|
16
|
+
class InlineResponse2017Embedded
|
17
|
+
# transaction search summary
|
18
|
+
attr_accessor :transaction_summaries
|
19
|
+
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
+
def self.attribute_map
|
22
|
+
{
|
23
|
+
:'transaction_summaries' => :'transactionSummaries'
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
# Attribute type mapping.
|
28
|
+
def self.swagger_types
|
29
|
+
{
|
30
|
+
:'transaction_summaries' => :'Array<InlineResponse2017EmbeddedTransactionSummaries>'
|
31
|
+
}
|
32
|
+
end
|
33
|
+
|
34
|
+
# Initializes the object
|
35
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
36
|
+
def initialize(attributes = {})
|
37
|
+
return unless attributes.is_a?(Hash)
|
38
|
+
|
39
|
+
# convert string to symbol for hash key
|
40
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
41
|
+
|
42
|
+
if attributes.has_key?(:'transactionSummaries')
|
43
|
+
if (value = attributes[:'transactionSummaries']).is_a?(Array)
|
44
|
+
self.transaction_summaries = value
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
50
|
+
# @return Array for valid properties with the reasons
|
51
|
+
def list_invalid_properties
|
52
|
+
invalid_properties = Array.new
|
53
|
+
invalid_properties
|
54
|
+
end
|
55
|
+
|
56
|
+
# Check to see if the all the properties in the model are valid
|
57
|
+
# @return true if the model is valid
|
58
|
+
def valid?
|
59
|
+
true
|
60
|
+
end
|
61
|
+
|
62
|
+
# Checks equality by comparing each attribute.
|
63
|
+
# @param [Object] Object to be compared
|
64
|
+
def ==(o)
|
65
|
+
return true if self.equal?(o)
|
66
|
+
self.class == o.class &&
|
67
|
+
transaction_summaries == o.transaction_summaries
|
68
|
+
end
|
69
|
+
|
70
|
+
# @see the `==` method
|
71
|
+
# @param [Object] Object to be compared
|
72
|
+
def eql?(o)
|
73
|
+
self == o
|
74
|
+
end
|
75
|
+
|
76
|
+
# Calculates hash code according to all attributes.
|
77
|
+
# @return [Fixnum] Hash code
|
78
|
+
def hash
|
79
|
+
[transaction_summaries].hash
|
80
|
+
end
|
81
|
+
|
82
|
+
# Builds the object from hash
|
83
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
84
|
+
# @return [Object] Returns the model itself
|
85
|
+
def build_from_hash(attributes)
|
86
|
+
return nil unless attributes.is_a?(Hash)
|
87
|
+
self.class.swagger_types.each_pair do |key, type|
|
88
|
+
if type =~ /\AArray<(.*)>/i
|
89
|
+
# check to ensure the input is an array given that the the attribute
|
90
|
+
# is documented as an array but the input is not
|
91
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
92
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
93
|
+
end
|
94
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
95
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
96
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
97
|
+
end
|
98
|
+
|
99
|
+
self
|
100
|
+
end
|
101
|
+
|
102
|
+
# Deserializes the data based on type
|
103
|
+
# @param string type Data type
|
104
|
+
# @param string value Value to be deserialized
|
105
|
+
# @return [Object] Deserialized data
|
106
|
+
def _deserialize(type, value)
|
107
|
+
case type.to_sym
|
108
|
+
when :DateTime
|
109
|
+
DateTime.parse(value)
|
110
|
+
when :Date
|
111
|
+
Date.parse(value)
|
112
|
+
when :String
|
113
|
+
value.to_s
|
114
|
+
when :Integer
|
115
|
+
value.to_i
|
116
|
+
when :Float
|
117
|
+
value.to_f
|
118
|
+
when :BOOLEAN
|
119
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
120
|
+
true
|
121
|
+
else
|
122
|
+
false
|
123
|
+
end
|
124
|
+
when :Object
|
125
|
+
# generic object (usually a Hash), return directly
|
126
|
+
value
|
127
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
128
|
+
inner_type = Regexp.last_match[:inner_type]
|
129
|
+
value.map { |v| _deserialize(inner_type, v) }
|
130
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
131
|
+
k_type = Regexp.last_match[:k_type]
|
132
|
+
v_type = Regexp.last_match[:v_type]
|
133
|
+
{}.tap do |hash|
|
134
|
+
value.each do |k, v|
|
135
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
136
|
+
end
|
137
|
+
end
|
138
|
+
else # model
|
139
|
+
temp_model = CyberSource.const_get(type).new
|
140
|
+
temp_model.build_from_hash(value)
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
144
|
+
# Returns the string representation of the object
|
145
|
+
# @return [String] String presentation of the object
|
146
|
+
def to_s
|
147
|
+
to_hash.to_s
|
148
|
+
end
|
149
|
+
|
150
|
+
# to_body is an alias to to_hash (backward compatibility)
|
151
|
+
# @return [Hash] Returns the object in the form of hash
|
152
|
+
def to_body
|
153
|
+
to_hash
|
154
|
+
end
|
155
|
+
|
156
|
+
# Returns the object in the form of hash
|
157
|
+
# @return [Hash] Returns the object in the form of hash
|
158
|
+
def to_hash
|
159
|
+
hash = {}
|
160
|
+
self.class.attribute_map.each_pair do |attr, param|
|
161
|
+
value = self.send(attr)
|
162
|
+
next if value.nil?
|
163
|
+
hash[param] = _to_hash(value)
|
164
|
+
end
|
165
|
+
hash
|
166
|
+
end
|
167
|
+
|
168
|
+
# Outputs non-array value in the form of hash
|
169
|
+
# For object, use to_hash. Otherwise, just return the value
|
170
|
+
# @param [Object] value Any valid value
|
171
|
+
# @return [Hash] Returns the value in the form of hash
|
172
|
+
def _to_hash(value)
|
173
|
+
if value.is_a?(Array)
|
174
|
+
value.compact.map { |v| _to_hash(v) }
|
175
|
+
elsif value.is_a?(Hash)
|
176
|
+
{}.tap do |hash|
|
177
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
178
|
+
end
|
179
|
+
elsif value.respond_to? :to_hash
|
180
|
+
value.to_hash
|
181
|
+
else
|
182
|
+
value
|
183
|
+
end
|
184
|
+
end
|
185
|
+
end
|
186
|
+
end
|