onlinepayments-sdk-ruby 10.0.0 → 10.2.0
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/lib/onlinepayments/sdk/communication/metadata_provider.rb +1 -1
- data/lib/onlinepayments/sdk/domain/acceptance.rb +18 -0
- data/lib/onlinepayments/sdk/domain/account_on_file.rb +24 -0
- data/lib/onlinepayments/sdk/domain/account_on_file_attribute.rb +24 -0
- data/lib/onlinepayments/sdk/domain/account_on_file_display_hints.rb +12 -0
- data/lib/onlinepayments/sdk/domain/acquirer_information.rb +12 -0
- data/lib/onlinepayments/sdk/domain/acquirer_selection_information.rb +18 -0
- data/lib/onlinepayments/sdk/domain/add_authorization_details_response.rb +6 -0
- data/lib/onlinepayments/sdk/domain/additional_order_input.rb +24 -0
- data/lib/onlinepayments/sdk/domain/address.rb +42 -0
- data/lib/onlinepayments/sdk/domain/address_personal.rb +54 -0
- data/lib/onlinepayments/sdk/domain/airline_data.rb +150 -0
- data/lib/onlinepayments/sdk/domain/airline_flight_leg.rb +126 -0
- data/lib/onlinepayments/sdk/domain/airline_passenger.rb +48 -0
- data/lib/onlinepayments/sdk/domain/amex.rb +18 -0
- data/lib/onlinepayments/sdk/domain/amount_breakdown.rb +12 -0
- data/lib/onlinepayments/sdk/domain/amount_of_money.rb +12 -0
- data/lib/onlinepayments/sdk/domain/api_error.rb +48 -0
- data/lib/onlinepayments/sdk/domain/api_parameters.rb +30 -0
- data/lib/onlinepayments/sdk/domain/apple_pay_line_item.rb +42 -0
- data/lib/onlinepayments/sdk/domain/apple_pay_recurring_payment_request.rb +30 -0
- data/lib/onlinepayments/sdk/domain/authentication_options.rb +24 -0
- data/lib/onlinepayments/sdk/domain/auto_capture.rb +6 -0
- data/lib/onlinepayments/sdk/domain/bank_account_iban.rb +6 -0
- data/lib/onlinepayments/sdk/domain/batch_metadata.rb +18 -0
- data/lib/onlinepayments/sdk/domain/browser_data.rb +30 -0
- data/lib/onlinepayments/sdk/domain/calculate_surcharge_request.rb +12 -0
- data/lib/onlinepayments/sdk/domain/calculate_surcharge_response.rb +6 -0
- data/lib/onlinepayments/sdk/domain/cancel_payment_batch_request.rb +12 -0
- data/lib/onlinepayments/sdk/domain/cancel_payment_request.rb +30 -0
- data/lib/onlinepayments/sdk/domain/cancel_payment_response.rb +6 -0
- data/lib/onlinepayments/sdk/domain/capture.rb +24 -0
- data/lib/onlinepayments/sdk/domain/capture_output.rb +100 -0
- data/lib/onlinepayments/sdk/domain/capture_payment_batch_request.rb +12 -0
- data/lib/onlinepayments/sdk/domain/capture_payment_request.rb +36 -0
- data/lib/onlinepayments/sdk/domain/capture_response.rb +24 -0
- data/lib/onlinepayments/sdk/domain/capture_status_output.rb +6 -0
- data/lib/onlinepayments/sdk/domain/captures_response.rb +6 -0
- data/lib/onlinepayments/sdk/domain/car_rental_data.rb +96 -0
- data/lib/onlinepayments/sdk/domain/car_rental_pickup_return_data.rb +42 -0
- data/lib/onlinepayments/sdk/domain/car_rental_vehicle_data.rb +12 -0
- data/lib/onlinepayments/sdk/domain/card.rb +24 -0
- data/lib/onlinepayments/sdk/domain/card_bin_details.rb +120 -0
- data/lib/onlinepayments/sdk/domain/card_data_without_cvv.rb +18 -0
- data/lib/onlinepayments/sdk/domain/card_essentials.rb +138 -0
- data/lib/onlinepayments/sdk/domain/card_fraud_results.rb +18 -0
- data/lib/onlinepayments/sdk/domain/card_info.rb +12 -0
- data/lib/onlinepayments/sdk/domain/card_payment_method_specific_input.rb +186 -0
- data/lib/onlinepayments/sdk/domain/card_payment_method_specific_input_base.rb +132 -0
- data/lib/onlinepayments/sdk/domain/card_payment_method_specific_input_for_hosted_checkout.rb +24 -0
- data/lib/onlinepayments/sdk/domain/card_payment_method_specific_output.rb +138 -0
- data/lib/onlinepayments/sdk/domain/card_payment_method_specific_output_summary.rb +12 -0
- data/lib/onlinepayments/sdk/domain/card_payment_method_specific_output_summary_card.rb +6 -0
- data/lib/onlinepayments/sdk/domain/card_payout_method_specific_input.rb +30 -0
- data/lib/onlinepayments/sdk/domain/card_recurrence_details.rb +6 -0
- data/lib/onlinepayments/sdk/domain/card_source.rb +24 -0
- data/lib/onlinepayments/sdk/domain/card_token.rb +42 -0
- data/lib/onlinepayments/sdk/domain/card_without_cvv.rb +18 -0
- data/lib/onlinepayments/sdk/domain/click_to_pay.rb +6 -0
- data/lib/onlinepayments/sdk/domain/company_information.rb +6 -0
- data/lib/onlinepayments/sdk/domain/complete_payment_card_payment_method_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/complete_payment_request.rb +12 -0
- data/lib/onlinepayments/sdk/domain/complete_payment_response.rb +18 -0
- data/lib/onlinepayments/sdk/domain/contact_details.rb +30 -0
- data/lib/onlinepayments/sdk/domain/create_certificate_response.rb +12 -0
- data/lib/onlinepayments/sdk/domain/create_hosted_checkout_request.rb +48 -0
- data/lib/onlinepayments/sdk/domain/create_hosted_checkout_response.rb +36 -0
- data/lib/onlinepayments/sdk/domain/create_hosted_fields_session_request.rb +33 -0
- data/lib/onlinepayments/sdk/domain/create_hosted_fields_session_response.rb +36 -0
- data/lib/onlinepayments/sdk/domain/create_hosted_tokenization_request.rb +36 -0
- data/lib/onlinepayments/sdk/domain/create_hosted_tokenization_response.rb +36 -0
- data/lib/onlinepayments/sdk/domain/create_mandate_request.rb +48 -0
- data/lib/onlinepayments/sdk/domain/create_mandate_response.rb +12 -0
- data/lib/onlinepayments/sdk/domain/create_mandate_with_return_url.rb +48 -0
- data/lib/onlinepayments/sdk/domain/create_payment_link_request.rb +90 -0
- data/lib/onlinepayments/sdk/domain/create_payment_request.rb +66 -0
- data/lib/onlinepayments/sdk/domain/create_payment_response.rb +18 -0
- data/lib/onlinepayments/sdk/domain/create_payout_request.rb +36 -0
- data/lib/onlinepayments/sdk/domain/create_token_request.rb +18 -0
- data/lib/onlinepayments/sdk/domain/created_payment_output.rb +12 -0
- data/lib/onlinepayments/sdk/domain/created_token_response.rb +36 -0
- data/lib/onlinepayments/sdk/domain/credit_card_specific_input_hosted_tokenization.rb +12 -0
- data/lib/onlinepayments/sdk/domain/credit_card_validation_rules.rb +12 -0
- data/lib/onlinepayments/sdk/domain/crm_token.rb +12 -0
- data/lib/onlinepayments/sdk/domain/csr_request.rb +6 -0
- data/lib/onlinepayments/sdk/domain/currency_conversion.rb +12 -0
- data/lib/onlinepayments/sdk/domain/currency_conversion_input.rb +12 -0
- data/lib/onlinepayments/sdk/domain/currency_conversion_request.rb +12 -0
- data/lib/onlinepayments/sdk/domain/currency_conversion_response.rb +18 -0
- data/lib/onlinepayments/sdk/domain/currency_conversion_result.rb +12 -0
- data/lib/onlinepayments/sdk/domain/currency_conversion_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/cursor_pagination_info.rb +12 -0
- data/lib/onlinepayments/sdk/domain/customer.rb +60 -0
- data/lib/onlinepayments/sdk/domain/customer_account.rb +54 -0
- data/lib/onlinepayments/sdk/domain/customer_account_authentication.rb +18 -0
- data/lib/onlinepayments/sdk/domain/customer_bank_account.rb +18 -0
- data/lib/onlinepayments/sdk/domain/customer_device.rb +42 -0
- data/lib/onlinepayments/sdk/domain/customer_device_output.rb +6 -0
- data/lib/onlinepayments/sdk/domain/customer_output.rb +6 -0
- data/lib/onlinepayments/sdk/domain/customer_payment_activity.rb +18 -0
- data/lib/onlinepayments/sdk/domain/customer_token.rb +18 -0
- data/lib/onlinepayments/sdk/domain/dcc_card_source.rb +24 -0
- data/lib/onlinepayments/sdk/domain/dcc_proposal.rb +30 -0
- data/lib/onlinepayments/sdk/domain/decrypted_payment_data.rb +30 -0
- data/lib/onlinepayments/sdk/domain/detokenization_response.rb +6 -0
- data/lib/onlinepayments/sdk/domain/detokenized_token_response.rb +42 -0
- data/lib/onlinepayments/sdk/domain/directory_entry.rb +18 -0
- data/lib/onlinepayments/sdk/domain/discount.rb +6 -0
- data/lib/onlinepayments/sdk/domain/dpa_data.rb +6 -0
- data/lib/onlinepayments/sdk/domain/dpa_transaction_options.rb +6 -0
- data/lib/onlinepayments/sdk/domain/error_response.rb +12 -0
- data/lib/onlinepayments/sdk/domain/external_cardholder_authentication_data.rb +60 -0
- data/lib/onlinepayments/sdk/domain/external_token_linked.rb +18 -0
- data/lib/onlinepayments/sdk/domain/feedbacks.rb +12 -0
- data/lib/onlinepayments/sdk/domain/fixed_list_validator.rb +6 -0
- data/lib/onlinepayments/sdk/domain/fraud_fields.rb +18 -0
- data/lib/onlinepayments/sdk/domain/fraud_results.rb +6 -0
- data/lib/onlinepayments/sdk/domain/g_pay_three_d_secure.rb +36 -0
- data/lib/onlinepayments/sdk/domain/get_batch_status_response.rb +24 -0
- data/lib/onlinepayments/sdk/domain/get_hosted_checkout_response.rb +12 -0
- data/lib/onlinepayments/sdk/domain/get_hosted_fields_session_response.rb +12 -0
- data/lib/onlinepayments/sdk/domain/get_hosted_tokenization_response.rb +12 -0
- data/lib/onlinepayments/sdk/domain/get_iin_details_request.rb +12 -0
- data/lib/onlinepayments/sdk/domain/get_iin_details_response.rb +138 -0
- data/lib/onlinepayments/sdk/domain/get_mandate_response.rb +6 -0
- data/lib/onlinepayments/sdk/domain/get_payment_links_by_merchant_group_request.rb +68 -0
- data/lib/onlinepayments/sdk/domain/get_payment_product_groups_response.rb +6 -0
- data/lib/onlinepayments/sdk/domain/get_payment_products_response.rb +6 -0
- data/lib/onlinepayments/sdk/domain/get_privacy_policy_response.rb +6 -0
- data/lib/onlinepayments/sdk/domain/gift_card_purchase.rb +12 -0
- data/lib/onlinepayments/sdk/domain/hosted_checkout_specific_input.rb +78 -0
- data/lib/onlinepayments/sdk/domain/hosted_checkout_specific_output.rb +12 -0
- data/lib/onlinepayments/sdk/domain/iin_detail.rb +132 -0
- data/lib/onlinepayments/sdk/domain/import_cof_series_request.rb +51 -0
- data/lib/onlinepayments/sdk/domain/import_cof_series_response.rb +6 -0
- data/lib/onlinepayments/sdk/domain/increment_authorization_request.rb +6 -0
- data/lib/onlinepayments/sdk/domain/increment_authorization_response.rb +6 -0
- data/lib/onlinepayments/sdk/domain/label_template_element.rb +12 -0
- data/lib/onlinepayments/sdk/domain/length_validator.rb +12 -0
- data/lib/onlinepayments/sdk/domain/line_item.rb +24 -0
- data/lib/onlinepayments/sdk/domain/line_item_detail.rb +18 -0
- data/lib/onlinepayments/sdk/domain/line_item_invoice_data.rb +6 -0
- data/lib/onlinepayments/sdk/domain/loan_recipient.rb +30 -0
- data/lib/onlinepayments/sdk/domain/lodging_data.rb +6 -0
- data/lib/onlinepayments/sdk/domain/mandate_address.rb +30 -0
- data/lib/onlinepayments/sdk/domain/mandate_address_response.rb +30 -0
- data/lib/onlinepayments/sdk/domain/mandate_contact_details.rb +12 -0
- data/lib/onlinepayments/sdk/domain/mandate_customer.rb +30 -0
- data/lib/onlinepayments/sdk/domain/mandate_customer_response.rb +30 -0
- data/lib/onlinepayments/sdk/domain/mandate_merchant_action.rb +12 -0
- data/lib/onlinepayments/sdk/domain/mandate_personal_information.rb +12 -0
- data/lib/onlinepayments/sdk/domain/mandate_personal_information_response.rb +12 -0
- data/lib/onlinepayments/sdk/domain/mandate_personal_name.rb +12 -0
- data/lib/onlinepayments/sdk/domain/mandate_personal_name_response.rb +12 -0
- data/lib/onlinepayments/sdk/domain/mandate_redirect_data.rb +12 -0
- data/lib/onlinepayments/sdk/domain/mandate_response.rb +42 -0
- data/lib/onlinepayments/sdk/domain/market_place.rb +12 -0
- data/lib/onlinepayments/sdk/domain/mastercard.rb +18 -0
- data/lib/onlinepayments/sdk/domain/merchant_action.rb +30 -0
- data/lib/onlinepayments/sdk/domain/mobile_payment_data.rb +12 -0
- data/lib/onlinepayments/sdk/domain/mobile_payment_method_hosted_checkout_specific_input.rb +24 -0
- data/lib/onlinepayments/sdk/domain/mobile_payment_method_specific_input.rb +60 -0
- data/lib/onlinepayments/sdk/domain/mobile_payment_method_specific_output.rb +36 -0
- data/lib/onlinepayments/sdk/domain/mobile_payment_product302_specific_input.rb +24 -0
- data/lib/onlinepayments/sdk/domain/mobile_payment_product320_specific_input.rb +24 -0
- data/lib/onlinepayments/sdk/domain/mobile_three_d_secure_challenge_parameters.rb +24 -0
- data/lib/onlinepayments/sdk/domain/multiple_payment_information.rb +12 -0
- data/lib/onlinepayments/sdk/domain/network_token_data.rb +36 -0
- data/lib/onlinepayments/sdk/domain/network_token_essentials.rb +36 -0
- data/lib/onlinepayments/sdk/domain/network_token_linked.rb +18 -0
- data/lib/onlinepayments/sdk/domain/omnichannel_payment_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/omnichannel_payout_specific_input.rb +12 -0
- data/lib/onlinepayments/sdk/domain/omnichannel_refund_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/omnichannel_subsequent_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/operation_output.rb +57 -0
- data/lib/onlinepayments/sdk/domain/operation_payment_references.rb +36 -0
- data/lib/onlinepayments/sdk/domain/order.rb +60 -0
- data/lib/onlinepayments/sdk/domain/order_line_details.rb +60 -0
- data/lib/onlinepayments/sdk/domain/order_references.rb +48 -0
- data/lib/onlinepayments/sdk/domain/order_status_output.rb +30 -0
- data/lib/onlinepayments/sdk/domain/order_type_information.rb +12 -0
- data/lib/onlinepayments/sdk/domain/other_details.rb +12 -0
- data/lib/onlinepayments/sdk/domain/pagination.rb +49 -0
- data/lib/onlinepayments/sdk/domain/payment_account_on_file.rb +12 -0
- data/lib/onlinepayments/sdk/domain/payment_context.rb +18 -0
- data/lib/onlinepayments/sdk/domain/payment_creation_output.rb +24 -0
- data/lib/onlinepayments/sdk/domain/payment_details_response.rb +36 -0
- data/lib/onlinepayments/sdk/domain/payment_error_response.rb +18 -0
- data/lib/onlinepayments/sdk/domain/payment_link_event.rb +18 -0
- data/lib/onlinepayments/sdk/domain/payment_link_order_input.rb +18 -0
- data/lib/onlinepayments/sdk/domain/payment_link_order_output.rb +18 -0
- data/lib/onlinepayments/sdk/domain/payment_link_overview_entry.rb +157 -0
- data/lib/onlinepayments/sdk/domain/payment_link_overview_filtering.rb +57 -0
- data/lib/onlinepayments/sdk/domain/payment_link_overview_response.rb +69 -0
- data/lib/onlinepayments/sdk/domain/payment_link_overview_sorting.rb +49 -0
- data/lib/onlinepayments/sdk/domain/payment_link_response.rb +60 -0
- data/lib/onlinepayments/sdk/domain/payment_link_specific_input.rb +18 -0
- data/lib/onlinepayments/sdk/domain/payment_output.rb +97 -0
- data/lib/onlinepayments/sdk/domain/payment_output_summary.rb +24 -0
- data/lib/onlinepayments/sdk/domain/payment_product.rb +84 -0
- data/lib/onlinepayments/sdk/domain/payment_product11.rb +30 -0
- data/lib/onlinepayments/sdk/domain/payment_product130_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/payment_product130_specific_three_d_secure.rb +24 -0
- data/lib/onlinepayments/sdk/domain/payment_product3012.rb +12 -0
- data/lib/onlinepayments/sdk/domain/payment_product3012_specific_input.rb +24 -0
- data/lib/onlinepayments/sdk/domain/payment_product3013_specific_input.rb +18 -0
- data/lib/onlinepayments/sdk/domain/payment_product302_specific_data.rb +6 -0
- data/lib/onlinepayments/sdk/domain/payment_product3203_specific_output.rb +12 -0
- data/lib/onlinepayments/sdk/domain/payment_product3204_specific_output.rb +6 -0
- data/lib/onlinepayments/sdk/domain/payment_product3208_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/payment_product3208_specific_output.rb +6 -0
- data/lib/onlinepayments/sdk/domain/payment_product3209_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/payment_product3209_specific_output.rb +6 -0
- data/lib/onlinepayments/sdk/domain/payment_product320_specific_data.rb +12 -0
- data/lib/onlinepayments/sdk/domain/payment_product350.rb +12 -0
- data/lib/onlinepayments/sdk/domain/payment_product5001.rb +12 -0
- data/lib/onlinepayments/sdk/domain/payment_product5001_specific_output.rb +30 -0
- data/lib/onlinepayments/sdk/domain/payment_product5002_specific_data.rb +6 -0
- data/lib/onlinepayments/sdk/domain/payment_product5002_specific_input.rb +12 -0
- data/lib/onlinepayments/sdk/domain/payment_product5002default_brand_parameters.rb +12 -0
- data/lib/onlinepayments/sdk/domain/payment_product5100_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/payment_product5402_specific_output.rb +6 -0
- data/lib/onlinepayments/sdk/domain/payment_product5404.rb +12 -0
- data/lib/onlinepayments/sdk/domain/payment_product5407.rb +12 -0
- data/lib/onlinepayments/sdk/domain/payment_product5412.rb +18 -0
- data/lib/onlinepayments/sdk/domain/payment_product5500_specific_output.rb +24 -0
- data/lib/onlinepayments/sdk/domain/payment_product5704_auto_capture.rb +6 -0
- data/lib/onlinepayments/sdk/domain/payment_product771_specific_output.rb +6 -0
- data/lib/onlinepayments/sdk/domain/payment_product840.rb +6 -0
- data/lib/onlinepayments/sdk/domain/payment_product840_customer_account.rb +48 -0
- data/lib/onlinepayments/sdk/domain/payment_product840_specific_output.rb +42 -0
- data/lib/onlinepayments/sdk/domain/payment_product_display_hints.rb +18 -0
- data/lib/onlinepayments/sdk/domain/payment_product_field.rb +24 -0
- data/lib/onlinepayments/sdk/domain/payment_product_field_data_restrictions.rb +12 -0
- data/lib/onlinepayments/sdk/domain/payment_product_field_display_element.rb +24 -0
- data/lib/onlinepayments/sdk/domain/payment_product_field_display_hints.rb +60 -0
- data/lib/onlinepayments/sdk/domain/payment_product_field_form_element.rb +12 -0
- data/lib/onlinepayments/sdk/domain/payment_product_field_tooltip.rb +12 -0
- data/lib/onlinepayments/sdk/domain/payment_product_field_validators.rb +54 -0
- data/lib/onlinepayments/sdk/domain/payment_product_filter.rb +12 -0
- data/lib/onlinepayments/sdk/domain/payment_product_filter_hosted_tokenization.rb +6 -0
- data/lib/onlinepayments/sdk/domain/payment_product_filters_hosted_checkout.rb +12 -0
- data/lib/onlinepayments/sdk/domain/payment_product_filters_hosted_fields.rb +57 -0
- data/lib/onlinepayments/sdk/domain/payment_product_filters_hosted_tokenization.rb +12 -0
- data/lib/onlinepayments/sdk/domain/payment_product_group.rb +24 -0
- data/lib/onlinepayments/sdk/domain/payment_product_networks_response.rb +6 -0
- data/lib/onlinepayments/sdk/domain/payment_product_session302_specific_input.rb +12 -0
- data/lib/onlinepayments/sdk/domain/payment_product_session302_specific_output.rb +6 -0
- data/lib/onlinepayments/sdk/domain/payment_product_session_request.rb +6 -0
- data/lib/onlinepayments/sdk/domain/payment_product_session_response.rb +6 -0
- data/lib/onlinepayments/sdk/domain/payment_references.rb +42 -0
- data/lib/onlinepayments/sdk/domain/payment_response.rb +42 -0
- data/lib/onlinepayments/sdk/domain/payment_status_output.rb +42 -0
- data/lib/onlinepayments/sdk/domain/payment_status_output_summary.rb +24 -0
- data/lib/onlinepayments/sdk/domain/payment_summary.rb +24 -0
- data/lib/onlinepayments/sdk/domain/payments_report_response.rb +12 -0
- data/lib/onlinepayments/sdk/domain/payout_card_payment_method_specific_output.rb +24 -0
- data/lib/onlinepayments/sdk/domain/payout_error_response.rb +18 -0
- data/lib/onlinepayments/sdk/domain/payout_output.rb +43 -0
- data/lib/onlinepayments/sdk/domain/payout_response.rb +24 -0
- data/lib/onlinepayments/sdk/domain/payout_result.rb +24 -0
- data/lib/onlinepayments/sdk/domain/payout_status_output.rb +18 -0
- data/lib/onlinepayments/sdk/domain/pending_authentication.rb +6 -0
- data/lib/onlinepayments/sdk/domain/personal_information.rb +18 -0
- data/lib/onlinepayments/sdk/domain/personal_information_token.rb +6 -0
- data/lib/onlinepayments/sdk/domain/personal_name.rb +18 -0
- data/lib/onlinepayments/sdk/domain/personal_name_token.rb +12 -0
- data/lib/onlinepayments/sdk/domain/problem_details_response.rb +30 -0
- data/lib/onlinepayments/sdk/domain/product302_recurring.rb +6 -0
- data/lib/onlinepayments/sdk/domain/product320_recurring.rb +6 -0
- data/lib/onlinepayments/sdk/domain/product_directory.rb +6 -0
- data/lib/onlinepayments/sdk/domain/protection_eligibility.rb +12 -0
- data/lib/onlinepayments/sdk/domain/range_validator.rb +12 -0
- data/lib/onlinepayments/sdk/domain/rate_details.rb +30 -0
- data/lib/onlinepayments/sdk/domain/reattempt_instructions.rb +18 -0
- data/lib/onlinepayments/sdk/domain/reattempt_instructions_conditions.rb +12 -0
- data/lib/onlinepayments/sdk/domain/redirect_data.rb +12 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_method_specific_input.rb +174 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_method_specific_output.rb +72 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product11_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product3103_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product3112_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product3116_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product3203_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product3204_specific_input.rb +12 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product3302_specific_input.rb +18 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product3306_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5001_specific_input.rb +12 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5300_specific_input.rb +54 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5301_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5402_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5403_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5406_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5407_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5408_specific_input.rb +12 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5410_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5412_specific_input.rb +12 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product5601_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product809_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product840_specific_input.rb +24 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product900_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/redirection_data.rb +6 -0
- data/lib/onlinepayments/sdk/domain/refund_card_method_specific_output.rb +61 -0
- data/lib/onlinepayments/sdk/domain/refund_e_wallet_method_specific_output.rb +18 -0
- data/lib/onlinepayments/sdk/domain/refund_error_response.rb +18 -0
- data/lib/onlinepayments/sdk/domain/refund_mobile_method_specific_output.rb +18 -0
- data/lib/onlinepayments/sdk/domain/refund_output.rb +88 -0
- data/lib/onlinepayments/sdk/domain/refund_payment_batch_request.rb +12 -0
- data/lib/onlinepayments/sdk/domain/refund_payment_product840_customer_account.rb +18 -0
- data/lib/onlinepayments/sdk/domain/refund_payment_product840_specific_output.rb +6 -0
- data/lib/onlinepayments/sdk/domain/refund_redirect_method_specific_output.rb +12 -0
- data/lib/onlinepayments/sdk/domain/refund_redirect_payment_method_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/refund_redirect_payment_product900_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/refund_request.rb +54 -0
- data/lib/onlinepayments/sdk/domain/refund_response.rb +24 -0
- data/lib/onlinepayments/sdk/domain/refunds_response.rb +6 -0
- data/lib/onlinepayments/sdk/domain/regular_expression_validator.rb +6 -0
- data/lib/onlinepayments/sdk/domain/revoke_mandate_request.rb +6 -0
- data/lib/onlinepayments/sdk/domain/send_test_request.rb +6 -0
- data/lib/onlinepayments/sdk/domain/sepa_direct_debit_payment_method_specific_input.rb +12 -0
- data/lib/onlinepayments/sdk/domain/sepa_direct_debit_payment_method_specific_input_base.rb +12 -0
- data/lib/onlinepayments/sdk/domain/sepa_direct_debit_payment_method_specific_output.rb +18 -0
- data/lib/onlinepayments/sdk/domain/sepa_direct_debit_payment_product771_specific_input.rb +12 -0
- data/lib/onlinepayments/sdk/domain/sepa_direct_debit_payment_product771_specific_input_base.rb +12 -0
- data/lib/onlinepayments/sdk/domain/session_data.rb +30 -0
- data/lib/onlinepayments/sdk/domain/session_details.rb +12 -0
- data/lib/onlinepayments/sdk/domain/session_request.rb +6 -0
- data/lib/onlinepayments/sdk/domain/session_response.rb +30 -0
- data/lib/onlinepayments/sdk/domain/share_payment_link_request.rb +62 -0
- data/lib/onlinepayments/sdk/domain/shipping.rb +54 -0
- data/lib/onlinepayments/sdk/domain/shipping_detail.rb +12 -0
- data/lib/onlinepayments/sdk/domain/shipping_method.rb +24 -0
- data/lib/onlinepayments/sdk/domain/shopping_cart.rb +36 -0
- data/lib/onlinepayments/sdk/domain/show_form_data.rb +54 -0
- data/lib/onlinepayments/sdk/domain/show_instructions_data.rb +6 -0
- data/lib/onlinepayments/sdk/domain/split_payment_product_filter.rb +6 -0
- data/lib/onlinepayments/sdk/domain/split_payment_product_filters_hosted_checkout.rb +12 -0
- data/lib/onlinepayments/sdk/domain/sub_merchant.rb +36 -0
- data/lib/onlinepayments/sdk/domain/submit_batch_request_body.rb +48 -0
- data/lib/onlinepayments/sdk/domain/submit_batch_response.rb +12 -0
- data/lib/onlinepayments/sdk/domain/subsequent_card_payment_method_specific_input.rb +48 -0
- data/lib/onlinepayments/sdk/domain/subsequent_payment_batch_request.rb +12 -0
- data/lib/onlinepayments/sdk/domain/subsequent_payment_product5001_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/subsequent_payment_request.rb +24 -0
- data/lib/onlinepayments/sdk/domain/subsequent_payment_response.rb +6 -0
- data/lib/onlinepayments/sdk/domain/surcharge.rb +36 -0
- data/lib/onlinepayments/sdk/domain/surcharge_calculation_card.rb +12 -0
- data/lib/onlinepayments/sdk/domain/surcharge_for_payment_link.rb +6 -0
- data/lib/onlinepayments/sdk/domain/surcharge_rate.rb +24 -0
- data/lib/onlinepayments/sdk/domain/surcharge_specific_input.rb +12 -0
- data/lib/onlinepayments/sdk/domain/surcharge_specific_output.rb +18 -0
- data/lib/onlinepayments/sdk/domain/test_connection.rb +6 -0
- data/lib/onlinepayments/sdk/domain/three_d_secure.rb +72 -0
- data/lib/onlinepayments/sdk/domain/three_d_secure_base.rb +54 -0
- data/lib/onlinepayments/sdk/domain/three_d_secure_data.rb +18 -0
- data/lib/onlinepayments/sdk/domain/three_d_secure_results.rb +78 -0
- data/lib/onlinepayments/sdk/domain/three_ds_input_data.rb +18 -0
- data/lib/onlinepayments/sdk/domain/token_card.rb +12 -0
- data/lib/onlinepayments/sdk/domain/token_card_data.rb +18 -0
- data/lib/onlinepayments/sdk/domain/token_card_specific_input.rb +6 -0
- data/lib/onlinepayments/sdk/domain/token_data.rb +12 -0
- data/lib/onlinepayments/sdk/domain/token_e_wallet.rb +12 -0
- data/lib/onlinepayments/sdk/domain/token_info.rb +24 -0
- data/lib/onlinepayments/sdk/domain/token_response.rb +48 -0
- data/lib/onlinepayments/sdk/domain/transaction.rb +6 -0
- data/lib/onlinepayments/sdk/domain/update_authorization_additional_data_request.rb +6 -0
- data/lib/onlinepayments/sdk/domain/validate_credentials_request.rb +12 -0
- data/lib/onlinepayments/sdk/domain/validate_credentials_response.rb +6 -0
- data/lib/onlinepayments/sdk/domain/value_mapping_element.rb +12 -0
- data/lib/onlinepayments/sdk/domain/visa.rb +30 -0
- data/lib/onlinepayments/sdk/domain/visa_authentication_options.rb +18 -0
- data/lib/onlinepayments/sdk/merchant/merchant_client.rb +7 -7
- data/lib/onlinepayments/sdk/merchant/merchantbatch/get_payments_report_params.rb +12 -0
- data/lib/onlinepayments/sdk/merchant/paymentlinks/payment_links_client.rb +70 -0
- data/lib/onlinepayments/sdk/merchant/privacypolicy/get_privacy_policy_params.rb +12 -0
- data/lib/onlinepayments/sdk/merchant/productgroups/get_product_group_params.rb +36 -0
- data/lib/onlinepayments/sdk/merchant/productgroups/get_product_groups_params.rb +36 -0
- data/lib/onlinepayments/sdk/merchant/products/get_payment_product_networks_params.rb +24 -0
- data/lib/onlinepayments/sdk/merchant/products/get_payment_product_params.rb +42 -0
- data/lib/onlinepayments/sdk/merchant/products/get_payment_products_params.rb +42 -0
- data/lib/onlinepayments/sdk/merchant/products/get_product_directory_params.rb +12 -0
- data/lib/onlinepayments/sdk/merchant/tokenization/get_card_data_by_payments_params.rb +6 -0
- data/lib/onlinepayments/sdk/merchant/tokenization/get_card_data_by_tokens_params.rb +6 -0
- data/onlinepayments-sdk-ruby.gemspec +1 -1
- metadata +9 -1
|
@@ -11,6 +11,12 @@ module OnlinePayments
|
|
|
11
11
|
|
|
12
12
|
attr_accessor :is_click_to_pay_payment
|
|
13
13
|
|
|
14
|
+
# Sets the property and returns this same instance.
|
|
15
|
+
def with_is_click_to_pay_payment(value)
|
|
16
|
+
@is_click_to_pay_payment = value
|
|
17
|
+
self
|
|
18
|
+
end
|
|
19
|
+
|
|
14
20
|
# @return (Hash)
|
|
15
21
|
def to_h
|
|
16
22
|
hash = super
|
|
@@ -16,6 +16,18 @@ module OnlinePayments
|
|
|
16
16
|
|
|
17
17
|
attr_accessor :order
|
|
18
18
|
|
|
19
|
+
# Sets the property and returns this same instance.
|
|
20
|
+
def with_card_payment_method_specific_input(value)
|
|
21
|
+
@card_payment_method_specific_input = value
|
|
22
|
+
self
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
# Sets the property and returns this same instance.
|
|
26
|
+
def with_order(value)
|
|
27
|
+
@order = value
|
|
28
|
+
self
|
|
29
|
+
end
|
|
30
|
+
|
|
19
31
|
# @return (Hash)
|
|
20
32
|
def to_h
|
|
21
33
|
hash = super
|
|
@@ -20,6 +20,24 @@ module OnlinePayments
|
|
|
20
20
|
|
|
21
21
|
attr_accessor :payment
|
|
22
22
|
|
|
23
|
+
# Sets the property and returns this same instance.
|
|
24
|
+
def with_creation_output(value)
|
|
25
|
+
@creation_output = value
|
|
26
|
+
self
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# Sets the property and returns this same instance.
|
|
30
|
+
def with_merchant_action(value)
|
|
31
|
+
@merchant_action = value
|
|
32
|
+
self
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Sets the property and returns this same instance.
|
|
36
|
+
def with_payment(value)
|
|
37
|
+
@payment = value
|
|
38
|
+
self
|
|
39
|
+
end
|
|
40
|
+
|
|
23
41
|
# @return (Hash)
|
|
24
42
|
def to_h
|
|
25
43
|
hash = super
|
|
@@ -23,6 +23,36 @@ module OnlinePayments
|
|
|
23
23
|
|
|
24
24
|
attr_accessor :work_phone_number
|
|
25
25
|
|
|
26
|
+
# Sets the property and returns this same instance.
|
|
27
|
+
def with_email_address(value)
|
|
28
|
+
@email_address = value
|
|
29
|
+
self
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Sets the property and returns this same instance.
|
|
33
|
+
def with_fax_number(value)
|
|
34
|
+
@fax_number = value
|
|
35
|
+
self
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Sets the property and returns this same instance.
|
|
39
|
+
def with_mobile_phone_number(value)
|
|
40
|
+
@mobile_phone_number = value
|
|
41
|
+
self
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Sets the property and returns this same instance.
|
|
45
|
+
def with_phone_number(value)
|
|
46
|
+
@phone_number = value
|
|
47
|
+
self
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Sets the property and returns this same instance.
|
|
51
|
+
def with_work_phone_number(value)
|
|
52
|
+
@work_phone_number = value
|
|
53
|
+
self
|
|
54
|
+
end
|
|
55
|
+
|
|
26
56
|
# @return (Hash)
|
|
27
57
|
def to_h
|
|
28
58
|
hash = super
|
|
@@ -14,6 +14,18 @@ module OnlinePayments
|
|
|
14
14
|
|
|
15
15
|
attr_accessor :signed_certificate
|
|
16
16
|
|
|
17
|
+
# Sets the property and returns this same instance.
|
|
18
|
+
def with_certificate_id(value)
|
|
19
|
+
@certificate_id = value
|
|
20
|
+
self
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# Sets the property and returns this same instance.
|
|
24
|
+
def with_signed_certificate(value)
|
|
25
|
+
@signed_certificate = value
|
|
26
|
+
self
|
|
27
|
+
end
|
|
28
|
+
|
|
17
29
|
# @return (Hash)
|
|
18
30
|
def to_h
|
|
19
31
|
hash = super
|
|
@@ -40,6 +40,54 @@ module OnlinePayments
|
|
|
40
40
|
|
|
41
41
|
attr_accessor :sepa_direct_debit_payment_method_specific_input
|
|
42
42
|
|
|
43
|
+
# Sets the property and returns this same instance.
|
|
44
|
+
def with_card_payment_method_specific_input(value)
|
|
45
|
+
@card_payment_method_specific_input = value
|
|
46
|
+
self
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Sets the property and returns this same instance.
|
|
50
|
+
def with_feedbacks(value)
|
|
51
|
+
@feedbacks = value
|
|
52
|
+
self
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Sets the property and returns this same instance.
|
|
56
|
+
def with_fraud_fields(value)
|
|
57
|
+
@fraud_fields = value
|
|
58
|
+
self
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# Sets the property and returns this same instance.
|
|
62
|
+
def with_hosted_checkout_specific_input(value)
|
|
63
|
+
@hosted_checkout_specific_input = value
|
|
64
|
+
self
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# Sets the property and returns this same instance.
|
|
68
|
+
def with_mobile_payment_method_specific_input(value)
|
|
69
|
+
@mobile_payment_method_specific_input = value
|
|
70
|
+
self
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# Sets the property and returns this same instance.
|
|
74
|
+
def with_order(value)
|
|
75
|
+
@order = value
|
|
76
|
+
self
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# Sets the property and returns this same instance.
|
|
80
|
+
def with_redirect_payment_method_specific_input(value)
|
|
81
|
+
@redirect_payment_method_specific_input = value
|
|
82
|
+
self
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Sets the property and returns this same instance.
|
|
86
|
+
def with_sepa_direct_debit_payment_method_specific_input(value)
|
|
87
|
+
@sepa_direct_debit_payment_method_specific_input = value
|
|
88
|
+
self
|
|
89
|
+
end
|
|
90
|
+
|
|
43
91
|
# @return (Hash)
|
|
44
92
|
def to_h
|
|
45
93
|
hash = super
|
|
@@ -26,6 +26,42 @@ module OnlinePayments
|
|
|
26
26
|
|
|
27
27
|
attr_accessor :redirect_url
|
|
28
28
|
|
|
29
|
+
# Sets the property and returns this same instance.
|
|
30
|
+
def with_returnmac(value)
|
|
31
|
+
@returnmac = value
|
|
32
|
+
self
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Sets the property and returns this same instance.
|
|
36
|
+
def with_hosted_checkout_id(value)
|
|
37
|
+
@hosted_checkout_id = value
|
|
38
|
+
self
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Sets the property and returns this same instance.
|
|
42
|
+
def with_invalid_tokens(value)
|
|
43
|
+
@invalid_tokens = value
|
|
44
|
+
self
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Sets the property and returns this same instance.
|
|
48
|
+
def with_merchant_reference(value)
|
|
49
|
+
@merchant_reference = value
|
|
50
|
+
self
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Sets the property and returns this same instance.
|
|
54
|
+
def with_partial_redirect_url(value)
|
|
55
|
+
@partial_redirect_url = value
|
|
56
|
+
self
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Sets the property and returns this same instance.
|
|
60
|
+
def with_redirect_url(value)
|
|
61
|
+
@redirect_url = value
|
|
62
|
+
self
|
|
63
|
+
end
|
|
64
|
+
|
|
29
65
|
# @return (Hash)
|
|
30
66
|
def to_h
|
|
31
67
|
hash = super
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
# This file was automatically generated.
|
|
3
3
|
#
|
|
4
4
|
require 'onlinepayments/sdk/domain/data_object'
|
|
5
|
+
require 'onlinepayments/sdk/domain/payment_product_filters_hosted_fields'
|
|
5
6
|
|
|
6
7
|
module OnlinePayments
|
|
7
8
|
module SDK
|
|
8
9
|
module Domain
|
|
9
10
|
# @attr [String, nil] locale
|
|
10
11
|
# @attr [String, nil] origin
|
|
12
|
+
# @attr [OnlinePayments::SDK::Domain::PaymentProductFiltersHostedFields, nil] payment_product_filters
|
|
11
13
|
# @attr [Array<String>, nil] tokens
|
|
12
14
|
class CreateHostedFieldsSessionRequest < OnlinePayments::SDK::Domain::DataObject
|
|
13
15
|
|
|
@@ -15,13 +17,40 @@ module OnlinePayments
|
|
|
15
17
|
|
|
16
18
|
attr_accessor :origin
|
|
17
19
|
|
|
20
|
+
attr_accessor :payment_product_filters
|
|
21
|
+
|
|
18
22
|
attr_accessor :tokens
|
|
19
23
|
|
|
24
|
+
# Sets the property and returns this same instance.
|
|
25
|
+
def with_locale(value)
|
|
26
|
+
@locale = value
|
|
27
|
+
self
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Sets the property and returns this same instance.
|
|
31
|
+
def with_origin(value)
|
|
32
|
+
@origin = value
|
|
33
|
+
self
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Sets the property and returns this same instance.
|
|
37
|
+
def with_payment_product_filters(value)
|
|
38
|
+
@payment_product_filters = value
|
|
39
|
+
self
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Sets the property and returns this same instance.
|
|
43
|
+
def with_tokens(value)
|
|
44
|
+
@tokens = value
|
|
45
|
+
self
|
|
46
|
+
end
|
|
47
|
+
|
|
20
48
|
# @return (Hash)
|
|
21
49
|
def to_h
|
|
22
50
|
hash = super
|
|
23
51
|
hash['locale'] = @locale unless @locale.nil?
|
|
24
52
|
hash['origin'] = @origin unless @origin.nil?
|
|
53
|
+
hash['paymentProductFilters'] = @payment_product_filters.to_h unless @payment_product_filters.nil?
|
|
25
54
|
hash['tokens'] = @tokens unless @tokens.nil?
|
|
26
55
|
hash
|
|
27
56
|
end
|
|
@@ -34,6 +63,10 @@ module OnlinePayments
|
|
|
34
63
|
if hash.has_key? 'origin'
|
|
35
64
|
@origin = hash['origin']
|
|
36
65
|
end
|
|
66
|
+
if hash.has_key? 'paymentProductFilters'
|
|
67
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProductFilters']] unless hash['paymentProductFilters'].is_a? Hash
|
|
68
|
+
@payment_product_filters = OnlinePayments::SDK::Domain::PaymentProductFiltersHostedFields.new_from_hash(hash['paymentProductFilters'])
|
|
69
|
+
end
|
|
37
70
|
if hash.has_key? 'tokens'
|
|
38
71
|
raise TypeError, "value '%s' is not an Array" % [hash['tokens']] unless hash['tokens'].is_a? Array
|
|
39
72
|
@tokens = []
|
|
@@ -28,6 +28,42 @@ module OnlinePayments
|
|
|
28
28
|
|
|
29
29
|
attr_accessor :session_data
|
|
30
30
|
|
|
31
|
+
# Sets the property and returns this same instance.
|
|
32
|
+
def with_card_tokens(value)
|
|
33
|
+
@card_tokens = value
|
|
34
|
+
self
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Sets the property and returns this same instance.
|
|
38
|
+
def with_hosted_fields_session_id(value)
|
|
39
|
+
@hosted_fields_session_id = value
|
|
40
|
+
self
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Sets the property and returns this same instance.
|
|
44
|
+
def with_invalid_tokens(value)
|
|
45
|
+
@invalid_tokens = value
|
|
46
|
+
self
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Sets the property and returns this same instance.
|
|
50
|
+
def with_sdk_sri(value)
|
|
51
|
+
@sdk_sri = value
|
|
52
|
+
self
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Sets the property and returns this same instance.
|
|
56
|
+
def with_sdk_url(value)
|
|
57
|
+
@sdk_url = value
|
|
58
|
+
self
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# Sets the property and returns this same instance.
|
|
62
|
+
def with_session_data(value)
|
|
63
|
+
@session_data = value
|
|
64
|
+
self
|
|
65
|
+
end
|
|
66
|
+
|
|
31
67
|
# @return (Hash)
|
|
32
68
|
def to_h
|
|
33
69
|
hash = super
|
|
@@ -28,6 +28,42 @@ module OnlinePayments
|
|
|
28
28
|
|
|
29
29
|
attr_accessor :variant
|
|
30
30
|
|
|
31
|
+
# Sets the property and returns this same instance.
|
|
32
|
+
def with_ask_consumer_consent(value)
|
|
33
|
+
@ask_consumer_consent = value
|
|
34
|
+
self
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Sets the property and returns this same instance.
|
|
38
|
+
def with_credit_card_specific_input(value)
|
|
39
|
+
@credit_card_specific_input = value
|
|
40
|
+
self
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Sets the property and returns this same instance.
|
|
44
|
+
def with_locale(value)
|
|
45
|
+
@locale = value
|
|
46
|
+
self
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Sets the property and returns this same instance.
|
|
50
|
+
def with_payment_product_filters(value)
|
|
51
|
+
@payment_product_filters = value
|
|
52
|
+
self
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Sets the property and returns this same instance.
|
|
56
|
+
def with_tokens(value)
|
|
57
|
+
@tokens = value
|
|
58
|
+
self
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# Sets the property and returns this same instance.
|
|
62
|
+
def with_variant(value)
|
|
63
|
+
@variant = value
|
|
64
|
+
self
|
|
65
|
+
end
|
|
66
|
+
|
|
31
67
|
# @return (Hash)
|
|
32
68
|
def to_h
|
|
33
69
|
hash = super
|
|
@@ -27,6 +27,42 @@ module OnlinePayments
|
|
|
27
27
|
|
|
28
28
|
attr_accessor :sri
|
|
29
29
|
|
|
30
|
+
# Sets the property and returns this same instance.
|
|
31
|
+
def with_expired_card_tokens(value)
|
|
32
|
+
@expired_card_tokens = value
|
|
33
|
+
self
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Sets the property and returns this same instance.
|
|
37
|
+
def with_hosted_tokenization_id(value)
|
|
38
|
+
@hosted_tokenization_id = value
|
|
39
|
+
self
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Sets the property and returns this same instance.
|
|
43
|
+
def with_hosted_tokenization_url(value)
|
|
44
|
+
@hosted_tokenization_url = value
|
|
45
|
+
self
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# Sets the property and returns this same instance.
|
|
49
|
+
def with_invalid_tokens(value)
|
|
50
|
+
@invalid_tokens = value
|
|
51
|
+
self
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# Sets the property and returns this same instance.
|
|
55
|
+
def with_partial_redirect_url(value)
|
|
56
|
+
@partial_redirect_url = value
|
|
57
|
+
self
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# Sets the property and returns this same instance.
|
|
61
|
+
def with_sri(value)
|
|
62
|
+
@sri = value
|
|
63
|
+
self
|
|
64
|
+
end
|
|
65
|
+
|
|
30
66
|
# @return (Hash)
|
|
31
67
|
def to_h
|
|
32
68
|
hash = super
|
|
@@ -33,6 +33,54 @@ module OnlinePayments
|
|
|
33
33
|
|
|
34
34
|
attr_accessor :unique_mandate_reference
|
|
35
35
|
|
|
36
|
+
# Sets the property and returns this same instance.
|
|
37
|
+
def with_alias(value)
|
|
38
|
+
@alias = value
|
|
39
|
+
self
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Sets the property and returns this same instance.
|
|
43
|
+
def with_customer(value)
|
|
44
|
+
@customer = value
|
|
45
|
+
self
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# Sets the property and returns this same instance.
|
|
49
|
+
def with_customer_reference(value)
|
|
50
|
+
@customer_reference = value
|
|
51
|
+
self
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# Sets the property and returns this same instance.
|
|
55
|
+
def with_language(value)
|
|
56
|
+
@language = value
|
|
57
|
+
self
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# Sets the property and returns this same instance.
|
|
61
|
+
def with_recurrence_type(value)
|
|
62
|
+
@recurrence_type = value
|
|
63
|
+
self
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# Sets the property and returns this same instance.
|
|
67
|
+
def with_return_url(value)
|
|
68
|
+
@return_url = value
|
|
69
|
+
self
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# Sets the property and returns this same instance.
|
|
73
|
+
def with_signature_type(value)
|
|
74
|
+
@signature_type = value
|
|
75
|
+
self
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# Sets the property and returns this same instance.
|
|
79
|
+
def with_unique_mandate_reference(value)
|
|
80
|
+
@unique_mandate_reference = value
|
|
81
|
+
self
|
|
82
|
+
end
|
|
83
|
+
|
|
36
84
|
# @return (Hash)
|
|
37
85
|
def to_h
|
|
38
86
|
hash = super
|
|
@@ -16,6 +16,18 @@ module OnlinePayments
|
|
|
16
16
|
|
|
17
17
|
attr_accessor :merchant_action
|
|
18
18
|
|
|
19
|
+
# Sets the property and returns this same instance.
|
|
20
|
+
def with_mandate(value)
|
|
21
|
+
@mandate = value
|
|
22
|
+
self
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
# Sets the property and returns this same instance.
|
|
26
|
+
def with_merchant_action(value)
|
|
27
|
+
@merchant_action = value
|
|
28
|
+
self
|
|
29
|
+
end
|
|
30
|
+
|
|
19
31
|
# @return (Hash)
|
|
20
32
|
def to_h
|
|
21
33
|
hash = super
|
|
@@ -33,6 +33,54 @@ module OnlinePayments
|
|
|
33
33
|
|
|
34
34
|
attr_accessor :unique_mandate_reference
|
|
35
35
|
|
|
36
|
+
# Sets the property and returns this same instance.
|
|
37
|
+
def with_alias(value)
|
|
38
|
+
@alias = value
|
|
39
|
+
self
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Sets the property and returns this same instance.
|
|
43
|
+
def with_customer(value)
|
|
44
|
+
@customer = value
|
|
45
|
+
self
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# Sets the property and returns this same instance.
|
|
49
|
+
def with_customer_reference(value)
|
|
50
|
+
@customer_reference = value
|
|
51
|
+
self
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# Sets the property and returns this same instance.
|
|
55
|
+
def with_language(value)
|
|
56
|
+
@language = value
|
|
57
|
+
self
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# Sets the property and returns this same instance.
|
|
61
|
+
def with_recurrence_type(value)
|
|
62
|
+
@recurrence_type = value
|
|
63
|
+
self
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# Sets the property and returns this same instance.
|
|
67
|
+
def with_return_url(value)
|
|
68
|
+
@return_url = value
|
|
69
|
+
self
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# Sets the property and returns this same instance.
|
|
73
|
+
def with_signature_type(value)
|
|
74
|
+
@signature_type = value
|
|
75
|
+
self
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# Sets the property and returns this same instance.
|
|
79
|
+
def with_unique_mandate_reference(value)
|
|
80
|
+
@unique_mandate_reference = value
|
|
81
|
+
self
|
|
82
|
+
end
|
|
83
|
+
|
|
36
84
|
# @return (Hash)
|
|
37
85
|
def to_h
|
|
38
86
|
hash = super
|
|
@@ -68,6 +68,96 @@ module OnlinePayments
|
|
|
68
68
|
|
|
69
69
|
attr_accessor :sepa_direct_debit_payment_method_specific_input
|
|
70
70
|
|
|
71
|
+
# Sets the property and returns this same instance.
|
|
72
|
+
def with_card_payment_method_specific_input(value)
|
|
73
|
+
@card_payment_method_specific_input = value
|
|
74
|
+
self
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Sets the property and returns this same instance.
|
|
78
|
+
def with_description(value)
|
|
79
|
+
@description = value
|
|
80
|
+
self
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Sets the property and returns this same instance.
|
|
84
|
+
def with_display_qr_code(value)
|
|
85
|
+
@display_qr_code = value
|
|
86
|
+
self
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# Sets the property and returns this same instance.
|
|
90
|
+
def with_expiration_date(value)
|
|
91
|
+
@expiration_date = value
|
|
92
|
+
self
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# Sets the property and returns this same instance.
|
|
96
|
+
def with_feedbacks(value)
|
|
97
|
+
@feedbacks = value
|
|
98
|
+
self
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Sets the property and returns this same instance.
|
|
102
|
+
def with_fraud_fields(value)
|
|
103
|
+
@fraud_fields = value
|
|
104
|
+
self
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# Sets the property and returns this same instance.
|
|
108
|
+
def with_hosted_checkout_specific_input(value)
|
|
109
|
+
@hosted_checkout_specific_input = value
|
|
110
|
+
self
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# Sets the property and returns this same instance.
|
|
114
|
+
def with_is_reusable_link(value)
|
|
115
|
+
@is_reusable_link = value
|
|
116
|
+
self
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# Sets the property and returns this same instance.
|
|
120
|
+
def with_mobile_payment_method_specific_input(value)
|
|
121
|
+
@mobile_payment_method_specific_input = value
|
|
122
|
+
self
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
# Sets the property and returns this same instance.
|
|
126
|
+
def with_order(value)
|
|
127
|
+
@order = value
|
|
128
|
+
self
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
# Sets the property and returns this same instance.
|
|
132
|
+
def with_payment_link_order(value)
|
|
133
|
+
@payment_link_order = value
|
|
134
|
+
self
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# Sets the property and returns this same instance.
|
|
138
|
+
def with_payment_link_specific_input(value)
|
|
139
|
+
@payment_link_specific_input = value
|
|
140
|
+
self
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# Sets the property and returns this same instance.
|
|
144
|
+
def with_recipient_name(value)
|
|
145
|
+
@recipient_name = value
|
|
146
|
+
self
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
# Sets the property and returns this same instance.
|
|
150
|
+
def with_redirect_payment_method_specific_input(value)
|
|
151
|
+
@redirect_payment_method_specific_input = value
|
|
152
|
+
self
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
# Sets the property and returns this same instance.
|
|
156
|
+
def with_sepa_direct_debit_payment_method_specific_input(value)
|
|
157
|
+
@sepa_direct_debit_payment_method_specific_input = value
|
|
158
|
+
self
|
|
159
|
+
end
|
|
160
|
+
|
|
71
161
|
# @return (Hash)
|
|
72
162
|
def to_h
|
|
73
163
|
hash = super
|