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
|
@@ -29,6 +29,42 @@ module OnlinePayments
|
|
|
29
29
|
|
|
30
30
|
attr_accessor :three_d_secure_results
|
|
31
31
|
|
|
32
|
+
# Sets the property and returns this same instance.
|
|
33
|
+
def with_authorisation_code(value)
|
|
34
|
+
@authorisation_code = value
|
|
35
|
+
self
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Sets the property and returns this same instance.
|
|
39
|
+
def with_fraud_results(value)
|
|
40
|
+
@fraud_results = value
|
|
41
|
+
self
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Sets the property and returns this same instance.
|
|
45
|
+
def with_network(value)
|
|
46
|
+
@network = value
|
|
47
|
+
self
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Sets the property and returns this same instance.
|
|
51
|
+
def with_payment_data(value)
|
|
52
|
+
@payment_data = value
|
|
53
|
+
self
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# Sets the property and returns this same instance.
|
|
57
|
+
def with_payment_product_id(value)
|
|
58
|
+
@payment_product_id = value
|
|
59
|
+
self
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Sets the property and returns this same instance.
|
|
63
|
+
def with_three_d_secure_results(value)
|
|
64
|
+
@three_d_secure_results = value
|
|
65
|
+
self
|
|
66
|
+
end
|
|
67
|
+
|
|
32
68
|
# @return (Hash)
|
|
33
69
|
def to_h
|
|
34
70
|
hash = super
|
|
@@ -22,6 +22,30 @@ module OnlinePayments
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :tokenize
|
|
24
24
|
|
|
25
|
+
# Sets the property and returns this same instance.
|
|
26
|
+
def with_apple_pay_recurring_payment_request(value)
|
|
27
|
+
@apple_pay_recurring_payment_request = value
|
|
28
|
+
self
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Sets the property and returns this same instance.
|
|
32
|
+
def with_is_recurring(value)
|
|
33
|
+
@is_recurring = value
|
|
34
|
+
self
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Sets the property and returns this same instance.
|
|
38
|
+
def with_recurring(value)
|
|
39
|
+
@recurring = value
|
|
40
|
+
self
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Sets the property and returns this same instance.
|
|
44
|
+
def with_tokenize(value)
|
|
45
|
+
@tokenize = value
|
|
46
|
+
self
|
|
47
|
+
end
|
|
48
|
+
|
|
25
49
|
# @return (Hash)
|
|
26
50
|
def to_h
|
|
27
51
|
hash = super
|
|
@@ -22,6 +22,30 @@ module OnlinePayments
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :tokenize
|
|
24
24
|
|
|
25
|
+
# Sets the property and returns this same instance.
|
|
26
|
+
def with_is_recurring(value)
|
|
27
|
+
@is_recurring = value
|
|
28
|
+
self
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Sets the property and returns this same instance.
|
|
32
|
+
def with_recurring(value)
|
|
33
|
+
@recurring = value
|
|
34
|
+
self
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Sets the property and returns this same instance.
|
|
38
|
+
def with_three_d_secure(value)
|
|
39
|
+
@three_d_secure = value
|
|
40
|
+
self
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Sets the property and returns this same instance.
|
|
44
|
+
def with_tokenize(value)
|
|
45
|
+
@tokenize = value
|
|
46
|
+
self
|
|
47
|
+
end
|
|
48
|
+
|
|
25
49
|
# @return (Hash)
|
|
26
50
|
def to_h
|
|
27
51
|
hash = super
|
|
@@ -20,6 +20,30 @@ module OnlinePayments
|
|
|
20
20
|
|
|
21
21
|
attr_accessor :three_d_server_transaction_id
|
|
22
22
|
|
|
23
|
+
# Sets the property and returns this same instance.
|
|
24
|
+
def with_acs_reference_number(value)
|
|
25
|
+
@acs_reference_number = value
|
|
26
|
+
self
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# Sets the property and returns this same instance.
|
|
30
|
+
def with_acs_signed_content(value)
|
|
31
|
+
@acs_signed_content = value
|
|
32
|
+
self
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Sets the property and returns this same instance.
|
|
36
|
+
def with_acs_transaction_id(value)
|
|
37
|
+
@acs_transaction_id = value
|
|
38
|
+
self
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Sets the property and returns this same instance.
|
|
42
|
+
def with_three_d_server_transaction_id(value)
|
|
43
|
+
@three_d_server_transaction_id = value
|
|
44
|
+
self
|
|
45
|
+
end
|
|
46
|
+
|
|
23
47
|
# @return (Hash)
|
|
24
48
|
def to_h
|
|
25
49
|
hash = super
|
|
@@ -14,6 +14,18 @@ module OnlinePayments
|
|
|
14
14
|
|
|
15
15
|
attr_accessor :total_number_of_payments
|
|
16
16
|
|
|
17
|
+
# Sets the property and returns this same instance.
|
|
18
|
+
def with_payment_pattern(value)
|
|
19
|
+
@payment_pattern = value
|
|
20
|
+
self
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# Sets the property and returns this same instance.
|
|
24
|
+
def with_total_number_of_payments(value)
|
|
25
|
+
@total_number_of_payments = value
|
|
26
|
+
self
|
|
27
|
+
end
|
|
28
|
+
|
|
17
29
|
# @return (Hash)
|
|
18
30
|
def to_h
|
|
19
31
|
hash = super
|
|
@@ -26,6 +26,42 @@ module OnlinePayments
|
|
|
26
26
|
|
|
27
27
|
attr_accessor :token_expiry_date
|
|
28
28
|
|
|
29
|
+
# Sets the property and returns this same instance.
|
|
30
|
+
def with_cardholder_name(value)
|
|
31
|
+
@cardholder_name = value
|
|
32
|
+
self
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Sets the property and returns this same instance.
|
|
36
|
+
def with_cryptogram(value)
|
|
37
|
+
@cryptogram = value
|
|
38
|
+
self
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Sets the property and returns this same instance.
|
|
42
|
+
def with_eci(value)
|
|
43
|
+
@eci = value
|
|
44
|
+
self
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Sets the property and returns this same instance.
|
|
48
|
+
def with_network_token(value)
|
|
49
|
+
@network_token = value
|
|
50
|
+
self
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Sets the property and returns this same instance.
|
|
54
|
+
def with_scheme_token_requestor_id(value)
|
|
55
|
+
@scheme_token_requestor_id = value
|
|
56
|
+
self
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Sets the property and returns this same instance.
|
|
60
|
+
def with_token_expiry_date(value)
|
|
61
|
+
@token_expiry_date = value
|
|
62
|
+
self
|
|
63
|
+
end
|
|
64
|
+
|
|
29
65
|
# @return (Hash)
|
|
30
66
|
def to_h
|
|
31
67
|
hash = super
|
|
@@ -26,6 +26,42 @@ module OnlinePayments
|
|
|
26
26
|
|
|
27
27
|
attr_accessor :token_expiry_date
|
|
28
28
|
|
|
29
|
+
# Sets the property and returns this same instance.
|
|
30
|
+
def with_bin(value)
|
|
31
|
+
@bin = value
|
|
32
|
+
self
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Sets the property and returns this same instance.
|
|
36
|
+
def with_country_code(value)
|
|
37
|
+
@country_code = value
|
|
38
|
+
self
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Sets the property and returns this same instance.
|
|
42
|
+
def with_network_token(value)
|
|
43
|
+
@network_token = value
|
|
44
|
+
self
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Sets the property and returns this same instance.
|
|
48
|
+
def with_network_token_state(value)
|
|
49
|
+
@network_token_state = value
|
|
50
|
+
self
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Sets the property and returns this same instance.
|
|
54
|
+
def with_network_token_used(value)
|
|
55
|
+
@network_token_used = value
|
|
56
|
+
self
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Sets the property and returns this same instance.
|
|
60
|
+
def with_token_expiry_date(value)
|
|
61
|
+
@token_expiry_date = value
|
|
62
|
+
self
|
|
63
|
+
end
|
|
64
|
+
|
|
29
65
|
# @return (Hash)
|
|
30
66
|
def to_h
|
|
31
67
|
hash = super
|
|
@@ -17,6 +17,24 @@ module OnlinePayments
|
|
|
17
17
|
|
|
18
18
|
attr_accessor :token_state
|
|
19
19
|
|
|
20
|
+
# Sets the property and returns this same instance.
|
|
21
|
+
def with_expiry_date(value)
|
|
22
|
+
@expiry_date = value
|
|
23
|
+
self
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Sets the property and returns this same instance.
|
|
27
|
+
def with_masked_token(value)
|
|
28
|
+
@masked_token = value
|
|
29
|
+
self
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Sets the property and returns this same instance.
|
|
33
|
+
def with_token_state(value)
|
|
34
|
+
@token_state = 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 :payment_id
|
|
16
16
|
|
|
17
|
+
# Sets the property and returns this same instance.
|
|
18
|
+
def with_operator_id(value)
|
|
19
|
+
@operator_id = value
|
|
20
|
+
self
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# Sets the property and returns this same instance.
|
|
24
|
+
def with_payment_id(value)
|
|
25
|
+
@payment_id = value
|
|
26
|
+
self
|
|
27
|
+
end
|
|
28
|
+
|
|
17
29
|
# @return (Hash)
|
|
18
30
|
def to_h
|
|
19
31
|
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'
|
|
@@ -17,6 +19,7 @@ module OnlinePayments
|
|
|
17
19
|
# @attr [OnlinePayments::SDK::Domain::PaymentReferences, nil] references
|
|
18
20
|
# @attr [String, nil] status
|
|
19
21
|
# @attr [OnlinePayments::SDK::Domain::PaymentStatusOutput, nil] status_output
|
|
22
|
+
# @attr [DateTime, nil] transaction_date
|
|
20
23
|
class OperationOutput < OnlinePayments::SDK::Domain::DataObject
|
|
21
24
|
|
|
22
25
|
attr_accessor :amount_of_money
|
|
@@ -33,6 +36,56 @@ module OnlinePayments
|
|
|
33
36
|
|
|
34
37
|
attr_accessor :status_output
|
|
35
38
|
|
|
39
|
+
attr_accessor :transaction_date
|
|
40
|
+
|
|
41
|
+
# Sets the property and returns this same instance.
|
|
42
|
+
def with_amount_of_money(value)
|
|
43
|
+
@amount_of_money = value
|
|
44
|
+
self
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Sets the property and returns this same instance.
|
|
48
|
+
def with_id(value)
|
|
49
|
+
@id = value
|
|
50
|
+
self
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Sets the property and returns this same instance.
|
|
54
|
+
def with_operation_references(value)
|
|
55
|
+
@operation_references = value
|
|
56
|
+
self
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Sets the property and returns this same instance.
|
|
60
|
+
def with_payment_method(value)
|
|
61
|
+
@payment_method = value
|
|
62
|
+
self
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Sets the property and returns this same instance.
|
|
66
|
+
def with_references(value)
|
|
67
|
+
@references = value
|
|
68
|
+
self
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# Sets the property and returns this same instance.
|
|
72
|
+
def with_status(value)
|
|
73
|
+
@status = value
|
|
74
|
+
self
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Sets the property and returns this same instance.
|
|
78
|
+
def with_status_output(value)
|
|
79
|
+
@status_output = value
|
|
80
|
+
self
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Sets the property and returns this same instance.
|
|
84
|
+
def with_transaction_date(value)
|
|
85
|
+
@transaction_date = value
|
|
86
|
+
self
|
|
87
|
+
end
|
|
88
|
+
|
|
36
89
|
# @return (Hash)
|
|
37
90
|
def to_h
|
|
38
91
|
hash = super
|
|
@@ -43,6 +96,7 @@ module OnlinePayments
|
|
|
43
96
|
hash['references'] = @references.to_h unless @references.nil?
|
|
44
97
|
hash['status'] = @status unless @status.nil?
|
|
45
98
|
hash['statusOutput'] = @status_output.to_h unless @status_output.nil?
|
|
99
|
+
hash['transactionDate'] = @transaction_date.iso8601(3) unless @transaction_date.nil?
|
|
46
100
|
hash
|
|
47
101
|
end
|
|
48
102
|
|
|
@@ -73,6 +127,9 @@ module OnlinePayments
|
|
|
73
127
|
raise TypeError, "value '%s' is not a Hash" % [hash['statusOutput']] unless hash['statusOutput'].is_a? Hash
|
|
74
128
|
@status_output = OnlinePayments::SDK::Domain::PaymentStatusOutput.new_from_hash(hash['statusOutput'])
|
|
75
129
|
end
|
|
130
|
+
if hash.has_key? 'transactionDate'
|
|
131
|
+
@transaction_date = DateTime.parse(hash['transactionDate'])
|
|
132
|
+
end
|
|
76
133
|
end
|
|
77
134
|
end
|
|
78
135
|
end
|
|
@@ -26,6 +26,42 @@ module OnlinePayments
|
|
|
26
26
|
|
|
27
27
|
attr_accessor :structured_creditor_reference
|
|
28
28
|
|
|
29
|
+
# Sets the property and returns this same instance.
|
|
30
|
+
def with_merchant_comment(value)
|
|
31
|
+
@merchant_comment = value
|
|
32
|
+
self
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Sets the property and returns this same instance.
|
|
36
|
+
def with_merchant_reconciliation_reference(value)
|
|
37
|
+
@merchant_reconciliation_reference = value
|
|
38
|
+
self
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Sets the property and returns this same instance.
|
|
42
|
+
def with_merchant_reference(value)
|
|
43
|
+
@merchant_reference = value
|
|
44
|
+
self
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Sets the property and returns this same instance.
|
|
48
|
+
def with_operation_group_reference(value)
|
|
49
|
+
@operation_group_reference = value
|
|
50
|
+
self
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Sets the property and returns this same instance.
|
|
54
|
+
def with_soft_descriptor(value)
|
|
55
|
+
@soft_descriptor = value
|
|
56
|
+
self
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Sets the property and returns this same instance.
|
|
60
|
+
def with_structured_creditor_reference(value)
|
|
61
|
+
@structured_creditor_reference = value
|
|
62
|
+
self
|
|
63
|
+
end
|
|
64
|
+
|
|
29
65
|
# @return (Hash)
|
|
30
66
|
def to_h
|
|
31
67
|
hash = super
|
|
@@ -46,6 +46,66 @@ module OnlinePayments
|
|
|
46
46
|
|
|
47
47
|
attr_accessor :total_tax_amount
|
|
48
48
|
|
|
49
|
+
# Sets the property and returns this same instance.
|
|
50
|
+
def with_additional_input(value)
|
|
51
|
+
@additional_input = value
|
|
52
|
+
self
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Sets the property and returns this same instance.
|
|
56
|
+
def with_amount_of_money(value)
|
|
57
|
+
@amount_of_money = value
|
|
58
|
+
self
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# Sets the property and returns this same instance.
|
|
62
|
+
def with_customer(value)
|
|
63
|
+
@customer = value
|
|
64
|
+
self
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# Sets the property and returns this same instance.
|
|
68
|
+
def with_discount(value)
|
|
69
|
+
@discount = value
|
|
70
|
+
self
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# Sets the property and returns this same instance.
|
|
74
|
+
def with_references(value)
|
|
75
|
+
@references = value
|
|
76
|
+
self
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# Sets the property and returns this same instance.
|
|
80
|
+
def with_shipping(value)
|
|
81
|
+
@shipping = value
|
|
82
|
+
self
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Sets the property and returns this same instance.
|
|
86
|
+
def with_shopping_cart(value)
|
|
87
|
+
@shopping_cart = value
|
|
88
|
+
self
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# Sets the property and returns this same instance.
|
|
92
|
+
def with_surcharge_specific_input(value)
|
|
93
|
+
@surcharge_specific_input = value
|
|
94
|
+
self
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# Sets the property and returns this same instance.
|
|
98
|
+
def with_tax_percentage(value)
|
|
99
|
+
@tax_percentage = value
|
|
100
|
+
self
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Sets the property and returns this same instance.
|
|
104
|
+
def with_total_tax_amount(value)
|
|
105
|
+
@total_tax_amount = value
|
|
106
|
+
self
|
|
107
|
+
end
|
|
108
|
+
|
|
49
109
|
# @return (Hash)
|
|
50
110
|
def to_h
|
|
51
111
|
hash = super
|
|
@@ -38,6 +38,66 @@ module OnlinePayments
|
|
|
38
38
|
|
|
39
39
|
attr_accessor :unit
|
|
40
40
|
|
|
41
|
+
# Sets the property and returns this same instance.
|
|
42
|
+
def with_discount_amount(value)
|
|
43
|
+
@discount_amount = value
|
|
44
|
+
self
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Sets the property and returns this same instance.
|
|
48
|
+
def with_product_brand(value)
|
|
49
|
+
@product_brand = value
|
|
50
|
+
self
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Sets the property and returns this same instance.
|
|
54
|
+
def with_product_code(value)
|
|
55
|
+
@product_code = value
|
|
56
|
+
self
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Sets the property and returns this same instance.
|
|
60
|
+
def with_product_name(value)
|
|
61
|
+
@product_name = value
|
|
62
|
+
self
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Sets the property and returns this same instance.
|
|
66
|
+
def with_product_price(value)
|
|
67
|
+
@product_price = value
|
|
68
|
+
self
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# Sets the property and returns this same instance.
|
|
72
|
+
def with_product_type(value)
|
|
73
|
+
@product_type = value
|
|
74
|
+
self
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Sets the property and returns this same instance.
|
|
78
|
+
def with_quantity(value)
|
|
79
|
+
@quantity = value
|
|
80
|
+
self
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Sets the property and returns this same instance.
|
|
84
|
+
def with_tax_amount(value)
|
|
85
|
+
@tax_amount = value
|
|
86
|
+
self
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# Sets the property and returns this same instance.
|
|
90
|
+
def with_tax_percentage(value)
|
|
91
|
+
@tax_percentage = value
|
|
92
|
+
self
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# Sets the property and returns this same instance.
|
|
96
|
+
def with_unit(value)
|
|
97
|
+
@unit = value
|
|
98
|
+
self
|
|
99
|
+
end
|
|
100
|
+
|
|
41
101
|
# @return (Hash)
|
|
42
102
|
def to_h
|
|
43
103
|
hash = super
|
|
@@ -32,6 +32,54 @@ module OnlinePayments
|
|
|
32
32
|
|
|
33
33
|
attr_accessor :structured_creditor_reference
|
|
34
34
|
|
|
35
|
+
# Sets the property and returns this same instance.
|
|
36
|
+
def with_descriptor(value)
|
|
37
|
+
@descriptor = value
|
|
38
|
+
self
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Sets the property and returns this same instance.
|
|
42
|
+
def with_merchant_comment(value)
|
|
43
|
+
@merchant_comment = value
|
|
44
|
+
self
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Sets the property and returns this same instance.
|
|
48
|
+
def with_merchant_parameters(value)
|
|
49
|
+
@merchant_parameters = value
|
|
50
|
+
self
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Sets the property and returns this same instance.
|
|
54
|
+
def with_merchant_reconciliation_reference(value)
|
|
55
|
+
@merchant_reconciliation_reference = value
|
|
56
|
+
self
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Sets the property and returns this same instance.
|
|
60
|
+
def with_merchant_reference(value)
|
|
61
|
+
@merchant_reference = value
|
|
62
|
+
self
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Sets the property and returns this same instance.
|
|
66
|
+
def with_operation_group_reference(value)
|
|
67
|
+
@operation_group_reference = value
|
|
68
|
+
self
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# Sets the property and returns this same instance.
|
|
72
|
+
def with_soft_descriptor(value)
|
|
73
|
+
@soft_descriptor = value
|
|
74
|
+
self
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Sets the property and returns this same instance.
|
|
78
|
+
def with_structured_creditor_reference(value)
|
|
79
|
+
@structured_creditor_reference = value
|
|
80
|
+
self
|
|
81
|
+
end
|
|
82
|
+
|
|
35
83
|
# @return (Hash)
|
|
36
84
|
def to_h
|
|
37
85
|
hash = super
|
|
@@ -24,6 +24,36 @@ module OnlinePayments
|
|
|
24
24
|
|
|
25
25
|
attr_accessor :status_code_change_date_time
|
|
26
26
|
|
|
27
|
+
# Sets the property and returns this same instance.
|
|
28
|
+
def with_errors(value)
|
|
29
|
+
@errors = value
|
|
30
|
+
self
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Sets the property and returns this same instance.
|
|
34
|
+
def with_is_cancellable(value)
|
|
35
|
+
@is_cancellable = value
|
|
36
|
+
self
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Sets the property and returns this same instance.
|
|
40
|
+
def with_status_category(value)
|
|
41
|
+
@status_category = value
|
|
42
|
+
self
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Sets the property and returns this same instance.
|
|
46
|
+
def with_status_code(value)
|
|
47
|
+
@status_code = value
|
|
48
|
+
self
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# Sets the property and returns this same instance.
|
|
52
|
+
def with_status_code_change_date_time(value)
|
|
53
|
+
@status_code_change_date_time = value
|
|
54
|
+
self
|
|
55
|
+
end
|
|
56
|
+
|
|
27
57
|
# @return (Hash)
|
|
28
58
|
def to_h
|
|
29
59
|
hash = super
|