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
|
@@ -41,6 +41,60 @@ module OnlinePayments
|
|
|
41
41
|
|
|
42
42
|
attr_accessor :refund_redirect_payment_method_specific_input
|
|
43
43
|
|
|
44
|
+
# Sets the property and returns this same instance.
|
|
45
|
+
def with_amount_of_money(value)
|
|
46
|
+
@amount_of_money = value
|
|
47
|
+
self
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Sets the property and returns this same instance.
|
|
51
|
+
def with_capture_id(value)
|
|
52
|
+
@capture_id = value
|
|
53
|
+
self
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# Sets the property and returns this same instance.
|
|
57
|
+
def with_is_final(value)
|
|
58
|
+
@is_final = value
|
|
59
|
+
self
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Sets the property and returns this same instance.
|
|
63
|
+
def with_line_item_details(value)
|
|
64
|
+
@line_item_details = value
|
|
65
|
+
self
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Sets the property and returns this same instance.
|
|
69
|
+
def with_omnichannel_refund_specific_input(value)
|
|
70
|
+
@omnichannel_refund_specific_input = value
|
|
71
|
+
self
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# Sets the property and returns this same instance.
|
|
75
|
+
def with_operation_references(value)
|
|
76
|
+
@operation_references = value
|
|
77
|
+
self
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# Sets the property and returns this same instance.
|
|
81
|
+
def with_reason(value)
|
|
82
|
+
@reason = value
|
|
83
|
+
self
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Sets the property and returns this same instance.
|
|
87
|
+
def with_references(value)
|
|
88
|
+
@references = value
|
|
89
|
+
self
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# Sets the property and returns this same instance.
|
|
93
|
+
def with_refund_redirect_payment_method_specific_input(value)
|
|
94
|
+
@refund_redirect_payment_method_specific_input = value
|
|
95
|
+
self
|
|
96
|
+
end
|
|
97
|
+
|
|
44
98
|
# @return (Hash)
|
|
45
99
|
def to_h
|
|
46
100
|
hash = super
|
|
@@ -22,6 +22,30 @@ module OnlinePayments
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :status_output
|
|
24
24
|
|
|
25
|
+
# Sets the property and returns this same instance.
|
|
26
|
+
def with_id(value)
|
|
27
|
+
@id = value
|
|
28
|
+
self
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Sets the property and returns this same instance.
|
|
32
|
+
def with_refund_output(value)
|
|
33
|
+
@refund_output = value
|
|
34
|
+
self
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Sets the property and returns this same instance.
|
|
38
|
+
def with_status(value)
|
|
39
|
+
@status = value
|
|
40
|
+
self
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Sets the property and returns this same instance.
|
|
44
|
+
def with_status_output(value)
|
|
45
|
+
@status_output = value
|
|
46
|
+
self
|
|
47
|
+
end
|
|
48
|
+
|
|
25
49
|
# @return (Hash)
|
|
26
50
|
def to_h
|
|
27
51
|
hash = super
|
|
@@ -11,6 +11,12 @@ module OnlinePayments
|
|
|
11
11
|
|
|
12
12
|
attr_accessor :regular_expression
|
|
13
13
|
|
|
14
|
+
# Sets the property and returns this same instance.
|
|
15
|
+
def with_regular_expression(value)
|
|
16
|
+
@regular_expression = 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 :revocation_reason
|
|
13
13
|
|
|
14
|
+
# Sets the property and returns this same instance.
|
|
15
|
+
def with_revocation_reason(value)
|
|
16
|
+
@revocation_reason = value
|
|
17
|
+
self
|
|
18
|
+
end
|
|
19
|
+
|
|
14
20
|
# @return (Hash)
|
|
15
21
|
def to_h
|
|
16
22
|
hash = super
|
|
@@ -15,6 +15,18 @@ module OnlinePayments
|
|
|
15
15
|
|
|
16
16
|
attr_accessor :payment_product_id
|
|
17
17
|
|
|
18
|
+
# Sets the property and returns this same instance.
|
|
19
|
+
def with_payment_product771_specific_input(value)
|
|
20
|
+
@payment_product771_specific_input = value
|
|
21
|
+
self
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# Sets the property and returns this same instance.
|
|
25
|
+
def with_payment_product_id(value)
|
|
26
|
+
@payment_product_id = value
|
|
27
|
+
self
|
|
28
|
+
end
|
|
29
|
+
|
|
18
30
|
# @return (Hash)
|
|
19
31
|
def to_h
|
|
20
32
|
hash = super
|
|
@@ -15,6 +15,18 @@ module OnlinePayments
|
|
|
15
15
|
|
|
16
16
|
attr_accessor :payment_product_id
|
|
17
17
|
|
|
18
|
+
# Sets the property and returns this same instance.
|
|
19
|
+
def with_payment_product771_specific_input(value)
|
|
20
|
+
@payment_product771_specific_input = value
|
|
21
|
+
self
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# Sets the property and returns this same instance.
|
|
25
|
+
def with_payment_product_id(value)
|
|
26
|
+
@payment_product_id = value
|
|
27
|
+
self
|
|
28
|
+
end
|
|
29
|
+
|
|
18
30
|
# @return (Hash)
|
|
19
31
|
def to_h
|
|
20
32
|
hash = super
|
|
@@ -19,6 +19,24 @@ module OnlinePayments
|
|
|
19
19
|
|
|
20
20
|
attr_accessor :payment_product_id
|
|
21
21
|
|
|
22
|
+
# Sets the property and returns this same instance.
|
|
23
|
+
def with_fraud_results(value)
|
|
24
|
+
@fraud_results = value
|
|
25
|
+
self
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# Sets the property and returns this same instance.
|
|
29
|
+
def with_payment_product771_specific_output(value)
|
|
30
|
+
@payment_product771_specific_output = value
|
|
31
|
+
self
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# Sets the property and returns this same instance.
|
|
35
|
+
def with_payment_product_id(value)
|
|
36
|
+
@payment_product_id = value
|
|
37
|
+
self
|
|
38
|
+
end
|
|
39
|
+
|
|
22
40
|
# @return (Hash)
|
|
23
41
|
def to_h
|
|
24
42
|
hash = super
|
|
@@ -15,6 +15,18 @@ module OnlinePayments
|
|
|
15
15
|
|
|
16
16
|
attr_accessor :mandate
|
|
17
17
|
|
|
18
|
+
# Sets the property and returns this same instance.
|
|
19
|
+
def with_existing_unique_mandate_reference(value)
|
|
20
|
+
@existing_unique_mandate_reference = value
|
|
21
|
+
self
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# Sets the property and returns this same instance.
|
|
25
|
+
def with_mandate(value)
|
|
26
|
+
@mandate = value
|
|
27
|
+
self
|
|
28
|
+
end
|
|
29
|
+
|
|
18
30
|
# @return (Hash)
|
|
19
31
|
def to_h
|
|
20
32
|
hash = super
|
data/lib/onlinepayments/sdk/domain/sepa_direct_debit_payment_product771_specific_input_base.rb
CHANGED
|
@@ -15,6 +15,18 @@ module OnlinePayments
|
|
|
15
15
|
|
|
16
16
|
attr_accessor :mandate
|
|
17
17
|
|
|
18
|
+
# Sets the property and returns this same instance.
|
|
19
|
+
def with_existing_unique_mandate_reference(value)
|
|
20
|
+
@existing_unique_mandate_reference = value
|
|
21
|
+
self
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# Sets the property and returns this same instance.
|
|
25
|
+
def with_mandate(value)
|
|
26
|
+
@mandate = value
|
|
27
|
+
self
|
|
28
|
+
end
|
|
29
|
+
|
|
18
30
|
# @return (Hash)
|
|
19
31
|
def to_h
|
|
20
32
|
hash = super
|
|
@@ -23,6 +23,36 @@ module OnlinePayments
|
|
|
23
23
|
|
|
24
24
|
attr_accessor :tokens
|
|
25
25
|
|
|
26
|
+
# Sets the property and returns this same instance.
|
|
27
|
+
def with_hosted_fields_session_id(value)
|
|
28
|
+
@hosted_fields_session_id = value
|
|
29
|
+
self
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Sets the property and returns this same instance.
|
|
33
|
+
def with_locale(value)
|
|
34
|
+
@locale = value
|
|
35
|
+
self
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Sets the property and returns this same instance.
|
|
39
|
+
def with_platform_url(value)
|
|
40
|
+
@platform_url = value
|
|
41
|
+
self
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Sets the property and returns this same instance.
|
|
45
|
+
def with_session_token(value)
|
|
46
|
+
@session_token = value
|
|
47
|
+
self
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Sets the property and returns this same instance.
|
|
51
|
+
def with_tokens(value)
|
|
52
|
+
@tokens = value
|
|
53
|
+
self
|
|
54
|
+
end
|
|
55
|
+
|
|
26
56
|
# @return (Hash)
|
|
27
57
|
def to_h
|
|
28
58
|
hash = super
|
|
@@ -14,6 +14,18 @@ module OnlinePayments
|
|
|
14
14
|
|
|
15
15
|
attr_accessor :type
|
|
16
16
|
|
|
17
|
+
# Sets the property and returns this same instance.
|
|
18
|
+
def with_id(value)
|
|
19
|
+
@id = value
|
|
20
|
+
self
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# Sets the property and returns this same instance.
|
|
24
|
+
def with_type(value)
|
|
25
|
+
@type = value
|
|
26
|
+
self
|
|
27
|
+
end
|
|
28
|
+
|
|
17
29
|
# @return (Hash)
|
|
18
30
|
def to_h
|
|
19
31
|
hash = super
|
|
@@ -23,6 +23,36 @@ module OnlinePayments
|
|
|
23
23
|
|
|
24
24
|
attr_accessor :invalid_tokens
|
|
25
25
|
|
|
26
|
+
# Sets the property and returns this same instance.
|
|
27
|
+
def with_asset_url(value)
|
|
28
|
+
@asset_url = value
|
|
29
|
+
self
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Sets the property and returns this same instance.
|
|
33
|
+
def with_client_api_url(value)
|
|
34
|
+
@client_api_url = value
|
|
35
|
+
self
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Sets the property and returns this same instance.
|
|
39
|
+
def with_client_session_id(value)
|
|
40
|
+
@client_session_id = value
|
|
41
|
+
self
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Sets the property and returns this same instance.
|
|
45
|
+
def with_customer_id(value)
|
|
46
|
+
@customer_id = value
|
|
47
|
+
self
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Sets the property and returns this same instance.
|
|
51
|
+
def with_invalid_tokens(value)
|
|
52
|
+
@invalid_tokens = value
|
|
53
|
+
self
|
|
54
|
+
end
|
|
55
|
+
|
|
26
56
|
# @return (Hash)
|
|
27
57
|
def to_h
|
|
28
58
|
hash = super
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This file was automatically generated.
|
|
3
|
+
#
|
|
4
|
+
require 'onlinepayments/sdk/domain/data_object'
|
|
5
|
+
|
|
6
|
+
module OnlinePayments
|
|
7
|
+
module SDK
|
|
8
|
+
module Domain
|
|
9
|
+
# @attr [String, nil] channel
|
|
10
|
+
# @attr [String, nil] locale
|
|
11
|
+
# @attr [String, nil] recipient
|
|
12
|
+
class SharePaymentLinkRequest < OnlinePayments::SDK::Domain::DataObject
|
|
13
|
+
|
|
14
|
+
attr_accessor :channel
|
|
15
|
+
|
|
16
|
+
attr_accessor :locale
|
|
17
|
+
|
|
18
|
+
attr_accessor :recipient
|
|
19
|
+
|
|
20
|
+
# Sets the property and returns this same instance.
|
|
21
|
+
def with_channel(value)
|
|
22
|
+
@channel = value
|
|
23
|
+
self
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Sets the property and returns this same instance.
|
|
27
|
+
def with_locale(value)
|
|
28
|
+
@locale = value
|
|
29
|
+
self
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Sets the property and returns this same instance.
|
|
33
|
+
def with_recipient(value)
|
|
34
|
+
@recipient = value
|
|
35
|
+
self
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# @return (Hash)
|
|
39
|
+
def to_h
|
|
40
|
+
hash = super
|
|
41
|
+
hash['channel'] = @channel unless @channel.nil?
|
|
42
|
+
hash['locale'] = @locale unless @locale.nil?
|
|
43
|
+
hash['recipient'] = @recipient unless @recipient.nil?
|
|
44
|
+
hash
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def from_hash(hash)
|
|
48
|
+
super
|
|
49
|
+
if hash.has_key? 'channel'
|
|
50
|
+
@channel = hash['channel']
|
|
51
|
+
end
|
|
52
|
+
if hash.has_key? 'locale'
|
|
53
|
+
@locale = hash['locale']
|
|
54
|
+
end
|
|
55
|
+
if hash.has_key? 'recipient'
|
|
56
|
+
@recipient = hash['recipient']
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
@@ -37,6 +37,60 @@ module OnlinePayments
|
|
|
37
37
|
|
|
38
38
|
attr_accessor :type
|
|
39
39
|
|
|
40
|
+
# Sets the property and returns this same instance.
|
|
41
|
+
def with_address(value)
|
|
42
|
+
@address = value
|
|
43
|
+
self
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# Sets the property and returns this same instance.
|
|
47
|
+
def with_address_indicator(value)
|
|
48
|
+
@address_indicator = value
|
|
49
|
+
self
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# Sets the property and returns this same instance.
|
|
53
|
+
def with_email_address(value)
|
|
54
|
+
@email_address = value
|
|
55
|
+
self
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Sets the property and returns this same instance.
|
|
59
|
+
def with_first_usage_date(value)
|
|
60
|
+
@first_usage_date = value
|
|
61
|
+
self
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# Sets the property and returns this same instance.
|
|
65
|
+
def with_is_first_usage(value)
|
|
66
|
+
@is_first_usage = value
|
|
67
|
+
self
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Sets the property and returns this same instance.
|
|
71
|
+
def with_method(value)
|
|
72
|
+
@method = value
|
|
73
|
+
self
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# Sets the property and returns this same instance.
|
|
77
|
+
def with_shipping_cost(value)
|
|
78
|
+
@shipping_cost = value
|
|
79
|
+
self
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# Sets the property and returns this same instance.
|
|
83
|
+
def with_shipping_cost_tax(value)
|
|
84
|
+
@shipping_cost_tax = value
|
|
85
|
+
self
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Sets the property and returns this same instance.
|
|
89
|
+
def with_type(value)
|
|
90
|
+
@type = value
|
|
91
|
+
self
|
|
92
|
+
end
|
|
93
|
+
|
|
40
94
|
# @return (Hash)
|
|
41
95
|
def to_h
|
|
42
96
|
hash = super
|
|
@@ -14,6 +14,18 @@ module OnlinePayments
|
|
|
14
14
|
|
|
15
15
|
attr_accessor :shipping_cost_tax
|
|
16
16
|
|
|
17
|
+
# Sets the property and returns this same instance.
|
|
18
|
+
def with_shipping_cost(value)
|
|
19
|
+
@shipping_cost = value
|
|
20
|
+
self
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# Sets the property and returns this same instance.
|
|
24
|
+
def with_shipping_cost_tax(value)
|
|
25
|
+
@shipping_cost_tax = value
|
|
26
|
+
self
|
|
27
|
+
end
|
|
28
|
+
|
|
17
29
|
# @return (Hash)
|
|
18
30
|
def to_h
|
|
19
31
|
hash = super
|
|
@@ -20,6 +20,30 @@ module OnlinePayments
|
|
|
20
20
|
|
|
21
21
|
attr_accessor :type
|
|
22
22
|
|
|
23
|
+
# Sets the property and returns this same instance.
|
|
24
|
+
def with_details(value)
|
|
25
|
+
@details = value
|
|
26
|
+
self
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# Sets the property and returns this same instance.
|
|
30
|
+
def with_name(value)
|
|
31
|
+
@name = value
|
|
32
|
+
self
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Sets the property and returns this same instance.
|
|
36
|
+
def with_speed(value)
|
|
37
|
+
@speed = value
|
|
38
|
+
self
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Sets the property and returns this same instance.
|
|
42
|
+
def with_type(value)
|
|
43
|
+
@type = value
|
|
44
|
+
self
|
|
45
|
+
end
|
|
46
|
+
|
|
23
47
|
# @return (Hash)
|
|
24
48
|
def to_h
|
|
25
49
|
hash = super
|
|
@@ -30,6 +30,42 @@ module OnlinePayments
|
|
|
30
30
|
|
|
31
31
|
attr_accessor :re_order_indicator
|
|
32
32
|
|
|
33
|
+
# Sets the property and returns this same instance.
|
|
34
|
+
def with_amount_breakdown(value)
|
|
35
|
+
@amount_breakdown = value
|
|
36
|
+
self
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Sets the property and returns this same instance.
|
|
40
|
+
def with_gift_card_purchase(value)
|
|
41
|
+
@gift_card_purchase = value
|
|
42
|
+
self
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Sets the property and returns this same instance.
|
|
46
|
+
def with_is_pre_order(value)
|
|
47
|
+
@is_pre_order = value
|
|
48
|
+
self
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# Sets the property and returns this same instance.
|
|
52
|
+
def with_items(value)
|
|
53
|
+
@items = value
|
|
54
|
+
self
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# Sets the property and returns this same instance.
|
|
58
|
+
def with_pre_order_item_availability_date(value)
|
|
59
|
+
@pre_order_item_availability_date = value
|
|
60
|
+
self
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# Sets the property and returns this same instance.
|
|
64
|
+
def with_re_order_indicator(value)
|
|
65
|
+
@re_order_indicator = value
|
|
66
|
+
self
|
|
67
|
+
end
|
|
68
|
+
|
|
33
69
|
# @return (Hash)
|
|
34
70
|
def to_h
|
|
35
71
|
hash = super
|
|
@@ -44,6 +44,60 @@ module OnlinePayments
|
|
|
44
44
|
|
|
45
45
|
attr_accessor :pending_authentication
|
|
46
46
|
|
|
47
|
+
# Sets the property and returns this same instance.
|
|
48
|
+
def with_payment_product11(value)
|
|
49
|
+
@payment_product11 = value
|
|
50
|
+
self
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Sets the property and returns this same instance.
|
|
54
|
+
def with_payment_product3012(value)
|
|
55
|
+
@payment_product3012 = value
|
|
56
|
+
self
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Sets the property and returns this same instance.
|
|
60
|
+
def with_payment_product350(value)
|
|
61
|
+
@payment_product350 = value
|
|
62
|
+
self
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Sets the property and returns this same instance.
|
|
66
|
+
def with_payment_product5001(value)
|
|
67
|
+
@payment_product5001 = value
|
|
68
|
+
self
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# Sets the property and returns this same instance.
|
|
72
|
+
def with_payment_product5404(value)
|
|
73
|
+
@payment_product5404 = value
|
|
74
|
+
self
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Sets the property and returns this same instance.
|
|
78
|
+
def with_payment_product5407(value)
|
|
79
|
+
@payment_product5407 = value
|
|
80
|
+
self
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Sets the property and returns this same instance.
|
|
84
|
+
def with_payment_product5412(value)
|
|
85
|
+
@payment_product5412 = value
|
|
86
|
+
self
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# Sets the property and returns this same instance.
|
|
90
|
+
def with_payment_product840(value)
|
|
91
|
+
@payment_product840 = value
|
|
92
|
+
self
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# Sets the property and returns this same instance.
|
|
96
|
+
def with_pending_authentication(value)
|
|
97
|
+
@pending_authentication = value
|
|
98
|
+
self
|
|
99
|
+
end
|
|
100
|
+
|
|
47
101
|
# @return (Hash)
|
|
48
102
|
def to_h
|
|
49
103
|
hash = super
|