onlinepayments-sdk-ruby 7.1.0 → 7.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +0 -0
- data/LICENSE.txt +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/lib/onlinepayments/sdk/api_exception.rb +0 -0
- data/lib/onlinepayments/sdk/api_resource.rb +0 -0
- data/lib/onlinepayments/sdk/authentication/authenticator.rb +0 -0
- data/lib/onlinepayments/sdk/authentication/authorization_type.rb +0 -0
- data/lib/onlinepayments/sdk/authentication/v1hmac_authenticator.rb +1 -1
- data/lib/onlinepayments/sdk/authentication.rb +0 -0
- data/lib/onlinepayments/sdk/authorization_exception.rb +0 -0
- data/lib/onlinepayments/sdk/call_context.rb +1 -0
- data/lib/onlinepayments/sdk/client.rb +1 -1
- data/lib/onlinepayments/sdk/communication/communication_exception.rb +0 -0
- data/lib/onlinepayments/sdk/communication/connection.rb +0 -0
- data/lib/onlinepayments/sdk/communication/default_connection.rb +28 -12
- data/lib/onlinepayments/sdk/communication/metadata_provider.rb +1 -1
- data/lib/onlinepayments/sdk/communication/multipart_form_data_object.rb +0 -0
- data/lib/onlinepayments/sdk/communication/multipart_form_data_request.rb +0 -0
- data/lib/onlinepayments/sdk/communication/not_found_exception.rb +0 -0
- data/lib/onlinepayments/sdk/communication/param_request.rb +0 -0
- data/lib/onlinepayments/sdk/communication/pooled_connection.rb +0 -0
- data/lib/onlinepayments/sdk/communication/request_header.rb +0 -0
- data/lib/onlinepayments/sdk/communication/request_param.rb +0 -0
- data/lib/onlinepayments/sdk/communication/response_exception.rb +0 -0
- data/lib/onlinepayments/sdk/communication/response_header.rb +0 -0
- data/lib/onlinepayments/sdk/communication.rb +0 -0
- data/lib/onlinepayments/sdk/communicator.rb +13 -2
- data/lib/onlinepayments/sdk/communicator_configuration.rb +0 -0
- data/lib/onlinepayments/sdk/declined_payment_exception.rb +0 -0
- data/lib/onlinepayments/sdk/declined_payout_exception.rb +0 -0
- data/lib/onlinepayments/sdk/declined_refund_exception.rb +0 -0
- data/lib/onlinepayments/sdk/declined_transaction_exception.rb +0 -0
- data/lib/onlinepayments/sdk/domain/acceptance.rb +39 -0
- data/lib/onlinepayments/sdk/domain/account_on_file.rb +0 -0
- data/lib/onlinepayments/sdk/domain/account_on_file_attribute.rb +0 -0
- data/lib/onlinepayments/sdk/domain/account_on_file_display_hints.rb +0 -0
- data/lib/onlinepayments/sdk/domain/acquirer_information.rb +0 -0
- data/lib/onlinepayments/sdk/domain/acquirer_selection_information.rb +0 -0
- data/lib/onlinepayments/sdk/domain/additional_order_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/address.rb +0 -0
- data/lib/onlinepayments/sdk/domain/address_personal.rb +0 -0
- data/lib/onlinepayments/sdk/domain/airline_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/airline_flight_leg.rb +0 -0
- data/lib/onlinepayments/sdk/domain/airline_passenger.rb +0 -0
- data/lib/onlinepayments/sdk/domain/amount_breakdown.rb +0 -0
- data/lib/onlinepayments/sdk/domain/amount_of_money.rb +0 -0
- data/lib/onlinepayments/sdk/domain/api_error.rb +0 -0
- data/lib/onlinepayments/sdk/domain/apple_pay_line_item.rb +0 -0
- data/lib/onlinepayments/sdk/domain/apple_pay_recurring_payment_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/bank_account_iban.rb +0 -0
- data/lib/onlinepayments/sdk/domain/batch_metadata.rb +44 -0
- data/lib/onlinepayments/sdk/domain/browser_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/calculate_surcharge_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/calculate_surcharge_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/cancel_payment_batch_request.rb +39 -0
- data/lib/onlinepayments/sdk/domain/cancel_payment_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/cancel_payment_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/capture.rb +0 -0
- data/lib/onlinepayments/sdk/domain/capture_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/capture_payment_batch_request.rb +39 -0
- data/lib/onlinepayments/sdk/domain/capture_payment_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/capture_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/capture_status_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/captures_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/card.rb +0 -0
- data/lib/onlinepayments/sdk/domain/card_bin_details.rb +0 -0
- data/lib/onlinepayments/sdk/domain/card_data_without_cvv.rb +0 -0
- data/lib/onlinepayments/sdk/domain/card_essentials.rb +0 -0
- data/lib/onlinepayments/sdk/domain/card_fraud_results.rb +0 -0
- data/lib/onlinepayments/sdk/domain/card_info.rb +0 -0
- data/lib/onlinepayments/sdk/domain/card_payment_method_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/card_payment_method_specific_input_base.rb +0 -0
- data/lib/onlinepayments/sdk/domain/card_payment_method_specific_input_for_hosted_checkout.rb +0 -0
- data/lib/onlinepayments/sdk/domain/card_payment_method_specific_output.rb +9 -0
- data/lib/onlinepayments/sdk/domain/card_payout_method_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/card_recurrence_details.rb +0 -0
- data/lib/onlinepayments/sdk/domain/card_source.rb +0 -0
- data/lib/onlinepayments/sdk/domain/card_without_cvv.rb +0 -0
- data/lib/onlinepayments/sdk/domain/click_to_pay.rb +0 -0
- data/lib/onlinepayments/sdk/domain/company_information.rb +0 -0
- data/lib/onlinepayments/sdk/domain/complete_payment_card_payment_method_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/complete_payment_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/complete_payment_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/contact_details.rb +0 -0
- data/lib/onlinepayments/sdk/domain/create_certificate_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/create_hosted_checkout_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/create_hosted_checkout_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/create_hosted_fields_session_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/create_hosted_fields_session_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/create_hosted_tokenization_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/create_hosted_tokenization_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/create_mandate_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/create_mandate_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/create_mandate_with_return_url.rb +0 -0
- data/lib/onlinepayments/sdk/domain/create_payment_link_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/create_payment_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/create_payment_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/create_payout_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/create_token_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/created_payment_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/created_token_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/credit_card_specific_input_hosted_tokenization.rb +0 -0
- data/lib/onlinepayments/sdk/domain/credit_card_validation_rules.rb +0 -0
- data/lib/onlinepayments/sdk/domain/credit_card_validation_rules_hosted_tokenization.rb +0 -0
- data/lib/onlinepayments/sdk/domain/crm_token.rb +0 -0
- data/lib/onlinepayments/sdk/domain/csr_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/currency_conversion.rb +0 -0
- data/lib/onlinepayments/sdk/domain/currency_conversion_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/currency_conversion_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/currency_conversion_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/currency_conversion_result.rb +0 -0
- data/lib/onlinepayments/sdk/domain/currency_conversion_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/customer.rb +0 -0
- data/lib/onlinepayments/sdk/domain/customer_account.rb +0 -0
- data/lib/onlinepayments/sdk/domain/customer_account_authentication.rb +0 -0
- data/lib/onlinepayments/sdk/domain/customer_bank_account.rb +0 -0
- data/lib/onlinepayments/sdk/domain/customer_device.rb +0 -0
- data/lib/onlinepayments/sdk/domain/customer_device_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/customer_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/customer_payment_activity.rb +0 -0
- data/lib/onlinepayments/sdk/domain/customer_token.rb +0 -0
- data/lib/onlinepayments/sdk/domain/data_object.rb +0 -0
- data/lib/onlinepayments/sdk/domain/dcc_card_source.rb +0 -0
- data/lib/onlinepayments/sdk/domain/dcc_proposal.rb +0 -0
- data/lib/onlinepayments/sdk/domain/decrypted_payment_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/detokenization_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/detokenized_token_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/directory_entry.rb +0 -0
- data/lib/onlinepayments/sdk/domain/discount.rb +0 -0
- data/lib/onlinepayments/sdk/domain/empty_validator.rb +0 -0
- data/lib/onlinepayments/sdk/domain/error_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/external_cardholder_authentication_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/external_token_linked.rb +0 -0
- data/lib/onlinepayments/sdk/domain/feedbacks.rb +0 -0
- data/lib/onlinepayments/sdk/domain/fixed_list_validator.rb +0 -0
- data/lib/onlinepayments/sdk/domain/fraud_fields.rb +0 -0
- data/lib/onlinepayments/sdk/domain/fraud_results.rb +0 -0
- data/lib/onlinepayments/sdk/domain/g_pay_three_d_secure.rb +0 -0
- data/lib/onlinepayments/sdk/domain/get_batch_status_response.rb +51 -0
- data/lib/onlinepayments/sdk/domain/get_hosted_checkout_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/get_hosted_tokenization_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/get_iin_details_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/get_iin_details_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/get_mandate_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/get_payment_product_groups_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/get_payment_products_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/get_privacy_policy_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/gift_card_purchase.rb +0 -0
- data/lib/onlinepayments/sdk/domain/hosted_checkout_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/hosted_checkout_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/iin_detail.rb +0 -0
- data/lib/onlinepayments/sdk/domain/import_cof_series_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/import_cof_series_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/label_template_element.rb +0 -0
- data/lib/onlinepayments/sdk/domain/length_validator.rb +0 -0
- data/lib/onlinepayments/sdk/domain/line_item.rb +0 -0
- data/lib/onlinepayments/sdk/domain/line_item_detail.rb +0 -0
- data/lib/onlinepayments/sdk/domain/line_item_invoice_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/loan_recipient.rb +0 -0
- data/lib/onlinepayments/sdk/domain/lodging_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mandate_address.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mandate_address_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mandate_contact_details.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mandate_customer.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mandate_customer_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mandate_merchant_action.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mandate_personal_information.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mandate_personal_information_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mandate_personal_name.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mandate_personal_name_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mandate_redirect_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mandate_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/market_place.rb +0 -0
- data/lib/onlinepayments/sdk/domain/merchant_action.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mobile_payment_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mobile_payment_method_hosted_checkout_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mobile_payment_method_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mobile_payment_method_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mobile_payment_product302_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mobile_payment_product320_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/mobile_three_d_secure_challenge_parameters.rb +0 -0
- data/lib/onlinepayments/sdk/domain/multiple_payment_information.rb +0 -0
- data/lib/onlinepayments/sdk/domain/network_token_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/network_token_essentials.rb +0 -0
- data/lib/onlinepayments/sdk/domain/network_token_linked.rb +0 -0
- data/lib/onlinepayments/sdk/domain/omnichannel_payment_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/omnichannel_payout_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/omnichannel_refund_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/omnichannel_subsequent_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/operation_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/operation_payment_references.rb +0 -0
- data/lib/onlinepayments/sdk/domain/order.rb +0 -0
- data/lib/onlinepayments/sdk/domain/order_line_details.rb +0 -0
- data/lib/onlinepayments/sdk/domain/order_references.rb +0 -0
- data/lib/onlinepayments/sdk/domain/order_status_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/order_type_information.rb +0 -0
- data/lib/onlinepayments/sdk/domain/other_details.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_account_on_file.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_context.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_creation_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_details_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_error_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_link_event.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_link_order_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_link_order_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_link_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_link_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_links_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_output.rb +9 -0
- data/lib/onlinepayments/sdk/domain/payment_product.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product130_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product130_specific_three_d_secure.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product3012.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product3012_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product3013_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product302_specific_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product3203_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product3204_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product3208_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product3208_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product3209_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product3209_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product320_specific_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product350.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product5001.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product5001_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product5100_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product5402_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product5404.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product5407.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product5500_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product771_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product840.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product840_customer_account.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product840_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product_display_hints.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product_field.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product_field_data_restrictions.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product_field_display_element.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product_field_display_hints.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product_field_form_element.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product_field_tooltip.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product_field_validators.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product_filter.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product_filter_hosted_tokenization.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product_filters_hosted_checkout.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product_filters_hosted_tokenization.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product_group.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_product_networks_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_references.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payment_status_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payout_error_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payout_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payout_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payout_result.rb +0 -0
- data/lib/onlinepayments/sdk/domain/payout_status_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/pending_authentication.rb +0 -0
- data/lib/onlinepayments/sdk/domain/personal_information.rb +0 -0
- data/lib/onlinepayments/sdk/domain/personal_information_token.rb +0 -0
- data/lib/onlinepayments/sdk/domain/personal_name.rb +0 -0
- data/lib/onlinepayments/sdk/domain/personal_name_token.rb +0 -0
- data/lib/onlinepayments/sdk/domain/product302_recurring.rb +0 -0
- data/lib/onlinepayments/sdk/domain/product320_recurring.rb +0 -0
- data/lib/onlinepayments/sdk/domain/product_directory.rb +0 -0
- data/lib/onlinepayments/sdk/domain/protection_eligibility.rb +0 -0
- data/lib/onlinepayments/sdk/domain/range_validator.rb +0 -0
- data/lib/onlinepayments/sdk/domain/rate_details.rb +0 -0
- data/lib/onlinepayments/sdk/domain/reattempt_instructions.rb +0 -0
- data/lib/onlinepayments/sdk/domain/reattempt_instructions_conditions.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_method_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_method_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product11_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product3203_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product3204_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product3302_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product3306_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product3307_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5001_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5300_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5402_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5403_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5406_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5408_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5410_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5412_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product809_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product840_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/redirection_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/refund_card_method_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/refund_e_wallet_method_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/refund_error_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/refund_mobile_method_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/refund_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/refund_payment_batch_request.rb +39 -0
- data/lib/onlinepayments/sdk/domain/refund_payment_product840_customer_account.rb +0 -0
- data/lib/onlinepayments/sdk/domain/refund_payment_product840_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/refund_redirect_method_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/refund_redirect_payment_method_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/refund_redirect_payment_product900_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/refund_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/refund_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/refunds_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/regular_expression_validator.rb +0 -0
- data/lib/onlinepayments/sdk/domain/revoke_mandate_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/send_test_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/sepa_direct_debit_payment_method_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/sepa_direct_debit_payment_method_specific_input_base.rb +0 -0
- data/lib/onlinepayments/sdk/domain/sepa_direct_debit_payment_method_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/sepa_direct_debit_payment_product771_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/sepa_direct_debit_payment_product771_specific_input_base.rb +0 -0
- data/lib/onlinepayments/sdk/domain/session_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/session_details.rb +0 -0
- data/lib/onlinepayments/sdk/domain/session_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/session_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/shipping.rb +0 -0
- data/lib/onlinepayments/sdk/domain/shipping_method.rb +0 -0
- data/lib/onlinepayments/sdk/domain/shopping_cart.rb +0 -0
- data/lib/onlinepayments/sdk/domain/shopping_cart_extension.rb +0 -0
- data/lib/onlinepayments/sdk/domain/shopping_cart_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/show_form_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/show_instructions_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/split_payment_product_filter.rb +0 -0
- data/lib/onlinepayments/sdk/domain/split_payment_product_filters_hosted_checkout.rb +0 -0
- data/lib/onlinepayments/sdk/domain/submit_batch_request_body.rb +116 -0
- data/lib/onlinepayments/sdk/domain/submit_batch_response.rb +37 -0
- data/lib/onlinepayments/sdk/domain/subsequent_card_payment_method_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/subsequent_payment_batch_request.rb +39 -0
- data/lib/onlinepayments/sdk/domain/subsequent_payment_product5001_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/subsequent_payment_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/subsequent_payment_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/surcharge.rb +0 -0
- data/lib/onlinepayments/sdk/domain/surcharge_calculation_card.rb +0 -0
- data/lib/onlinepayments/sdk/domain/surcharge_for_payment_link.rb +0 -0
- data/lib/onlinepayments/sdk/domain/surcharge_rate.rb +0 -0
- data/lib/onlinepayments/sdk/domain/surcharge_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/surcharge_specific_output.rb +0 -0
- data/lib/onlinepayments/sdk/domain/test_connection.rb +0 -0
- data/lib/onlinepayments/sdk/domain/three_d_secure.rb +0 -0
- data/lib/onlinepayments/sdk/domain/three_d_secure_base.rb +0 -0
- data/lib/onlinepayments/sdk/domain/three_d_secure_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/three_d_secure_results.rb +0 -0
- data/lib/onlinepayments/sdk/domain/token_card.rb +0 -0
- data/lib/onlinepayments/sdk/domain/token_card_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/token_card_specific_input.rb +0 -0
- data/lib/onlinepayments/sdk/domain/token_data.rb +0 -0
- data/lib/onlinepayments/sdk/domain/token_e_wallet.rb +0 -0
- data/lib/onlinepayments/sdk/domain/token_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/transaction.rb +0 -0
- data/lib/onlinepayments/sdk/domain/uploadable_file.rb +0 -0
- data/lib/onlinepayments/sdk/domain/validate_credentials_request.rb +0 -0
- data/lib/onlinepayments/sdk/domain/validate_credentials_response.rb +0 -0
- data/lib/onlinepayments/sdk/domain/value_mapping_element.rb +0 -0
- data/lib/onlinepayments/sdk/domain.rb +0 -0
- data/lib/onlinepayments/sdk/exception_factory.rb +0 -0
- data/lib/onlinepayments/sdk/factory.rb +0 -0
- data/lib/onlinepayments/sdk/idempotence_exception.rb +0 -0
- data/lib/onlinepayments/sdk/json/default_marshaller.rb +0 -0
- data/lib/onlinepayments/sdk/json/marshaller.rb +0 -0
- data/lib/onlinepayments/sdk/json/marshaller_syntax_exception.rb +0 -0
- data/lib/onlinepayments/sdk/json.rb +0 -0
- data/lib/onlinepayments/sdk/logging/communicator_logger.rb +0 -0
- data/lib/onlinepayments/sdk/logging/log_message_builder.rb +0 -0
- data/lib/onlinepayments/sdk/logging/logging_capable.rb +0 -0
- data/lib/onlinepayments/sdk/logging/obfuscation/body_obfuscator.rb +0 -0
- data/lib/onlinepayments/sdk/logging/obfuscation/header_obfuscator.rb +0 -0
- data/lib/onlinepayments/sdk/logging/obfuscation/obfuscation_capable.rb +0 -0
- data/lib/onlinepayments/sdk/logging/obfuscation/obfuscation_rule.rb +0 -0
- data/lib/onlinepayments/sdk/logging/obfuscation.rb +0 -0
- data/lib/onlinepayments/sdk/logging/request_log_message_builder.rb +0 -0
- data/lib/onlinepayments/sdk/logging/response_log_message_builder.rb +0 -0
- data/lib/onlinepayments/sdk/logging/ruby_communicator_logger.rb +0 -0
- data/lib/onlinepayments/sdk/logging/stdout_communicator_logger.rb +0 -0
- data/lib/onlinepayments/sdk/logging.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/captures/captures_client.rb +2 -0
- data/lib/onlinepayments/sdk/merchant/captures.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/cofseries/cof_series_client.rb +2 -0
- data/lib/onlinepayments/sdk/merchant/cofseries.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/complete/complete_client.rb +2 -0
- data/lib/onlinepayments/sdk/merchant/complete.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/hostedcheckout/hosted_checkout_client.rb +4 -0
- data/lib/onlinepayments/sdk/merchant/hostedcheckout.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/hostedfields/hosted_fields_client.rb +2 -0
- data/lib/onlinepayments/sdk/merchant/hostedfields.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/hostedtokenization/hosted_tokenization_client.rb +4 -0
- data/lib/onlinepayments/sdk/merchant/hostedtokenization.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/mandates/mandates_client.rb +10 -0
- data/lib/onlinepayments/sdk/merchant/mandates.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/merchant_client.rb +8 -0
- data/lib/onlinepayments/sdk/merchant/merchantbatch/merchant_batch_client.rb +126 -0
- data/lib/onlinepayments/sdk/merchant/merchantbatch.rb +4 -0
- data/lib/onlinepayments/sdk/merchant/paymentlinks/get_payment_links_in_bulk_params.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/paymentlinks/payment_links_client.rb +6 -0
- data/lib/onlinepayments/sdk/merchant/paymentlinks.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/payments/payments_client.rb +12 -0
- data/lib/onlinepayments/sdk/merchant/payments.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/payouts/payouts_client.rb +4 -0
- data/lib/onlinepayments/sdk/merchant/payouts.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/privacypolicy/get_privacy_policy_params.rb +2 -2
- data/lib/onlinepayments/sdk/merchant/privacypolicy/privacy_policy_client.rb +2 -0
- data/lib/onlinepayments/sdk/merchant/privacypolicy.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/productgroups/get_product_group_params.rb +6 -6
- data/lib/onlinepayments/sdk/merchant/productgroups/get_product_groups_params.rb +6 -6
- data/lib/onlinepayments/sdk/merchant/productgroups/product_groups_client.rb +4 -0
- data/lib/onlinepayments/sdk/merchant/productgroups.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/products/get_payment_product_networks_params.rb +4 -4
- data/lib/onlinepayments/sdk/merchant/products/get_payment_product_params.rb +6 -6
- data/lib/onlinepayments/sdk/merchant/products/get_payment_products_params.rb +6 -6
- data/lib/onlinepayments/sdk/merchant/products/get_product_directory_params.rb +2 -2
- data/lib/onlinepayments/sdk/merchant/products/products_client.rb +8 -0
- data/lib/onlinepayments/sdk/merchant/products.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/refunds/refunds_client.rb +2 -0
- data/lib/onlinepayments/sdk/merchant/refunds.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/services/services_client.rb +8 -0
- data/lib/onlinepayments/sdk/merchant/services.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/sessions/sessions_client.rb +2 -0
- data/lib/onlinepayments/sdk/merchant/sessions.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/subsequent/subsequent_client.rb +2 -0
- data/lib/onlinepayments/sdk/merchant/subsequent.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/tokenization/get_card_data_by_payments_params.rb +1 -1
- data/lib/onlinepayments/sdk/merchant/tokenization/get_card_data_by_tokens_params.rb +1 -1
- data/lib/onlinepayments/sdk/merchant/tokenization/tokenization_client.rb +6 -0
- data/lib/onlinepayments/sdk/merchant/tokenization.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/tokens/tokens_client.rb +6 -0
- data/lib/onlinepayments/sdk/merchant/tokens.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/webhooks/webhooks_client.rb +4 -0
- data/lib/onlinepayments/sdk/merchant/webhooks.rb +0 -0
- data/lib/onlinepayments/sdk/merchant.rb +0 -0
- data/lib/onlinepayments/sdk/platform_exception.rb +0 -0
- data/lib/onlinepayments/sdk/proxy_configuration.rb +0 -0
- data/lib/onlinepayments/sdk/reference_exception.rb +0 -0
- data/lib/onlinepayments/sdk/validation_exception.rb +0 -0
- data/lib/onlinepayments/sdk/webhooks/api_version_mismatch_exception.rb +0 -0
- data/lib/onlinepayments/sdk/webhooks/in_memory_secret_key_store.rb +0 -0
- data/lib/onlinepayments/sdk/webhooks/secret_key_not_available_exception.rb +0 -0
- data/lib/onlinepayments/sdk/webhooks/secret_key_store.rb +0 -0
- data/lib/onlinepayments/sdk/webhooks/signature_validation_exception.rb +0 -0
- data/lib/onlinepayments/sdk/webhooks/signature_validator.rb +0 -0
- data/lib/onlinepayments/sdk/webhooks/webhooks_event.rb +8 -0
- data/lib/onlinepayments/sdk/webhooks/webhooks_helper.rb +0 -0
- data/lib/onlinepayments/sdk/webhooks.rb +0 -0
- data/lib/onlinepayments/sdk.rb +0 -0
- data/onlinepayments-sdk-ruby.gemspec +1 -1
- metadata +13 -2
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This file was automatically generated.
|
|
3
|
+
#
|
|
4
|
+
require 'onlinepayments/sdk/api_resource'
|
|
5
|
+
require 'onlinepayments/sdk/exception_factory'
|
|
6
|
+
require 'onlinepayments/sdk/communication/response_exception'
|
|
7
|
+
require 'onlinepayments/sdk/domain/error_response'
|
|
8
|
+
require 'onlinepayments/sdk/domain/get_batch_status_response'
|
|
9
|
+
require 'onlinepayments/sdk/domain/submit_batch_response'
|
|
10
|
+
|
|
11
|
+
module OnlinePayments
|
|
12
|
+
module SDK
|
|
13
|
+
module Merchant
|
|
14
|
+
module MerchantBatch
|
|
15
|
+
# MerchantBatch client. Thread-safe.
|
|
16
|
+
class MerchantBatchClient < OnlinePayments::SDK::ApiResource
|
|
17
|
+
|
|
18
|
+
# @param parent [OnlinePayments::SDK::ApiResource]
|
|
19
|
+
# @param path_context [Hash, nil]
|
|
20
|
+
def initialize(parent, path_context)
|
|
21
|
+
super(parent: parent, path_context: path_context)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# Resource /v2/!{merchantId}/merchant-batches - Submit batch
|
|
25
|
+
#
|
|
26
|
+
# @param body [OnlinePayments::SDK::Domain::SubmitBatchRequestBody]
|
|
27
|
+
# @param context [OnlinePayments::SDK::CallContext, nil]
|
|
28
|
+
# @return [OnlinePayments::SDK::Domain::SubmitBatchResponse]
|
|
29
|
+
# @raise [OnlinePayments::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
|
30
|
+
# @raise [OnlinePayments::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
|
31
|
+
# @raise [OnlinePayments::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
|
32
|
+
# @raise [OnlinePayments::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
|
33
|
+
# or there was a conflict (HTTP status code 404, 409 or 410)
|
|
34
|
+
# @raise [OnlinePayments::SDK::PlatformException] if something went wrong at the payment platform,
|
|
35
|
+
# the payment platform was unable to process a message from a downstream partner/acquirer,
|
|
36
|
+
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
|
37
|
+
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
38
|
+
def submit_batch(body, context = nil)
|
|
39
|
+
uri = instantiate_uri('/v2/{merchantId}/merchant-batches', nil)
|
|
40
|
+
|
|
41
|
+
context ||= OnlinePayments::SDK::CallContext.new
|
|
42
|
+
context.gzip = true
|
|
43
|
+
|
|
44
|
+
@communicator.post(
|
|
45
|
+
uri,
|
|
46
|
+
client_headers,
|
|
47
|
+
nil,
|
|
48
|
+
body,
|
|
49
|
+
OnlinePayments::SDK::Domain::SubmitBatchResponse,
|
|
50
|
+
context)
|
|
51
|
+
rescue OnlinePayments::SDK::Communication::ResponseException => e
|
|
52
|
+
error_type = OnlinePayments::SDK::Domain::ErrorResponse
|
|
53
|
+
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
|
54
|
+
raise OnlinePayments::SDK.create_exception(e.status_code, e.body, error_object, context)
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# Resource /v2/!{merchantId}/merchant-batches/!{merchantBatchReference}/process - Process batch transactions
|
|
58
|
+
#
|
|
59
|
+
# @param merchant_batch_reference [String]
|
|
60
|
+
# @param context [OnlinePayments::SDK::CallContext, nil]
|
|
61
|
+
# @raise [OnlinePayments::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
|
62
|
+
# @raise [OnlinePayments::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
|
63
|
+
# @raise [OnlinePayments::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
|
64
|
+
# @raise [OnlinePayments::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
|
65
|
+
# or there was a conflict (HTTP status code 404, 409 or 410)
|
|
66
|
+
# @raise [OnlinePayments::SDK::PlatformException] if something went wrong at the payment platform,
|
|
67
|
+
# the payment platform was unable to process a message from a downstream partner/acquirer,
|
|
68
|
+
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
|
69
|
+
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
70
|
+
def process_batch(merchant_batch_reference, context = nil)
|
|
71
|
+
path_context = {
|
|
72
|
+
'merchantBatchReference'.freeze => merchant_batch_reference,
|
|
73
|
+
}
|
|
74
|
+
uri = instantiate_uri('/v2/{merchantId}/merchant-batches/{merchantBatchReference}/process', path_context)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
@communicator.post(
|
|
78
|
+
uri,
|
|
79
|
+
client_headers,
|
|
80
|
+
nil,
|
|
81
|
+
nil,
|
|
82
|
+
nil,
|
|
83
|
+
context)
|
|
84
|
+
rescue OnlinePayments::SDK::Communication::ResponseException => e
|
|
85
|
+
error_type = OnlinePayments::SDK::Domain::ErrorResponse
|
|
86
|
+
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
|
87
|
+
raise OnlinePayments::SDK.create_exception(e.status_code, e.body, error_object, context)
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# Resource /v2/!{merchantId}/merchant-batches/!{merchantBatchReference} - Get batch status
|
|
91
|
+
#
|
|
92
|
+
# @param merchant_batch_reference [String]
|
|
93
|
+
# @param context [OnlinePayments::SDK::CallContext, nil]
|
|
94
|
+
# @return [OnlinePayments::SDK::Domain::GetBatchStatusResponse]
|
|
95
|
+
# @raise [OnlinePayments::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
|
96
|
+
# @raise [OnlinePayments::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
|
97
|
+
# @raise [OnlinePayments::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
|
98
|
+
# @raise [OnlinePayments::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
|
99
|
+
# or there was a conflict (HTTP status code 404, 409 or 410)
|
|
100
|
+
# @raise [OnlinePayments::SDK::PlatformException] if something went wrong at the payment platform,
|
|
101
|
+
# the payment platform was unable to process a message from a downstream partner/acquirer,
|
|
102
|
+
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
|
103
|
+
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
104
|
+
def get_batch_status(merchant_batch_reference, context = nil)
|
|
105
|
+
path_context = {
|
|
106
|
+
'merchantBatchReference'.freeze => merchant_batch_reference,
|
|
107
|
+
}
|
|
108
|
+
uri = instantiate_uri('/v2/{merchantId}/merchant-batches/{merchantBatchReference}', path_context)
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
@communicator.get(
|
|
112
|
+
uri,
|
|
113
|
+
client_headers,
|
|
114
|
+
nil,
|
|
115
|
+
OnlinePayments::SDK::Domain::GetBatchStatusResponse,
|
|
116
|
+
context)
|
|
117
|
+
rescue OnlinePayments::SDK::Communication::ResponseException => e
|
|
118
|
+
error_type = OnlinePayments::SDK::Domain::ErrorResponse
|
|
119
|
+
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
|
120
|
+
raise OnlinePayments::SDK.create_exception(e.status_code, e.body, error_object, context)
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
end
|
|
File without changes
|
|
@@ -36,6 +36,8 @@ module OnlinePayments
|
|
|
36
36
|
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
37
37
|
def create_payment_link(body, context = nil)
|
|
38
38
|
uri = instantiate_uri('/v2/{merchantId}/paymentlinks', nil)
|
|
39
|
+
|
|
40
|
+
|
|
39
41
|
@communicator.post(
|
|
40
42
|
uri,
|
|
41
43
|
client_headers,
|
|
@@ -68,6 +70,8 @@ module OnlinePayments
|
|
|
68
70
|
'paymentLinkId'.freeze => payment_link_id,
|
|
69
71
|
}
|
|
70
72
|
uri = instantiate_uri('/v2/{merchantId}/paymentlinks/{paymentLinkId}', path_context)
|
|
73
|
+
|
|
74
|
+
|
|
71
75
|
@communicator.get(
|
|
72
76
|
uri,
|
|
73
77
|
client_headers,
|
|
@@ -98,6 +102,8 @@ module OnlinePayments
|
|
|
98
102
|
'paymentLinkId'.freeze => payment_link_id,
|
|
99
103
|
}
|
|
100
104
|
uri = instantiate_uri('/v2/{merchantId}/paymentlinks/{paymentLinkId}/cancel', path_context)
|
|
105
|
+
|
|
106
|
+
|
|
101
107
|
@communicator.post(
|
|
102
108
|
uri,
|
|
103
109
|
client_headers,
|
|
File without changes
|
|
@@ -44,6 +44,8 @@ module OnlinePayments
|
|
|
44
44
|
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
45
45
|
def create_payment(body, context = nil)
|
|
46
46
|
uri = instantiate_uri('/v2/{merchantId}/payments', nil)
|
|
47
|
+
|
|
48
|
+
|
|
47
49
|
@communicator.post(
|
|
48
50
|
uri,
|
|
49
51
|
client_headers,
|
|
@@ -76,6 +78,8 @@ module OnlinePayments
|
|
|
76
78
|
'paymentId'.freeze => payment_id,
|
|
77
79
|
}
|
|
78
80
|
uri = instantiate_uri('/v2/{merchantId}/payments/{paymentId}', path_context)
|
|
81
|
+
|
|
82
|
+
|
|
79
83
|
@communicator.get(
|
|
80
84
|
uri,
|
|
81
85
|
client_headers,
|
|
@@ -107,6 +111,8 @@ module OnlinePayments
|
|
|
107
111
|
'paymentId'.freeze => payment_id,
|
|
108
112
|
}
|
|
109
113
|
uri = instantiate_uri('/v2/{merchantId}/payments/{paymentId}/details', path_context)
|
|
114
|
+
|
|
115
|
+
|
|
110
116
|
@communicator.get(
|
|
111
117
|
uri,
|
|
112
118
|
client_headers,
|
|
@@ -139,6 +145,8 @@ module OnlinePayments
|
|
|
139
145
|
'paymentId'.freeze => payment_id,
|
|
140
146
|
}
|
|
141
147
|
uri = instantiate_uri('/v2/{merchantId}/payments/{paymentId}/cancel', path_context)
|
|
148
|
+
|
|
149
|
+
|
|
142
150
|
@communicator.post(
|
|
143
151
|
uri,
|
|
144
152
|
client_headers,
|
|
@@ -172,6 +180,8 @@ module OnlinePayments
|
|
|
172
180
|
'paymentId'.freeze => payment_id,
|
|
173
181
|
}
|
|
174
182
|
uri = instantiate_uri('/v2/{merchantId}/payments/{paymentId}/capture', path_context)
|
|
183
|
+
|
|
184
|
+
|
|
175
185
|
@communicator.post(
|
|
176
186
|
uri,
|
|
177
187
|
client_headers,
|
|
@@ -206,6 +216,8 @@ module OnlinePayments
|
|
|
206
216
|
'paymentId'.freeze => payment_id,
|
|
207
217
|
}
|
|
208
218
|
uri = instantiate_uri('/v2/{merchantId}/payments/{paymentId}/refund', path_context)
|
|
219
|
+
|
|
220
|
+
|
|
209
221
|
@communicator.post(
|
|
210
222
|
uri,
|
|
211
223
|
client_headers,
|
|
File without changes
|
|
@@ -38,6 +38,8 @@ module OnlinePayments
|
|
|
38
38
|
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
39
39
|
def create_payout(body, context = nil)
|
|
40
40
|
uri = instantiate_uri('/v2/{merchantId}/payouts', nil)
|
|
41
|
+
|
|
42
|
+
|
|
41
43
|
@communicator.post(
|
|
42
44
|
uri,
|
|
43
45
|
client_headers,
|
|
@@ -70,6 +72,8 @@ module OnlinePayments
|
|
|
70
72
|
'payoutId'.freeze => payout_id,
|
|
71
73
|
}
|
|
72
74
|
uri = instantiate_uri('/v2/{merchantId}/payouts/{payoutId}', path_context)
|
|
75
|
+
|
|
76
|
+
|
|
73
77
|
@communicator.get(
|
|
74
78
|
uri,
|
|
75
79
|
client_headers,
|
|
File without changes
|
|
@@ -21,8 +21,8 @@ module OnlinePayments
|
|
|
21
21
|
# @return [Array<OnlinePayments::SDK::Communication::RequestParam>] representing the attributes of this class
|
|
22
22
|
def to_request_parameters
|
|
23
23
|
result = []
|
|
24
|
-
result << RequestParam.new('locale', @locale) unless @locale.nil?
|
|
25
|
-
result << RequestParam.new('paymentProductId', @payment_product_id.to_s) unless @payment_product_id.nil?
|
|
24
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('locale', @locale) unless @locale.nil?
|
|
25
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('paymentProductId', @payment_product_id.to_s) unless @payment_product_id.nil?
|
|
26
26
|
result
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -36,6 +36,8 @@ module OnlinePayments
|
|
|
36
36
|
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
37
37
|
def get_privacy_policy(query, context = nil)
|
|
38
38
|
uri = instantiate_uri('/v2/{merchantId}/services/privacypolicy', nil)
|
|
39
|
+
|
|
40
|
+
|
|
39
41
|
@communicator.get(
|
|
40
42
|
uri,
|
|
41
43
|
client_headers,
|
|
File without changes
|
|
@@ -44,13 +44,13 @@ module OnlinePayments
|
|
|
44
44
|
# @return [Array<OnlinePayments::SDK::Communication::RequestParam>] representing the attributes of this class
|
|
45
45
|
def to_request_parameters
|
|
46
46
|
result = []
|
|
47
|
-
result << RequestParam.new('countryCode', @country_code) unless @country_code.nil?
|
|
48
|
-
result << RequestParam.new('currencyCode', @currency_code) unless @currency_code.nil?
|
|
49
|
-
result << RequestParam.new('locale', @locale) unless @locale.nil?
|
|
50
|
-
result << RequestParam.new('amount', @amount.to_s) unless @amount.nil?
|
|
51
|
-
result << RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil?
|
|
47
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('countryCode', @country_code) unless @country_code.nil?
|
|
48
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('currencyCode', @currency_code) unless @currency_code.nil?
|
|
49
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('locale', @locale) unless @locale.nil?
|
|
50
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('amount', @amount.to_s) unless @amount.nil?
|
|
51
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil?
|
|
52
52
|
unless @hide.nil?
|
|
53
|
-
@hide.each {|e| result << RequestParam.new('hide', e)}
|
|
53
|
+
@hide.each {|e| result << OnlinePayments::SDK::Communication::RequestParam.new('hide', e)}
|
|
54
54
|
end
|
|
55
55
|
result
|
|
56
56
|
end
|
|
@@ -44,13 +44,13 @@ module OnlinePayments
|
|
|
44
44
|
# @return [Array<OnlinePayments::SDK::Communication::RequestParam>] representing the attributes of this class
|
|
45
45
|
def to_request_parameters
|
|
46
46
|
result = []
|
|
47
|
-
result << RequestParam.new('countryCode', @country_code) unless @country_code.nil?
|
|
48
|
-
result << RequestParam.new('currencyCode', @currency_code) unless @currency_code.nil?
|
|
49
|
-
result << RequestParam.new('locale', @locale) unless @locale.nil?
|
|
50
|
-
result << RequestParam.new('amount', @amount.to_s) unless @amount.nil?
|
|
51
|
-
result << RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil?
|
|
47
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('countryCode', @country_code) unless @country_code.nil?
|
|
48
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('currencyCode', @currency_code) unless @currency_code.nil?
|
|
49
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('locale', @locale) unless @locale.nil?
|
|
50
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('amount', @amount.to_s) unless @amount.nil?
|
|
51
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil?
|
|
52
52
|
unless @hide.nil?
|
|
53
|
-
@hide.each {|e| result << RequestParam.new('hide', e)}
|
|
53
|
+
@hide.each {|e| result << OnlinePayments::SDK::Communication::RequestParam.new('hide', e)}
|
|
54
54
|
end
|
|
55
55
|
result
|
|
56
56
|
end
|
|
@@ -37,6 +37,8 @@ module OnlinePayments
|
|
|
37
37
|
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
38
38
|
def get_product_groups(query, context = nil)
|
|
39
39
|
uri = instantiate_uri('/v2/{merchantId}/productgroups', nil)
|
|
40
|
+
|
|
41
|
+
|
|
40
42
|
@communicator.get(
|
|
41
43
|
uri,
|
|
42
44
|
client_headers,
|
|
@@ -69,6 +71,8 @@ module OnlinePayments
|
|
|
69
71
|
'paymentProductGroupId'.freeze => payment_product_group_id,
|
|
70
72
|
}
|
|
71
73
|
uri = instantiate_uri('/v2/{merchantId}/productgroups/{paymentProductGroupId}', path_context)
|
|
74
|
+
|
|
75
|
+
|
|
72
76
|
@communicator.get(
|
|
73
77
|
uri,
|
|
74
78
|
client_headers,
|
|
File without changes
|
|
@@ -27,10 +27,10 @@ module OnlinePayments
|
|
|
27
27
|
# @return [Array<OnlinePayments::SDK::Communication::RequestParam>] representing the attributes of this class
|
|
28
28
|
def to_request_parameters
|
|
29
29
|
result = []
|
|
30
|
-
result << RequestParam.new('countryCode', @country_code) unless @country_code.nil?
|
|
31
|
-
result << RequestParam.new('currencyCode', @currency_code) unless @currency_code.nil?
|
|
32
|
-
result << RequestParam.new('amount', @amount.to_s) unless @amount.nil?
|
|
33
|
-
result << RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil?
|
|
30
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('countryCode', @country_code) unless @country_code.nil?
|
|
31
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('currencyCode', @currency_code) unless @currency_code.nil?
|
|
32
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('amount', @amount.to_s) unless @amount.nil?
|
|
33
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil?
|
|
34
34
|
result
|
|
35
35
|
end
|
|
36
36
|
end
|
|
@@ -43,13 +43,13 @@ module OnlinePayments
|
|
|
43
43
|
# @return [Array<OnlinePayments::SDK::Communication::RequestParam>] representing the attributes of this class
|
|
44
44
|
def to_request_parameters
|
|
45
45
|
result = []
|
|
46
|
-
result << RequestParam.new('countryCode', @country_code) unless @country_code.nil?
|
|
47
|
-
result << RequestParam.new('currencyCode', @currency_code) unless @currency_code.nil?
|
|
48
|
-
result << RequestParam.new('locale', @locale) unless @locale.nil?
|
|
49
|
-
result << RequestParam.new('amount', @amount.to_s) unless @amount.nil?
|
|
50
|
-
result << RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil?
|
|
46
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('countryCode', @country_code) unless @country_code.nil?
|
|
47
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('currencyCode', @currency_code) unless @currency_code.nil?
|
|
48
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('locale', @locale) unless @locale.nil?
|
|
49
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('amount', @amount.to_s) unless @amount.nil?
|
|
50
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil?
|
|
51
51
|
unless @hide.nil?
|
|
52
|
-
@hide.each {|e| result << RequestParam.new('hide', e)}
|
|
52
|
+
@hide.each {|e| result << OnlinePayments::SDK::Communication::RequestParam.new('hide', e)}
|
|
53
53
|
end
|
|
54
54
|
result
|
|
55
55
|
end
|
|
@@ -43,13 +43,13 @@ module OnlinePayments
|
|
|
43
43
|
# @return [Array<OnlinePayments::SDK::Communication::RequestParam>] representing the attributes of this class
|
|
44
44
|
def to_request_parameters
|
|
45
45
|
result = []
|
|
46
|
-
result << RequestParam.new('countryCode', @country_code) unless @country_code.nil?
|
|
47
|
-
result << RequestParam.new('currencyCode', @currency_code) unless @currency_code.nil?
|
|
48
|
-
result << RequestParam.new('locale', @locale) unless @locale.nil?
|
|
49
|
-
result << RequestParam.new('amount', @amount.to_s) unless @amount.nil?
|
|
50
|
-
result << RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil?
|
|
46
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('countryCode', @country_code) unless @country_code.nil?
|
|
47
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('currencyCode', @currency_code) unless @currency_code.nil?
|
|
48
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('locale', @locale) unless @locale.nil?
|
|
49
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('amount', @amount.to_s) unless @amount.nil?
|
|
50
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil?
|
|
51
51
|
unless @hide.nil?
|
|
52
|
-
@hide.each {|e| result << RequestParam.new('hide', e)}
|
|
52
|
+
@hide.each {|e| result << OnlinePayments::SDK::Communication::RequestParam.new('hide', e)}
|
|
53
53
|
end
|
|
54
54
|
result
|
|
55
55
|
end
|
|
@@ -21,8 +21,8 @@ module OnlinePayments
|
|
|
21
21
|
# @return [Array<OnlinePayments::SDK::Communication::RequestParam>] representing the attributes of this class
|
|
22
22
|
def to_request_parameters
|
|
23
23
|
result = []
|
|
24
|
-
result << RequestParam.new('countryCode', @country_code) unless @country_code.nil?
|
|
25
|
-
result << RequestParam.new('currencyCode', @currency_code) unless @currency_code.nil?
|
|
24
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('countryCode', @country_code) unless @country_code.nil?
|
|
25
|
+
result << OnlinePayments::SDK::Communication::RequestParam.new('currencyCode', @currency_code) unless @currency_code.nil?
|
|
26
26
|
result
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -39,6 +39,8 @@ module OnlinePayments
|
|
|
39
39
|
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
40
40
|
def get_payment_products(query, context = nil)
|
|
41
41
|
uri = instantiate_uri('/v2/{merchantId}/products', nil)
|
|
42
|
+
|
|
43
|
+
|
|
42
44
|
@communicator.get(
|
|
43
45
|
uri,
|
|
44
46
|
client_headers,
|
|
@@ -71,6 +73,8 @@ module OnlinePayments
|
|
|
71
73
|
'paymentProductId'.freeze => payment_product_id.to_s,
|
|
72
74
|
}
|
|
73
75
|
uri = instantiate_uri('/v2/{merchantId}/products/{paymentProductId}', path_context)
|
|
76
|
+
|
|
77
|
+
|
|
74
78
|
@communicator.get(
|
|
75
79
|
uri,
|
|
76
80
|
client_headers,
|
|
@@ -103,6 +107,8 @@ module OnlinePayments
|
|
|
103
107
|
'paymentProductId'.freeze => payment_product_id.to_s,
|
|
104
108
|
}
|
|
105
109
|
uri = instantiate_uri('/v2/{merchantId}/products/{paymentProductId}/networks', path_context)
|
|
110
|
+
|
|
111
|
+
|
|
106
112
|
@communicator.get(
|
|
107
113
|
uri,
|
|
108
114
|
client_headers,
|
|
@@ -135,6 +141,8 @@ module OnlinePayments
|
|
|
135
141
|
'paymentProductId'.freeze => payment_product_id.to_s,
|
|
136
142
|
}
|
|
137
143
|
uri = instantiate_uri('/v2/{merchantId}/products/{paymentProductId}/directory', path_context)
|
|
144
|
+
|
|
145
|
+
|
|
138
146
|
@communicator.get(
|
|
139
147
|
uri,
|
|
140
148
|
client_headers,
|
|
File without changes
|
|
File without changes
|
|
@@ -38,6 +38,8 @@ module OnlinePayments
|
|
|
38
38
|
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
39
39
|
def test_connection(context = nil)
|
|
40
40
|
uri = instantiate_uri('/v2/{merchantId}/services/testconnection', nil)
|
|
41
|
+
|
|
42
|
+
|
|
41
43
|
@communicator.get(
|
|
42
44
|
uri,
|
|
43
45
|
client_headers,
|
|
@@ -66,6 +68,8 @@ module OnlinePayments
|
|
|
66
68
|
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
67
69
|
def get_iin_details(body, context = nil)
|
|
68
70
|
uri = instantiate_uri('/v2/{merchantId}/services/getIINdetails', nil)
|
|
71
|
+
|
|
72
|
+
|
|
69
73
|
@communicator.post(
|
|
70
74
|
uri,
|
|
71
75
|
client_headers,
|
|
@@ -95,6 +99,8 @@ module OnlinePayments
|
|
|
95
99
|
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
96
100
|
def get_dcc_rate_inquiry(body, context = nil)
|
|
97
101
|
uri = instantiate_uri('/v2/{merchantId}/services/dccrate', nil)
|
|
102
|
+
|
|
103
|
+
|
|
98
104
|
@communicator.post(
|
|
99
105
|
uri,
|
|
100
106
|
client_headers,
|
|
@@ -124,6 +130,8 @@ module OnlinePayments
|
|
|
124
130
|
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
125
131
|
def surcharge_calculation(body, context = nil)
|
|
126
132
|
uri = instantiate_uri('/v2/{merchantId}/services/surchargecalculation', nil)
|
|
133
|
+
|
|
134
|
+
|
|
127
135
|
@communicator.post(
|
|
128
136
|
uri,
|
|
129
137
|
client_headers,
|
|
File without changes
|
|
@@ -36,6 +36,8 @@ module OnlinePayments
|
|
|
36
36
|
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
37
37
|
def create_session(body, context = nil)
|
|
38
38
|
uri = instantiate_uri('/v2/{merchantId}/sessions', nil)
|
|
39
|
+
|
|
40
|
+
|
|
39
41
|
@communicator.post(
|
|
40
42
|
uri,
|
|
41
43
|
client_headers,
|
|
File without changes
|
|
File without changes
|
|
@@ -29,7 +29,7 @@ module OnlinePayments
|
|
|
29
29
|
def to_request_parameters
|
|
30
30
|
result = []
|
|
31
31
|
unless @payments.nil?
|
|
32
|
-
@payments.each {|e| result << RequestParam.new('payments', e)}
|
|
32
|
+
@payments.each {|e| result << OnlinePayments::SDK::Communication::RequestParam.new('payments', e)}
|
|
33
33
|
end
|
|
34
34
|
result
|
|
35
35
|
end
|
|
@@ -29,7 +29,7 @@ module OnlinePayments
|
|
|
29
29
|
def to_request_parameters
|
|
30
30
|
result = []
|
|
31
31
|
unless @tokens.nil?
|
|
32
|
-
@tokens.each {|e| result << RequestParam.new('tokens', e)}
|
|
32
|
+
@tokens.each {|e| result << OnlinePayments::SDK::Communication::RequestParam.new('tokens', e)}
|
|
33
33
|
end
|
|
34
34
|
result
|
|
35
35
|
end
|
|
@@ -37,6 +37,8 @@ module OnlinePayments
|
|
|
37
37
|
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
38
38
|
def create_certificate(body, context = nil)
|
|
39
39
|
uri = instantiate_uri('/v2/{merchantId}/detokenize/csr', nil)
|
|
40
|
+
|
|
41
|
+
|
|
40
42
|
@communicator.post(
|
|
41
43
|
uri,
|
|
42
44
|
client_headers,
|
|
@@ -66,6 +68,8 @@ module OnlinePayments
|
|
|
66
68
|
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
67
69
|
def get_card_data_by_tokens(query, context = nil)
|
|
68
70
|
uri = instantiate_uri('/v2/{merchantId}/detokenize/tokens', nil)
|
|
71
|
+
|
|
72
|
+
|
|
69
73
|
@communicator.get(
|
|
70
74
|
uri,
|
|
71
75
|
client_headers,
|
|
@@ -94,6 +98,8 @@ module OnlinePayments
|
|
|
94
98
|
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
95
99
|
def get_card_data_by_payments(query, context = nil)
|
|
96
100
|
uri = instantiate_uri('/v2/{merchantId}/detokenize/payments', nil)
|
|
101
|
+
|
|
102
|
+
|
|
97
103
|
@communicator.get(
|
|
98
104
|
uri,
|
|
99
105
|
client_headers,
|
|
File without changes
|
|
@@ -37,6 +37,8 @@ module OnlinePayments
|
|
|
37
37
|
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
38
38
|
def create_token(body, context = nil)
|
|
39
39
|
uri = instantiate_uri('/v2/{merchantId}/tokens', nil)
|
|
40
|
+
|
|
41
|
+
|
|
40
42
|
@communicator.post(
|
|
41
43
|
uri,
|
|
42
44
|
client_headers,
|
|
@@ -69,6 +71,8 @@ module OnlinePayments
|
|
|
69
71
|
'tokenId'.freeze => token_id,
|
|
70
72
|
}
|
|
71
73
|
uri = instantiate_uri('/v2/{merchantId}/tokens/{tokenId}', path_context)
|
|
74
|
+
|
|
75
|
+
|
|
72
76
|
@communicator.get(
|
|
73
77
|
uri,
|
|
74
78
|
client_headers,
|
|
@@ -99,6 +103,8 @@ module OnlinePayments
|
|
|
99
103
|
'tokenId'.freeze => token_id,
|
|
100
104
|
}
|
|
101
105
|
uri = instantiate_uri('/v2/{merchantId}/tokens/{tokenId}', path_context)
|
|
106
|
+
|
|
107
|
+
|
|
102
108
|
@communicator.delete(
|
|
103
109
|
uri,
|
|
104
110
|
client_headers,
|
|
File without changes
|
|
@@ -36,6 +36,8 @@ module OnlinePayments
|
|
|
36
36
|
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
37
37
|
def validate_webhook_credentials(body, context = nil)
|
|
38
38
|
uri = instantiate_uri('/v2/{merchantId}/webhooks/validateCredentials', nil)
|
|
39
|
+
|
|
40
|
+
|
|
39
41
|
@communicator.post(
|
|
40
42
|
uri,
|
|
41
43
|
client_headers,
|
|
@@ -64,6 +66,8 @@ module OnlinePayments
|
|
|
64
66
|
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
65
67
|
def send_test_webhook(body, context = nil)
|
|
66
68
|
uri = instantiate_uri('/v2/{merchantId}/webhooks/sendtest', nil)
|
|
69
|
+
|
|
70
|
+
|
|
67
71
|
@communicator.post(
|
|
68
72
|
uri,
|
|
69
73
|
client_headers,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|