onlinepayments-sdk-ruby 9.2.0 → 10.1.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 +72 -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 +108 -12
- 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 +18 -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_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 +36 -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 +42 -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/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_response.rb +60 -0
- data/lib/onlinepayments/sdk/domain/payment_link_specific_input.rb +18 -0
- data/lib/onlinepayments/sdk/domain/payment_output.rb +84 -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_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 +30 -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 +18 -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 +60 -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/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/merchantbatch/get_payments_report_params.rb +12 -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 +1 -1
|
@@ -16,11 +16,11 @@ module OnlinePayments
|
|
|
16
16
|
# @attr [String, nil] distance_unit
|
|
17
17
|
# @attr [String, nil] driver_identification_number
|
|
18
18
|
# @attr [String, nil] driver_tax_number
|
|
19
|
-
# @attr [OnlinePayments::SDK::Domain::CarRentalPickupReturnData, nil]
|
|
19
|
+
# @attr [OnlinePayments::SDK::Domain::CarRentalPickupReturnData, nil] pickup_details
|
|
20
20
|
# @attr [Integer, nil] rental_rate_amount
|
|
21
21
|
# @attr [String, nil] rental_rate_type
|
|
22
22
|
# @attr [String, nil] renter_name
|
|
23
|
-
# @attr [OnlinePayments::SDK::Domain::CarRentalPickupReturnData, nil]
|
|
23
|
+
# @attr [OnlinePayments::SDK::Domain::CarRentalPickupReturnData, nil] return_details
|
|
24
24
|
# @attr [true/false, nil] tax_exempt_indicator
|
|
25
25
|
# @attr [String, nil] toll_free_number
|
|
26
26
|
# @attr [OnlinePayments::SDK::Domain::CarRentalVehicleData, nil] vehicle
|
|
@@ -42,7 +42,7 @@ module OnlinePayments
|
|
|
42
42
|
|
|
43
43
|
attr_accessor :driver_tax_number
|
|
44
44
|
|
|
45
|
-
attr_accessor :
|
|
45
|
+
attr_accessor :pickup_details
|
|
46
46
|
|
|
47
47
|
attr_accessor :rental_rate_amount
|
|
48
48
|
|
|
@@ -50,7 +50,7 @@ module OnlinePayments
|
|
|
50
50
|
|
|
51
51
|
attr_accessor :renter_name
|
|
52
52
|
|
|
53
|
-
attr_accessor :
|
|
53
|
+
attr_accessor :return_details
|
|
54
54
|
|
|
55
55
|
attr_accessor :tax_exempt_indicator
|
|
56
56
|
|
|
@@ -58,6 +58,102 @@ module OnlinePayments
|
|
|
58
58
|
|
|
59
59
|
attr_accessor :vehicle
|
|
60
60
|
|
|
61
|
+
# Sets the property and returns this same instance.
|
|
62
|
+
def with_agreement_number(value)
|
|
63
|
+
@agreement_number = value
|
|
64
|
+
self
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# Sets the property and returns this same instance.
|
|
68
|
+
def with_cardholder_notified(value)
|
|
69
|
+
@cardholder_notified = value
|
|
70
|
+
self
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# Sets the property and returns this same instance.
|
|
74
|
+
def with_charges_amount(value)
|
|
75
|
+
@charges_amount = value
|
|
76
|
+
self
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# Sets the property and returns this same instance.
|
|
80
|
+
def with_charges_category(value)
|
|
81
|
+
@charges_category = value
|
|
82
|
+
self
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Sets the property and returns this same instance.
|
|
86
|
+
def with_distance_measure(value)
|
|
87
|
+
@distance_measure = value
|
|
88
|
+
self
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# Sets the property and returns this same instance.
|
|
92
|
+
def with_distance_unit(value)
|
|
93
|
+
@distance_unit = value
|
|
94
|
+
self
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# Sets the property and returns this same instance.
|
|
98
|
+
def with_driver_identification_number(value)
|
|
99
|
+
@driver_identification_number = value
|
|
100
|
+
self
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Sets the property and returns this same instance.
|
|
104
|
+
def with_driver_tax_number(value)
|
|
105
|
+
@driver_tax_number = value
|
|
106
|
+
self
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# Sets the property and returns this same instance.
|
|
110
|
+
def with_pickup_details(value)
|
|
111
|
+
@pickup_details = value
|
|
112
|
+
self
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# Sets the property and returns this same instance.
|
|
116
|
+
def with_rental_rate_amount(value)
|
|
117
|
+
@rental_rate_amount = value
|
|
118
|
+
self
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# Sets the property and returns this same instance.
|
|
122
|
+
def with_rental_rate_type(value)
|
|
123
|
+
@rental_rate_type = value
|
|
124
|
+
self
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# Sets the property and returns this same instance.
|
|
128
|
+
def with_renter_name(value)
|
|
129
|
+
@renter_name = value
|
|
130
|
+
self
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# Sets the property and returns this same instance.
|
|
134
|
+
def with_return_details(value)
|
|
135
|
+
@return_details = value
|
|
136
|
+
self
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
# Sets the property and returns this same instance.
|
|
140
|
+
def with_tax_exempt_indicator(value)
|
|
141
|
+
@tax_exempt_indicator = value
|
|
142
|
+
self
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
# Sets the property and returns this same instance.
|
|
146
|
+
def with_toll_free_number(value)
|
|
147
|
+
@toll_free_number = value
|
|
148
|
+
self
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# Sets the property and returns this same instance.
|
|
152
|
+
def with_vehicle(value)
|
|
153
|
+
@vehicle = value
|
|
154
|
+
self
|
|
155
|
+
end
|
|
156
|
+
|
|
61
157
|
# @return (Hash)
|
|
62
158
|
def to_h
|
|
63
159
|
hash = super
|
|
@@ -69,11 +165,11 @@ module OnlinePayments
|
|
|
69
165
|
hash['distanceUnit'] = @distance_unit unless @distance_unit.nil?
|
|
70
166
|
hash['driverIdentificationNumber'] = @driver_identification_number unless @driver_identification_number.nil?
|
|
71
167
|
hash['driverTaxNumber'] = @driver_tax_number unless @driver_tax_number.nil?
|
|
72
|
-
hash['
|
|
168
|
+
hash['pickupDetails'] = @pickup_details.to_h unless @pickup_details.nil?
|
|
73
169
|
hash['rentalRateAmount'] = @rental_rate_amount unless @rental_rate_amount.nil?
|
|
74
170
|
hash['rentalRateType'] = @rental_rate_type unless @rental_rate_type.nil?
|
|
75
171
|
hash['renterName'] = @renter_name unless @renter_name.nil?
|
|
76
|
-
hash['
|
|
172
|
+
hash['returnDetails'] = @return_details.to_h unless @return_details.nil?
|
|
77
173
|
hash['taxExemptIndicator'] = @tax_exempt_indicator unless @tax_exempt_indicator.nil?
|
|
78
174
|
hash['tollFreeNumber'] = @toll_free_number unless @toll_free_number.nil?
|
|
79
175
|
hash['vehicle'] = @vehicle.to_h unless @vehicle.nil?
|
|
@@ -106,9 +202,9 @@ module OnlinePayments
|
|
|
106
202
|
if hash.has_key? 'driverTaxNumber'
|
|
107
203
|
@driver_tax_number = hash['driverTaxNumber']
|
|
108
204
|
end
|
|
109
|
-
if hash.has_key? '
|
|
110
|
-
raise TypeError, "value '%s' is not a Hash" % [hash['
|
|
111
|
-
@
|
|
205
|
+
if hash.has_key? 'pickupDetails'
|
|
206
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['pickupDetails']] unless hash['pickupDetails'].is_a? Hash
|
|
207
|
+
@pickup_details = OnlinePayments::SDK::Domain::CarRentalPickupReturnData.new_from_hash(hash['pickupDetails'])
|
|
112
208
|
end
|
|
113
209
|
if hash.has_key? 'rentalRateAmount'
|
|
114
210
|
@rental_rate_amount = hash['rentalRateAmount']
|
|
@@ -119,9 +215,9 @@ module OnlinePayments
|
|
|
119
215
|
if hash.has_key? 'renterName'
|
|
120
216
|
@renter_name = hash['renterName']
|
|
121
217
|
end
|
|
122
|
-
if hash.has_key? '
|
|
123
|
-
raise TypeError, "value '%s' is not a Hash" % [hash['
|
|
124
|
-
@
|
|
218
|
+
if hash.has_key? 'returnDetails'
|
|
219
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['returnDetails']] unless hash['returnDetails'].is_a? Hash
|
|
220
|
+
@return_details = OnlinePayments::SDK::Domain::CarRentalPickupReturnData.new_from_hash(hash['returnDetails'])
|
|
125
221
|
end
|
|
126
222
|
if hash.has_key? 'taxExemptIndicator'
|
|
127
223
|
@tax_exempt_indicator = hash['taxExemptIndicator']
|
|
@@ -29,6 +29,48 @@ module OnlinePayments
|
|
|
29
29
|
|
|
30
30
|
attr_accessor :state
|
|
31
31
|
|
|
32
|
+
# Sets the property and returns this same instance.
|
|
33
|
+
def with_address(value)
|
|
34
|
+
@address = value
|
|
35
|
+
self
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Sets the property and returns this same instance.
|
|
39
|
+
def with_city(value)
|
|
40
|
+
@city = value
|
|
41
|
+
self
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Sets the property and returns this same instance.
|
|
45
|
+
def with_country(value)
|
|
46
|
+
@country = value
|
|
47
|
+
self
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Sets the property and returns this same instance.
|
|
51
|
+
def with_date(value)
|
|
52
|
+
@date = value
|
|
53
|
+
self
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# Sets the property and returns this same instance.
|
|
57
|
+
def with_location(value)
|
|
58
|
+
@location = value
|
|
59
|
+
self
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Sets the property and returns this same instance.
|
|
63
|
+
def with_postcode(value)
|
|
64
|
+
@postcode = value
|
|
65
|
+
self
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Sets the property and returns this same instance.
|
|
69
|
+
def with_state(value)
|
|
70
|
+
@state = value
|
|
71
|
+
self
|
|
72
|
+
end
|
|
73
|
+
|
|
32
74
|
# @return (Hash)
|
|
33
75
|
def to_h
|
|
34
76
|
hash = super
|
|
@@ -14,6 +14,18 @@ module OnlinePayments
|
|
|
14
14
|
|
|
15
15
|
attr_accessor :identification_number
|
|
16
16
|
|
|
17
|
+
# Sets the property and returns this same instance.
|
|
18
|
+
def with_class_id(value)
|
|
19
|
+
@class_id = value
|
|
20
|
+
self
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# Sets the property and returns this same instance.
|
|
24
|
+
def with_identification_number(value)
|
|
25
|
+
@identification_number = 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 :expiry_date
|
|
22
22
|
|
|
23
|
+
# Sets the property and returns this same instance.
|
|
24
|
+
def with_card_number(value)
|
|
25
|
+
@card_number = value
|
|
26
|
+
self
|
|
27
|
+
end
|
|
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_cvv(value)
|
|
37
|
+
@cvv = value
|
|
38
|
+
self
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Sets the property and returns this same instance.
|
|
42
|
+
def with_expiry_date(value)
|
|
43
|
+
@expiry_date = value
|
|
44
|
+
self
|
|
45
|
+
end
|
|
46
|
+
|
|
23
47
|
# @return (Hash)
|
|
24
48
|
def to_h
|
|
25
49
|
hash = super
|
|
@@ -70,6 +70,126 @@ module OnlinePayments
|
|
|
70
70
|
|
|
71
71
|
attr_accessor :virtual_card_indicator
|
|
72
72
|
|
|
73
|
+
# Sets the property and returns this same instance.
|
|
74
|
+
def with_card_corporate_indicator(value)
|
|
75
|
+
@card_corporate_indicator = value
|
|
76
|
+
self
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# Sets the property and returns this same instance.
|
|
80
|
+
def with_card_effective_date(value)
|
|
81
|
+
@card_effective_date = value
|
|
82
|
+
self
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Sets the property and returns this same instance.
|
|
86
|
+
def with_card_effective_date_indicator(value)
|
|
87
|
+
@card_effective_date_indicator = value
|
|
88
|
+
self
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# Sets the property and returns this same instance.
|
|
92
|
+
def with_card_pan_type(value)
|
|
93
|
+
@card_pan_type = value
|
|
94
|
+
self
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# Sets the property and returns this same instance.
|
|
98
|
+
def with_card_product_code(value)
|
|
99
|
+
@card_product_code = value
|
|
100
|
+
self
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Sets the property and returns this same instance.
|
|
104
|
+
def with_card_product_name(value)
|
|
105
|
+
@card_product_name = value
|
|
106
|
+
self
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# Sets the property and returns this same instance.
|
|
110
|
+
def with_card_product_usage_label(value)
|
|
111
|
+
@card_product_usage_label = value
|
|
112
|
+
self
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# Sets the property and returns this same instance.
|
|
116
|
+
def with_card_scheme(value)
|
|
117
|
+
@card_scheme = value
|
|
118
|
+
self
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# Sets the property and returns this same instance.
|
|
122
|
+
def with_card_type(value)
|
|
123
|
+
@card_type = value
|
|
124
|
+
self
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# Sets the property and returns this same instance.
|
|
128
|
+
def with_country_code(value)
|
|
129
|
+
@country_code = value
|
|
130
|
+
self
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# Sets the property and returns this same instance.
|
|
134
|
+
def with_issuer_code(value)
|
|
135
|
+
@issuer_code = value
|
|
136
|
+
self
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
# Sets the property and returns this same instance.
|
|
140
|
+
def with_issuer_name(value)
|
|
141
|
+
@issuer_name = value
|
|
142
|
+
self
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
# Sets the property and returns this same instance.
|
|
146
|
+
def with_issuer_principal_member_code(value)
|
|
147
|
+
@issuer_principal_member_code = value
|
|
148
|
+
self
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# Sets the property and returns this same instance.
|
|
152
|
+
def with_issuer_principal_member_name(value)
|
|
153
|
+
@issuer_principal_member_name = value
|
|
154
|
+
self
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# Sets the property and returns this same instance.
|
|
158
|
+
def with_issuer_region_code(value)
|
|
159
|
+
@issuer_region_code = value
|
|
160
|
+
self
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
# Sets the property and returns this same instance.
|
|
164
|
+
def with_issuing_country_code(value)
|
|
165
|
+
@issuing_country_code = value
|
|
166
|
+
self
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
# Sets the property and returns this same instance.
|
|
170
|
+
def with_pan_length_max(value)
|
|
171
|
+
@pan_length_max = value
|
|
172
|
+
self
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# Sets the property and returns this same instance.
|
|
176
|
+
def with_pan_length_min(value)
|
|
177
|
+
@pan_length_min = value
|
|
178
|
+
self
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
# Sets the property and returns this same instance.
|
|
182
|
+
def with_pan_luhn_check(value)
|
|
183
|
+
@pan_luhn_check = value
|
|
184
|
+
self
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
# Sets the property and returns this same instance.
|
|
188
|
+
def with_virtual_card_indicator(value)
|
|
189
|
+
@virtual_card_indicator = value
|
|
190
|
+
self
|
|
191
|
+
end
|
|
192
|
+
|
|
73
193
|
# @return (Hash)
|
|
74
194
|
def to_h
|
|
75
195
|
hash = super
|
|
@@ -17,6 +17,24 @@ module OnlinePayments
|
|
|
17
17
|
|
|
18
18
|
attr_accessor :expiry_date
|
|
19
19
|
|
|
20
|
+
# Sets the property and returns this same instance.
|
|
21
|
+
def with_card_number(value)
|
|
22
|
+
@card_number = value
|
|
23
|
+
self
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Sets the property and returns this same instance.
|
|
27
|
+
def with_cardholder_name(value)
|
|
28
|
+
@cardholder_name = value
|
|
29
|
+
self
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Sets the property and returns this same instance.
|
|
33
|
+
def with_expiry_date(value)
|
|
34
|
+
@expiry_date = value
|
|
35
|
+
self
|
|
36
|
+
end
|
|
37
|
+
|
|
20
38
|
# @return (Hash)
|
|
21
39
|
def to_h
|
|
22
40
|
hash = super
|
|
@@ -79,6 +79,144 @@ module OnlinePayments
|
|
|
79
79
|
|
|
80
80
|
attr_accessor :virtual_card_indicator
|
|
81
81
|
|
|
82
|
+
# Sets the property and returns this same instance.
|
|
83
|
+
def with_bin(value)
|
|
84
|
+
@bin = value
|
|
85
|
+
self
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Sets the property and returns this same instance.
|
|
89
|
+
def with_card_corporate_indicator(value)
|
|
90
|
+
@card_corporate_indicator = value
|
|
91
|
+
self
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# Sets the property and returns this same instance.
|
|
95
|
+
def with_card_effective_date(value)
|
|
96
|
+
@card_effective_date = value
|
|
97
|
+
self
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Sets the property and returns this same instance.
|
|
101
|
+
def with_card_effective_date_indicator(value)
|
|
102
|
+
@card_effective_date_indicator = value
|
|
103
|
+
self
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# Sets the property and returns this same instance.
|
|
107
|
+
def with_card_number(value)
|
|
108
|
+
@card_number = value
|
|
109
|
+
self
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# Sets the property and returns this same instance.
|
|
113
|
+
def with_card_pan_type(value)
|
|
114
|
+
@card_pan_type = value
|
|
115
|
+
self
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
# Sets the property and returns this same instance.
|
|
119
|
+
def with_card_product_code(value)
|
|
120
|
+
@card_product_code = value
|
|
121
|
+
self
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
# Sets the property and returns this same instance.
|
|
125
|
+
def with_card_product_name(value)
|
|
126
|
+
@card_product_name = value
|
|
127
|
+
self
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
# Sets the property and returns this same instance.
|
|
131
|
+
def with_card_product_usage_label(value)
|
|
132
|
+
@card_product_usage_label = value
|
|
133
|
+
self
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
# Sets the property and returns this same instance.
|
|
137
|
+
def with_card_scheme(value)
|
|
138
|
+
@card_scheme = value
|
|
139
|
+
self
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# Sets the property and returns this same instance.
|
|
143
|
+
def with_card_type(value)
|
|
144
|
+
@card_type = value
|
|
145
|
+
self
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
# Sets the property and returns this same instance.
|
|
149
|
+
def with_country_code(value)
|
|
150
|
+
@country_code = value
|
|
151
|
+
self
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
# Sets the property and returns this same instance.
|
|
155
|
+
def with_expiry_date(value)
|
|
156
|
+
@expiry_date = value
|
|
157
|
+
self
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
# Sets the property and returns this same instance.
|
|
161
|
+
def with_issuer_code(value)
|
|
162
|
+
@issuer_code = value
|
|
163
|
+
self
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# Sets the property and returns this same instance.
|
|
167
|
+
def with_issuer_name(value)
|
|
168
|
+
@issuer_name = value
|
|
169
|
+
self
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# Sets the property and returns this same instance.
|
|
173
|
+
def with_issuer_principal_member_code(value)
|
|
174
|
+
@issuer_principal_member_code = value
|
|
175
|
+
self
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# Sets the property and returns this same instance.
|
|
179
|
+
def with_issuer_principal_member_name(value)
|
|
180
|
+
@issuer_principal_member_name = value
|
|
181
|
+
self
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# Sets the property and returns this same instance.
|
|
185
|
+
def with_issuer_region_code(value)
|
|
186
|
+
@issuer_region_code = value
|
|
187
|
+
self
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
# Sets the property and returns this same instance.
|
|
191
|
+
def with_issuing_country_code(value)
|
|
192
|
+
@issuing_country_code = value
|
|
193
|
+
self
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
# Sets the property and returns this same instance.
|
|
197
|
+
def with_pan_length_max(value)
|
|
198
|
+
@pan_length_max = value
|
|
199
|
+
self
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
# Sets the property and returns this same instance.
|
|
203
|
+
def with_pan_length_min(value)
|
|
204
|
+
@pan_length_min = value
|
|
205
|
+
self
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
# Sets the property and returns this same instance.
|
|
209
|
+
def with_pan_luhn_check(value)
|
|
210
|
+
@pan_luhn_check = value
|
|
211
|
+
self
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
# Sets the property and returns this same instance.
|
|
215
|
+
def with_virtual_card_indicator(value)
|
|
216
|
+
@virtual_card_indicator = value
|
|
217
|
+
self
|
|
218
|
+
end
|
|
219
|
+
|
|
82
220
|
# @return (Hash)
|
|
83
221
|
def to_h
|
|
84
222
|
hash = super
|
|
@@ -17,6 +17,24 @@ module OnlinePayments
|
|
|
17
17
|
|
|
18
18
|
attr_accessor :fraud_service_result
|
|
19
19
|
|
|
20
|
+
# Sets the property and returns this same instance.
|
|
21
|
+
def with_avs_result(value)
|
|
22
|
+
@avs_result = value
|
|
23
|
+
self
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Sets the property and returns this same instance.
|
|
27
|
+
def with_cvv_result(value)
|
|
28
|
+
@cvv_result = value
|
|
29
|
+
self
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Sets the property and returns this same instance.
|
|
33
|
+
def with_fraud_service_result(value)
|
|
34
|
+
@fraud_service_result = 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_product_id
|
|
16
16
|
|
|
17
|
+
# Sets the property and returns this same instance.
|
|
18
|
+
def with_card_number(value)
|
|
19
|
+
@card_number = value
|
|
20
|
+
self
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# Sets the property and returns this same instance.
|
|
24
|
+
def with_payment_product_id(value)
|
|
25
|
+
@payment_product_id = value
|
|
26
|
+
self
|
|
27
|
+
end
|
|
28
|
+
|
|
17
29
|
# @return (Hash)
|
|
18
30
|
def to_h
|
|
19
31
|
hash = super
|