onlinepayments-sdk-ruby 7.0.0 → 7.2.1
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 +0 -0
- 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 +0 -0
- 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 +12 -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 +12 -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 +44 -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 +37 -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 +30 -0
- data/lib/onlinepayments/sdk/domain/create_hosted_fields_session_response.rb +46 -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 +9 -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 +37 -0
- data/lib/onlinepayments/sdk/domain/crm_token.rb +0 -0
- data/lib/onlinepayments/sdk/domain/csr_request.rb +30 -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 +35 -0
- data/lib/onlinepayments/sdk/domain/detokenized_token_response.rb +72 -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 +60 -0
- data/lib/onlinepayments/sdk/domain/import_cof_series_response.rb +30 -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 +37 -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 +30 -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 +18 -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 +30 -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 +12 -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 +62 -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 +35 -0
- data/lib/onlinepayments/sdk/domain/show_form_data.rb +9 -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 +57 -0
- data/lib/onlinepayments/sdk/merchant/cofseries.rb +4 -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 +57 -0
- data/lib/onlinepayments/sdk/merchant/hostedfields.rb +4 -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 +32 -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 +28 -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 +0 -0
- data/lib/onlinepayments/sdk/merchant/productgroups/get_product_groups_params.rb +0 -0
- 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 +0 -0
- data/lib/onlinepayments/sdk/merchant/products/get_payment_product_params.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/products/get_payment_products_params.rb +0 -0
- data/lib/onlinepayments/sdk/merchant/products/get_product_directory_params.rb +0 -0
- 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 +40 -0
- data/lib/onlinepayments/sdk/merchant/tokenization/get_card_data_by_tokens_params.rb +40 -0
- data/lib/onlinepayments/sdk/merchant/tokenization/tokenization_client.rb +118 -0
- data/lib/onlinepayments/sdk/merchant/tokenization.rb +4 -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 +0 -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 +37 -2
|
@@ -0,0 +1,57 @@
|
|
|
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/import_cof_series_response'
|
|
9
|
+
|
|
10
|
+
module OnlinePayments
|
|
11
|
+
module SDK
|
|
12
|
+
module Merchant
|
|
13
|
+
module CofSeries
|
|
14
|
+
# CofSeries client. Thread-safe.
|
|
15
|
+
class CofSeriesClient < OnlinePayments::SDK::ApiResource
|
|
16
|
+
|
|
17
|
+
# @param parent [OnlinePayments::SDK::ApiResource]
|
|
18
|
+
# @param path_context [Hash, nil]
|
|
19
|
+
def initialize(parent, path_context)
|
|
20
|
+
super(parent: parent, path_context: path_context)
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# Resource /v2/!{merchantId}/tokens/importCofSeries - Imports the COF Series token.
|
|
24
|
+
#
|
|
25
|
+
# @param body [OnlinePayments::SDK::Domain::ImportCofSeriesRequest]
|
|
26
|
+
# @param context [OnlinePayments::SDK::CallContext, nil]
|
|
27
|
+
# @return [OnlinePayments::SDK::Domain::ImportCofSeriesResponse]
|
|
28
|
+
# @raise [OnlinePayments::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
|
29
|
+
# @raise [OnlinePayments::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
|
30
|
+
# @raise [OnlinePayments::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
|
31
|
+
# @raise [OnlinePayments::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
|
32
|
+
# or there was a conflict (HTTP status code 404, 409 or 410)
|
|
33
|
+
# @raise [OnlinePayments::SDK::PlatformException] if something went wrong at the payment platform,
|
|
34
|
+
# the payment platform was unable to process a message from a downstream partner/acquirer,
|
|
35
|
+
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
|
36
|
+
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
37
|
+
def import_cof_series(body, context = nil)
|
|
38
|
+
uri = instantiate_uri('/v2/{merchantId}/tokens/importCofSeries', nil)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
@communicator.post(
|
|
42
|
+
uri,
|
|
43
|
+
client_headers,
|
|
44
|
+
nil,
|
|
45
|
+
body,
|
|
46
|
+
OnlinePayments::SDK::Domain::ImportCofSeriesResponse,
|
|
47
|
+
context)
|
|
48
|
+
rescue OnlinePayments::SDK::Communication::ResponseException => e
|
|
49
|
+
error_type = OnlinePayments::SDK::Domain::ErrorResponse
|
|
50
|
+
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
|
51
|
+
raise OnlinePayments::SDK.create_exception(e.status_code, e.body, error_object, context)
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
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_hosted_checkout(body, context = nil)
|
|
39
39
|
uri = instantiate_uri('/v2/{merchantId}/hostedcheckouts', nil)
|
|
40
|
+
|
|
41
|
+
|
|
40
42
|
@communicator.post(
|
|
41
43
|
uri,
|
|
42
44
|
client_headers,
|
|
@@ -69,6 +71,8 @@ module OnlinePayments
|
|
|
69
71
|
'hostedCheckoutId'.freeze => hosted_checkout_id,
|
|
70
72
|
}
|
|
71
73
|
uri = instantiate_uri('/v2/{merchantId}/hostedcheckouts/{hostedCheckoutId}', path_context)
|
|
74
|
+
|
|
75
|
+
|
|
72
76
|
@communicator.get(
|
|
73
77
|
uri,
|
|
74
78
|
client_headers,
|
|
File without changes
|
|
@@ -0,0 +1,57 @@
|
|
|
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/create_hosted_fields_session_response'
|
|
8
|
+
require 'onlinepayments/sdk/domain/error_response'
|
|
9
|
+
|
|
10
|
+
module OnlinePayments
|
|
11
|
+
module SDK
|
|
12
|
+
module Merchant
|
|
13
|
+
module HostedFields
|
|
14
|
+
# HostedFields client. Thread-safe.
|
|
15
|
+
class HostedFieldsClient < OnlinePayments::SDK::ApiResource
|
|
16
|
+
|
|
17
|
+
# @param parent [OnlinePayments::SDK::ApiResource]
|
|
18
|
+
# @param path_context [Hash, nil]
|
|
19
|
+
def initialize(parent, path_context)
|
|
20
|
+
super(parent: parent, path_context: path_context)
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# Resource /v2/!{merchantId}/hostedfields/sessions - Create hosted fields session
|
|
24
|
+
#
|
|
25
|
+
# @param body [OnlinePayments::SDK::Domain::CreateHostedFieldsSessionRequest]
|
|
26
|
+
# @param context [OnlinePayments::SDK::CallContext, nil]
|
|
27
|
+
# @return [OnlinePayments::SDK::Domain::CreateHostedFieldsSessionResponse]
|
|
28
|
+
# @raise [OnlinePayments::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
|
29
|
+
# @raise [OnlinePayments::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
|
30
|
+
# @raise [OnlinePayments::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
|
31
|
+
# @raise [OnlinePayments::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
|
32
|
+
# or there was a conflict (HTTP status code 404, 409 or 410)
|
|
33
|
+
# @raise [OnlinePayments::SDK::PlatformException] if something went wrong at the payment platform,
|
|
34
|
+
# the payment platform was unable to process a message from a downstream partner/acquirer,
|
|
35
|
+
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
|
36
|
+
# @raise [OnlinePayments::SDK::ApiException] if the payment platform returned any other error
|
|
37
|
+
def create_hosted_fields_session(body, context = nil)
|
|
38
|
+
uri = instantiate_uri('/v2/{merchantId}/hostedfields/sessions', nil)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
@communicator.post(
|
|
42
|
+
uri,
|
|
43
|
+
client_headers,
|
|
44
|
+
nil,
|
|
45
|
+
body,
|
|
46
|
+
OnlinePayments::SDK::Domain::CreateHostedFieldsSessionResponse,
|
|
47
|
+
context)
|
|
48
|
+
rescue OnlinePayments::SDK::Communication::ResponseException => e
|
|
49
|
+
error_type = OnlinePayments::SDK::Domain::ErrorResponse
|
|
50
|
+
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
|
51
|
+
raise OnlinePayments::SDK.create_exception(e.status_code, e.body, error_object, context)
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
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_hosted_tokenization(body, context = nil)
|
|
39
39
|
uri = instantiate_uri('/v2/{merchantId}/hostedtokenizations', nil)
|
|
40
|
+
|
|
41
|
+
|
|
40
42
|
@communicator.post(
|
|
41
43
|
uri,
|
|
42
44
|
client_headers,
|
|
@@ -69,6 +71,8 @@ module OnlinePayments
|
|
|
69
71
|
'hostedTokenizationId'.freeze => hosted_tokenization_id,
|
|
70
72
|
}
|
|
71
73
|
uri = instantiate_uri('/v2/{merchantId}/hostedtokenizations/{hostedTokenizationId}', path_context)
|
|
74
|
+
|
|
75
|
+
|
|
72
76
|
@communicator.get(
|
|
73
77
|
uri,
|
|
74
78
|
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_mandate(body, context = nil)
|
|
39
39
|
uri = instantiate_uri('/v2/{merchantId}/mandates', nil)
|
|
40
|
+
|
|
41
|
+
|
|
40
42
|
@communicator.post(
|
|
41
43
|
uri,
|
|
42
44
|
client_headers,
|
|
@@ -69,6 +71,8 @@ module OnlinePayments
|
|
|
69
71
|
'uniqueMandateReference'.freeze => unique_mandate_reference,
|
|
70
72
|
}
|
|
71
73
|
uri = instantiate_uri('/v2/{merchantId}/mandates/{uniqueMandateReference}', path_context)
|
|
74
|
+
|
|
75
|
+
|
|
72
76
|
@communicator.get(
|
|
73
77
|
uri,
|
|
74
78
|
client_headers,
|
|
@@ -100,6 +104,8 @@ module OnlinePayments
|
|
|
100
104
|
'uniqueMandateReference'.freeze => unique_mandate_reference,
|
|
101
105
|
}
|
|
102
106
|
uri = instantiate_uri('/v2/{merchantId}/mandates/{uniqueMandateReference}/block', path_context)
|
|
107
|
+
|
|
108
|
+
|
|
103
109
|
@communicator.post(
|
|
104
110
|
uri,
|
|
105
111
|
client_headers,
|
|
@@ -132,6 +138,8 @@ module OnlinePayments
|
|
|
132
138
|
'uniqueMandateReference'.freeze => unique_mandate_reference,
|
|
133
139
|
}
|
|
134
140
|
uri = instantiate_uri('/v2/{merchantId}/mandates/{uniqueMandateReference}/unblock', path_context)
|
|
141
|
+
|
|
142
|
+
|
|
135
143
|
@communicator.post(
|
|
136
144
|
uri,
|
|
137
145
|
client_headers,
|
|
@@ -165,6 +173,8 @@ module OnlinePayments
|
|
|
165
173
|
'uniqueMandateReference'.freeze => unique_mandate_reference,
|
|
166
174
|
}
|
|
167
175
|
uri = instantiate_uri('/v2/{merchantId}/mandates/{uniqueMandateReference}/revoke', path_context)
|
|
176
|
+
|
|
177
|
+
|
|
168
178
|
@communicator.post(
|
|
169
179
|
uri,
|
|
170
180
|
client_headers,
|
|
File without changes
|
|
@@ -3,10 +3,13 @@
|
|
|
3
3
|
#
|
|
4
4
|
require 'onlinepayments/sdk/api_resource'
|
|
5
5
|
require 'onlinepayments/sdk/merchant/captures/captures_client'
|
|
6
|
+
require 'onlinepayments/sdk/merchant/cofseries/cof_series_client'
|
|
6
7
|
require 'onlinepayments/sdk/merchant/complete/complete_client'
|
|
7
8
|
require 'onlinepayments/sdk/merchant/hostedcheckout/hosted_checkout_client'
|
|
9
|
+
require 'onlinepayments/sdk/merchant/hostedfields/hosted_fields_client'
|
|
8
10
|
require 'onlinepayments/sdk/merchant/hostedtokenization/hosted_tokenization_client'
|
|
9
11
|
require 'onlinepayments/sdk/merchant/mandates/mandates_client'
|
|
12
|
+
require 'onlinepayments/sdk/merchant/merchantbatch/merchant_batch_client'
|
|
10
13
|
require 'onlinepayments/sdk/merchant/paymentlinks/payment_links_client'
|
|
11
14
|
require 'onlinepayments/sdk/merchant/payments/payments_client'
|
|
12
15
|
require 'onlinepayments/sdk/merchant/payouts/payouts_client'
|
|
@@ -17,6 +20,7 @@ require 'onlinepayments/sdk/merchant/refunds/refunds_client'
|
|
|
17
20
|
require 'onlinepayments/sdk/merchant/services/services_client'
|
|
18
21
|
require 'onlinepayments/sdk/merchant/sessions/sessions_client'
|
|
19
22
|
require 'onlinepayments/sdk/merchant/subsequent/subsequent_client'
|
|
23
|
+
require 'onlinepayments/sdk/merchant/tokenization/tokenization_client'
|
|
20
24
|
require 'onlinepayments/sdk/merchant/tokens/tokens_client'
|
|
21
25
|
require 'onlinepayments/sdk/merchant/webhooks/webhooks_client'
|
|
22
26
|
|
|
@@ -46,6 +50,13 @@ module OnlinePayments
|
|
|
46
50
|
OnlinePayments::SDK::Merchant::HostedTokenization::HostedTokenizationClient.new(self, nil)
|
|
47
51
|
end
|
|
48
52
|
|
|
53
|
+
# Resource /v2/{merchantId}/hostedfields/sessions
|
|
54
|
+
#
|
|
55
|
+
# @return [OnlinePayments::SDK::Merchant::HostedFields::HostedFieldsClient]
|
|
56
|
+
def hosted_fields
|
|
57
|
+
OnlinePayments::SDK::Merchant::HostedFields::HostedFieldsClient.new(self, nil)
|
|
58
|
+
end
|
|
59
|
+
|
|
49
60
|
# Resource /v2/{merchantId}/payments
|
|
50
61
|
#
|
|
51
62
|
# @return [OnlinePayments::SDK::Merchant::Payments::PaymentsClient]
|
|
@@ -123,6 +134,20 @@ module OnlinePayments
|
|
|
123
134
|
OnlinePayments::SDK::Merchant::Tokens::TokensClient.new(self, nil)
|
|
124
135
|
end
|
|
125
136
|
|
|
137
|
+
# Resource /v2/{merchantId}/tokens/importCofSeries
|
|
138
|
+
#
|
|
139
|
+
# @return [OnlinePayments::SDK::Merchant::CofSeries::CofSeriesClient]
|
|
140
|
+
def cof_series
|
|
141
|
+
OnlinePayments::SDK::Merchant::CofSeries::CofSeriesClient.new(self, nil)
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
# Resource /v2/{merchantId}/detokenize/csr
|
|
145
|
+
#
|
|
146
|
+
# @return [OnlinePayments::SDK::Merchant::Tokenization::TokenizationClient]
|
|
147
|
+
def tokenization
|
|
148
|
+
OnlinePayments::SDK::Merchant::Tokenization::TokenizationClient.new(self, nil)
|
|
149
|
+
end
|
|
150
|
+
|
|
126
151
|
# Resource /v2/{merchantId}/payouts
|
|
127
152
|
#
|
|
128
153
|
# @return [OnlinePayments::SDK::Merchant::Payouts::PayoutsClient]
|
|
@@ -150,6 +175,13 @@ module OnlinePayments
|
|
|
150
175
|
def payment_links
|
|
151
176
|
OnlinePayments::SDK::Merchant::PaymentLinks::PaymentLinksClient.new(self, nil)
|
|
152
177
|
end
|
|
178
|
+
|
|
179
|
+
# Resource /v2/{merchantId}/merchant-batches
|
|
180
|
+
#
|
|
181
|
+
# @return [OnlinePayments::SDK::Merchant::MerchantBatch::MerchantBatchClient]
|
|
182
|
+
def merchant_batch
|
|
183
|
+
OnlinePayments::SDK::Merchant::MerchantBatch::MerchantBatchClient.new(self, nil)
|
|
184
|
+
end
|
|
153
185
|
end
|
|
154
186
|
end
|
|
155
187
|
end
|
|
@@ -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
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This file was automatically generated.
|
|
3
|
+
#
|
|
4
|
+
require 'onlinepayments/sdk/communication/param_request'
|
|
5
|
+
require 'onlinepayments/sdk/communication/request_param'
|
|
6
|
+
|
|
7
|
+
module OnlinePayments
|
|
8
|
+
module SDK
|
|
9
|
+
module Merchant
|
|
10
|
+
module PaymentLinks
|
|
11
|
+
# Query parameters for Get payment links (/v2/{merchantId}/paymentlinks)
|
|
12
|
+
#
|
|
13
|
+
# @attr [String] operation_group_reference
|
|
14
|
+
class GetPaymentLinksInBulkParams < OnlinePayments::SDK::Communication::ParamRequest
|
|
15
|
+
|
|
16
|
+
attr_accessor :operation_group_reference
|
|
17
|
+
|
|
18
|
+
# @return [Array<OnlinePayments::SDK::Communication::RequestParam>] representing the attributes of this class
|
|
19
|
+
def to_request_parameters
|
|
20
|
+
result = []
|
|
21
|
+
result << RequestParam.new('operationGroupReference', @operation_group_reference) unless @operation_group_reference.nil?
|
|
22
|
+
result
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
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 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
|
|
File without changes
|
|
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 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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|