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
@@ -0,0 +1,209 @@
|
|
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 InlineResponse2017EmbeddedConsumerAuthenticationInformation
|
17
|
+
# Transaction identifier.
|
18
|
+
attr_accessor :xid
|
19
|
+
|
20
|
+
# Payer auth Transaction identifier.
|
21
|
+
attr_accessor :transaction_id
|
22
|
+
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
24
|
+
def self.attribute_map
|
25
|
+
{
|
26
|
+
:'xid' => :'xid',
|
27
|
+
:'transaction_id' => :'transactionId'
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
# Attribute type mapping.
|
32
|
+
def self.swagger_types
|
33
|
+
{
|
34
|
+
:'xid' => :'String',
|
35
|
+
:'transaction_id' => :'String'
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
# Initializes the object
|
40
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
41
|
+
def initialize(attributes = {})
|
42
|
+
return unless attributes.is_a?(Hash)
|
43
|
+
|
44
|
+
# convert string to symbol for hash key
|
45
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
46
|
+
|
47
|
+
if attributes.has_key?(:'xid')
|
48
|
+
self.xid = attributes[:'xid']
|
49
|
+
end
|
50
|
+
|
51
|
+
if attributes.has_key?(:'transactionId')
|
52
|
+
self.transaction_id = attributes[:'transactionId']
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
57
|
+
# @return Array for valid properties with the reasons
|
58
|
+
def list_invalid_properties
|
59
|
+
invalid_properties = Array.new
|
60
|
+
if !@xid.nil? && @xid.to_s.length > 40
|
61
|
+
invalid_properties.push('invalid value for "xid", the character length must be smaller than or equal to 40.')
|
62
|
+
end
|
63
|
+
|
64
|
+
invalid_properties
|
65
|
+
end
|
66
|
+
|
67
|
+
# Check to see if the all the properties in the model are valid
|
68
|
+
# @return true if the model is valid
|
69
|
+
def valid?
|
70
|
+
return false if !@xid.nil? && @xid.to_s.length > 40
|
71
|
+
true
|
72
|
+
end
|
73
|
+
|
74
|
+
# Custom attribute writer method with validation
|
75
|
+
# @param [Object] xid Value to be assigned
|
76
|
+
def xid=(xid)
|
77
|
+
if !xid.nil? && xid.to_s.length > 40
|
78
|
+
fail ArgumentError, 'invalid value for "xid", the character length must be smaller than or equal to 40.'
|
79
|
+
end
|
80
|
+
|
81
|
+
@xid = xid
|
82
|
+
end
|
83
|
+
|
84
|
+
# Checks equality by comparing each attribute.
|
85
|
+
# @param [Object] Object to be compared
|
86
|
+
def ==(o)
|
87
|
+
return true if self.equal?(o)
|
88
|
+
self.class == o.class &&
|
89
|
+
xid == o.xid &&
|
90
|
+
transaction_id == o.transaction_id
|
91
|
+
end
|
92
|
+
|
93
|
+
# @see the `==` method
|
94
|
+
# @param [Object] Object to be compared
|
95
|
+
def eql?(o)
|
96
|
+
self == o
|
97
|
+
end
|
98
|
+
|
99
|
+
# Calculates hash code according to all attributes.
|
100
|
+
# @return [Fixnum] Hash code
|
101
|
+
def hash
|
102
|
+
[xid, transaction_id].hash
|
103
|
+
end
|
104
|
+
|
105
|
+
# Builds the object from hash
|
106
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
107
|
+
# @return [Object] Returns the model itself
|
108
|
+
def build_from_hash(attributes)
|
109
|
+
return nil unless attributes.is_a?(Hash)
|
110
|
+
self.class.swagger_types.each_pair do |key, type|
|
111
|
+
if type =~ /\AArray<(.*)>/i
|
112
|
+
# check to ensure the input is an array given that the the attribute
|
113
|
+
# is documented as an array but the input is not
|
114
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
115
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
116
|
+
end
|
117
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
118
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
119
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
120
|
+
end
|
121
|
+
|
122
|
+
self
|
123
|
+
end
|
124
|
+
|
125
|
+
# Deserializes the data based on type
|
126
|
+
# @param string type Data type
|
127
|
+
# @param string value Value to be deserialized
|
128
|
+
# @return [Object] Deserialized data
|
129
|
+
def _deserialize(type, value)
|
130
|
+
case type.to_sym
|
131
|
+
when :DateTime
|
132
|
+
DateTime.parse(value)
|
133
|
+
when :Date
|
134
|
+
Date.parse(value)
|
135
|
+
when :String
|
136
|
+
value.to_s
|
137
|
+
when :Integer
|
138
|
+
value.to_i
|
139
|
+
when :Float
|
140
|
+
value.to_f
|
141
|
+
when :BOOLEAN
|
142
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
143
|
+
true
|
144
|
+
else
|
145
|
+
false
|
146
|
+
end
|
147
|
+
when :Object
|
148
|
+
# generic object (usually a Hash), return directly
|
149
|
+
value
|
150
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
151
|
+
inner_type = Regexp.last_match[:inner_type]
|
152
|
+
value.map { |v| _deserialize(inner_type, v) }
|
153
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
154
|
+
k_type = Regexp.last_match[:k_type]
|
155
|
+
v_type = Regexp.last_match[:v_type]
|
156
|
+
{}.tap do |hash|
|
157
|
+
value.each do |k, v|
|
158
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
159
|
+
end
|
160
|
+
end
|
161
|
+
else # model
|
162
|
+
temp_model = CyberSource.const_get(type).new
|
163
|
+
temp_model.build_from_hash(value)
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
# Returns the string representation of the object
|
168
|
+
# @return [String] String presentation of the object
|
169
|
+
def to_s
|
170
|
+
to_hash.to_s
|
171
|
+
end
|
172
|
+
|
173
|
+
# to_body is an alias to to_hash (backward compatibility)
|
174
|
+
# @return [Hash] Returns the object in the form of hash
|
175
|
+
def to_body
|
176
|
+
to_hash
|
177
|
+
end
|
178
|
+
|
179
|
+
# Returns the object in the form of hash
|
180
|
+
# @return [Hash] Returns the object in the form of hash
|
181
|
+
def to_hash
|
182
|
+
hash = {}
|
183
|
+
self.class.attribute_map.each_pair do |attr, param|
|
184
|
+
value = self.send(attr)
|
185
|
+
next if value.nil?
|
186
|
+
hash[param] = _to_hash(value)
|
187
|
+
end
|
188
|
+
hash
|
189
|
+
end
|
190
|
+
|
191
|
+
# Outputs non-array value in the form of hash
|
192
|
+
# For object, use to_hash. Otherwise, just return the value
|
193
|
+
# @param [Object] value Any valid value
|
194
|
+
# @return [Hash] Returns the value in the form of hash
|
195
|
+
def _to_hash(value)
|
196
|
+
if value.is_a?(Array)
|
197
|
+
value.compact.map { |v| _to_hash(v) }
|
198
|
+
elsif value.is_a?(Hash)
|
199
|
+
{}.tap do |hash|
|
200
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
201
|
+
end
|
202
|
+
elsif value.respond_to? :to_hash
|
203
|
+
value.to_hash
|
204
|
+
else
|
205
|
+
value
|
206
|
+
end
|
207
|
+
end
|
208
|
+
end
|
209
|
+
end
|
data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_merchant_information.rb
ADDED
@@ -0,0 +1,199 @@
|
|
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 InlineResponse2017EmbeddedMerchantInformation
|
17
|
+
# An unique identification number assigned by CyberSource to identify the submitted request.
|
18
|
+
attr_accessor :reseller_id
|
19
|
+
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
+
def self.attribute_map
|
22
|
+
{
|
23
|
+
:'reseller_id' => :'resellerId'
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
# Attribute type mapping.
|
28
|
+
def self.swagger_types
|
29
|
+
{
|
30
|
+
:'reseller_id' => :'String'
|
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?(:'resellerId')
|
43
|
+
self.reseller_id = attributes[:'resellerId']
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
48
|
+
# @return Array for valid properties with the reasons
|
49
|
+
def list_invalid_properties
|
50
|
+
invalid_properties = Array.new
|
51
|
+
if !@reseller_id.nil? && @reseller_id.to_s.length > 26
|
52
|
+
invalid_properties.push('invalid value for "reseller_id", the character length must be smaller than or equal to 26.')
|
53
|
+
end
|
54
|
+
|
55
|
+
invalid_properties
|
56
|
+
end
|
57
|
+
|
58
|
+
# Check to see if the all the properties in the model are valid
|
59
|
+
# @return true if the model is valid
|
60
|
+
def valid?
|
61
|
+
return false if !@reseller_id.nil? && @reseller_id.to_s.length > 26
|
62
|
+
true
|
63
|
+
end
|
64
|
+
|
65
|
+
# Custom attribute writer method with validation
|
66
|
+
# @param [Object] reseller_id Value to be assigned
|
67
|
+
def reseller_id=(reseller_id)
|
68
|
+
if !reseller_id.nil? && reseller_id.to_s.length > 26
|
69
|
+
fail ArgumentError, 'invalid value for "reseller_id", the character length must be smaller than or equal to 26.'
|
70
|
+
end
|
71
|
+
|
72
|
+
@reseller_id = reseller_id
|
73
|
+
end
|
74
|
+
|
75
|
+
# Checks equality by comparing each attribute.
|
76
|
+
# @param [Object] Object to be compared
|
77
|
+
def ==(o)
|
78
|
+
return true if self.equal?(o)
|
79
|
+
self.class == o.class &&
|
80
|
+
reseller_id == o.reseller_id
|
81
|
+
end
|
82
|
+
|
83
|
+
# @see the `==` method
|
84
|
+
# @param [Object] Object to be compared
|
85
|
+
def eql?(o)
|
86
|
+
self == o
|
87
|
+
end
|
88
|
+
|
89
|
+
# Calculates hash code according to all attributes.
|
90
|
+
# @return [Fixnum] Hash code
|
91
|
+
def hash
|
92
|
+
[reseller_id].hash
|
93
|
+
end
|
94
|
+
|
95
|
+
# Builds the object from hash
|
96
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
97
|
+
# @return [Object] Returns the model itself
|
98
|
+
def build_from_hash(attributes)
|
99
|
+
return nil unless attributes.is_a?(Hash)
|
100
|
+
self.class.swagger_types.each_pair do |key, type|
|
101
|
+
if type =~ /\AArray<(.*)>/i
|
102
|
+
# check to ensure the input is an array given that the the attribute
|
103
|
+
# is documented as an array but the input is not
|
104
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
105
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
106
|
+
end
|
107
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
108
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
109
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
110
|
+
end
|
111
|
+
|
112
|
+
self
|
113
|
+
end
|
114
|
+
|
115
|
+
# Deserializes the data based on type
|
116
|
+
# @param string type Data type
|
117
|
+
# @param string value Value to be deserialized
|
118
|
+
# @return [Object] Deserialized data
|
119
|
+
def _deserialize(type, value)
|
120
|
+
case type.to_sym
|
121
|
+
when :DateTime
|
122
|
+
DateTime.parse(value)
|
123
|
+
when :Date
|
124
|
+
Date.parse(value)
|
125
|
+
when :String
|
126
|
+
value.to_s
|
127
|
+
when :Integer
|
128
|
+
value.to_i
|
129
|
+
when :Float
|
130
|
+
value.to_f
|
131
|
+
when :BOOLEAN
|
132
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
133
|
+
true
|
134
|
+
else
|
135
|
+
false
|
136
|
+
end
|
137
|
+
when :Object
|
138
|
+
# generic object (usually a Hash), return directly
|
139
|
+
value
|
140
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
141
|
+
inner_type = Regexp.last_match[:inner_type]
|
142
|
+
value.map { |v| _deserialize(inner_type, v) }
|
143
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
144
|
+
k_type = Regexp.last_match[:k_type]
|
145
|
+
v_type = Regexp.last_match[:v_type]
|
146
|
+
{}.tap do |hash|
|
147
|
+
value.each do |k, v|
|
148
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
149
|
+
end
|
150
|
+
end
|
151
|
+
else # model
|
152
|
+
temp_model = CyberSource.const_get(type).new
|
153
|
+
temp_model.build_from_hash(value)
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
# Returns the string representation of the object
|
158
|
+
# @return [String] String presentation of the object
|
159
|
+
def to_s
|
160
|
+
to_hash.to_s
|
161
|
+
end
|
162
|
+
|
163
|
+
# to_body is an alias to to_hash (backward compatibility)
|
164
|
+
# @return [Hash] Returns the object in the form of hash
|
165
|
+
def to_body
|
166
|
+
to_hash
|
167
|
+
end
|
168
|
+
|
169
|
+
# Returns the object in the form of hash
|
170
|
+
# @return [Hash] Returns the object in the form of hash
|
171
|
+
def to_hash
|
172
|
+
hash = {}
|
173
|
+
self.class.attribute_map.each_pair do |attr, param|
|
174
|
+
value = self.send(attr)
|
175
|
+
next if value.nil?
|
176
|
+
hash[param] = _to_hash(value)
|
177
|
+
end
|
178
|
+
hash
|
179
|
+
end
|
180
|
+
|
181
|
+
# Outputs non-array value in the form of hash
|
182
|
+
# For object, use to_hash. Otherwise, just return the value
|
183
|
+
# @param [Object] value Any valid value
|
184
|
+
# @return [Hash] Returns the value in the form of hash
|
185
|
+
def _to_hash(value)
|
186
|
+
if value.is_a?(Array)
|
187
|
+
value.compact.map { |v| _to_hash(v) }
|
188
|
+
elsif value.is_a?(Hash)
|
189
|
+
{}.tap do |hash|
|
190
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
191
|
+
end
|
192
|
+
elsif value.respond_to? :to_hash
|
193
|
+
value.to_hash
|
194
|
+
else
|
195
|
+
value
|
196
|
+
end
|
197
|
+
end
|
198
|
+
end
|
199
|
+
end
|
@@ -0,0 +1,201 @@
|
|
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 InlineResponse2017EmbeddedOrderInformation
|
17
|
+
attr_accessor :bill_to
|
18
|
+
|
19
|
+
attr_accessor :ship_to
|
20
|
+
|
21
|
+
attr_accessor :amount_details
|
22
|
+
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
24
|
+
def self.attribute_map
|
25
|
+
{
|
26
|
+
:'bill_to' => :'billTo',
|
27
|
+
:'ship_to' => :'shipTo',
|
28
|
+
:'amount_details' => :'amountDetails'
|
29
|
+
}
|
30
|
+
end
|
31
|
+
|
32
|
+
# Attribute type mapping.
|
33
|
+
def self.swagger_types
|
34
|
+
{
|
35
|
+
:'bill_to' => :'InlineResponse2017EmbeddedOrderInformationBillTo',
|
36
|
+
:'ship_to' => :'InlineResponse2017EmbeddedOrderInformationShipTo',
|
37
|
+
:'amount_details' => :'Ptsv2paymentsidreversalsReversalInformationAmountDetails'
|
38
|
+
}
|
39
|
+
end
|
40
|
+
|
41
|
+
# Initializes the object
|
42
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
43
|
+
def initialize(attributes = {})
|
44
|
+
return unless attributes.is_a?(Hash)
|
45
|
+
|
46
|
+
# convert string to symbol for hash key
|
47
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
48
|
+
|
49
|
+
if attributes.has_key?(:'billTo')
|
50
|
+
self.bill_to = attributes[:'billTo']
|
51
|
+
end
|
52
|
+
|
53
|
+
if attributes.has_key?(:'shipTo')
|
54
|
+
self.ship_to = attributes[:'shipTo']
|
55
|
+
end
|
56
|
+
|
57
|
+
if attributes.has_key?(:'amountDetails')
|
58
|
+
self.amount_details = attributes[:'amountDetails']
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
63
|
+
# @return Array for valid properties with the reasons
|
64
|
+
def list_invalid_properties
|
65
|
+
invalid_properties = Array.new
|
66
|
+
invalid_properties
|
67
|
+
end
|
68
|
+
|
69
|
+
# Check to see if the all the properties in the model are valid
|
70
|
+
# @return true if the model is valid
|
71
|
+
def valid?
|
72
|
+
true
|
73
|
+
end
|
74
|
+
|
75
|
+
# Checks equality by comparing each attribute.
|
76
|
+
# @param [Object] Object to be compared
|
77
|
+
def ==(o)
|
78
|
+
return true if self.equal?(o)
|
79
|
+
self.class == o.class &&
|
80
|
+
bill_to == o.bill_to &&
|
81
|
+
ship_to == o.ship_to &&
|
82
|
+
amount_details == o.amount_details
|
83
|
+
end
|
84
|
+
|
85
|
+
# @see the `==` method
|
86
|
+
# @param [Object] Object to be compared
|
87
|
+
def eql?(o)
|
88
|
+
self == o
|
89
|
+
end
|
90
|
+
|
91
|
+
# Calculates hash code according to all attributes.
|
92
|
+
# @return [Fixnum] Hash code
|
93
|
+
def hash
|
94
|
+
[bill_to, ship_to, amount_details].hash
|
95
|
+
end
|
96
|
+
|
97
|
+
# Builds the object from hash
|
98
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
99
|
+
# @return [Object] Returns the model itself
|
100
|
+
def build_from_hash(attributes)
|
101
|
+
return nil unless attributes.is_a?(Hash)
|
102
|
+
self.class.swagger_types.each_pair do |key, type|
|
103
|
+
if type =~ /\AArray<(.*)>/i
|
104
|
+
# check to ensure the input is an array given that the the attribute
|
105
|
+
# is documented as an array but the input is not
|
106
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
107
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
108
|
+
end
|
109
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
110
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
111
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
112
|
+
end
|
113
|
+
|
114
|
+
self
|
115
|
+
end
|
116
|
+
|
117
|
+
# Deserializes the data based on type
|
118
|
+
# @param string type Data type
|
119
|
+
# @param string value Value to be deserialized
|
120
|
+
# @return [Object] Deserialized data
|
121
|
+
def _deserialize(type, value)
|
122
|
+
case type.to_sym
|
123
|
+
when :DateTime
|
124
|
+
DateTime.parse(value)
|
125
|
+
when :Date
|
126
|
+
Date.parse(value)
|
127
|
+
when :String
|
128
|
+
value.to_s
|
129
|
+
when :Integer
|
130
|
+
value.to_i
|
131
|
+
when :Float
|
132
|
+
value.to_f
|
133
|
+
when :BOOLEAN
|
134
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
135
|
+
true
|
136
|
+
else
|
137
|
+
false
|
138
|
+
end
|
139
|
+
when :Object
|
140
|
+
# generic object (usually a Hash), return directly
|
141
|
+
value
|
142
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
143
|
+
inner_type = Regexp.last_match[:inner_type]
|
144
|
+
value.map { |v| _deserialize(inner_type, v) }
|
145
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
146
|
+
k_type = Regexp.last_match[:k_type]
|
147
|
+
v_type = Regexp.last_match[:v_type]
|
148
|
+
{}.tap do |hash|
|
149
|
+
value.each do |k, v|
|
150
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
else # model
|
154
|
+
temp_model = CyberSource.const_get(type).new
|
155
|
+
temp_model.build_from_hash(value)
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
# Returns the string representation of the object
|
160
|
+
# @return [String] String presentation of the object
|
161
|
+
def to_s
|
162
|
+
to_hash.to_s
|
163
|
+
end
|
164
|
+
|
165
|
+
# to_body is an alias to to_hash (backward compatibility)
|
166
|
+
# @return [Hash] Returns the object in the form of hash
|
167
|
+
def to_body
|
168
|
+
to_hash
|
169
|
+
end
|
170
|
+
|
171
|
+
# Returns the object in the form of hash
|
172
|
+
# @return [Hash] Returns the object in the form of hash
|
173
|
+
def to_hash
|
174
|
+
hash = {}
|
175
|
+
self.class.attribute_map.each_pair do |attr, param|
|
176
|
+
value = self.send(attr)
|
177
|
+
next if value.nil?
|
178
|
+
hash[param] = _to_hash(value)
|
179
|
+
end
|
180
|
+
hash
|
181
|
+
end
|
182
|
+
|
183
|
+
# Outputs non-array value in the form of hash
|
184
|
+
# For object, use to_hash. Otherwise, just return the value
|
185
|
+
# @param [Object] value Any valid value
|
186
|
+
# @return [Hash] Returns the value in the form of hash
|
187
|
+
def _to_hash(value)
|
188
|
+
if value.is_a?(Array)
|
189
|
+
value.compact.map { |v| _to_hash(v) }
|
190
|
+
elsif value.is_a?(Hash)
|
191
|
+
{}.tap do |hash|
|
192
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
193
|
+
end
|
194
|
+
elsif value.respond_to? :to_hash
|
195
|
+
value.to_hash
|
196
|
+
else
|
197
|
+
value
|
198
|
+
end
|
199
|
+
end
|
200
|
+
end
|
201
|
+
end
|