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
|
@@ -37,6 +37,60 @@ module OnlinePayments
|
|
|
37
37
|
|
|
38
38
|
attr_accessor :transaction_expiration_date_time
|
|
39
39
|
|
|
40
|
+
# Sets the property and returns this same instance.
|
|
41
|
+
def with_birth_city(value)
|
|
42
|
+
@birth_city = value
|
|
43
|
+
self
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# Sets the property and returns this same instance.
|
|
47
|
+
def with_birth_country(value)
|
|
48
|
+
@birth_country = value
|
|
49
|
+
self
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# Sets the property and returns this same instance.
|
|
53
|
+
def with_birth_zip_code(value)
|
|
54
|
+
@birth_zip_code = value
|
|
55
|
+
self
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Sets the property and returns this same instance.
|
|
59
|
+
def with_channel(value)
|
|
60
|
+
@channel = value
|
|
61
|
+
self
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# Sets the property and returns this same instance.
|
|
65
|
+
def with_loyalty_card_number(value)
|
|
66
|
+
@loyalty_card_number = value
|
|
67
|
+
self
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Sets the property and returns this same instance.
|
|
71
|
+
def with_second_installment_payment_date(value)
|
|
72
|
+
@second_installment_payment_date = value
|
|
73
|
+
self
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# Sets the property and returns this same instance.
|
|
77
|
+
def with_session_duration(value)
|
|
78
|
+
@session_duration = value
|
|
79
|
+
self
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# Sets the property and returns this same instance.
|
|
83
|
+
def with_title(value)
|
|
84
|
+
@title = value
|
|
85
|
+
self
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Sets the property and returns this same instance.
|
|
89
|
+
def with_transaction_expiration_date_time(value)
|
|
90
|
+
@transaction_expiration_date_time = value
|
|
91
|
+
self
|
|
92
|
+
end
|
|
93
|
+
|
|
40
94
|
# @return (Hash)
|
|
41
95
|
def to_h
|
|
42
96
|
hash = super
|
|
@@ -11,6 +11,12 @@ module OnlinePayments
|
|
|
11
11
|
|
|
12
12
|
attr_accessor :payment_method_type
|
|
13
13
|
|
|
14
|
+
# Sets the property and returns this same instance.
|
|
15
|
+
def with_payment_method_type(value)
|
|
16
|
+
@payment_method_type = value
|
|
17
|
+
self
|
|
18
|
+
end
|
|
19
|
+
|
|
14
20
|
# @return (Hash)
|
|
15
21
|
def to_h
|
|
16
22
|
hash = super
|
|
@@ -11,6 +11,12 @@ module OnlinePayments
|
|
|
11
11
|
|
|
12
12
|
attr_accessor :complete_remaining_payment_amount
|
|
13
13
|
|
|
14
|
+
# Sets the property and returns this same instance.
|
|
15
|
+
def with_complete_remaining_payment_amount(value)
|
|
16
|
+
@complete_remaining_payment_amount = value
|
|
17
|
+
self
|
|
18
|
+
end
|
|
19
|
+
|
|
14
20
|
# @return (Hash)
|
|
15
21
|
def to_h
|
|
16
22
|
hash = super
|
|
@@ -11,6 +11,12 @@ module OnlinePayments
|
|
|
11
11
|
|
|
12
12
|
attr_accessor :complete_remaining_payment_amount
|
|
13
13
|
|
|
14
|
+
# Sets the property and returns this same instance.
|
|
15
|
+
def with_complete_remaining_payment_amount(value)
|
|
16
|
+
@complete_remaining_payment_amount = value
|
|
17
|
+
self
|
|
18
|
+
end
|
|
19
|
+
|
|
14
20
|
# @return (Hash)
|
|
15
21
|
def to_h
|
|
16
22
|
hash = super
|
|
@@ -12,6 +12,12 @@ module OnlinePayments
|
|
|
12
12
|
|
|
13
13
|
attr_accessor :customer_bank_account
|
|
14
14
|
|
|
15
|
+
# Sets the property and returns this same instance.
|
|
16
|
+
def with_customer_bank_account(value)
|
|
17
|
+
@customer_bank_account = value
|
|
18
|
+
self
|
|
19
|
+
end
|
|
20
|
+
|
|
15
21
|
# @return (Hash)
|
|
16
22
|
def to_h
|
|
17
23
|
hash = super
|
|
@@ -12,6 +12,12 @@ module OnlinePayments
|
|
|
12
12
|
|
|
13
13
|
attr_accessor :payment_product5704_auto_capture
|
|
14
14
|
|
|
15
|
+
# Sets the property and returns this same instance.
|
|
16
|
+
def with_payment_product5704_auto_capture(value)
|
|
17
|
+
@payment_product5704_auto_capture = value
|
|
18
|
+
self
|
|
19
|
+
end
|
|
20
|
+
|
|
15
21
|
# @return (Hash)
|
|
16
22
|
def to_h
|
|
17
23
|
hash = super
|
|
@@ -15,6 +15,18 @@ module OnlinePayments
|
|
|
15
15
|
|
|
16
16
|
attr_accessor :instant_payment_only
|
|
17
17
|
|
|
18
|
+
# Sets the property and returns this same instance.
|
|
19
|
+
def with_customer_bank_account(value)
|
|
20
|
+
@customer_bank_account = value
|
|
21
|
+
self
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# Sets the property and returns this same instance.
|
|
25
|
+
def with_instant_payment_only(value)
|
|
26
|
+
@instant_payment_only = value
|
|
27
|
+
self
|
|
28
|
+
end
|
|
29
|
+
|
|
18
30
|
# @return (Hash)
|
|
19
31
|
def to_h
|
|
20
32
|
hash = super
|
|
@@ -13,6 +13,12 @@ module OnlinePayments
|
|
|
13
13
|
|
|
14
14
|
attr_accessor :second_installment_payment_date
|
|
15
15
|
|
|
16
|
+
# Sets the property and returns this same instance.
|
|
17
|
+
def with_second_installment_payment_date(value)
|
|
18
|
+
@second_installment_payment_date = value
|
|
19
|
+
self
|
|
20
|
+
end
|
|
21
|
+
|
|
16
22
|
# @return (Hash)
|
|
17
23
|
def to_h
|
|
18
24
|
hash = super
|
|
@@ -14,6 +14,18 @@ module OnlinePayments
|
|
|
14
14
|
|
|
15
15
|
attr_accessor :beneficiary_id
|
|
16
16
|
|
|
17
|
+
# Sets the property and returns this same instance.
|
|
18
|
+
def with_adjustable_amount(value)
|
|
19
|
+
@adjustable_amount = value
|
|
20
|
+
self
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# Sets the property and returns this same instance.
|
|
24
|
+
def with_beneficiary_id(value)
|
|
25
|
+
@beneficiary_id = value
|
|
26
|
+
self
|
|
27
|
+
end
|
|
28
|
+
|
|
17
29
|
# @return (Hash)
|
|
18
30
|
def to_h
|
|
19
31
|
hash = super
|
|
@@ -11,6 +11,12 @@ module OnlinePayments
|
|
|
11
11
|
|
|
12
12
|
attr_accessor :complete_remaining_payment_amount
|
|
13
13
|
|
|
14
|
+
# Sets the property and returns this same instance.
|
|
15
|
+
def with_complete_remaining_payment_amount(value)
|
|
16
|
+
@complete_remaining_payment_amount = value
|
|
17
|
+
self
|
|
18
|
+
end
|
|
19
|
+
|
|
14
20
|
# @return (Hash)
|
|
15
21
|
def to_h
|
|
16
22
|
hash = super
|
|
@@ -20,6 +20,30 @@ module OnlinePayments
|
|
|
20
20
|
|
|
21
21
|
attr_accessor :pay_later
|
|
22
22
|
|
|
23
|
+
# Sets the property and returns this same instance.
|
|
24
|
+
def with_java_script_sdk_flow(value)
|
|
25
|
+
@java_script_sdk_flow = value
|
|
26
|
+
self
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# Sets the property and returns this same instance.
|
|
30
|
+
def with_address_selection_at_pay_pal(value)
|
|
31
|
+
@address_selection_at_pay_pal = value
|
|
32
|
+
self
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Sets the property and returns this same instance.
|
|
36
|
+
def with_custom(value)
|
|
37
|
+
@custom = value
|
|
38
|
+
self
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Sets the property and returns this same instance.
|
|
42
|
+
def with_pay_later(value)
|
|
43
|
+
@pay_later = value
|
|
44
|
+
self
|
|
45
|
+
end
|
|
46
|
+
|
|
23
47
|
# @return (Hash)
|
|
24
48
|
def to_h
|
|
25
49
|
hash = super
|
|
@@ -1,27 +1,77 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file was automatically generated.
|
|
3
3
|
#
|
|
4
|
+
require 'onlinepayments/sdk/domain/acceptance'
|
|
4
5
|
require 'onlinepayments/sdk/domain/currency_conversion'
|
|
5
6
|
require 'onlinepayments/sdk/domain/data_object'
|
|
7
|
+
require 'onlinepayments/sdk/domain/reattempt_instructions'
|
|
6
8
|
|
|
7
9
|
module OnlinePayments
|
|
8
10
|
module SDK
|
|
9
11
|
module Domain
|
|
12
|
+
# @attr [OnlinePayments::SDK::Domain::Acceptance, nil] acceptance
|
|
13
|
+
# @attr [String, nil] authorisation_code
|
|
10
14
|
# @attr [OnlinePayments::SDK::Domain::CurrencyConversion, nil] currency_conversion
|
|
15
|
+
# @attr [OnlinePayments::SDK::Domain::ReattemptInstructions, nil] reattempt_instructions
|
|
11
16
|
# @attr [Integer, nil] total_amount_paid
|
|
12
17
|
# @attr [Integer, nil] total_amount_refunded
|
|
13
18
|
class RefundCardMethodSpecificOutput < OnlinePayments::SDK::Domain::DataObject
|
|
14
19
|
|
|
20
|
+
attr_accessor :acceptance
|
|
21
|
+
|
|
22
|
+
attr_accessor :authorisation_code
|
|
23
|
+
|
|
15
24
|
attr_accessor :currency_conversion
|
|
16
25
|
|
|
26
|
+
attr_accessor :reattempt_instructions
|
|
27
|
+
|
|
17
28
|
attr_accessor :total_amount_paid
|
|
18
29
|
|
|
19
30
|
attr_accessor :total_amount_refunded
|
|
20
31
|
|
|
32
|
+
# Sets the property and returns this same instance.
|
|
33
|
+
def with_acceptance(value)
|
|
34
|
+
@acceptance = value
|
|
35
|
+
self
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Sets the property and returns this same instance.
|
|
39
|
+
def with_authorisation_code(value)
|
|
40
|
+
@authorisation_code = value
|
|
41
|
+
self
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Sets the property and returns this same instance.
|
|
45
|
+
def with_currency_conversion(value)
|
|
46
|
+
@currency_conversion = value
|
|
47
|
+
self
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Sets the property and returns this same instance.
|
|
51
|
+
def with_reattempt_instructions(value)
|
|
52
|
+
@reattempt_instructions = value
|
|
53
|
+
self
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# Sets the property and returns this same instance.
|
|
57
|
+
def with_total_amount_paid(value)
|
|
58
|
+
@total_amount_paid = value
|
|
59
|
+
self
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Sets the property and returns this same instance.
|
|
63
|
+
def with_total_amount_refunded(value)
|
|
64
|
+
@total_amount_refunded = value
|
|
65
|
+
self
|
|
66
|
+
end
|
|
67
|
+
|
|
21
68
|
# @return (Hash)
|
|
22
69
|
def to_h
|
|
23
70
|
hash = super
|
|
71
|
+
hash['acceptance'] = @acceptance.to_h unless @acceptance.nil?
|
|
72
|
+
hash['authorisationCode'] = @authorisation_code unless @authorisation_code.nil?
|
|
24
73
|
hash['currencyConversion'] = @currency_conversion.to_h unless @currency_conversion.nil?
|
|
74
|
+
hash['reattemptInstructions'] = @reattempt_instructions.to_h unless @reattempt_instructions.nil?
|
|
25
75
|
hash['totalAmountPaid'] = @total_amount_paid unless @total_amount_paid.nil?
|
|
26
76
|
hash['totalAmountRefunded'] = @total_amount_refunded unless @total_amount_refunded.nil?
|
|
27
77
|
hash
|
|
@@ -29,10 +79,21 @@ module OnlinePayments
|
|
|
29
79
|
|
|
30
80
|
def from_hash(hash)
|
|
31
81
|
super
|
|
82
|
+
if hash.has_key? 'acceptance'
|
|
83
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['acceptance']] unless hash['acceptance'].is_a? Hash
|
|
84
|
+
@acceptance = OnlinePayments::SDK::Domain::Acceptance.new_from_hash(hash['acceptance'])
|
|
85
|
+
end
|
|
86
|
+
if hash.has_key? 'authorisationCode'
|
|
87
|
+
@authorisation_code = hash['authorisationCode']
|
|
88
|
+
end
|
|
32
89
|
if hash.has_key? 'currencyConversion'
|
|
33
90
|
raise TypeError, "value '%s' is not a Hash" % [hash['currencyConversion']] unless hash['currencyConversion'].is_a? Hash
|
|
34
91
|
@currency_conversion = OnlinePayments::SDK::Domain::CurrencyConversion.new_from_hash(hash['currencyConversion'])
|
|
35
92
|
end
|
|
93
|
+
if hash.has_key? 'reattemptInstructions'
|
|
94
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['reattemptInstructions']] unless hash['reattemptInstructions'].is_a? Hash
|
|
95
|
+
@reattempt_instructions = OnlinePayments::SDK::Domain::ReattemptInstructions.new_from_hash(hash['reattemptInstructions'])
|
|
96
|
+
end
|
|
36
97
|
if hash.has_key? 'totalAmountPaid'
|
|
37
98
|
@total_amount_paid = hash['totalAmountPaid']
|
|
38
99
|
end
|
|
@@ -18,6 +18,24 @@ module OnlinePayments
|
|
|
18
18
|
|
|
19
19
|
attr_accessor :total_amount_refunded
|
|
20
20
|
|
|
21
|
+
# Sets the property and returns this same instance.
|
|
22
|
+
def with_payment_product840_specific_output(value)
|
|
23
|
+
@payment_product840_specific_output = value
|
|
24
|
+
self
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# Sets the property and returns this same instance.
|
|
28
|
+
def with_total_amount_paid(value)
|
|
29
|
+
@total_amount_paid = value
|
|
30
|
+
self
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Sets the property and returns this same instance.
|
|
34
|
+
def with_total_amount_refunded(value)
|
|
35
|
+
@total_amount_refunded = value
|
|
36
|
+
self
|
|
37
|
+
end
|
|
38
|
+
|
|
21
39
|
# @return (Hash)
|
|
22
40
|
def to_h
|
|
23
41
|
hash = super
|
|
@@ -19,6 +19,24 @@ module OnlinePayments
|
|
|
19
19
|
|
|
20
20
|
attr_accessor :refund_result
|
|
21
21
|
|
|
22
|
+
# Sets the property and returns this same instance.
|
|
23
|
+
def with_error_id(value)
|
|
24
|
+
@error_id = value
|
|
25
|
+
self
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# Sets the property and returns this same instance.
|
|
29
|
+
def with_errors(value)
|
|
30
|
+
@errors = value
|
|
31
|
+
self
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# Sets the property and returns this same instance.
|
|
35
|
+
def with_refund_result(value)
|
|
36
|
+
@refund_result = value
|
|
37
|
+
self
|
|
38
|
+
end
|
|
39
|
+
|
|
22
40
|
# @return (Hash)
|
|
23
41
|
def to_h
|
|
24
42
|
hash = super
|
|
@@ -17,6 +17,24 @@ module OnlinePayments
|
|
|
17
17
|
|
|
18
18
|
attr_accessor :total_amount_refunded
|
|
19
19
|
|
|
20
|
+
# Sets the property and returns this same instance.
|
|
21
|
+
def with_network(value)
|
|
22
|
+
@network = value
|
|
23
|
+
self
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Sets the property and returns this same instance.
|
|
27
|
+
def with_total_amount_paid(value)
|
|
28
|
+
@total_amount_paid = value
|
|
29
|
+
self
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Sets the property and returns this same instance.
|
|
33
|
+
def with_total_amount_refunded(value)
|
|
34
|
+
@total_amount_refunded = value
|
|
35
|
+
self
|
|
36
|
+
end
|
|
37
|
+
|
|
20
38
|
# @return (Hash)
|
|
21
39
|
def to_h
|
|
22
40
|
hash = super
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file was automatically generated.
|
|
3
3
|
#
|
|
4
|
+
require 'date'
|
|
5
|
+
|
|
4
6
|
require 'onlinepayments/sdk/domain/amount_of_money'
|
|
5
7
|
require 'onlinepayments/sdk/domain/data_object'
|
|
6
8
|
require 'onlinepayments/sdk/domain/operation_payment_references'
|
|
@@ -20,9 +22,11 @@ module OnlinePayments
|
|
|
20
22
|
# @attr [String, nil] merchant_parameters
|
|
21
23
|
# @attr [OnlinePayments::SDK::Domain::RefundMobileMethodSpecificOutput, nil] mobile_refund_method_specific_output
|
|
22
24
|
# @attr [OnlinePayments::SDK::Domain::OperationPaymentReferences, nil] operation_references
|
|
25
|
+
# @attr [DateTime, nil] payment_creation_date
|
|
23
26
|
# @attr [String, nil] payment_method
|
|
24
27
|
# @attr [OnlinePayments::SDK::Domain::RefundRedirectMethodSpecificOutput, nil] redirect_refund_method_specific_output
|
|
25
28
|
# @attr [OnlinePayments::SDK::Domain::PaymentReferences, nil] references
|
|
29
|
+
# @attr [DateTime, nil] transaction_date
|
|
26
30
|
class RefundOutput < OnlinePayments::SDK::Domain::DataObject
|
|
27
31
|
|
|
28
32
|
attr_accessor :amount_of_money
|
|
@@ -39,12 +43,88 @@ module OnlinePayments
|
|
|
39
43
|
|
|
40
44
|
attr_accessor :operation_references
|
|
41
45
|
|
|
46
|
+
attr_accessor :payment_creation_date
|
|
47
|
+
|
|
42
48
|
attr_accessor :payment_method
|
|
43
49
|
|
|
44
50
|
attr_accessor :redirect_refund_method_specific_output
|
|
45
51
|
|
|
46
52
|
attr_accessor :references
|
|
47
53
|
|
|
54
|
+
attr_accessor :transaction_date
|
|
55
|
+
|
|
56
|
+
# Sets the property and returns this same instance.
|
|
57
|
+
def with_amount_of_money(value)
|
|
58
|
+
@amount_of_money = value
|
|
59
|
+
self
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Sets the property and returns this same instance.
|
|
63
|
+
def with_amount_paid(value)
|
|
64
|
+
@amount_paid = value
|
|
65
|
+
self
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Sets the property and returns this same instance.
|
|
69
|
+
def with_card_refund_method_specific_output(value)
|
|
70
|
+
@card_refund_method_specific_output = value
|
|
71
|
+
self
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# Sets the property and returns this same instance.
|
|
75
|
+
def with_e_wallet_refund_method_specific_output(value)
|
|
76
|
+
@e_wallet_refund_method_specific_output = value
|
|
77
|
+
self
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# Sets the property and returns this same instance.
|
|
81
|
+
def with_merchant_parameters(value)
|
|
82
|
+
@merchant_parameters = value
|
|
83
|
+
self
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Sets the property and returns this same instance.
|
|
87
|
+
def with_mobile_refund_method_specific_output(value)
|
|
88
|
+
@mobile_refund_method_specific_output = value
|
|
89
|
+
self
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# Sets the property and returns this same instance.
|
|
93
|
+
def with_operation_references(value)
|
|
94
|
+
@operation_references = value
|
|
95
|
+
self
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# Sets the property and returns this same instance.
|
|
99
|
+
def with_payment_creation_date(value)
|
|
100
|
+
@payment_creation_date = value
|
|
101
|
+
self
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# Sets the property and returns this same instance.
|
|
105
|
+
def with_payment_method(value)
|
|
106
|
+
@payment_method = value
|
|
107
|
+
self
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# Sets the property and returns this same instance.
|
|
111
|
+
def with_redirect_refund_method_specific_output(value)
|
|
112
|
+
@redirect_refund_method_specific_output = value
|
|
113
|
+
self
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# Sets the property and returns this same instance.
|
|
117
|
+
def with_references(value)
|
|
118
|
+
@references = value
|
|
119
|
+
self
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
# Sets the property and returns this same instance.
|
|
123
|
+
def with_transaction_date(value)
|
|
124
|
+
@transaction_date = value
|
|
125
|
+
self
|
|
126
|
+
end
|
|
127
|
+
|
|
48
128
|
# @return (Hash)
|
|
49
129
|
def to_h
|
|
50
130
|
hash = super
|
|
@@ -55,9 +135,11 @@ module OnlinePayments
|
|
|
55
135
|
hash['merchantParameters'] = @merchant_parameters unless @merchant_parameters.nil?
|
|
56
136
|
hash['mobileRefundMethodSpecificOutput'] = @mobile_refund_method_specific_output.to_h unless @mobile_refund_method_specific_output.nil?
|
|
57
137
|
hash['operationReferences'] = @operation_references.to_h unless @operation_references.nil?
|
|
138
|
+
hash['paymentCreationDate'] = @payment_creation_date.iso8601(3) unless @payment_creation_date.nil?
|
|
58
139
|
hash['paymentMethod'] = @payment_method unless @payment_method.nil?
|
|
59
140
|
hash['redirectRefundMethodSpecificOutput'] = @redirect_refund_method_specific_output.to_h unless @redirect_refund_method_specific_output.nil?
|
|
60
141
|
hash['references'] = @references.to_h unless @references.nil?
|
|
142
|
+
hash['transactionDate'] = @transaction_date.iso8601(3) unless @transaction_date.nil?
|
|
61
143
|
hash
|
|
62
144
|
end
|
|
63
145
|
|
|
@@ -89,6 +171,9 @@ module OnlinePayments
|
|
|
89
171
|
raise TypeError, "value '%s' is not a Hash" % [hash['operationReferences']] unless hash['operationReferences'].is_a? Hash
|
|
90
172
|
@operation_references = OnlinePayments::SDK::Domain::OperationPaymentReferences.new_from_hash(hash['operationReferences'])
|
|
91
173
|
end
|
|
174
|
+
if hash.has_key? 'paymentCreationDate'
|
|
175
|
+
@payment_creation_date = DateTime.parse(hash['paymentCreationDate'])
|
|
176
|
+
end
|
|
92
177
|
if hash.has_key? 'paymentMethod'
|
|
93
178
|
@payment_method = hash['paymentMethod']
|
|
94
179
|
end
|
|
@@ -100,6 +185,9 @@ module OnlinePayments
|
|
|
100
185
|
raise TypeError, "value '%s' is not a Hash" % [hash['references']] unless hash['references'].is_a? Hash
|
|
101
186
|
@references = OnlinePayments::SDK::Domain::PaymentReferences.new_from_hash(hash['references'])
|
|
102
187
|
end
|
|
188
|
+
if hash.has_key? 'transactionDate'
|
|
189
|
+
@transaction_date = DateTime.parse(hash['transactionDate'])
|
|
190
|
+
end
|
|
103
191
|
end
|
|
104
192
|
end
|
|
105
193
|
end
|
|
@@ -15,6 +15,18 @@ module OnlinePayments
|
|
|
15
15
|
|
|
16
16
|
attr_accessor :refund
|
|
17
17
|
|
|
18
|
+
# Sets the property and returns this same instance.
|
|
19
|
+
def with_payment_id(value)
|
|
20
|
+
@payment_id = value
|
|
21
|
+
self
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# Sets the property and returns this same instance.
|
|
25
|
+
def with_refund(value)
|
|
26
|
+
@refund = value
|
|
27
|
+
self
|
|
28
|
+
end
|
|
29
|
+
|
|
18
30
|
# @return (Hash)
|
|
19
31
|
def to_h
|
|
20
32
|
hash = super
|
|
@@ -17,6 +17,24 @@ module OnlinePayments
|
|
|
17
17
|
|
|
18
18
|
attr_accessor :payer_id
|
|
19
19
|
|
|
20
|
+
# Sets the property and returns this same instance.
|
|
21
|
+
def with_customer_account_status(value)
|
|
22
|
+
@customer_account_status = value
|
|
23
|
+
self
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Sets the property and returns this same instance.
|
|
27
|
+
def with_customer_address_status(value)
|
|
28
|
+
@customer_address_status = value
|
|
29
|
+
self
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Sets the property and returns this same instance.
|
|
33
|
+
def with_payer_id(value)
|
|
34
|
+
@payer_id = value
|
|
35
|
+
self
|
|
36
|
+
end
|
|
37
|
+
|
|
20
38
|
# @return (Hash)
|
|
21
39
|
def to_h
|
|
22
40
|
hash = super
|
|
@@ -14,6 +14,18 @@ module OnlinePayments
|
|
|
14
14
|
|
|
15
15
|
attr_accessor :total_amount_refunded
|
|
16
16
|
|
|
17
|
+
# Sets the property and returns this same instance.
|
|
18
|
+
def with_total_amount_paid(value)
|
|
19
|
+
@total_amount_paid = value
|
|
20
|
+
self
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# Sets the property and returns this same instance.
|
|
24
|
+
def with_total_amount_refunded(value)
|
|
25
|
+
@total_amount_refunded = value
|
|
26
|
+
self
|
|
27
|
+
end
|
|
28
|
+
|
|
17
29
|
# @return (Hash)
|
|
18
30
|
def to_h
|
|
19
31
|
hash = super
|
|
@@ -12,6 +12,12 @@ module OnlinePayments
|
|
|
12
12
|
|
|
13
13
|
attr_accessor :refund_redirect_payment_product900_specific_input
|
|
14
14
|
|
|
15
|
+
# Sets the property and returns this same instance.
|
|
16
|
+
def with_refund_redirect_payment_product900_specific_input(value)
|
|
17
|
+
@refund_redirect_payment_product900_specific_input = value
|
|
18
|
+
self
|
|
19
|
+
end
|
|
20
|
+
|
|
15
21
|
# @return (Hash)
|
|
16
22
|
def to_h
|
|
17
23
|
hash = super
|