connect-sdk-ruby 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +2 -0
- data/LICENSE.txt +22 -0
- data/README.md +140 -0
- data/Rakefile +34 -0
- data/connect-sdk-ruby.gemspec +28 -0
- data/examples/merchant/example_configuration.yml +6 -0
- data/examples/merchant/hostedcheckouts/create_hosted_checkout_example.rb +53 -0
- data/examples/merchant/hostedcheckouts/get_hosted_checkout_example.rb +22 -0
- data/examples/merchant/payments/approve_payment_example.rb +42 -0
- data/examples/merchant/payments/cancel_approval_payment_example.rb +22 -0
- data/examples/merchant/payments/cancel_payment_example.rb +22 -0
- data/examples/merchant/payments/create_payment_example.rb +177 -0
- data/examples/merchant/payments/get_payment_example.rb +22 -0
- data/examples/merchant/payments/process_challenged_payment_example.rb +22 -0
- data/examples/merchant/payments/refund_payment_example.rb +85 -0
- data/examples/merchant/payments/tokenize_payment_example.rb +27 -0
- data/examples/merchant/payouts/approve_payout_example.rb +27 -0
- data/examples/merchant/payouts/cancel_approval_payout_example.rb +22 -0
- data/examples/merchant/payouts/cancel_payout_example.rb +22 -0
- data/examples/merchant/payouts/create_payout_example.rb +96 -0
- data/examples/merchant/payouts/get_payout_example.rb +22 -0
- data/examples/merchant/productgroups/get_payment_product_group_example.rb +32 -0
- data/examples/merchant/productgroups/get_payment_product_groups_example.rb +32 -0
- data/examples/merchant/products/get_directory_example.rb +28 -0
- data/examples/merchant/products/get_payment_product_example.rb +32 -0
- data/examples/merchant/products/get_payment_products_example.rb +32 -0
- data/examples/merchant/refunds/approve_refund_example.rb +27 -0
- data/examples/merchant/refunds/cancel_approval_refund_example.rb +22 -0
- data/examples/merchant/refunds/cancel_refund_example.rb +22 -0
- data/examples/merchant/refunds/get_refund_example.rb +22 -0
- data/examples/merchant/riskassessments/risk_assessment_bank_account_example.rb +54 -0
- data/examples/merchant/riskassessments/risk_assessment_cards_example.rb +114 -0
- data/examples/merchant/services/convert_amount_example.rb +29 -0
- data/examples/merchant/services/convert_bank_account_example.rb +34 -0
- data/examples/merchant/services/iin_details_example.rb +27 -0
- data/examples/merchant/services/test_connection_example.rb +22 -0
- data/examples/merchant/sessions/create_session_example.rb +34 -0
- data/examples/merchant/tokens/approve_sepa_direct_debit_token_example.rb +29 -0
- data/examples/merchant/tokens/create_token_example.rb +82 -0
- data/examples/merchant/tokens/delete_token_example.rb +27 -0
- data/examples/merchant/tokens/get_token_example.rb +22 -0
- data/examples/merchant/tokens/update_token_example.rb +76 -0
- data/lib/ingenico/connect/sdk.rb +27 -0
- data/lib/ingenico/connect/sdk/api_exception.rb +52 -0
- data/lib/ingenico/connect/sdk/api_resource.rb +126 -0
- data/lib/ingenico/connect/sdk/authenticator.rb +15 -0
- data/lib/ingenico/connect/sdk/authorization_exception.rb +13 -0
- data/lib/ingenico/connect/sdk/call_context.rb +26 -0
- data/lib/ingenico/connect/sdk/client.rb +92 -0
- data/lib/ingenico/connect/sdk/communication_exception.rb +15 -0
- data/lib/ingenico/connect/sdk/communicator.rb +277 -0
- data/lib/ingenico/connect/sdk/communicator_configuration.rb +98 -0
- data/lib/ingenico/connect/sdk/connection.rb +31 -0
- data/lib/ingenico/connect/sdk/data_object.rb +43 -0
- data/lib/ingenico/connect/sdk/declined_payment_exception.rb +44 -0
- data/lib/ingenico/connect/sdk/declined_payout_exception.rb +44 -0
- data/lib/ingenico/connect/sdk/declined_refund_exception.rb +46 -0
- data/lib/ingenico/connect/sdk/declined_transaction_exception.rb +16 -0
- data/lib/ingenico/connect/sdk/defaultimpl.rb +6 -0
- data/lib/ingenico/connect/sdk/defaultimpl/authorization_type.rb +18 -0
- data/lib/ingenico/connect/sdk/defaultimpl/default_authenticator.rb +106 -0
- data/lib/ingenico/connect/sdk/defaultimpl/default_connection.rb +242 -0
- data/lib/ingenico/connect/sdk/defaultimpl/default_marshaller.rb +35 -0
- data/lib/ingenico/connect/sdk/domain/definitions/abstract_order_status.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/definitions/abstract_payment_method_specific_input.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/definitions/additional_order_input_airline_data.rb +36 -0
- data/lib/ingenico/connect/sdk/domain/definitions/address.rb +81 -0
- data/lib/ingenico/connect/sdk/domain/definitions/airline_data.rb +165 -0
- data/lib/ingenico/connect/sdk/domain/definitions/airline_flight_leg.rb +102 -0
- data/lib/ingenico/connect/sdk/domain/definitions/amount_of_money.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/definitions/bank_account.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/definitions/bank_account_bban.rb +67 -0
- data/lib/ingenico/connect/sdk/domain/definitions/bank_account_iban.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/definitions/card.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/definitions/card_essentials.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/definitions/card_fraud_results.rb +50 -0
- data/lib/ingenico/connect/sdk/domain/definitions/card_without_cvv.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/definitions/company_information.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/definitions/contact_details_base.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/definitions/customer_base.rb +50 -0
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_fields.rb +115 -0
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_results.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_results_retail_decisions.rb +46 -0
- data/lib/ingenico/connect/sdk/domain/definitions/key_value_pair.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/definitions/order_status_output.rb +67 -0
- data/lib/ingenico/connect/sdk/domain/definitions/payment_product_filter.rb +51 -0
- data/lib/ingenico/connect/sdk/domain/definitions/personal_name_base.rb +46 -0
- data/lib/ingenico/connect/sdk/domain/definitions/result_do_risk_assessment.rb +61 -0
- data/lib/ingenico/connect/sdk/domain/definitions/retail_decisions_cc_fraud_check_output.rb +46 -0
- data/lib/ingenico/connect/sdk/domain/definitions/validation_bank_account_check.rb +46 -0
- data/lib/ingenico/connect/sdk/domain/definitions/validation_bank_account_output.rb +67 -0
- data/lib/ingenico/connect/sdk/domain/errors/api_error.rb +60 -0
- data/lib/ingenico/connect/sdk/domain/errors/error_response.rb +46 -0
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/create_hosted_checkout_request.rb +102 -0
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/create_hosted_checkout_response.rb +59 -0
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/created_payment_output.rb +72 -0
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/displayed_data.rb +53 -0
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/get_hosted_checkout_response.rb +43 -0
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/hosted_checkout_specific_input.rb +78 -0
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/payment_product_filters_hosted_checkout.rb +53 -0
- data/lib/ingenico/connect/sdk/domain/metadata/shopping_cart_extension.rb +48 -0
- data/lib/ingenico/connect/sdk/domain/payment/abstract_payment_method_specific_output.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/payment/additional_order_input.rb +72 -0
- data/lib/ingenico/connect/sdk/domain/payment/address_personal.rb +36 -0
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_card_payment_method_specific_output.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_non_sepa_direct_debit_payment_method_specific_input.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_payment_method_specific_input.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_request.rb +65 -0
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_sepa_direct_debit_payment_method_specific_input.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_input.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_input_base.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_output.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/payment/cancel_approval_payment_response.rb +36 -0
- data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_card_payment_method_specific_output.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_response.rb +47 -0
- data/lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_input.rb +61 -0
- data/lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_input_base.rb +60 -0
- data/lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_output.rb +65 -0
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_input.rb +47 -0
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_input_base.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_output.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1503_specific_input.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1504_specific_input.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/payment/contact_details.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/payment/create_payment_request.rb +131 -0
- data/lib/ingenico/connect/sdk/domain/payment/create_payment_response.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/payment/create_payment_result.rb +58 -0
- data/lib/ingenico/connect/sdk/domain/payment/customer.rb +83 -0
- data/lib/ingenico/connect/sdk/domain/payment/external_cardholder_authentication_data.rb +60 -0
- data/lib/ingenico/connect/sdk/domain/payment/invoice_payment_method_specific_input.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/payment/invoice_payment_method_specific_output.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/payment/level3_summary_data.rb +46 -0
- data/lib/ingenico/connect/sdk/domain/payment/line_item.rb +58 -0
- data/lib/ingenico/connect/sdk/domain/payment/line_item_invoice_data.rb +60 -0
- data/lib/ingenico/connect/sdk/domain/payment/line_item_level3_interchange_information.rb +81 -0
- data/lib/ingenico/connect/sdk/domain/payment/merchant_action.rb +64 -0
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_method_specific_input.rb +71 -0
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_method_specific_output.rb +36 -0
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_product705_specific_input.rb +50 -0
- data/lib/ingenico/connect/sdk/domain/payment/order.rb +83 -0
- data/lib/ingenico/connect/sdk/domain/payment/order_approve_payment.rb +47 -0
- data/lib/ingenico/connect/sdk/domain/payment/order_invoice_data.rb +59 -0
- data/lib/ingenico/connect/sdk/domain/payment/order_output.rb +47 -0
- data/lib/ingenico/connect/sdk/domain/payment/order_references.rb +57 -0
- data/lib/ingenico/connect/sdk/domain/payment/order_references_approve_payment.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/payment/order_type_information.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/payment/payment.rb +54 -0
- data/lib/ingenico/connect/sdk/domain/payment/payment_approval_response.rb +47 -0
- data/lib/ingenico/connect/sdk/domain/payment/payment_creation_output.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/payment/payment_creation_references.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/payment/payment_error_response.rb +57 -0
- data/lib/ingenico/connect/sdk/domain/payment/payment_output.rb +116 -0
- data/lib/ingenico/connect/sdk/domain/payment/payment_product836_specific_output.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/payment/payment_product840_customer_account.rb +88 -0
- data/lib/ingenico/connect/sdk/domain/payment/payment_product840_specific_output.rb +47 -0
- data/lib/ingenico/connect/sdk/domain/payment/payment_references.rb +67 -0
- data/lib/ingenico/connect/sdk/domain/payment/payment_response.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/payment/payment_status_output.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/payment/personal_information.rb +50 -0
- data/lib/ingenico/connect/sdk/domain/payment/personal_name.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/payment/redirect_data.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_input.rb +72 -0
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_input_base.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_output.rb +58 -0
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product809_specific_input.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product816_specific_input.rb +36 -0
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product882_specific_input.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/payment/refund_bank_method_specific_output.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/payment/refund_card_method_specific_output.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/payment/refund_e_wallet_method_specific_output.rb +36 -0
- data/lib/ingenico/connect/sdk/domain/payment/refund_method_specific_output.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/payment/refund_output.rb +72 -0
- data/lib/ingenico/connect/sdk/domain/payment/refund_payment_product840_customer_account.rb +46 -0
- data/lib/ingenico/connect/sdk/domain/payment/refund_payment_product840_specific_output.rb +36 -0
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_method_specific_input.rb +60 -0
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_method_specific_output.rb +36 -0
- data/lib/ingenico/connect/sdk/domain/payment/three_d_secure_results.rb +46 -0
- data/lib/ingenico/connect/sdk/domain/payment/tokenize_payment_request.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/payout/approve_payout_request.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/payout/create_payout_request.rb +101 -0
- data/lib/ingenico/connect/sdk/domain/payout/payout_customer.rb +76 -0
- data/lib/ingenico/connect/sdk/domain/payout/payout_error_response.rb +57 -0
- data/lib/ingenico/connect/sdk/domain/payout/payout_references.rb +46 -0
- data/lib/ingenico/connect/sdk/domain/payout/payout_response.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/payout/payout_result.rb +54 -0
- data/lib/ingenico/connect/sdk/domain/product/account_on_file.rb +64 -0
- data/lib/ingenico/connect/sdk/domain/product/account_on_file_attribute.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/product/account_on_file_display_hints.rb +46 -0
- data/lib/ingenico/connect/sdk/domain/product/directory.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/product/directory_entry.rb +59 -0
- data/lib/ingenico/connect/sdk/domain/product/empty_validator.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/product/fixed_list_validator.rb +38 -0
- data/lib/ingenico/connect/sdk/domain/product/label_template_element.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/product/length_validator.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/product/payment_product.rb +134 -0
- data/lib/ingenico/connect/sdk/domain/product/payment_product_display_hints.rb +46 -0
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field.rb +61 -0
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_data_restrictions.rb +43 -0
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_display_hints.rb +96 -0
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_form_element.rb +46 -0
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_tooltip.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_validators.rb +100 -0
- data/lib/ingenico/connect/sdk/domain/product/payment_product_group.rb +71 -0
- data/lib/ingenico/connect/sdk/domain/product/payment_product_group_response.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/product/payment_product_groups.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/product/payment_product_response.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/product/payment_products.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/product/range_validator.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/product/regular_expression_validator.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/product/value_mapping_element.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/refund/approve_refund_request.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/refund/bank_account_bban_refund.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/refund/bank_refund_method_specific_input.rb +54 -0
- data/lib/ingenico/connect/sdk/domain/refund/refund_customer.rb +58 -0
- data/lib/ingenico/connect/sdk/domain/refund/refund_error_response.rb +57 -0
- data/lib/ingenico/connect/sdk/domain/refund/refund_references.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/refund/refund_request.rb +76 -0
- data/lib/ingenico/connect/sdk/domain/refund/refund_response.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/refund/refund_result.rb +54 -0
- data/lib/ingenico/connect/sdk/domain/riskassessments/customer_risk_assessment.rb +65 -0
- data/lib/ingenico/connect/sdk/domain/riskassessments/order_risk_assessment.rb +58 -0
- data/lib/ingenico/connect/sdk/domain/riskassessments/personal_information_risk_assessment.rb +36 -0
- data/lib/ingenico/connect/sdk/domain/riskassessments/personal_name_risk_assessment.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment.rb +54 -0
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_bank_account.rb +47 -0
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_card.rb +36 -0
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_response.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/services/bank_data.rb +53 -0
- data/lib/ingenico/connect/sdk/domain/services/bank_details.rb +47 -0
- data/lib/ingenico/connect/sdk/domain/services/bank_details_request.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/services/bank_details_response.rb +69 -0
- data/lib/ingenico/connect/sdk/domain/services/convert_amount.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/services/get_iin_details_request.rb +43 -0
- data/lib/ingenico/connect/sdk/domain/services/get_iin_details_response.rb +60 -0
- data/lib/ingenico/connect/sdk/domain/services/iin_detail.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/services/payment_context.rb +50 -0
- data/lib/ingenico/connect/sdk/domain/services/swift.rb +95 -0
- data/lib/ingenico/connect/sdk/domain/services/test_connection.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/sessions/payment_product_filters_client_session.rb +46 -0
- data/lib/ingenico/connect/sdk/domain/sessions/session_request.rb +49 -0
- data/lib/ingenico/connect/sdk/domain/sessions/session_response.rb +59 -0
- data/lib/ingenico/connect/sdk/domain/token/abstract_token.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/token/approve_token_request.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/token/contact_details_token.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/token/create_token_request.rb +76 -0
- data/lib/ingenico/connect/sdk/domain/token/create_token_response.rb +39 -0
- data/lib/ingenico/connect/sdk/domain/token/creditor.rb +102 -0
- data/lib/ingenico/connect/sdk/domain/token/customer_token.rb +47 -0
- data/lib/ingenico/connect/sdk/domain/token/customer_token_with_contact_details.rb +36 -0
- data/lib/ingenico/connect/sdk/domain/token/debtor.rb +102 -0
- data/lib/ingenico/connect/sdk/domain/token/mandate_approval.rb +46 -0
- data/lib/ingenico/connect/sdk/domain/token/mandate_non_sepa_direct_debit.rb +36 -0
- data/lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit.rb +36 -0
- data/lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit_with_mandate_id.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit_without_creditor.rb +79 -0
- data/lib/ingenico/connect/sdk/domain/token/personal_information_token.rb +36 -0
- data/lib/ingenico/connect/sdk/domain/token/personal_name_token.rb +16 -0
- data/lib/ingenico/connect/sdk/domain/token/token_card.rb +47 -0
- data/lib/ingenico/connect/sdk/domain/token/token_card_data.rb +50 -0
- data/lib/ingenico/connect/sdk/domain/token/token_e_wallet.rb +47 -0
- data/lib/ingenico/connect/sdk/domain/token/token_e_wallet_data.rb +32 -0
- data/lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit.rb +47 -0
- data/lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit_payment_product705_specific_data.rb +43 -0
- data/lib/ingenico/connect/sdk/domain/token/token_response.rb +83 -0
- data/lib/ingenico/connect/sdk/domain/token/token_sepa_direct_debit.rb +47 -0
- data/lib/ingenico/connect/sdk/domain/token/token_sepa_direct_debit_without_creditor.rb +47 -0
- data/lib/ingenico/connect/sdk/domain/token/update_token_request.rb +76 -0
- data/lib/ingenico/connect/sdk/endpoint_configuration.rb +139 -0
- data/lib/ingenico/connect/sdk/exceptions.rb +8 -0
- data/lib/ingenico/connect/sdk/factory.rb +200 -0
- data/lib/ingenico/connect/sdk/global_collect_exception.rb +15 -0
- data/lib/ingenico/connect/sdk/idempotence_exception.rb +24 -0
- data/lib/ingenico/connect/sdk/logging.rb +10 -0
- data/lib/ingenico/connect/sdk/logging/communicator_logger.rb +19 -0
- data/lib/ingenico/connect/sdk/logging/log_message_builder.rb +61 -0
- data/lib/ingenico/connect/sdk/logging/logging_capable.rb +19 -0
- data/lib/ingenico/connect/sdk/logging/logging_util.rb +298 -0
- data/lib/ingenico/connect/sdk/logging/request_log_message_builder.rb +42 -0
- data/lib/ingenico/connect/sdk/logging/response_log_message_builder.rb +34 -0
- data/lib/ingenico/connect/sdk/logging/ruby_communicator_logger.rb +58 -0
- data/lib/ingenico/connect/sdk/logging/stdout_communicator_logger.rb +36 -0
- data/lib/ingenico/connect/sdk/marshaller.rb +19 -0
- data/lib/ingenico/connect/sdk/marshaller_syntax_exception.rb +6 -0
- data/lib/ingenico/connect/sdk/merchant/hostedcheckouts/hostedcheckouts_client.rb +88 -0
- data/lib/ingenico/connect/sdk/merchant/merchant_client.rb +110 -0
- data/lib/ingenico/connect/sdk/merchant/payments/payments_client.rb +319 -0
- data/lib/ingenico/connect/sdk/merchant/payouts/payouts_client.rb +197 -0
- data/lib/ingenico/connect/sdk/merchant/productgroups/find_productgroups_params.rb +55 -0
- data/lib/ingenico/connect/sdk/merchant/productgroups/get_productgroup_params.rb +55 -0
- data/lib/ingenico/connect/sdk/merchant/productgroups/productgroups_client.rb +90 -0
- data/lib/ingenico/connect/sdk/merchant/products/directory_params.rb +31 -0
- data/lib/ingenico/connect/sdk/merchant/products/find_products_params.rb +55 -0
- data/lib/ingenico/connect/sdk/merchant/products/get_product_params.rb +55 -0
- data/lib/ingenico/connect/sdk/merchant/products/products_client.rb +124 -0
- data/lib/ingenico/connect/sdk/merchant/refunds/refunds_client.rb +154 -0
- data/lib/ingenico/connect/sdk/merchant/riskassessments/riskassessments_client.rb +85 -0
- data/lib/ingenico/connect/sdk/merchant/services/convert_amount_params.rb +35 -0
- data/lib/ingenico/connect/sdk/merchant/services/services_client.rb +149 -0
- data/lib/ingenico/connect/sdk/merchant/sessions/sessions_client.rb +55 -0
- data/lib/ingenico/connect/sdk/merchant/tokens/delete_token_params.rb +27 -0
- data/lib/ingenico/connect/sdk/merchant/tokens/tokens_client.rb +192 -0
- data/lib/ingenico/connect/sdk/meta_data_provider.rb +152 -0
- data/lib/ingenico/connect/sdk/modules.rb +130 -0
- data/lib/ingenico/connect/sdk/not_found_exception.rb +19 -0
- data/lib/ingenico/connect/sdk/param_request.rb +33 -0
- data/lib/ingenico/connect/sdk/pooled_connection.rb +21 -0
- data/lib/ingenico/connect/sdk/proxy_configuration.rb +75 -0
- data/lib/ingenico/connect/sdk/reference_exception.rb +14 -0
- data/lib/ingenico/connect/sdk/request_header.rb +25 -0
- data/lib/ingenico/connect/sdk/request_param.rb +24 -0
- data/lib/ingenico/connect/sdk/response.rb +62 -0
- data/lib/ingenico/connect/sdk/response_exception.rb +54 -0
- data/lib/ingenico/connect/sdk/response_header.rb +25 -0
- data/lib/ingenico/connect/sdk/session.rb +39 -0
- data/lib/ingenico/connect/sdk/validation_exception.rb +14 -0
- data/spec/comparable_extension.rb +29 -0
- data/spec/fixtures/resources/defaultimpl/convertAmount.json +3 -0
- data/spec/fixtures/resources/defaultimpl/createPayment.failure.invalidCardNumber.json +11 -0
- data/spec/fixtures/resources/defaultimpl/createPayment.failure.rejected.json +48 -0
- data/spec/fixtures/resources/defaultimpl/createPayment.json +40 -0
- data/spec/fixtures/resources/defaultimpl/idempotence_duplicate_failure.json +8 -0
- data/spec/fixtures/resources/defaultimpl/idempotence_rejected.json +46 -0
- data/spec/fixtures/resources/defaultimpl/idempotence_success.json +39 -0
- data/spec/fixtures/resources/defaultimpl/notFound.html +1 -0
- data/spec/fixtures/resources/defaultimpl/testConnection.json +3 -0
- data/spec/fixtures/resources/defaultimpl/unknownServerError.json +10 -0
- data/spec/fixtures/resources/logging/bodyNoObfuscation.json +17 -0
- data/spec/fixtures/resources/logging/bodyWithBinObfuscated.json +3 -0
- data/spec/fixtures/resources/logging/bodyWithBinOriginal.json +3 -0
- data/spec/fixtures/resources/logging/bodyWithCardObfuscated.json +21 -0
- data/spec/fixtures/resources/logging/bodyWithCardOriginal.json +21 -0
- data/spec/fixtures/resources/logging/bodyWithIbanObfuscated.json +19 -0
- data/spec/fixtures/resources/logging/bodyWithIbanOriginal.json +19 -0
- data/spec/fixtures/resources/payment/duplicate_request.json +8 -0
- data/spec/fixtures/resources/payment/invalid_authorization.json +9 -0
- data/spec/fixtures/resources/payment/invalid_request.json +11 -0
- data/spec/fixtures/resources/payment/method_not_allowed.html +1 -0
- data/spec/fixtures/resources/payment/not_found.html +1 -0
- data/spec/fixtures/resources/payment/pending_approval.json +39 -0
- data/spec/fixtures/resources/payment/rejected.json +46 -0
- data/spec/fixtures/resources/properties.proxy.yml +13 -0
- data/spec/fixtures/resources/properties.yml +7 -0
- data/spec/integration/connection_pooling_spec.rb +78 -0
- data/spec/integration/convert_amount_spec.rb +25 -0
- data/spec/integration/idempotence_spec.rb +59 -0
- data/spec/integration/multiline_header_spec.rb +30 -0
- data/spec/integration/payment_product_groups_spec.rb +23 -0
- data/spec/integration/payment_products_spec.rb +22 -0
- data/spec/integration/risk_assessments_spec.rb +37 -0
- data/spec/integration/sdk_proxy_spec.rb +89 -0
- data/spec/integration/token_spec.rb +42 -0
- data/spec/integration_setup.rb +50 -0
- data/spec/lib/client_spec.rb +69 -0
- data/spec/lib/communicator_configuration_spec.rb +179 -0
- data/spec/lib/communicator_spec.rb +31 -0
- data/spec/lib/defaultimpl/default_authenticator_spec.rb +74 -0
- data/spec/lib/defaultimpl/default_connection_idempotence_spec.rb +142 -0
- data/spec/lib/defaultimpl/default_connection_logger_spec.rb +526 -0
- data/spec/lib/defaultimpl/default_connection_spec.rb +334 -0
- data/spec/lib/defaultimpl/default_marshaller_spec.rb +36 -0
- data/spec/lib/factory_spec.rb +41 -0
- data/spec/lib/logging/header_obfuscator_spec.rb +51 -0
- data/spec/lib/logging/logging_util_spec.rb +143 -0
- data/spec/lib/logging/obfuscator_spec.rb +52 -0
- data/spec/lib/logging/ruby_communicator_logger_spec.rb +84 -0
- data/spec/lib/logging/stdout_communicator_logger_spec.rb +64 -0
- data/spec/lib/logging/value_obfuscator_spec.rb +95 -0
- data/spec/lib/meta_data_provider_spec.rb +71 -0
- data/spec/lib/payments_client_spec.rb +157 -0
- data/spec/lib/requestparams/delete_params_spec.rb +21 -0
- data/spec/lib/requestparams/directory_params_spec.rb +27 -0
- data/spec/lib/requestparams/find_params_spec.rb +58 -0
- data/spec/lib/requestparams/get_params_spec.rb +59 -0
- data/spec/lib/requestparams/param_request_spec.rb +57 -0
- data/spec/spec_helper.rb +23 -0
- metadata +565 -0
@@ -0,0 +1,157 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'ingenico/connect/sdk/domain/definitions/card'
|
3
|
+
require 'ingenico/connect/sdk/domain/payment/card_payment_method_specific_input'
|
4
|
+
require 'ingenico/connect/sdk/domain/payment/create_payment_request'
|
5
|
+
require 'ingenico/connect/sdk/domain/payment/customer'
|
6
|
+
require 'ingenico/connect/sdk/domain/payment/order'
|
7
|
+
require 'ingenico/connect/sdk/merchant/payments/payments_client'
|
8
|
+
|
9
|
+
PaymentsClient ||= Ingenico::Connect::SDK::Merchant::Payments::PaymentsClient
|
10
|
+
Payment ||= Ingenico::Connect::SDK::Domain::Payment
|
11
|
+
Definitions ||= Ingenico::Connect::SDK::Domain::Definitions
|
12
|
+
Response ||= Ingenico::Connect::SDK::Response
|
13
|
+
ResponseHeader ||= Ingenico::Connect::SDK::ResponseHeader
|
14
|
+
|
15
|
+
ResponseException ||= Ingenico::Connect::SDK::ResponseException
|
16
|
+
CommunicationException ||= Ingenico::Connect::SDK::CommunicationException
|
17
|
+
ApiException ||= Ingenico::Connect::SDK::ApiException
|
18
|
+
ValidationException ||= Ingenico::Connect::SDK::ValidationException
|
19
|
+
DeclinedPaymentException ||= Ingenico::Connect::SDK::DeclinedPaymentException
|
20
|
+
ReferenceException ||= Ingenico::Connect::SDK::ReferenceException
|
21
|
+
IdempotenceException ||= Ingenico::Connect::SDK::IdempotenceException
|
22
|
+
|
23
|
+
describe PaymentsClient do
|
24
|
+
|
25
|
+
resource_prefix = 'spec/fixtures/resources/payment/'
|
26
|
+
let(:request_body) {create_resource}
|
27
|
+
|
28
|
+
it 'can create payments' do
|
29
|
+
connection = double(Ingenico::Connect::SDK::Connection)
|
30
|
+
client = init_client(connection)
|
31
|
+
response_body = IO.read(resource_prefix + 'pending_approval.json')
|
32
|
+
allow(connection).to receive(:post).and_return(Response.new(201, response_body, nil))
|
33
|
+
|
34
|
+
response = client.merchant('merchantId').payments.create(request_body)
|
35
|
+
|
36
|
+
expect(response.payment.id).to eq('000002000020142549460000100001')
|
37
|
+
expect(response.payment.status).to eq('PENDING_APPROVAL')
|
38
|
+
end
|
39
|
+
|
40
|
+
it 'can deal with rejection' do
|
41
|
+
connection = double(Ingenico::Connect::SDK::Connection)
|
42
|
+
client = init_client(connection)
|
43
|
+
response_body = IO.read(resource_prefix + 'rejected.json')
|
44
|
+
allow(connection).to receive(:post).and_return(Response.new(400, response_body, nil))
|
45
|
+
|
46
|
+
expect{client.merchant('merchantId').payments.create(request_body)}.to raise_error(DeclinedPaymentException){|error|
|
47
|
+
expect(error.message).to include("payment '000002000020142544360000100001'")
|
48
|
+
expect(error.message).to include("status 'REJECTED'")
|
49
|
+
expect(error.message).to include(response_body)
|
50
|
+
expect(error.payment_result).to_not be_nil
|
51
|
+
expect(error.payment_result.payment.id).to eq('000002000020142544360000100001')
|
52
|
+
expect(error.payment_result.payment.status).to eq('REJECTED')
|
53
|
+
}
|
54
|
+
end
|
55
|
+
|
56
|
+
it 'can deal with invalid requests' do
|
57
|
+
connection = double(Ingenico::Connect::SDK::Connection)
|
58
|
+
client = init_client(connection)
|
59
|
+
response_body = IO.read(resource_prefix + 'invalid_request.json')
|
60
|
+
allow(connection).to receive(:post).and_return(Response.new(400, response_body, nil))
|
61
|
+
|
62
|
+
expect{client.merchant('merchantId').payments.create(request_body)}.to raise_error(ValidationException){|error|
|
63
|
+
expect(error.message).to include(response_body)
|
64
|
+
}
|
65
|
+
end
|
66
|
+
|
67
|
+
it 'can deal with not being authorized' do
|
68
|
+
connection = double(Ingenico::Connect::SDK::Connection)
|
69
|
+
client = init_client(connection)
|
70
|
+
response_body = IO.read(resource_prefix + 'invalid_authorization.json')
|
71
|
+
allow(connection).to receive(:post).and_return(Response.new(401, response_body, nil))
|
72
|
+
|
73
|
+
expect{client.merchant('merchantId').payments.create(request_body)}.to raise_error(ApiException){|error|
|
74
|
+
|
75
|
+
expect(error.message).to include(response_body)
|
76
|
+
}
|
77
|
+
end
|
78
|
+
|
79
|
+
it 'can handle the payment already existing' do
|
80
|
+
connection = double(Ingenico::Connect::SDK::Connection)
|
81
|
+
client = init_client(connection)
|
82
|
+
response_body = IO.read(resource_prefix + 'duplicate_request.json')
|
83
|
+
allow(connection).to receive(:post).and_return(Response.new(409, response_body, nil))
|
84
|
+
|
85
|
+
expect{client.merchant('merchantId').payments.create(request_body)}.to raise_error(ReferenceException){|error|
|
86
|
+
expect(error.message).to include(response_body)
|
87
|
+
}
|
88
|
+
end
|
89
|
+
|
90
|
+
it 'can deal with sending a request twice' do
|
91
|
+
connection = double(Ingenico::Connect::SDK::Connection)
|
92
|
+
client = init_client(connection)
|
93
|
+
response_body = IO.read(resource_prefix + 'duplicate_request.json')
|
94
|
+
context = Ingenico::Connect::SDK::CallContext.new('key')
|
95
|
+
allow(connection).to receive(:post).and_return(Response.new(409, response_body, nil))
|
96
|
+
|
97
|
+
expect{client.merchant('merchantId').payments.create(request_body, context)}
|
98
|
+
.to raise_error(IdempotenceException){|error|
|
99
|
+
expect(error.message).to include(response_body)
|
100
|
+
expect(error.idempotence_key).to eq(context.idempotence_key)
|
101
|
+
}
|
102
|
+
end
|
103
|
+
|
104
|
+
it 'can handle its client not being found' do
|
105
|
+
connection = double(Ingenico::Connect::SDK::Connection)
|
106
|
+
client = init_client(connection)
|
107
|
+
response_body = IO.read(resource_prefix + 'not_found.html')
|
108
|
+
allow(connection).to receive(:post).and_return(Response.new(404, response_body, [ResponseHeader.new('content-type', 'text/html')]))
|
109
|
+
|
110
|
+
expect{client.merchant('merchantId').payments.create(request_body)}.to raise_error(Ingenico::Connect::SDK::NotFoundException){|error|
|
111
|
+
expect(error.cause).to be_a(ResponseException)
|
112
|
+
expect(error.cause.message).to include(response_body)
|
113
|
+
}
|
114
|
+
end
|
115
|
+
|
116
|
+
it 'can handle the server misbehaving' do
|
117
|
+
connection = double(Ingenico::Connect::SDK::Connection)
|
118
|
+
client = init_client(connection)
|
119
|
+
response_body = IO.read(resource_prefix + 'method_not_allowed.html')
|
120
|
+
allow(connection).to receive(:post).and_return(Response.new(405, response_body, [ResponseHeader.new('content-type', 'text/html')]))
|
121
|
+
|
122
|
+
expect{client.merchant('merchantId').payments.create(request_body)}.to raise_error(CommunicationException){|error|
|
123
|
+
expect(error.cause).to be_a(ResponseException)
|
124
|
+
expect(error.cause.message).to include(response_body)
|
125
|
+
}
|
126
|
+
end
|
127
|
+
|
128
|
+
def init_client(connection)
|
129
|
+
session = Ingenico::Connect::SDK::Session.new('http://localhost', connection,
|
130
|
+
Ingenico::Connect::SDK::DefaultImpl::DefaultAuthenticator.new(
|
131
|
+
Ingenico::Connect::SDK::DefaultImpl::AuthorizationType.get_authorization('v1HMAC'), 'admin', 'admin'),
|
132
|
+
Ingenico::Connect::SDK::MetaDataProvider.new('Ingenico'))
|
133
|
+
return Ingenico::Connect::SDK::Factory.create_client_from_session(session)
|
134
|
+
end
|
135
|
+
|
136
|
+
def create_resource
|
137
|
+
amount_of_money = Definitions::AmountOfMoney.new
|
138
|
+
amount_of_money.amount = 2345
|
139
|
+
amount_of_money.currency_code = 'CAD'
|
140
|
+
customer = Payment::Customer.new
|
141
|
+
billing_address = Definitions::Address.new
|
142
|
+
billing_address.country_code = 'CA'
|
143
|
+
customer.billing_address = billing_address
|
144
|
+
order = Payment::Order.new
|
145
|
+
order.customer = customer
|
146
|
+
card = Definitions::Card.new
|
147
|
+
card.cvv = '123'
|
148
|
+
card.card_number = '4567350000427977'
|
149
|
+
card.expiry_date = '1220'
|
150
|
+
card_payment_method_specific_input = Payment::CardPaymentMethodSpecificInput.new
|
151
|
+
card_payment_method_specific_input.card = card
|
152
|
+
card_payment_method_specific_input.payment_product_id = 1
|
153
|
+
body = Payment::CreatePaymentRequest.new
|
154
|
+
body.card_payment_method_specific_input = card_payment_method_specific_input
|
155
|
+
body
|
156
|
+
end
|
157
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'ingenico/connect/sdk/merchant/tokens/delete_token_params'
|
3
|
+
|
4
|
+
DeleteTokenParams ||= Ingenico::Connect::SDK::Merchant::Tokens::DeleteTokenParams
|
5
|
+
RequestParam ||= Ingenico::Connect::SDK::RequestParam
|
6
|
+
|
7
|
+
describe 'DeleteTokenParams' do
|
8
|
+
|
9
|
+
let(:params){params = DeleteTokenParams.new}
|
10
|
+
|
11
|
+
context 'to_request_parameters' do
|
12
|
+
it 'should return an empty list as default' do
|
13
|
+
expect(params.to_request_parameters).to eq([])
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'should be able to convert set parameters to RequestParameters' do
|
17
|
+
params.mandate_cancel_date = '20160610'
|
18
|
+
expect(params.to_request_parameters).to eq([RequestParam.new('mandateCancelDate', '20160610')])
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'ingenico/connect/sdk/merchant/products/directory_params'
|
3
|
+
|
4
|
+
describe 'DirectoryParams' do
|
5
|
+
subject(:params){Ingenico::Connect::SDK::Merchant::Products::DirectoryParams.new}
|
6
|
+
|
7
|
+
it 'should output an empty list when no parameters are present' do
|
8
|
+
expect(params.to_request_parameters).to eq([])
|
9
|
+
end
|
10
|
+
|
11
|
+
it 'accepts parameters' do
|
12
|
+
params.country_code = 'NL'
|
13
|
+
params.currency_code = 'EUR'
|
14
|
+
expected = [Ingenico::Connect::SDK::RequestParam.new('countryCode', 'NL'), Ingenico::Connect::SDK::RequestParam.new('currencyCode', 'EUR')]
|
15
|
+
|
16
|
+
expect(params.to_request_parameters).to include(expected)
|
17
|
+
end
|
18
|
+
|
19
|
+
it 'allows for deletion' do
|
20
|
+
params.country_code = 'NL'
|
21
|
+
params.currency_code = 'EUR'
|
22
|
+
params.country_code = nil
|
23
|
+
params.currency_code = nil
|
24
|
+
|
25
|
+
expect(params.to_request_parameters).to eq([])
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'ingenico/connect/sdk/merchant/products/find_products_params'
|
3
|
+
require 'ingenico/connect/sdk/merchant/productgroups/find_productgroups_params'
|
4
|
+
|
5
|
+
RequestParam ||= Ingenico::Connect::SDK::RequestParam
|
6
|
+
|
7
|
+
shared_examples_for 'FindParams' do
|
8
|
+
|
9
|
+
it 'should output an empty list when no parameters are present' do
|
10
|
+
expect(params.to_request_parameters).to eq([])
|
11
|
+
end
|
12
|
+
|
13
|
+
it 'accepts parameters' do
|
14
|
+
expected = []
|
15
|
+
params.amount = 1000
|
16
|
+
expected << RequestParam.new('amount', '1000')
|
17
|
+
params.country_code = 'NL'
|
18
|
+
expected << RequestParam.new('countryCode', 'NL')
|
19
|
+
params.currency_code = 'EUR'
|
20
|
+
expected << RequestParam.new('currencyCode', 'EUR')
|
21
|
+
params.is_recurring = true
|
22
|
+
expected << RequestParam.new('isRecurring', 'true')
|
23
|
+
params.locale = 'nl_NL'
|
24
|
+
expected << RequestParam.new('locale', 'nl_NL')
|
25
|
+
params.add_hide('fields')
|
26
|
+
expected << RequestParam.new('hide', 'fields')
|
27
|
+
params.add_hide('accounts_on_file')
|
28
|
+
expected << RequestParam.new('hide', 'accounts_on_file')
|
29
|
+
|
30
|
+
expect(params.to_request_parameters).to match_array(expected)
|
31
|
+
end
|
32
|
+
|
33
|
+
it 'allows for deletion' do
|
34
|
+
params.amount = 1000
|
35
|
+
params.country_code = 'NL'
|
36
|
+
params.currency_code = 'EUR'
|
37
|
+
params.amount = nil
|
38
|
+
params.country_code = nil
|
39
|
+
params.currency_code = nil
|
40
|
+
|
41
|
+
expect(params.to_request_parameters).to eq([])
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
FindProductsParams ||= Ingenico::Connect::SDK::Merchant::Products::FindProductsParams
|
46
|
+
FindProductgroupParams ||= Ingenico::Connect::SDK::Merchant::Productgroups::FindProductgroupsParams
|
47
|
+
|
48
|
+
describe FindProductsParams do
|
49
|
+
let(:params){FindProductsParams.new}
|
50
|
+
|
51
|
+
it_behaves_like 'FindParams'
|
52
|
+
end
|
53
|
+
|
54
|
+
describe FindProductgroupParams do
|
55
|
+
let(:params){FindProductgroupParams.new}
|
56
|
+
|
57
|
+
it_behaves_like 'FindParams'
|
58
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
require 'rspec'
|
2
|
+
require 'spec_helper'
|
3
|
+
require 'ingenico/connect/sdk/merchant/products/get_product_params'
|
4
|
+
require 'ingenico/connect/sdk/merchant/productgroups/get_productgroup_params'
|
5
|
+
|
6
|
+
RequestParam ||= Ingenico::Connect::SDK::RequestParam
|
7
|
+
|
8
|
+
shared_examples_for 'GetParams' do
|
9
|
+
|
10
|
+
it 'should output an empty list when no parameters are present' do
|
11
|
+
expect(params.to_request_parameters).to eq([])
|
12
|
+
end
|
13
|
+
|
14
|
+
it 'accepts parameters' do
|
15
|
+
expected = []
|
16
|
+
params.amount = 1000
|
17
|
+
expected << RequestParam.new('amount', '1000')
|
18
|
+
params.country_code = 'NL'
|
19
|
+
expected << RequestParam.new('countryCode', 'NL')
|
20
|
+
params.currency_code = 'EUR'
|
21
|
+
expected << RequestParam.new('currencyCode', 'EUR')
|
22
|
+
params.is_recurring = true
|
23
|
+
expected << RequestParam.new('isRecurring', 'true')
|
24
|
+
params.locale = 'nl_NL'
|
25
|
+
expected << RequestParam.new('locale', 'nl_NL')
|
26
|
+
params.add_hide('fields')
|
27
|
+
expected << RequestParam.new('hide', 'fields')
|
28
|
+
params.add_hide('accounts_on_file')
|
29
|
+
expected << RequestParam.new('hide', 'accounts_on_file')
|
30
|
+
|
31
|
+
expect(params.to_request_parameters).to match_array(expected)
|
32
|
+
end
|
33
|
+
|
34
|
+
it 'allows for deletion' do
|
35
|
+
params.amount = 1000
|
36
|
+
params.country_code = 'NL'
|
37
|
+
params.currency_code = 'EUR'
|
38
|
+
params.amount = nil
|
39
|
+
params.country_code = nil
|
40
|
+
params.currency_code = nil
|
41
|
+
|
42
|
+
expect(params.to_request_parameters).to eq([])
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
GetProductParams ||= Ingenico::Connect::SDK::Merchant::Products::GetProductParams
|
47
|
+
GetProductgroupParams ||= Ingenico::Connect::SDK::Merchant::Productgroups::GetProductgroupParams
|
48
|
+
|
49
|
+
describe GetProductParams do
|
50
|
+
let(:params){GetProductParams.new}
|
51
|
+
|
52
|
+
it_behaves_like 'GetParams'
|
53
|
+
end
|
54
|
+
|
55
|
+
describe GetProductgroupParams do
|
56
|
+
let(:params){GetProductgroupParams.new}
|
57
|
+
|
58
|
+
it_behaves_like 'GetParams'
|
59
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
ParamRequest ||= Ingenico::Connect::SDK::ParamRequest
|
4
|
+
RequestParam ||= Ingenico::Connect::SDK::RequestParam
|
5
|
+
|
6
|
+
describe ParamRequest do
|
7
|
+
|
8
|
+
it 'accepts strings' do
|
9
|
+
validate_add_parameter('foo', 'false')
|
10
|
+
end
|
11
|
+
|
12
|
+
it 'accepts Fixnums' do
|
13
|
+
validate_add_parameter('foo', 1234567890)
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'accepts Bignums' do
|
17
|
+
validate_add_parameter('foo', 2**33-2)
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'accepts booleans' do
|
21
|
+
validate_add_parameter('foo', false)
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'accepts a list of strings' do
|
25
|
+
validate_add_parameter('foo', ['bar'])
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'accepts a list of Fixnums' do
|
29
|
+
validate_add_parameter('foo', [1337])
|
30
|
+
end
|
31
|
+
|
32
|
+
it 'accepts a list of booleans' do
|
33
|
+
validate_add_parameter('foo', [true, false])
|
34
|
+
end
|
35
|
+
|
36
|
+
it 'does not accept a float' do
|
37
|
+
expect{validate_add_parameter('bar', 3.14)}.to raise_error(ArgumentError)
|
38
|
+
end
|
39
|
+
|
40
|
+
it 'does not accept a list of a list' do
|
41
|
+
expect{validate_add_parameter('bar', [['foo']])}.to raise_error(ArgumentError)
|
42
|
+
end
|
43
|
+
|
44
|
+
|
45
|
+
# Checks if the parameter pair _name_ _value_ can be added to a ParamRequest
|
46
|
+
def validate_add_parameter(name, value)
|
47
|
+
list = []
|
48
|
+
ParamRequest.new.send(:add_parameter, list, name, value)
|
49
|
+
|
50
|
+
if value.instance_of?(Array)
|
51
|
+
expected = value.collect{|val| RequestParam.new(name, val)}
|
52
|
+
else
|
53
|
+
expected = [RequestParam.new(name, value)]
|
54
|
+
end
|
55
|
+
expect(list).to match_array(expected)
|
56
|
+
end
|
57
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'rspec'
|
2
|
+
require 'webmock/rspec'
|
3
|
+
|
4
|
+
require 'ingenico/connect/sdk'
|
5
|
+
require 'comparable_extension'
|
6
|
+
|
7
|
+
RSpec.configure do |config|
|
8
|
+
|
9
|
+
WebMock.disable_net_connect! # make it explicit
|
10
|
+
|
11
|
+
config.order = 'random'
|
12
|
+
config.profile_examples = 5 # show the slowest tests
|
13
|
+
|
14
|
+
# declaration of constants to use throughout the tests
|
15
|
+
config.before(:suite) do
|
16
|
+
PROPERTIES_URI = File.expand_path('../../spec/fixtures/resources/properties.yml', __FILE__)
|
17
|
+
API_KEY_ID = 'somekey'
|
18
|
+
SECRET_API_KEY = 'someSecret'
|
19
|
+
CLIENT = Ingenico::Connect::SDK::Factory.create_client_from_file(PROPERTIES_URI, API_KEY_ID, SECRET_API_KEY)
|
20
|
+
end
|
21
|
+
|
22
|
+
config.after(:suite) { CLIENT.close }
|
23
|
+
end
|
metadata
ADDED
@@ -0,0 +1,565 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: connect-sdk-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ingenico ePayments
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-11-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: httpclient
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.8'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.8'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: yard
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.9'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.9'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.5'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.5'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: webmock
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.1'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.1'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: sinatra
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.4'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.4'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '10.4'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '10.4'
|
97
|
+
description: SDK to communicate with the GlobalCollect platform using the Ingenico
|
98
|
+
Connect Server API
|
99
|
+
email:
|
100
|
+
- github@epay.ingenico.com
|
101
|
+
executables: []
|
102
|
+
extensions: []
|
103
|
+
extra_rdoc_files: []
|
104
|
+
files:
|
105
|
+
- Gemfile
|
106
|
+
- LICENSE.txt
|
107
|
+
- README.md
|
108
|
+
- Rakefile
|
109
|
+
- connect-sdk-ruby.gemspec
|
110
|
+
- examples/merchant/example_configuration.yml
|
111
|
+
- examples/merchant/hostedcheckouts/create_hosted_checkout_example.rb
|
112
|
+
- examples/merchant/hostedcheckouts/get_hosted_checkout_example.rb
|
113
|
+
- examples/merchant/payments/approve_payment_example.rb
|
114
|
+
- examples/merchant/payments/cancel_approval_payment_example.rb
|
115
|
+
- examples/merchant/payments/cancel_payment_example.rb
|
116
|
+
- examples/merchant/payments/create_payment_example.rb
|
117
|
+
- examples/merchant/payments/get_payment_example.rb
|
118
|
+
- examples/merchant/payments/process_challenged_payment_example.rb
|
119
|
+
- examples/merchant/payments/refund_payment_example.rb
|
120
|
+
- examples/merchant/payments/tokenize_payment_example.rb
|
121
|
+
- examples/merchant/payouts/approve_payout_example.rb
|
122
|
+
- examples/merchant/payouts/cancel_approval_payout_example.rb
|
123
|
+
- examples/merchant/payouts/cancel_payout_example.rb
|
124
|
+
- examples/merchant/payouts/create_payout_example.rb
|
125
|
+
- examples/merchant/payouts/get_payout_example.rb
|
126
|
+
- examples/merchant/productgroups/get_payment_product_group_example.rb
|
127
|
+
- examples/merchant/productgroups/get_payment_product_groups_example.rb
|
128
|
+
- examples/merchant/products/get_directory_example.rb
|
129
|
+
- examples/merchant/products/get_payment_product_example.rb
|
130
|
+
- examples/merchant/products/get_payment_products_example.rb
|
131
|
+
- examples/merchant/refunds/approve_refund_example.rb
|
132
|
+
- examples/merchant/refunds/cancel_approval_refund_example.rb
|
133
|
+
- examples/merchant/refunds/cancel_refund_example.rb
|
134
|
+
- examples/merchant/refunds/get_refund_example.rb
|
135
|
+
- examples/merchant/riskassessments/risk_assessment_bank_account_example.rb
|
136
|
+
- examples/merchant/riskassessments/risk_assessment_cards_example.rb
|
137
|
+
- examples/merchant/services/convert_amount_example.rb
|
138
|
+
- examples/merchant/services/convert_bank_account_example.rb
|
139
|
+
- examples/merchant/services/iin_details_example.rb
|
140
|
+
- examples/merchant/services/test_connection_example.rb
|
141
|
+
- examples/merchant/sessions/create_session_example.rb
|
142
|
+
- examples/merchant/tokens/approve_sepa_direct_debit_token_example.rb
|
143
|
+
- examples/merchant/tokens/create_token_example.rb
|
144
|
+
- examples/merchant/tokens/delete_token_example.rb
|
145
|
+
- examples/merchant/tokens/get_token_example.rb
|
146
|
+
- examples/merchant/tokens/update_token_example.rb
|
147
|
+
- lib/ingenico/connect/sdk.rb
|
148
|
+
- lib/ingenico/connect/sdk/api_exception.rb
|
149
|
+
- lib/ingenico/connect/sdk/api_resource.rb
|
150
|
+
- lib/ingenico/connect/sdk/authenticator.rb
|
151
|
+
- lib/ingenico/connect/sdk/authorization_exception.rb
|
152
|
+
- lib/ingenico/connect/sdk/call_context.rb
|
153
|
+
- lib/ingenico/connect/sdk/client.rb
|
154
|
+
- lib/ingenico/connect/sdk/communication_exception.rb
|
155
|
+
- lib/ingenico/connect/sdk/communicator.rb
|
156
|
+
- lib/ingenico/connect/sdk/communicator_configuration.rb
|
157
|
+
- lib/ingenico/connect/sdk/connection.rb
|
158
|
+
- lib/ingenico/connect/sdk/data_object.rb
|
159
|
+
- lib/ingenico/connect/sdk/declined_payment_exception.rb
|
160
|
+
- lib/ingenico/connect/sdk/declined_payout_exception.rb
|
161
|
+
- lib/ingenico/connect/sdk/declined_refund_exception.rb
|
162
|
+
- lib/ingenico/connect/sdk/declined_transaction_exception.rb
|
163
|
+
- lib/ingenico/connect/sdk/defaultimpl.rb
|
164
|
+
- lib/ingenico/connect/sdk/defaultimpl/authorization_type.rb
|
165
|
+
- lib/ingenico/connect/sdk/defaultimpl/default_authenticator.rb
|
166
|
+
- lib/ingenico/connect/sdk/defaultimpl/default_connection.rb
|
167
|
+
- lib/ingenico/connect/sdk/defaultimpl/default_marshaller.rb
|
168
|
+
- lib/ingenico/connect/sdk/domain/definitions/abstract_order_status.rb
|
169
|
+
- lib/ingenico/connect/sdk/domain/definitions/abstract_payment_method_specific_input.rb
|
170
|
+
- lib/ingenico/connect/sdk/domain/definitions/additional_order_input_airline_data.rb
|
171
|
+
- lib/ingenico/connect/sdk/domain/definitions/address.rb
|
172
|
+
- lib/ingenico/connect/sdk/domain/definitions/airline_data.rb
|
173
|
+
- lib/ingenico/connect/sdk/domain/definitions/airline_flight_leg.rb
|
174
|
+
- lib/ingenico/connect/sdk/domain/definitions/amount_of_money.rb
|
175
|
+
- lib/ingenico/connect/sdk/domain/definitions/bank_account.rb
|
176
|
+
- lib/ingenico/connect/sdk/domain/definitions/bank_account_bban.rb
|
177
|
+
- lib/ingenico/connect/sdk/domain/definitions/bank_account_iban.rb
|
178
|
+
- lib/ingenico/connect/sdk/domain/definitions/card.rb
|
179
|
+
- lib/ingenico/connect/sdk/domain/definitions/card_essentials.rb
|
180
|
+
- lib/ingenico/connect/sdk/domain/definitions/card_fraud_results.rb
|
181
|
+
- lib/ingenico/connect/sdk/domain/definitions/card_without_cvv.rb
|
182
|
+
- lib/ingenico/connect/sdk/domain/definitions/company_information.rb
|
183
|
+
- lib/ingenico/connect/sdk/domain/definitions/contact_details_base.rb
|
184
|
+
- lib/ingenico/connect/sdk/domain/definitions/customer_base.rb
|
185
|
+
- lib/ingenico/connect/sdk/domain/definitions/fraud_fields.rb
|
186
|
+
- lib/ingenico/connect/sdk/domain/definitions/fraud_results.rb
|
187
|
+
- lib/ingenico/connect/sdk/domain/definitions/fraud_results_retail_decisions.rb
|
188
|
+
- lib/ingenico/connect/sdk/domain/definitions/key_value_pair.rb
|
189
|
+
- lib/ingenico/connect/sdk/domain/definitions/order_status_output.rb
|
190
|
+
- lib/ingenico/connect/sdk/domain/definitions/payment_product_filter.rb
|
191
|
+
- lib/ingenico/connect/sdk/domain/definitions/personal_name_base.rb
|
192
|
+
- lib/ingenico/connect/sdk/domain/definitions/result_do_risk_assessment.rb
|
193
|
+
- lib/ingenico/connect/sdk/domain/definitions/retail_decisions_cc_fraud_check_output.rb
|
194
|
+
- lib/ingenico/connect/sdk/domain/definitions/validation_bank_account_check.rb
|
195
|
+
- lib/ingenico/connect/sdk/domain/definitions/validation_bank_account_output.rb
|
196
|
+
- lib/ingenico/connect/sdk/domain/errors/api_error.rb
|
197
|
+
- lib/ingenico/connect/sdk/domain/errors/error_response.rb
|
198
|
+
- lib/ingenico/connect/sdk/domain/hostedcheckout/create_hosted_checkout_request.rb
|
199
|
+
- lib/ingenico/connect/sdk/domain/hostedcheckout/create_hosted_checkout_response.rb
|
200
|
+
- lib/ingenico/connect/sdk/domain/hostedcheckout/created_payment_output.rb
|
201
|
+
- lib/ingenico/connect/sdk/domain/hostedcheckout/displayed_data.rb
|
202
|
+
- lib/ingenico/connect/sdk/domain/hostedcheckout/get_hosted_checkout_response.rb
|
203
|
+
- lib/ingenico/connect/sdk/domain/hostedcheckout/hosted_checkout_specific_input.rb
|
204
|
+
- lib/ingenico/connect/sdk/domain/hostedcheckout/payment_product_filters_hosted_checkout.rb
|
205
|
+
- lib/ingenico/connect/sdk/domain/metadata/shopping_cart_extension.rb
|
206
|
+
- lib/ingenico/connect/sdk/domain/payment/abstract_payment_method_specific_output.rb
|
207
|
+
- lib/ingenico/connect/sdk/domain/payment/additional_order_input.rb
|
208
|
+
- lib/ingenico/connect/sdk/domain/payment/address_personal.rb
|
209
|
+
- lib/ingenico/connect/sdk/domain/payment/approve_payment_card_payment_method_specific_output.rb
|
210
|
+
- lib/ingenico/connect/sdk/domain/payment/approve_payment_non_sepa_direct_debit_payment_method_specific_input.rb
|
211
|
+
- lib/ingenico/connect/sdk/domain/payment/approve_payment_payment_method_specific_input.rb
|
212
|
+
- lib/ingenico/connect/sdk/domain/payment/approve_payment_request.rb
|
213
|
+
- lib/ingenico/connect/sdk/domain/payment/approve_payment_sepa_direct_debit_payment_method_specific_input.rb
|
214
|
+
- lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_input.rb
|
215
|
+
- lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_input_base.rb
|
216
|
+
- lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_output.rb
|
217
|
+
- lib/ingenico/connect/sdk/domain/payment/cancel_approval_payment_response.rb
|
218
|
+
- lib/ingenico/connect/sdk/domain/payment/cancel_payment_card_payment_method_specific_output.rb
|
219
|
+
- lib/ingenico/connect/sdk/domain/payment/cancel_payment_response.rb
|
220
|
+
- lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_input.rb
|
221
|
+
- lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_input_base.rb
|
222
|
+
- lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_output.rb
|
223
|
+
- lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_input.rb
|
224
|
+
- lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_input_base.rb
|
225
|
+
- lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_output.rb
|
226
|
+
- lib/ingenico/connect/sdk/domain/payment/cash_payment_product1503_specific_input.rb
|
227
|
+
- lib/ingenico/connect/sdk/domain/payment/cash_payment_product1504_specific_input.rb
|
228
|
+
- lib/ingenico/connect/sdk/domain/payment/contact_details.rb
|
229
|
+
- lib/ingenico/connect/sdk/domain/payment/create_payment_request.rb
|
230
|
+
- lib/ingenico/connect/sdk/domain/payment/create_payment_response.rb
|
231
|
+
- lib/ingenico/connect/sdk/domain/payment/create_payment_result.rb
|
232
|
+
- lib/ingenico/connect/sdk/domain/payment/customer.rb
|
233
|
+
- lib/ingenico/connect/sdk/domain/payment/external_cardholder_authentication_data.rb
|
234
|
+
- lib/ingenico/connect/sdk/domain/payment/invoice_payment_method_specific_input.rb
|
235
|
+
- lib/ingenico/connect/sdk/domain/payment/invoice_payment_method_specific_output.rb
|
236
|
+
- lib/ingenico/connect/sdk/domain/payment/level3_summary_data.rb
|
237
|
+
- lib/ingenico/connect/sdk/domain/payment/line_item.rb
|
238
|
+
- lib/ingenico/connect/sdk/domain/payment/line_item_invoice_data.rb
|
239
|
+
- lib/ingenico/connect/sdk/domain/payment/line_item_level3_interchange_information.rb
|
240
|
+
- lib/ingenico/connect/sdk/domain/payment/merchant_action.rb
|
241
|
+
- lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_method_specific_input.rb
|
242
|
+
- lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_method_specific_output.rb
|
243
|
+
- lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_product705_specific_input.rb
|
244
|
+
- lib/ingenico/connect/sdk/domain/payment/order.rb
|
245
|
+
- lib/ingenico/connect/sdk/domain/payment/order_approve_payment.rb
|
246
|
+
- lib/ingenico/connect/sdk/domain/payment/order_invoice_data.rb
|
247
|
+
- lib/ingenico/connect/sdk/domain/payment/order_output.rb
|
248
|
+
- lib/ingenico/connect/sdk/domain/payment/order_references.rb
|
249
|
+
- lib/ingenico/connect/sdk/domain/payment/order_references_approve_payment.rb
|
250
|
+
- lib/ingenico/connect/sdk/domain/payment/order_type_information.rb
|
251
|
+
- lib/ingenico/connect/sdk/domain/payment/payment.rb
|
252
|
+
- lib/ingenico/connect/sdk/domain/payment/payment_approval_response.rb
|
253
|
+
- lib/ingenico/connect/sdk/domain/payment/payment_creation_output.rb
|
254
|
+
- lib/ingenico/connect/sdk/domain/payment/payment_creation_references.rb
|
255
|
+
- lib/ingenico/connect/sdk/domain/payment/payment_error_response.rb
|
256
|
+
- lib/ingenico/connect/sdk/domain/payment/payment_output.rb
|
257
|
+
- lib/ingenico/connect/sdk/domain/payment/payment_product836_specific_output.rb
|
258
|
+
- lib/ingenico/connect/sdk/domain/payment/payment_product840_customer_account.rb
|
259
|
+
- lib/ingenico/connect/sdk/domain/payment/payment_product840_specific_output.rb
|
260
|
+
- lib/ingenico/connect/sdk/domain/payment/payment_references.rb
|
261
|
+
- lib/ingenico/connect/sdk/domain/payment/payment_response.rb
|
262
|
+
- lib/ingenico/connect/sdk/domain/payment/payment_status_output.rb
|
263
|
+
- lib/ingenico/connect/sdk/domain/payment/personal_information.rb
|
264
|
+
- lib/ingenico/connect/sdk/domain/payment/personal_name.rb
|
265
|
+
- lib/ingenico/connect/sdk/domain/payment/redirect_data.rb
|
266
|
+
- lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_input.rb
|
267
|
+
- lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_input_base.rb
|
268
|
+
- lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_output.rb
|
269
|
+
- lib/ingenico/connect/sdk/domain/payment/redirect_payment_product809_specific_input.rb
|
270
|
+
- lib/ingenico/connect/sdk/domain/payment/redirect_payment_product816_specific_input.rb
|
271
|
+
- lib/ingenico/connect/sdk/domain/payment/redirect_payment_product882_specific_input.rb
|
272
|
+
- lib/ingenico/connect/sdk/domain/payment/refund_bank_method_specific_output.rb
|
273
|
+
- lib/ingenico/connect/sdk/domain/payment/refund_card_method_specific_output.rb
|
274
|
+
- lib/ingenico/connect/sdk/domain/payment/refund_e_wallet_method_specific_output.rb
|
275
|
+
- lib/ingenico/connect/sdk/domain/payment/refund_method_specific_output.rb
|
276
|
+
- lib/ingenico/connect/sdk/domain/payment/refund_output.rb
|
277
|
+
- lib/ingenico/connect/sdk/domain/payment/refund_payment_product840_customer_account.rb
|
278
|
+
- lib/ingenico/connect/sdk/domain/payment/refund_payment_product840_specific_output.rb
|
279
|
+
- lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_method_specific_input.rb
|
280
|
+
- lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_method_specific_output.rb
|
281
|
+
- lib/ingenico/connect/sdk/domain/payment/three_d_secure_results.rb
|
282
|
+
- lib/ingenico/connect/sdk/domain/payment/tokenize_payment_request.rb
|
283
|
+
- lib/ingenico/connect/sdk/domain/payout/approve_payout_request.rb
|
284
|
+
- lib/ingenico/connect/sdk/domain/payout/create_payout_request.rb
|
285
|
+
- lib/ingenico/connect/sdk/domain/payout/payout_customer.rb
|
286
|
+
- lib/ingenico/connect/sdk/domain/payout/payout_error_response.rb
|
287
|
+
- lib/ingenico/connect/sdk/domain/payout/payout_references.rb
|
288
|
+
- lib/ingenico/connect/sdk/domain/payout/payout_response.rb
|
289
|
+
- lib/ingenico/connect/sdk/domain/payout/payout_result.rb
|
290
|
+
- lib/ingenico/connect/sdk/domain/product/account_on_file.rb
|
291
|
+
- lib/ingenico/connect/sdk/domain/product/account_on_file_attribute.rb
|
292
|
+
- lib/ingenico/connect/sdk/domain/product/account_on_file_display_hints.rb
|
293
|
+
- lib/ingenico/connect/sdk/domain/product/directory.rb
|
294
|
+
- lib/ingenico/connect/sdk/domain/product/directory_entry.rb
|
295
|
+
- lib/ingenico/connect/sdk/domain/product/empty_validator.rb
|
296
|
+
- lib/ingenico/connect/sdk/domain/product/fixed_list_validator.rb
|
297
|
+
- lib/ingenico/connect/sdk/domain/product/label_template_element.rb
|
298
|
+
- lib/ingenico/connect/sdk/domain/product/length_validator.rb
|
299
|
+
- lib/ingenico/connect/sdk/domain/product/payment_product.rb
|
300
|
+
- lib/ingenico/connect/sdk/domain/product/payment_product_display_hints.rb
|
301
|
+
- lib/ingenico/connect/sdk/domain/product/payment_product_field.rb
|
302
|
+
- lib/ingenico/connect/sdk/domain/product/payment_product_field_data_restrictions.rb
|
303
|
+
- lib/ingenico/connect/sdk/domain/product/payment_product_field_display_hints.rb
|
304
|
+
- lib/ingenico/connect/sdk/domain/product/payment_product_field_form_element.rb
|
305
|
+
- lib/ingenico/connect/sdk/domain/product/payment_product_field_tooltip.rb
|
306
|
+
- lib/ingenico/connect/sdk/domain/product/payment_product_field_validators.rb
|
307
|
+
- lib/ingenico/connect/sdk/domain/product/payment_product_group.rb
|
308
|
+
- lib/ingenico/connect/sdk/domain/product/payment_product_group_response.rb
|
309
|
+
- lib/ingenico/connect/sdk/domain/product/payment_product_groups.rb
|
310
|
+
- lib/ingenico/connect/sdk/domain/product/payment_product_response.rb
|
311
|
+
- lib/ingenico/connect/sdk/domain/product/payment_products.rb
|
312
|
+
- lib/ingenico/connect/sdk/domain/product/range_validator.rb
|
313
|
+
- lib/ingenico/connect/sdk/domain/product/regular_expression_validator.rb
|
314
|
+
- lib/ingenico/connect/sdk/domain/product/value_mapping_element.rb
|
315
|
+
- lib/ingenico/connect/sdk/domain/refund/approve_refund_request.rb
|
316
|
+
- lib/ingenico/connect/sdk/domain/refund/bank_account_bban_refund.rb
|
317
|
+
- lib/ingenico/connect/sdk/domain/refund/bank_refund_method_specific_input.rb
|
318
|
+
- lib/ingenico/connect/sdk/domain/refund/refund_customer.rb
|
319
|
+
- lib/ingenico/connect/sdk/domain/refund/refund_error_response.rb
|
320
|
+
- lib/ingenico/connect/sdk/domain/refund/refund_references.rb
|
321
|
+
- lib/ingenico/connect/sdk/domain/refund/refund_request.rb
|
322
|
+
- lib/ingenico/connect/sdk/domain/refund/refund_response.rb
|
323
|
+
- lib/ingenico/connect/sdk/domain/refund/refund_result.rb
|
324
|
+
- lib/ingenico/connect/sdk/domain/riskassessments/customer_risk_assessment.rb
|
325
|
+
- lib/ingenico/connect/sdk/domain/riskassessments/order_risk_assessment.rb
|
326
|
+
- lib/ingenico/connect/sdk/domain/riskassessments/personal_information_risk_assessment.rb
|
327
|
+
- lib/ingenico/connect/sdk/domain/riskassessments/personal_name_risk_assessment.rb
|
328
|
+
- lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment.rb
|
329
|
+
- lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_bank_account.rb
|
330
|
+
- lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_card.rb
|
331
|
+
- lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_response.rb
|
332
|
+
- lib/ingenico/connect/sdk/domain/services/bank_data.rb
|
333
|
+
- lib/ingenico/connect/sdk/domain/services/bank_details.rb
|
334
|
+
- lib/ingenico/connect/sdk/domain/services/bank_details_request.rb
|
335
|
+
- lib/ingenico/connect/sdk/domain/services/bank_details_response.rb
|
336
|
+
- lib/ingenico/connect/sdk/domain/services/convert_amount.rb
|
337
|
+
- lib/ingenico/connect/sdk/domain/services/get_iin_details_request.rb
|
338
|
+
- lib/ingenico/connect/sdk/domain/services/get_iin_details_response.rb
|
339
|
+
- lib/ingenico/connect/sdk/domain/services/iin_detail.rb
|
340
|
+
- lib/ingenico/connect/sdk/domain/services/payment_context.rb
|
341
|
+
- lib/ingenico/connect/sdk/domain/services/swift.rb
|
342
|
+
- lib/ingenico/connect/sdk/domain/services/test_connection.rb
|
343
|
+
- lib/ingenico/connect/sdk/domain/sessions/payment_product_filters_client_session.rb
|
344
|
+
- lib/ingenico/connect/sdk/domain/sessions/session_request.rb
|
345
|
+
- lib/ingenico/connect/sdk/domain/sessions/session_response.rb
|
346
|
+
- lib/ingenico/connect/sdk/domain/token/abstract_token.rb
|
347
|
+
- lib/ingenico/connect/sdk/domain/token/approve_token_request.rb
|
348
|
+
- lib/ingenico/connect/sdk/domain/token/contact_details_token.rb
|
349
|
+
- lib/ingenico/connect/sdk/domain/token/create_token_request.rb
|
350
|
+
- lib/ingenico/connect/sdk/domain/token/create_token_response.rb
|
351
|
+
- lib/ingenico/connect/sdk/domain/token/creditor.rb
|
352
|
+
- lib/ingenico/connect/sdk/domain/token/customer_token.rb
|
353
|
+
- lib/ingenico/connect/sdk/domain/token/customer_token_with_contact_details.rb
|
354
|
+
- lib/ingenico/connect/sdk/domain/token/debtor.rb
|
355
|
+
- lib/ingenico/connect/sdk/domain/token/mandate_approval.rb
|
356
|
+
- lib/ingenico/connect/sdk/domain/token/mandate_non_sepa_direct_debit.rb
|
357
|
+
- lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit.rb
|
358
|
+
- lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit_with_mandate_id.rb
|
359
|
+
- lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit_without_creditor.rb
|
360
|
+
- lib/ingenico/connect/sdk/domain/token/personal_information_token.rb
|
361
|
+
- lib/ingenico/connect/sdk/domain/token/personal_name_token.rb
|
362
|
+
- lib/ingenico/connect/sdk/domain/token/token_card.rb
|
363
|
+
- lib/ingenico/connect/sdk/domain/token/token_card_data.rb
|
364
|
+
- lib/ingenico/connect/sdk/domain/token/token_e_wallet.rb
|
365
|
+
- lib/ingenico/connect/sdk/domain/token/token_e_wallet_data.rb
|
366
|
+
- lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit.rb
|
367
|
+
- lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit_payment_product705_specific_data.rb
|
368
|
+
- lib/ingenico/connect/sdk/domain/token/token_response.rb
|
369
|
+
- lib/ingenico/connect/sdk/domain/token/token_sepa_direct_debit.rb
|
370
|
+
- lib/ingenico/connect/sdk/domain/token/token_sepa_direct_debit_without_creditor.rb
|
371
|
+
- lib/ingenico/connect/sdk/domain/token/update_token_request.rb
|
372
|
+
- lib/ingenico/connect/sdk/endpoint_configuration.rb
|
373
|
+
- lib/ingenico/connect/sdk/exceptions.rb
|
374
|
+
- lib/ingenico/connect/sdk/factory.rb
|
375
|
+
- lib/ingenico/connect/sdk/global_collect_exception.rb
|
376
|
+
- lib/ingenico/connect/sdk/idempotence_exception.rb
|
377
|
+
- lib/ingenico/connect/sdk/logging.rb
|
378
|
+
- lib/ingenico/connect/sdk/logging/communicator_logger.rb
|
379
|
+
- lib/ingenico/connect/sdk/logging/log_message_builder.rb
|
380
|
+
- lib/ingenico/connect/sdk/logging/logging_capable.rb
|
381
|
+
- lib/ingenico/connect/sdk/logging/logging_util.rb
|
382
|
+
- lib/ingenico/connect/sdk/logging/request_log_message_builder.rb
|
383
|
+
- lib/ingenico/connect/sdk/logging/response_log_message_builder.rb
|
384
|
+
- lib/ingenico/connect/sdk/logging/ruby_communicator_logger.rb
|
385
|
+
- lib/ingenico/connect/sdk/logging/stdout_communicator_logger.rb
|
386
|
+
- lib/ingenico/connect/sdk/marshaller.rb
|
387
|
+
- lib/ingenico/connect/sdk/marshaller_syntax_exception.rb
|
388
|
+
- lib/ingenico/connect/sdk/merchant/hostedcheckouts/hostedcheckouts_client.rb
|
389
|
+
- lib/ingenico/connect/sdk/merchant/merchant_client.rb
|
390
|
+
- lib/ingenico/connect/sdk/merchant/payments/payments_client.rb
|
391
|
+
- lib/ingenico/connect/sdk/merchant/payouts/payouts_client.rb
|
392
|
+
- lib/ingenico/connect/sdk/merchant/productgroups/find_productgroups_params.rb
|
393
|
+
- lib/ingenico/connect/sdk/merchant/productgroups/get_productgroup_params.rb
|
394
|
+
- lib/ingenico/connect/sdk/merchant/productgroups/productgroups_client.rb
|
395
|
+
- lib/ingenico/connect/sdk/merchant/products/directory_params.rb
|
396
|
+
- lib/ingenico/connect/sdk/merchant/products/find_products_params.rb
|
397
|
+
- lib/ingenico/connect/sdk/merchant/products/get_product_params.rb
|
398
|
+
- lib/ingenico/connect/sdk/merchant/products/products_client.rb
|
399
|
+
- lib/ingenico/connect/sdk/merchant/refunds/refunds_client.rb
|
400
|
+
- lib/ingenico/connect/sdk/merchant/riskassessments/riskassessments_client.rb
|
401
|
+
- lib/ingenico/connect/sdk/merchant/services/convert_amount_params.rb
|
402
|
+
- lib/ingenico/connect/sdk/merchant/services/services_client.rb
|
403
|
+
- lib/ingenico/connect/sdk/merchant/sessions/sessions_client.rb
|
404
|
+
- lib/ingenico/connect/sdk/merchant/tokens/delete_token_params.rb
|
405
|
+
- lib/ingenico/connect/sdk/merchant/tokens/tokens_client.rb
|
406
|
+
- lib/ingenico/connect/sdk/meta_data_provider.rb
|
407
|
+
- lib/ingenico/connect/sdk/modules.rb
|
408
|
+
- lib/ingenico/connect/sdk/not_found_exception.rb
|
409
|
+
- lib/ingenico/connect/sdk/param_request.rb
|
410
|
+
- lib/ingenico/connect/sdk/pooled_connection.rb
|
411
|
+
- lib/ingenico/connect/sdk/proxy_configuration.rb
|
412
|
+
- lib/ingenico/connect/sdk/reference_exception.rb
|
413
|
+
- lib/ingenico/connect/sdk/request_header.rb
|
414
|
+
- lib/ingenico/connect/sdk/request_param.rb
|
415
|
+
- lib/ingenico/connect/sdk/response.rb
|
416
|
+
- lib/ingenico/connect/sdk/response_exception.rb
|
417
|
+
- lib/ingenico/connect/sdk/response_header.rb
|
418
|
+
- lib/ingenico/connect/sdk/session.rb
|
419
|
+
- lib/ingenico/connect/sdk/validation_exception.rb
|
420
|
+
- spec/comparable_extension.rb
|
421
|
+
- spec/fixtures/resources/defaultimpl/convertAmount.json
|
422
|
+
- spec/fixtures/resources/defaultimpl/createPayment.failure.invalidCardNumber.json
|
423
|
+
- spec/fixtures/resources/defaultimpl/createPayment.failure.rejected.json
|
424
|
+
- spec/fixtures/resources/defaultimpl/createPayment.json
|
425
|
+
- spec/fixtures/resources/defaultimpl/idempotence_duplicate_failure.json
|
426
|
+
- spec/fixtures/resources/defaultimpl/idempotence_rejected.json
|
427
|
+
- spec/fixtures/resources/defaultimpl/idempotence_success.json
|
428
|
+
- spec/fixtures/resources/defaultimpl/notFound.html
|
429
|
+
- spec/fixtures/resources/defaultimpl/testConnection.json
|
430
|
+
- spec/fixtures/resources/defaultimpl/unknownServerError.json
|
431
|
+
- spec/fixtures/resources/logging/bodyNoObfuscation.json
|
432
|
+
- spec/fixtures/resources/logging/bodyWithBinObfuscated.json
|
433
|
+
- spec/fixtures/resources/logging/bodyWithBinOriginal.json
|
434
|
+
- spec/fixtures/resources/logging/bodyWithCardObfuscated.json
|
435
|
+
- spec/fixtures/resources/logging/bodyWithCardOriginal.json
|
436
|
+
- spec/fixtures/resources/logging/bodyWithIbanObfuscated.json
|
437
|
+
- spec/fixtures/resources/logging/bodyWithIbanOriginal.json
|
438
|
+
- spec/fixtures/resources/payment/duplicate_request.json
|
439
|
+
- spec/fixtures/resources/payment/invalid_authorization.json
|
440
|
+
- spec/fixtures/resources/payment/invalid_request.json
|
441
|
+
- spec/fixtures/resources/payment/method_not_allowed.html
|
442
|
+
- spec/fixtures/resources/payment/not_found.html
|
443
|
+
- spec/fixtures/resources/payment/pending_approval.json
|
444
|
+
- spec/fixtures/resources/payment/rejected.json
|
445
|
+
- spec/fixtures/resources/properties.proxy.yml
|
446
|
+
- spec/fixtures/resources/properties.yml
|
447
|
+
- spec/integration/connection_pooling_spec.rb
|
448
|
+
- spec/integration/convert_amount_spec.rb
|
449
|
+
- spec/integration/idempotence_spec.rb
|
450
|
+
- spec/integration/multiline_header_spec.rb
|
451
|
+
- spec/integration/payment_product_groups_spec.rb
|
452
|
+
- spec/integration/payment_products_spec.rb
|
453
|
+
- spec/integration/risk_assessments_spec.rb
|
454
|
+
- spec/integration/sdk_proxy_spec.rb
|
455
|
+
- spec/integration/token_spec.rb
|
456
|
+
- spec/integration_setup.rb
|
457
|
+
- spec/lib/client_spec.rb
|
458
|
+
- spec/lib/communicator_configuration_spec.rb
|
459
|
+
- spec/lib/communicator_spec.rb
|
460
|
+
- spec/lib/defaultimpl/default_authenticator_spec.rb
|
461
|
+
- spec/lib/defaultimpl/default_connection_idempotence_spec.rb
|
462
|
+
- spec/lib/defaultimpl/default_connection_logger_spec.rb
|
463
|
+
- spec/lib/defaultimpl/default_connection_spec.rb
|
464
|
+
- spec/lib/defaultimpl/default_marshaller_spec.rb
|
465
|
+
- spec/lib/factory_spec.rb
|
466
|
+
- spec/lib/logging/header_obfuscator_spec.rb
|
467
|
+
- spec/lib/logging/logging_util_spec.rb
|
468
|
+
- spec/lib/logging/obfuscator_spec.rb
|
469
|
+
- spec/lib/logging/ruby_communicator_logger_spec.rb
|
470
|
+
- spec/lib/logging/stdout_communicator_logger_spec.rb
|
471
|
+
- spec/lib/logging/value_obfuscator_spec.rb
|
472
|
+
- spec/lib/meta_data_provider_spec.rb
|
473
|
+
- spec/lib/payments_client_spec.rb
|
474
|
+
- spec/lib/requestparams/delete_params_spec.rb
|
475
|
+
- spec/lib/requestparams/directory_params_spec.rb
|
476
|
+
- spec/lib/requestparams/find_params_spec.rb
|
477
|
+
- spec/lib/requestparams/get_params_spec.rb
|
478
|
+
- spec/lib/requestparams/param_request_spec.rb
|
479
|
+
- spec/spec_helper.rb
|
480
|
+
homepage: https://github.com/Ingenico-ePayments/connect-sdk-ruby
|
481
|
+
licenses:
|
482
|
+
- MIT
|
483
|
+
metadata: {}
|
484
|
+
post_install_message:
|
485
|
+
rdoc_options: []
|
486
|
+
require_paths:
|
487
|
+
- lib
|
488
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
489
|
+
requirements:
|
490
|
+
- - "~>"
|
491
|
+
- !ruby/object:Gem::Version
|
492
|
+
version: '2.0'
|
493
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
494
|
+
requirements:
|
495
|
+
- - ">="
|
496
|
+
- !ruby/object:Gem::Version
|
497
|
+
version: '0'
|
498
|
+
requirements: []
|
499
|
+
rubyforge_project:
|
500
|
+
rubygems_version: 2.5.1
|
501
|
+
signing_key:
|
502
|
+
specification_version: 4
|
503
|
+
summary: SDK to communicate with the GlobalCollect platform using the Ingenico Connect
|
504
|
+
Server API
|
505
|
+
test_files:
|
506
|
+
- spec/comparable_extension.rb
|
507
|
+
- spec/fixtures/resources/defaultimpl/convertAmount.json
|
508
|
+
- spec/fixtures/resources/defaultimpl/createPayment.failure.invalidCardNumber.json
|
509
|
+
- spec/fixtures/resources/defaultimpl/createPayment.failure.rejected.json
|
510
|
+
- spec/fixtures/resources/defaultimpl/createPayment.json
|
511
|
+
- spec/fixtures/resources/defaultimpl/idempotence_duplicate_failure.json
|
512
|
+
- spec/fixtures/resources/defaultimpl/idempotence_rejected.json
|
513
|
+
- spec/fixtures/resources/defaultimpl/idempotence_success.json
|
514
|
+
- spec/fixtures/resources/defaultimpl/notFound.html
|
515
|
+
- spec/fixtures/resources/defaultimpl/testConnection.json
|
516
|
+
- spec/fixtures/resources/defaultimpl/unknownServerError.json
|
517
|
+
- spec/fixtures/resources/logging/bodyNoObfuscation.json
|
518
|
+
- spec/fixtures/resources/logging/bodyWithBinObfuscated.json
|
519
|
+
- spec/fixtures/resources/logging/bodyWithBinOriginal.json
|
520
|
+
- spec/fixtures/resources/logging/bodyWithCardObfuscated.json
|
521
|
+
- spec/fixtures/resources/logging/bodyWithCardOriginal.json
|
522
|
+
- spec/fixtures/resources/logging/bodyWithIbanObfuscated.json
|
523
|
+
- spec/fixtures/resources/logging/bodyWithIbanOriginal.json
|
524
|
+
- spec/fixtures/resources/payment/duplicate_request.json
|
525
|
+
- spec/fixtures/resources/payment/invalid_authorization.json
|
526
|
+
- spec/fixtures/resources/payment/invalid_request.json
|
527
|
+
- spec/fixtures/resources/payment/method_not_allowed.html
|
528
|
+
- spec/fixtures/resources/payment/not_found.html
|
529
|
+
- spec/fixtures/resources/payment/pending_approval.json
|
530
|
+
- spec/fixtures/resources/payment/rejected.json
|
531
|
+
- spec/fixtures/resources/properties.proxy.yml
|
532
|
+
- spec/fixtures/resources/properties.yml
|
533
|
+
- spec/integration/connection_pooling_spec.rb
|
534
|
+
- spec/integration/convert_amount_spec.rb
|
535
|
+
- spec/integration/idempotence_spec.rb
|
536
|
+
- spec/integration/multiline_header_spec.rb
|
537
|
+
- spec/integration/payment_product_groups_spec.rb
|
538
|
+
- spec/integration/payment_products_spec.rb
|
539
|
+
- spec/integration/risk_assessments_spec.rb
|
540
|
+
- spec/integration/sdk_proxy_spec.rb
|
541
|
+
- spec/integration/token_spec.rb
|
542
|
+
- spec/integration_setup.rb
|
543
|
+
- spec/lib/client_spec.rb
|
544
|
+
- spec/lib/communicator_configuration_spec.rb
|
545
|
+
- spec/lib/communicator_spec.rb
|
546
|
+
- spec/lib/defaultimpl/default_authenticator_spec.rb
|
547
|
+
- spec/lib/defaultimpl/default_connection_idempotence_spec.rb
|
548
|
+
- spec/lib/defaultimpl/default_connection_logger_spec.rb
|
549
|
+
- spec/lib/defaultimpl/default_connection_spec.rb
|
550
|
+
- spec/lib/defaultimpl/default_marshaller_spec.rb
|
551
|
+
- spec/lib/factory_spec.rb
|
552
|
+
- spec/lib/logging/header_obfuscator_spec.rb
|
553
|
+
- spec/lib/logging/logging_util_spec.rb
|
554
|
+
- spec/lib/logging/obfuscator_spec.rb
|
555
|
+
- spec/lib/logging/ruby_communicator_logger_spec.rb
|
556
|
+
- spec/lib/logging/stdout_communicator_logger_spec.rb
|
557
|
+
- spec/lib/logging/value_obfuscator_spec.rb
|
558
|
+
- spec/lib/meta_data_provider_spec.rb
|
559
|
+
- spec/lib/payments_client_spec.rb
|
560
|
+
- spec/lib/requestparams/delete_params_spec.rb
|
561
|
+
- spec/lib/requestparams/directory_params_spec.rb
|
562
|
+
- spec/lib/requestparams/find_params_spec.rb
|
563
|
+
- spec/lib/requestparams/get_params_spec.rb
|
564
|
+
- spec/lib/requestparams/param_request_spec.rb
|
565
|
+
- spec/spec_helper.rb
|