postfinancecheckout-ruby-sdk 5.2.0 → 6.0.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/Gemfile +20 -5
- data/Gemfile.lock +31 -38
- data/README.md +2973 -140
- data/Rakefile +24 -5
- data/lib/postfinancecheckout-ruby-sdk/api_client.rb +236 -196
- data/lib/postfinancecheckout-ruby-sdk/api_error.rb +40 -17
- data/lib/postfinancecheckout-ruby-sdk/configuration.rb +240 -41
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_account_update.rb +85 -62
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_application_user_update.rb +112 -58
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_customer_active.rb +156 -99
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_customer_address_active.rb +98 -49
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_customer_comment_active.rb +79 -46
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_human_user_update.rb +167 -101
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_payment_connector_configuration_update.rb +304 -0
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_payment_link_update.rb +200 -118
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_payment_method_configuration_update.rb +313 -0
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_payment_processor_configuration_active.rb +269 -0
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_payment_terminal_update.rb +238 -0
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_refund_comment_active.rb +79 -46
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_role_update.rb +253 -0
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_single_sign_on_user_update.rb +318 -0
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_space_update.rb +153 -100
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_subscriber_update.rb +167 -116
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_subscription_affiliate_update.rb +118 -64
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_subscription_metric_update.rb +89 -60
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_subscription_product_active.rb +136 -82
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_token_update.rb +125 -76
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_transaction_comment_active.rb +79 -46
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_transaction_invoice_comment_active.rb +79 -46
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_transaction_pending.rb +298 -203
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_webhook_listener_update.rb +125 -61
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_webhook_url_update.rb +111 -53
- data/lib/postfinancecheckout-ruby-sdk/models/account.rb +186 -146
- data/lib/postfinancecheckout-ruby-sdk/models/account_create.rb +107 -76
- data/lib/postfinancecheckout-ruby-sdk/models/account_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/account_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/account_state.rb +40 -27
- data/lib/postfinancecheckout-ruby-sdk/models/account_type.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/account_update.rb +95 -79
- data/lib/postfinancecheckout-ruby-sdk/models/address.rb +365 -257
- data/lib/postfinancecheckout-ruby-sdk/models/address_create.rb +366 -257
- data/lib/postfinancecheckout-ruby-sdk/models/analytics_query_execution_request.rb +267 -0
- data/lib/postfinancecheckout-ruby-sdk/models/analytics_query_execution_response.rb +219 -0
- data/lib/postfinancecheckout-ruby-sdk/models/application_key_state.rb +49 -0
- data/lib/postfinancecheckout-ruby-sdk/models/application_user.rb +142 -83
- data/lib/postfinancecheckout-ruby-sdk/models/application_user_create.rb +123 -61
- data/lib/postfinancecheckout-ruby-sdk/models/application_user_create_with_mac_key.rb +142 -83
- data/lib/postfinancecheckout-ruby-sdk/models/application_user_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/application_user_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/application_user_update.rb +122 -75
- data/lib/postfinancecheckout-ruby-sdk/models/authenticated_card_data.rb +119 -65
- data/lib/postfinancecheckout-ruby-sdk/models/authenticated_card_data_create.rb +208 -102
- data/lib/postfinancecheckout-ruby-sdk/models/authenticated_card_request.rb +228 -0
- data/lib/postfinancecheckout-ruby-sdk/models/bank_account.rb +145 -88
- data/lib/postfinancecheckout-ruby-sdk/models/bank_account_environment.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/bank_account_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/bank_account_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/bank_account_state.rb +38 -25
- data/lib/postfinancecheckout-ruby-sdk/models/bank_account_type.rb +101 -73
- data/lib/postfinancecheckout-ruby-sdk/models/bank_transaction.rb +218 -155
- data/lib/postfinancecheckout-ruby-sdk/models/bank_transaction_flow_direction.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/bank_transaction_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/bank_transaction_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/bank_transaction_source.rb +91 -63
- data/lib/postfinancecheckout-ruby-sdk/models/bank_transaction_state.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/bank_transaction_type.rb +91 -63
- data/lib/postfinancecheckout-ruby-sdk/models/billing_cycle_model.rb +147 -79
- data/lib/postfinancecheckout-ruby-sdk/models/billing_cycle_type.rb +38 -25
- data/lib/postfinancecheckout-ruby-sdk/models/billing_day_customization.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/card_authentication_response.rb +39 -26
- data/lib/postfinancecheckout-ruby-sdk/models/card_authentication_version.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/card_cryptogram.rb +75 -47
- data/lib/postfinancecheckout-ruby-sdk/models/card_cryptogram_create.rb +77 -47
- data/lib/postfinancecheckout-ruby-sdk/models/cardholder_authentication.rb +111 -63
- data/lib/postfinancecheckout-ruby-sdk/models/cardholder_authentication_create.rb +115 -63
- data/lib/postfinancecheckout-ruby-sdk/models/charge.rb +175 -129
- data/lib/postfinancecheckout-ruby-sdk/models/charge_attempt.rb +277 -224
- data/lib/postfinancecheckout-ruby-sdk/models/charge_attempt_environment.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/charge_attempt_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/charge_attempt_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/charge_attempt_state.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/charge_bank_transaction.rb +129 -104
- data/lib/postfinancecheckout-ruby-sdk/models/charge_bank_transaction_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/charge_bank_transaction_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/charge_flow.rb +131 -82
- data/lib/postfinancecheckout-ruby-sdk/models/charge_flow_level.rb +159 -115
- data/lib/postfinancecheckout-ruby-sdk/models/charge_flow_level_configuration.rb +146 -94
- data/lib/postfinancecheckout-ruby-sdk/models/charge_flow_level_configuration_type.rb +92 -64
- data/lib/postfinancecheckout-ruby-sdk/models/charge_flow_level_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/charge_flow_level_payment_link.rb +88 -61
- data/lib/postfinancecheckout-ruby-sdk/models/charge_flow_level_payment_link_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/charge_flow_level_payment_link_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/charge_flow_level_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/charge_flow_level_state.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/charge_flow_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/charge_flow_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/charge_state.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/charge_type.rb +38 -25
- data/lib/postfinancecheckout-ruby-sdk/models/client_platform_information_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/client_platform_information_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/completion_line_item.rb +82 -50
- data/lib/postfinancecheckout-ruby-sdk/models/completion_line_item_create.rb +83 -49
- data/lib/postfinancecheckout-ruby-sdk/models/completion_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/completion_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/condition.rb +125 -72
- data/lib/postfinancecheckout-ruby-sdk/models/condition_type.rb +91 -63
- data/lib/postfinancecheckout-ruby-sdk/models/condition_type_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/condition_type_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/connector_invocation.rb +141 -92
- data/lib/postfinancecheckout-ruby-sdk/models/connector_invocation_stage.rb +38 -25
- data/lib/postfinancecheckout-ruby-sdk/models/country_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/country_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/creation_entity_state.rb +39 -26
- data/lib/postfinancecheckout-ruby-sdk/models/currency_bank_account.rb +117 -69
- data/lib/postfinancecheckout-ruby-sdk/models/currency_bank_account_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/currency_bank_account_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/currency_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/currency_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/customer.rb +174 -118
- data/lib/postfinancecheckout-ruby-sdk/models/customer_active.rb +160 -110
- data/lib/postfinancecheckout-ruby-sdk/models/customer_address.rb +132 -85
- data/lib/postfinancecheckout-ruby-sdk/models/customer_address_active.rb +109 -67
- data/lib/postfinancecheckout-ruby-sdk/models/customer_address_create.rb +108 -51
- data/lib/postfinancecheckout-ruby-sdk/models/customer_address_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/customer_address_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/customer_address_type.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/customer_comment.rb +138 -107
- data/lib/postfinancecheckout-ruby-sdk/models/customer_comment_active.rb +90 -64
- data/lib/postfinancecheckout-ruby-sdk/models/customer_comment_create.rb +89 -48
- data/lib/postfinancecheckout-ruby-sdk/models/customer_comment_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/customer_comment_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/customer_create.rb +163 -100
- data/lib/postfinancecheckout-ruby-sdk/models/customer_email_address_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/customer_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/customer_postal_address.rb +365 -257
- data/lib/postfinancecheckout-ruby-sdk/models/customer_postal_address_create.rb +366 -257
- data/lib/postfinancecheckout-ruby-sdk/models/customer_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/customers_presence.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/data_collection_type.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/delivery_indication.rb +157 -111
- data/lib/postfinancecheckout-ruby-sdk/models/delivery_indication_decision_reason.rb +91 -63
- data/lib/postfinancecheckout-ruby-sdk/models/delivery_indication_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/delivery_indication_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/delivery_indication_state.rb +38 -25
- data/lib/postfinancecheckout-ruby-sdk/models/displayable_day_of_week.rb +41 -28
- data/lib/postfinancecheckout-ruby-sdk/models/displayable_month.rb +46 -33
- data/lib/postfinancecheckout-ruby-sdk/models/document_template.rb +146 -93
- data/lib/postfinancecheckout-ruby-sdk/models/document_template_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/document_template_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/document_template_type.rb +97 -71
- data/lib/postfinancecheckout-ruby-sdk/models/document_template_type_group.rb +75 -47
- data/lib/postfinancecheckout-ruby-sdk/models/document_template_type_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/document_template_type_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/dunning_case.rb +164 -121
- data/lib/postfinancecheckout-ruby-sdk/models/dunning_case_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/dunning_case_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/dunning_case_state.rb +40 -27
- data/lib/postfinancecheckout-ruby-sdk/models/dunning_condition.rb +119 -65
- data/lib/postfinancecheckout-ruby-sdk/models/dunning_condition_type.rb +91 -63
- data/lib/postfinancecheckout-ruby-sdk/models/dunning_flow.rb +132 -84
- data/lib/postfinancecheckout-ruby-sdk/models/dunning_flow_level.rb +175 -125
- data/lib/postfinancecheckout-ruby-sdk/models/dunning_flow_level_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/dunning_flow_level_processor.rb +99 -72
- data/lib/postfinancecheckout-ruby-sdk/models/dunning_flow_level_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/dunning_flow_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/dunning_flow_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/dunning_flow_type.rb +98 -71
- data/lib/postfinancecheckout-ruby-sdk/models/environment.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/express_checkout_create_response.rb +227 -0
- data/lib/postfinancecheckout-ruby-sdk/models/express_checkout_session.rb +302 -0
- data/lib/postfinancecheckout-ruby-sdk/models/express_checkout_session_create.rb +231 -0
- data/lib/postfinancecheckout-ruby-sdk/models/express_checkout_session_state.rb +51 -0
- data/lib/postfinancecheckout-ruby-sdk/models/express_checkout_shipping_option.rb +279 -0
- data/lib/postfinancecheckout-ruby-sdk/models/express_checkout_wallet_type.rb +243 -0
- data/lib/postfinancecheckout-ruby-sdk/models/external_transfer_bank_transaction.rb +112 -85
- data/lib/postfinancecheckout-ruby-sdk/models/external_transfer_bank_transaction_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/external_transfer_bank_transaction_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/facade_user_friendly_query_status_model.rb +50 -0
- data/lib/postfinancecheckout-ruby-sdk/models/failure_category.rb +39 -26
- data/lib/postfinancecheckout-ruby-sdk/models/failure_reason.rb +113 -64
- data/lib/postfinancecheckout-ruby-sdk/models/feature.rb +132 -105
- data/lib/postfinancecheckout-ruby-sdk/models/feature_category.rb +100 -72
- data/lib/postfinancecheckout-ruby-sdk/models/gender.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/human_user.rb +171 -128
- data/lib/postfinancecheckout-ruby-sdk/models/human_user_create.rb +178 -106
- data/lib/postfinancecheckout-ruby-sdk/models/human_user_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/human_user_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/human_user_update.rb +179 -120
- data/lib/postfinancecheckout-ruby-sdk/models/internal_transfer_bank_transaction.rb +93 -67
- data/lib/postfinancecheckout-ruby-sdk/models/internal_transfer_bank_transaction_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/internal_transfer_bank_transaction_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_comment_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_comment_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/label.rb +90 -62
- data/lib/postfinancecheckout-ruby-sdk/models/label_descriptor.rb +148 -90
- data/lib/postfinancecheckout-ruby-sdk/models/label_descriptor_category.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/label_descriptor_group.rb +100 -72
- data/lib/postfinancecheckout-ruby-sdk/models/label_descriptor_group_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/label_descriptor_group_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/label_descriptor_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/label_descriptor_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/label_descriptor_type.rb +91 -63
- data/lib/postfinancecheckout-ruby-sdk/models/language_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/language_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/legal_organization_form.rb +120 -72
- data/lib/postfinancecheckout-ruby-sdk/models/legal_organization_form_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/legal_organization_form_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/line_item.rb +252 -181
- data/lib/postfinancecheckout-ruby-sdk/models/line_item_attribute.rb +85 -49
- data/lib/postfinancecheckout-ruby-sdk/models/line_item_attribute_create.rb +79 -47
- data/lib/postfinancecheckout-ruby-sdk/models/line_item_create.rb +180 -107
- data/lib/postfinancecheckout-ruby-sdk/models/line_item_reduction.rb +94 -62
- data/lib/postfinancecheckout-ruby-sdk/models/line_item_reduction_create.rb +105 -71
- data/lib/postfinancecheckout-ruby-sdk/models/line_item_type.rb +39 -26
- data/lib/postfinancecheckout-ruby-sdk/models/line_item_version_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/line_item_version_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/localized_string.rb +87 -59
- data/lib/postfinancecheckout-ruby-sdk/models/manual_task.rb +141 -91
- data/lib/postfinancecheckout-ruby-sdk/models/manual_task_action.rb +118 -69
- data/lib/postfinancecheckout-ruby-sdk/models/manual_task_action_style.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/manual_task_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/manual_task_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/manual_task_state.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/manual_task_type.rb +110 -71
- data/lib/postfinancecheckout-ruby-sdk/models/metric_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/metric_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/metric_usage_report_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/metric_usage_report_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/one_click_payment_mode.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/pan_type.rb +42 -29
- data/lib/postfinancecheckout-ruby-sdk/models/payment_adjustment.rb +116 -70
- data/lib/postfinancecheckout-ruby-sdk/models/payment_adjustment_type.rb +91 -63
- data/lib/postfinancecheckout-ruby-sdk/models/payment_connector.rb +200 -125
- data/lib/postfinancecheckout-ruby-sdk/models/payment_connector_configuration.rb +208 -138
- data/lib/postfinancecheckout-ruby-sdk/models/payment_connector_configuration_create.rb +400 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_connector_configuration_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_connector_configuration_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_connector_configuration_update.rb +328 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_connector_feature.rb +76 -48
- data/lib/postfinancecheckout-ruby-sdk/models/payment_connector_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_connector_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_contract.rb +179 -142
- data/lib/postfinancecheckout-ruby-sdk/models/payment_contract_state.rb +39 -26
- data/lib/postfinancecheckout-ruby-sdk/models/payment_contract_type.rb +91 -63
- data/lib/postfinancecheckout-ruby-sdk/models/payment_information_hash.rb +76 -48
- data/lib/postfinancecheckout-ruby-sdk/models/payment_information_hash_type.rb +88 -60
- data/lib/postfinancecheckout-ruby-sdk/models/payment_link.rb +242 -163
- data/lib/postfinancecheckout-ruby-sdk/models/payment_link_active.rb +210 -136
- data/lib/postfinancecheckout-ruby-sdk/models/payment_link_address_handling_mode.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/payment_link_create.rb +230 -140
- data/lib/postfinancecheckout-ruby-sdk/models/payment_link_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_link_protection_mode.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/payment_link_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_link_update.rb +202 -134
- data/lib/postfinancecheckout-ruby-sdk/models/payment_method.rb +137 -89
- data/lib/postfinancecheckout-ruby-sdk/models/payment_method_brand.rb +105 -77
- data/lib/postfinancecheckout-ruby-sdk/models/payment_method_brand_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_method_brand_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_method_configuration.rb +214 -145
- data/lib/postfinancecheckout-ruby-sdk/models/payment_method_configuration_active.rb +346 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_method_configuration_create.rb +369 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_method_configuration_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_method_configuration_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_method_configuration_update.rb +330 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_method_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_method_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_primary_risk_taker.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/payment_processor.rb +105 -76
- data/lib/postfinancecheckout-ruby-sdk/models/payment_processor_configuration.rb +136 -84
- data/lib/postfinancecheckout-ruby-sdk/models/payment_processor_configuration_active.rb +293 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_processor_configuration_create.rb +293 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_processor_configuration_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_processor_configuration_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_processor_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_processor_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal.rb +173 -123
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_address.rb +196 -148
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_configuration.rb +119 -67
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_configuration_state.rb +38 -25
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_configuration_version.rb +173 -125
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_configuration_version_state.rb +39 -26
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_create.rb +309 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_location.rb +126 -73
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_location_state.rb +38 -25
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_location_version.rb +151 -105
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_location_version_state.rb +39 -26
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_preparing.rb +272 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_receipt_type.rb +91 -63
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_state.rb +40 -27
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_transaction_summary_reference.rb +88 -60
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_type.rb +91 -63
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_update.rb +255 -0
- data/lib/postfinancecheckout-ruby-sdk/models/permission.rb +135 -109
- data/lib/postfinancecheckout-ruby-sdk/models/permission_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/permission_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/persistable_currency_amount.rb +75 -49
- data/lib/postfinancecheckout-ruby-sdk/models/persistable_currency_amount_update.rb +75 -49
- data/lib/postfinancecheckout-ruby-sdk/models/product_component_group_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_component_group_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_component_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_component_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_fee_type.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/product_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_metered_fee.rb +134 -88
- data/lib/postfinancecheckout-ruby-sdk/models/product_metered_fee_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_metered_fee_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_metered_fee_tier_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_metered_fee_tier_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_metered_fee_update.rb +125 -89
- data/lib/postfinancecheckout-ruby-sdk/models/product_metered_tier_fee.rb +106 -69
- data/lib/postfinancecheckout-ruby-sdk/models/product_metered_tier_fee_update.rb +108 -83
- data/lib/postfinancecheckout-ruby-sdk/models/product_metered_tier_pricing.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/product_period_fee.rb +162 -104
- data/lib/postfinancecheckout-ruby-sdk/models/product_period_fee_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_period_fee_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_period_fee_update.rb +130 -105
- data/lib/postfinancecheckout-ruby-sdk/models/product_retirement_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_retirement_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_setup_fee.rb +204 -99
- data/lib/postfinancecheckout-ruby-sdk/models/product_setup_fee_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_setup_fee_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_setup_fee_update.rb +143 -98
- data/lib/postfinancecheckout-ruby-sdk/models/product_version_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_version_retirement_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_version_retirement_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/product_version_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/recurring_indicator.rb +38 -25
- data/lib/postfinancecheckout-ruby-sdk/models/refund.rb +358 -256
- data/lib/postfinancecheckout-ruby-sdk/models/refund_bank_transaction.rb +129 -103
- data/lib/postfinancecheckout-ruby-sdk/models/refund_bank_transaction_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/refund_bank_transaction_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/refund_comment.rb +138 -107
- data/lib/postfinancecheckout-ruby-sdk/models/refund_comment_active.rb +90 -64
- data/lib/postfinancecheckout-ruby-sdk/models/refund_comment_create.rb +89 -48
- data/lib/postfinancecheckout-ruby-sdk/models/refund_comment_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/refund_comment_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/refund_create.rb +167 -85
- data/lib/postfinancecheckout-ruby-sdk/models/refund_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/refund_recovery_bank_transaction.rb +133 -107
- data/lib/postfinancecheckout-ruby-sdk/models/refund_recovery_bank_transaction_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/refund_recovery_bank_transaction_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/refund_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/refund_state.rb +40 -27
- data/lib/postfinancecheckout-ruby-sdk/models/refund_type.rb +38 -25
- data/lib/postfinancecheckout-ruby-sdk/models/rendered_document.rb +87 -73
- data/lib/postfinancecheckout-ruby-sdk/models/rendered_terminal_receipt.rb +97 -84
- data/lib/postfinancecheckout-ruby-sdk/models/rendered_terminal_receipt_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/rest_address_format.rb +113 -65
- data/lib/postfinancecheckout-ruby-sdk/models/rest_address_format_field.rb +44 -31
- data/lib/postfinancecheckout-ruby-sdk/models/rest_api_bulk_operation_result.rb +249 -0
- data/lib/postfinancecheckout-ruby-sdk/models/rest_api_error_response.rb +261 -0
- data/lib/postfinancecheckout-ruby-sdk/models/rest_application_user_mac_key.rb +260 -0
- data/lib/postfinancecheckout-ruby-sdk/models/rest_application_user_mac_key_created.rb +277 -0
- data/lib/postfinancecheckout-ruby-sdk/models/rest_country.rb +112 -75
- data/lib/postfinancecheckout-ruby-sdk/models/rest_country_state.rb +90 -62
- data/lib/postfinancecheckout-ruby-sdk/models/rest_currency.rb +92 -64
- data/lib/postfinancecheckout-ruby-sdk/models/rest_customer_email_address.rb +229 -0
- data/lib/postfinancecheckout-ruby-sdk/models/rest_language.rb +109 -81
- data/lib/postfinancecheckout-ruby-sdk/models/result_portion_model.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/role.rb +149 -91
- data/lib/postfinancecheckout-ruby-sdk/models/role_create.rb +277 -0
- data/lib/postfinancecheckout-ruby-sdk/models/role_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/role_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/role_state.rb +38 -25
- data/lib/postfinancecheckout-ruby-sdk/models/role_update.rb +277 -0
- data/lib/postfinancecheckout-ruby-sdk/models/sales_channel.rb +99 -71
- data/lib/postfinancecheckout-ruby-sdk/models/sales_channel_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/sales_channel_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/scope.rb +264 -154
- data/lib/postfinancecheckout-ruby-sdk/models/scope_single_sign_on_provider.rb +318 -0
- data/lib/postfinancecheckout-ruby-sdk/models/single_sign_on_user.rb +317 -0
- data/lib/postfinancecheckout-ruby-sdk/models/single_sign_on_user_create.rb +352 -0
- data/lib/postfinancecheckout-ruby-sdk/models/single_sign_on_user_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/single_sign_on_user_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/single_sign_on_user_update.rb +342 -0
- data/lib/postfinancecheckout-ruby-sdk/models/sorting_order.rb +48 -0
- data/lib/postfinancecheckout-ruby-sdk/models/space.rb +221 -171
- data/lib/postfinancecheckout-ruby-sdk/models/space_address.rb +244 -180
- data/lib/postfinancecheckout-ruby-sdk/models/space_address_create.rb +244 -180
- data/lib/postfinancecheckout-ruby-sdk/models/space_create.rb +170 -109
- data/lib/postfinancecheckout-ruby-sdk/models/space_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/space_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/space_update.rb +159 -113
- data/lib/postfinancecheckout-ruby-sdk/models/space_view.rb +131 -79
- data/lib/postfinancecheckout-ruby-sdk/models/static_value.rb +100 -72
- data/lib/postfinancecheckout-ruby-sdk/models/static_value_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/static_value_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/submitted_analytics_query_execution.rb +320 -0
- data/lib/postfinancecheckout-ruby-sdk/models/subscriber.rb +216 -144
- data/lib/postfinancecheckout-ruby-sdk/models/subscriber_active.rb +206 -140
- data/lib/postfinancecheckout-ruby-sdk/models/subscriber_create.rb +208 -127
- data/lib/postfinancecheckout-ruby-sdk/models/subscriber_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/subscriber_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/subscriber_update.rb +176 -138
- data/lib/postfinancecheckout-ruby-sdk/models/subscription.rb +232 -167
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_affiliate.rb +171 -114
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_affiliate_create.rb +148 -84
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_affiliate_deleted.rb +178 -114
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_affiliate_deleting.rb +178 -114
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_affiliate_inactive.rb +144 -97
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_affiliate_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_affiliate_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_affiliate_update.rb +137 -97
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_charge.rb +274 -194
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_charge_create.rb +197 -117
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_charge_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_charge_processing_type.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_charge_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_charge_state.rb +39 -26
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_charge_type.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_component_configuration.rb +95 -67
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_component_reference_configuration.rb +87 -58
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_create_request.rb +97 -87
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_initialize_subscriber_present_request.rb +229 -0
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_ledger_entry.rb +262 -187
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_ledger_entry_create.rb +149 -102
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_ledger_entry_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_ledger_entry_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_ledger_entry_state.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_metric.rb +125 -76
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_metric_active.rb +100 -77
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_metric_create.rb +98 -58
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_metric_type.rb +99 -71
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_metric_update.rb +93 -77
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_metric_usage_report.rb +123 -90
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_metric_usage_report_create.rb +107 -66
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_pending.rb +131 -89
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_period_bill.rb +152 -104
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_period_bill_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_period_bill_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_period_bill_state.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product.rb +195 -125
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product_active.rb +140 -92
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product_component.rb +152 -127
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product_component_group.rb +103 -76
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product_component_group_update.rb +100 -85
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product_component_reference.rb +143 -73
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product_component_reference_state.rb +38 -25
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product_component_update.rb +150 -135
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product_create.rb +155 -80
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product_retirement.rb +112 -86
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product_retirement_request.rb +229 -0
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product_state.rb +39 -26
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product_version.rb +239 -179
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product_version_pending.rb +164 -119
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product_version_retirement.rb +112 -86
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product_version_retirement_request.rb +229 -0
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product_version_state.rb +39 -26
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_state.rb +42 -29
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_suspension.rb +177 -127
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_suspension_action.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_suspension_reason.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_suspension_state.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_update.rb +106 -87
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_update_request.rb +79 -47
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_version.rb +219 -163
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_version_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_version_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_version_state.rb +40 -27
- data/lib/postfinancecheckout-ruby-sdk/models/suspension_creation_request.rb +279 -0
- data/lib/postfinancecheckout-ruby-sdk/models/suspension_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/suspension_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/tax.rb +102 -51
- data/lib/postfinancecheckout-ruby-sdk/models/tax_calculation.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/tax_class.rb +118 -65
- data/lib/postfinancecheckout-ruby-sdk/models/tax_create.rb +100 -49
- data/lib/postfinancecheckout-ruby-sdk/models/tenant_database.rb +90 -58
- data/lib/postfinancecheckout-ruby-sdk/models/terminal_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/terminal_receipt_format.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/terminal_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/token.rb +186 -117
- data/lib/postfinancecheckout-ruby-sdk/models/token_create.rb +159 -81
- data/lib/postfinancecheckout-ruby-sdk/models/token_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/token_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/token_update.rb +133 -91
- data/lib/postfinancecheckout-ruby-sdk/models/token_version.rb +285 -187
- data/lib/postfinancecheckout-ruby-sdk/models/token_version_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/token_version_retry_strategy.rb +49 -0
- data/lib/postfinancecheckout-ruby-sdk/models/token_version_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/token_version_state.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/token_version_type.rb +99 -72
- data/lib/postfinancecheckout-ruby-sdk/models/tokenization_mode.rb +38 -25
- data/lib/postfinancecheckout-ruby-sdk/models/tokenized_card_data.rb +113 -65
- data/lib/postfinancecheckout-ruby-sdk/models/tokenized_card_data_create.rb +201 -94
- data/lib/postfinancecheckout-ruby-sdk/models/tokenized_card_request.rb +228 -0
- data/lib/postfinancecheckout-ruby-sdk/models/transaction.rb +659 -561
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_client_platform_information.rb +289 -0
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_comment.rb +138 -107
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_comment_active.rb +90 -64
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_comment_create.rb +89 -48
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_comment_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_comment_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_completion.rb +360 -256
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_completion_behavior.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_completion_details.rb +363 -0
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_completion_mode.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_completion_state.rb +39 -26
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_create.rb +366 -250
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_environment_selection_strategy.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_group.rb +144 -79
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_group_state.rb +37 -24
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_invoice.rb +256 -178
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_invoice_comment.rb +134 -103
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_invoice_comment_active.rb +90 -64
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_invoice_comment_create.rb +90 -49
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_invoice_replacement.rb +145 -86
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_invoice_state.rb +41 -28
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_line_item_version.rb +219 -162
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_line_item_version_create.rb +98 -64
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_line_item_version_state.rb +39 -26
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_pending.rb +305 -217
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_state.rb +44 -31
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_user_interface_type.rb +40 -26
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_void.rb +207 -151
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_void_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_void_mode.rb +36 -23
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_void_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_void_state.rb +38 -25
- data/lib/postfinancecheckout-ruby-sdk/models/two_factor_authentication_type.rb +101 -73
- data/lib/postfinancecheckout-ruby-sdk/models/user.rb +116 -68
- data/lib/postfinancecheckout-ruby-sdk/models/user_account_role.rb +104 -76
- data/lib/postfinancecheckout-ruby-sdk/models/user_account_role_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/user_space_role.rb +97 -69
- data/lib/postfinancecheckout-ruby-sdk/models/user_space_role_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/user_type.rb +39 -26
- data/lib/postfinancecheckout-ruby-sdk/models/wallet_type.rb +102 -77
- data/lib/postfinancecheckout-ruby-sdk/models/web_app_confirmation_response.rb +90 -62
- data/lib/postfinancecheckout-ruby-sdk/models/webhook_identity.rb +118 -64
- data/lib/postfinancecheckout-ruby-sdk/models/webhook_listener.rb +174 -113
- data/lib/postfinancecheckout-ruby-sdk/models/webhook_listener_create.rb +144 -70
- data/lib/postfinancecheckout-ruby-sdk/models/webhook_listener_entity.rb +87 -59
- data/lib/postfinancecheckout-ruby-sdk/models/webhook_listener_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/webhook_listener_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/webhook_listener_update.rb +132 -75
- data/lib/postfinancecheckout-ruby-sdk/models/webhook_url.rb +145 -88
- data/lib/postfinancecheckout-ruby-sdk/models/webhook_url_create.rb +118 -54
- data/lib/postfinancecheckout-ruby-sdk/models/webhook_url_list_response.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/webhook_url_search_response.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/webhook_url_update.rb +122 -71
- data/lib/postfinancecheckout-ruby-sdk/postfinancecheckout_sdk_exception.rb +59 -0
- data/lib/postfinancecheckout-ruby-sdk/service/accounts_service.rb +600 -0
- data/lib/postfinancecheckout-ruby-sdk/service/analytics_queries_service.rb +393 -0
- data/lib/postfinancecheckout-ruby-sdk/service/application_users_roles_service.rb +476 -0
- data/lib/postfinancecheckout-ruby-sdk/service/application_users_service.rb +668 -0
- data/lib/postfinancecheckout-ruby-sdk/service/bank_accounts_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/bank_transactions_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/charge_attempts_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/charge_bank_transactions_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/charge_flow_levels_service.rb +356 -0
- data/lib/postfinancecheckout-ruby-sdk/service/charge_flows_level_payment_links_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/charge_flows_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/condition_types_service.rb +266 -0
- data/lib/postfinancecheckout-ruby-sdk/service/countries_service.rb +418 -0
- data/lib/postfinancecheckout-ruby-sdk/service/currencies_service.rb +235 -0
- data/lib/postfinancecheckout-ruby-sdk/service/currency_bank_accounts_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/customer_addresses_service.rb +627 -0
- data/lib/postfinancecheckout-ruby-sdk/service/customer_comments_service.rb +702 -0
- data/lib/postfinancecheckout-ruby-sdk/service/customers_service.rb +890 -0
- data/lib/postfinancecheckout-ruby-sdk/service/delivery_indications_service.rb +431 -0
- data/lib/postfinancecheckout-ruby-sdk/service/document_template_types_service.rb +266 -0
- data/lib/postfinancecheckout-ruby-sdk/service/document_templates_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/dunning_cases_service.rb +428 -0
- data/lib/postfinancecheckout-ruby-sdk/service/dunning_flow_levels_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/dunning_flows_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/express_checkout_service.rb +105 -0
- data/lib/postfinancecheckout-ruby-sdk/service/external_transfer_bank_transactions_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/human_users_roles_service.rb +476 -0
- data/lib/postfinancecheckout-ruby-sdk/service/human_users_service.rb +557 -0
- data/lib/postfinancecheckout-ruby-sdk/service/internal_transfer_bank_transactions_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/label_descriptors_service.rb +501 -0
- data/lib/postfinancecheckout-ruby-sdk/service/languages_service.rb +235 -0
- data/lib/postfinancecheckout-ruby-sdk/service/legal_organization_forms_service.rb +266 -0
- data/lib/postfinancecheckout-ruby-sdk/service/manual_tasks_service.rb +431 -0
- data/lib/postfinancecheckout-ruby-sdk/service/payment_connector_configurations_service.rb +518 -0
- data/lib/postfinancecheckout-ruby-sdk/service/payment_connectors_service.rb +266 -0
- data/lib/postfinancecheckout-ruby-sdk/service/payment_links_service.rb +518 -0
- data/lib/postfinancecheckout-ruby-sdk/service/payment_method_brands_service.rb +266 -0
- data/lib/postfinancecheckout-ruby-sdk/service/payment_method_configurations_service.rb +518 -0
- data/lib/postfinancecheckout-ruby-sdk/service/payment_methods_service.rb +266 -0
- data/lib/postfinancecheckout-ruby-sdk/service/payment_processor_configurations_service.rb +518 -0
- data/lib/postfinancecheckout-ruby-sdk/service/payment_processors_service.rb +266 -0
- data/lib/postfinancecheckout-ruby-sdk/service/payment_sales_channels_service.rb +266 -0
- data/lib/postfinancecheckout-ruby-sdk/service/payment_terminals_service.rb +1048 -0
- data/lib/postfinancecheckout-ruby-sdk/service/permissions_service.rb +266 -0
- data/lib/postfinancecheckout-ruby-sdk/service/refund_bank_transactions_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/refund_comments_service.rb +702 -0
- data/lib/postfinancecheckout-ruby-sdk/service/refund_recovery_bank_transactions_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/refunds_service.rb +577 -0
- data/lib/postfinancecheckout-ruby-sdk/service/roles_service.rb +476 -0
- data/lib/postfinancecheckout-ruby-sdk/service/single_sign_on_users_roles_service.rb +476 -0
- data/lib/postfinancecheckout-ruby-sdk/service/single_sign_on_users_service.rb +476 -0
- data/lib/postfinancecheckout-ruby-sdk/service/spaces_service.rb +476 -0
- data/lib/postfinancecheckout-ruby-sdk/service/static_values_service.rb +266 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscribers_service.rb +516 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscription_affiliates_service.rb +516 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscription_charges_service.rb +436 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscription_ledger_entries_service.rb +364 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscription_metric_usage_reports_service.rb +364 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscription_metrics_service.rb +516 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscription_period_bills_service.rb +373 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscription_product_component_groups_service.rb +516 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscription_product_components_service.rb +516 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscription_product_metered_fee_tiers_service.rb +552 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscription_product_metered_fees_service.rb +516 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscription_product_period_fees_service.rb +516 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscription_product_retirements_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscription_product_setup_fees_service.rb +516 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscription_product_version_retirements_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscription_product_versions_service.rb +602 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscription_products_service.rb +530 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscription_suspensions_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscription_versions_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/subscriptions_service.rb +1088 -0
- data/lib/postfinancecheckout-ruby-sdk/service/token_versions_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/tokens_service.rb +662 -0
- data/lib/postfinancecheckout-ruby-sdk/service/transaction_client_platforms_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/transaction_comments_service.rb +702 -0
- data/lib/postfinancecheckout-ruby-sdk/service/transaction_completions_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/transaction_invoice_comments_service.rb +702 -0
- data/lib/postfinancecheckout-ruby-sdk/service/transaction_invoices_service.rb +652 -0
- data/lib/postfinancecheckout-ruby-sdk/service/transaction_line_item_versions_service.rb +364 -0
- data/lib/postfinancecheckout-ruby-sdk/service/transaction_voids_service.rb +287 -0
- data/lib/postfinancecheckout-ruby-sdk/service/transactions_service.rb +2838 -0
- data/lib/postfinancecheckout-ruby-sdk/service/web_apps_service.rb +228 -0
- data/lib/postfinancecheckout-ruby-sdk/service/webhook_encryption_keys_service.rb +133 -0
- data/lib/postfinancecheckout-ruby-sdk/service/webhook_listeners_service.rb +738 -0
- data/lib/postfinancecheckout-ruby-sdk/service/webhook_urls_service.rb +738 -0
- data/lib/postfinancecheckout-ruby-sdk/utils/encryption_util.rb +80 -0
- data/lib/postfinancecheckout-ruby-sdk/version.rb +21 -18
- data/lib/postfinancecheckout-ruby-sdk.rb +367 -241
- data/postfinancecheckout-ruby-sdk.gemspec +38 -28
- data/test/constants.rb +49 -80
- data/test/encryption_util_test.rb +47 -27
- data/test/test_querying.rb +242 -0
- data/test/test_refunds_service.rb +119 -0
- data/test/test_transaction_completions_service.rb +72 -0
- data/test/test_transactions_service.rb +1163 -0
- data/test/test_webhook_listeners_service.rb +132 -0
- data/test/utils.rb +62 -0
- metadata +389 -792
- data/lib/postfinancecheckout-ruby-sdk/api/account_service_api.rb +0 -398
- data/lib/postfinancecheckout-ruby-sdk/api/application_user_service_api.rb +0 -398
- data/lib/postfinancecheckout-ruby-sdk/api/bank_account_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/bank_transaction_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/card_processing_service_api.rb +0 -182
- data/lib/postfinancecheckout-ruby-sdk/api/charge_attempt_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/charge_bank_transaction_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/charge_flow_level_payment_link_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/charge_flow_level_service_api.rb +0 -296
- data/lib/postfinancecheckout-ruby-sdk/api/charge_flow_service_api.rb +0 -509
- data/lib/postfinancecheckout-ruby-sdk/api/condition_type_service_api.rb +0 -149
- data/lib/postfinancecheckout-ruby-sdk/api/country_service_api.rb +0 -86
- data/lib/postfinancecheckout-ruby-sdk/api/country_state_service_api.rb +0 -149
- data/lib/postfinancecheckout-ruby-sdk/api/currency_bank_account_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/currency_service_api.rb +0 -86
- data/lib/postfinancecheckout-ruby-sdk/api/customer_address_service_api.rb +0 -495
- data/lib/postfinancecheckout-ruby-sdk/api/customer_comment_service_api.rb +0 -562
- data/lib/postfinancecheckout-ruby-sdk/api/customer_service_api.rb +0 -428
- data/lib/postfinancecheckout-ruby-sdk/api/delivery_indication_service_api.rb +0 -362
- data/lib/postfinancecheckout-ruby-sdk/api/document_template_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/document_template_type_service_api.rb +0 -149
- data/lib/postfinancecheckout-ruby-sdk/api/dunning_case_level_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/dunning_case_service_api.rb +0 -366
- data/lib/postfinancecheckout-ruby-sdk/api/dunning_flow_level_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/dunning_flow_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/external_transfer_bank_transaction_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/human_user_service_api.rb +0 -460
- data/lib/postfinancecheckout-ruby-sdk/api/internal_transfer_bank_transaction_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/invoice_reconciliation_record_invoice_link_service_api.rb +0 -376
- data/lib/postfinancecheckout-ruby-sdk/api/invoice_reconciliation_record_service_api.rb +0 -429
- data/lib/postfinancecheckout-ruby-sdk/api/invoice_reimbursement_service_api.rb +0 -373
- data/lib/postfinancecheckout-ruby-sdk/api/label_description_group_service_api.rb +0 -149
- data/lib/postfinancecheckout-ruby-sdk/api/label_description_service_api.rb +0 -149
- data/lib/postfinancecheckout-ruby-sdk/api/language_service_api.rb +0 -86
- data/lib/postfinancecheckout-ruby-sdk/api/legal_organization_form_service_api.rb +0 -212
- data/lib/postfinancecheckout-ruby-sdk/api/manual_task_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/payment_connector_configuration_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/payment_connector_service_api.rb +0 -149
- data/lib/postfinancecheckout-ruby-sdk/api/payment_link_service_api.rb +0 -428
- data/lib/postfinancecheckout-ruby-sdk/api/payment_method_brand_service_api.rb +0 -149
- data/lib/postfinancecheckout-ruby-sdk/api/payment_method_configuration_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/payment_method_service_api.rb +0 -149
- data/lib/postfinancecheckout-ruby-sdk/api/payment_processor_configuration_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/payment_processor_service_api.rb +0 -149
- data/lib/postfinancecheckout-ruby-sdk/api/payment_terminal_service_api.rb +0 -503
- data/lib/postfinancecheckout-ruby-sdk/api/payment_terminal_till_service_api.rb +0 -180
- data/lib/postfinancecheckout-ruby-sdk/api/payment_terminal_transaction_summary_service_api.rb +0 -295
- data/lib/postfinancecheckout-ruby-sdk/api/permission_service_api.rb +0 -149
- data/lib/postfinancecheckout-ruby-sdk/api/refund_bank_transaction_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/refund_comment_service_api.rb +0 -498
- data/lib/postfinancecheckout-ruby-sdk/api/refund_recovery_bank_transaction_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/refund_service_api.rb +0 -572
- data/lib/postfinancecheckout-ruby-sdk/api/shopify_recurring_order_service_api.rb +0 -294
- data/lib/postfinancecheckout-ruby-sdk/api/shopify_subscriber_service_api.rb +0 -295
- data/lib/postfinancecheckout-ruby-sdk/api/shopify_subscription_product_service_api.rb +0 -362
- data/lib/postfinancecheckout-ruby-sdk/api/shopify_subscription_service_api.rb +0 -501
- data/lib/postfinancecheckout-ruby-sdk/api/shopify_subscription_suspension_service_api.rb +0 -362
- data/lib/postfinancecheckout-ruby-sdk/api/shopify_subscription_version_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/shopify_transaction_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/space_service_api.rb +0 -398
- data/lib/postfinancecheckout-ruby-sdk/api/static_value_service_api.rb +0 -149
- data/lib/postfinancecheckout-ruby-sdk/api/subscriber_service_api.rb +0 -428
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_affiliate_service_api.rb +0 -428
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_charge_service_api.rb +0 -363
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_ledger_entry_service_api.rb +0 -295
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_metric_service_api.rb +0 -428
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_metric_usage_service_api.rb +0 -295
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_period_bill_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_product_component_group_service_api.rb +0 -428
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_product_component_service_api.rb +0 -428
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_product_fee_tier_service_api.rb +0 -428
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_product_metered_fee_service_api.rb +0 -428
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_product_period_fee_service_api.rb +0 -428
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_product_retirement_service_api.rb +0 -295
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_product_service_api.rb +0 -362
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_product_setup_fee_service_api.rb +0 -428
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_product_version_retirement_service_api.rb +0 -295
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_product_version_service_api.rb +0 -430
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_service_api.rb +0 -793
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_suspension_service_api.rb +0 -353
- data/lib/postfinancecheckout-ruby-sdk/api/subscription_version_service_api.rb +0 -228
- data/lib/postfinancecheckout-ruby-sdk/api/token_service_api.rb +0 -768
- data/lib/postfinancecheckout-ruby-sdk/api/token_version_service_api.rb +0 -296
- data/lib/postfinancecheckout-ruby-sdk/api/transaction_comment_service_api.rb +0 -498
- data/lib/postfinancecheckout-ruby-sdk/api/transaction_completion_service_api.rb +0 -498
- data/lib/postfinancecheckout-ruby-sdk/api/transaction_iframe_service_api.rb +0 -96
- data/lib/postfinancecheckout-ruby-sdk/api/transaction_invoice_comment_service_api.rb +0 -498
- data/lib/postfinancecheckout-ruby-sdk/api/transaction_invoice_service_api.rb +0 -645
- data/lib/postfinancecheckout-ruby-sdk/api/transaction_lightbox_service_api.rb +0 -96
- data/lib/postfinancecheckout-ruby-sdk/api/transaction_line_item_version_service_api.rb +0 -295
- data/lib/postfinancecheckout-ruby-sdk/api/transaction_mobile_sdk_service_api.rb +0 -91
- data/lib/postfinancecheckout-ruby-sdk/api/transaction_payment_page_service_api.rb +0 -96
- data/lib/postfinancecheckout-ruby-sdk/api/transaction_service_api.rb +0 -1238
- data/lib/postfinancecheckout-ruby-sdk/api/transaction_terminal_service_api.rb +0 -171
- data/lib/postfinancecheckout-ruby-sdk/api/transaction_void_service_api.rb +0 -364
- data/lib/postfinancecheckout-ruby-sdk/api/user_account_role_service_api.rb +0 -234
- data/lib/postfinancecheckout-ruby-sdk/api/user_space_role_service_api.rb +0 -231
- data/lib/postfinancecheckout-ruby-sdk/api/web_app_service_api.rb +0 -215
- data/lib/postfinancecheckout-ruby-sdk/api/webhook_encryption_service_api.rb +0 -117
- data/lib/postfinancecheckout-ruby-sdk/api/webhook_listener_service_api.rb +0 -428
- data/lib/postfinancecheckout-ruby-sdk/api/webhook_url_service_api.rb +0 -428
- data/lib/postfinancecheckout-ruby-sdk/encryption_util.rb +0 -40
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_shopify_subscription_product_update.rb +0 -320
- data/lib/postfinancecheckout-ruby-sdk/models/billing_configuration.rb +0 -271
- data/lib/postfinancecheckout-ruby-sdk/models/client_error.rb +0 -231
- data/lib/postfinancecheckout-ruby-sdk/models/client_error_type.rb +0 -36
- data/lib/postfinancecheckout-ruby-sdk/models/criteria_operator.rb +0 -45
- data/lib/postfinancecheckout-ruby-sdk/models/dunning_case_level.rb +0 -351
- data/lib/postfinancecheckout-ruby-sdk/models/dunning_case_level_state.rb +0 -38
- data/lib/postfinancecheckout-ruby-sdk/models/entity_export_request.rb +0 -208
- data/lib/postfinancecheckout-ruby-sdk/models/entity_query.rb +0 -233
- data/lib/postfinancecheckout-ruby-sdk/models/entity_query_filter.rb +0 -238
- data/lib/postfinancecheckout-ruby-sdk/models/entity_query_filter_type.rb +0 -36
- data/lib/postfinancecheckout-ruby-sdk/models/entity_query_order_by.rb +0 -211
- data/lib/postfinancecheckout-ruby-sdk/models/entity_query_order_by_type.rb +0 -35
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_reconciliation_record.rb +0 -571
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_reconciliation_record_invoice_link.rb +0 -241
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_reconciliation_record_rejection_status.rb +0 -36
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_reconciliation_record_state.rb +0 -38
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_reconciliation_record_type.rb +0 -215
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_reimbursement.rb +0 -401
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_reimbursement_state.rb +0 -38
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_reimbursement_with_refund_reference.rb +0 -411
- data/lib/postfinancecheckout-ruby-sdk/models/item.rb +0 -233
- data/lib/postfinancecheckout-ruby-sdk/models/payment_initiation_advice_file.rb +0 -281
- data/lib/postfinancecheckout-ruby-sdk/models/payment_initiation_advice_file_state.rb +0 -40
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_dcc_transaction_sum.rb +0 -261
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_transaction_sum.rb +0 -291
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_transaction_summary.rb +0 -307
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_transaction_summary_fetch_request.rb +0 -221
- data/lib/postfinancecheckout-ruby-sdk/models/rendered_terminal_transaction_summary.rb +0 -215
- data/lib/postfinancecheckout-ruby-sdk/models/resource_path.rb +0 -275
- data/lib/postfinancecheckout-ruby-sdk/models/resource_state.rb +0 -36
- data/lib/postfinancecheckout-ruby-sdk/models/server_error.rb +0 -211
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_additional_line_item_data.rb +0 -35
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_integration_payment_app_version.rb +0 -34
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_integration_subscription_app_version.rb +0 -36
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_recurring_order.rb +0 -371
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_recurring_order_state.rb +0 -39
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_recurring_order_update_request.rb +0 -201
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscriber.rb +0 -321
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscriber_active.rb +0 -281
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscriber_creation.rb +0 -226
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscriber_state.rb +0 -36
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription.rb +0 -375
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_address.rb +0 -546
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_address_create.rb +0 -546
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_billing_interval_unit.rb +0 -39
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_creation_request.rb +0 -363
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_product.rb +0 -491
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_product_create.rb +0 -386
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_product_pricing_option.rb +0 -38
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_product_state.rb +0 -39
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_product_update.rb +0 -351
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_state.rb +0 -39
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_suspension.rb +0 -311
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_suspension_create.rb +0 -226
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_suspension_initiator.rb +0 -35
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_suspension_state.rb +0 -35
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_suspension_type.rb +0 -35
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_update_addresses_request.rb +0 -211
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_update_request.rb +0 -233
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_version.rb +0 -463
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_version_item.rb +0 -233
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_version_item_price_strategy.rb +0 -35
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_version_state.rb +0 -36
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscription_weekday.rb +0 -40
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_tax_line.rb +0 -231
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_transaction.rb +0 -321
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_transaction_state.rb +0 -38
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_v1_integration.rb +0 -480
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_change_request.rb +0 -260
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product_retirement_create.rb +0 -216
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_product_version_retirement_create.rb +0 -216
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_suspension_create.rb +0 -251
- data/lib/postfinancecheckout-ruby-sdk/models/subscription_suspension_running.rb +0 -336
- data/lib/postfinancecheckout-ruby-sdk/models/tax_line.rb +0 -201
- data/lib/postfinancecheckout-ruby-sdk/models/terminal_receipt_fetch_request.rb +0 -221
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_completion_request.rb +0 -316
- data/lib/postfinancecheckout-ruby-sdk/models/web_app_confirmation_request.rb +0 -206
- data/lib/postfinancecheckout-ruby-sdk/models/webhook_encryption_public_key.rb +0 -201
- data/test/refund_service_test.rb +0 -133
- data/test/transaction_completion_service_test.rb +0 -104
- data/test/transaction_iframe_service_test.rb +0 -25
- data/test/transaction_lightbox_service_test.rb +0 -25
- data/test/transaction_payment_page_service_test.rb +0 -25
- data/test/transaction_service_test.rb +0 -230
- data/vendor/bundle/ruby/3.3.0/bin/rake +0 -29
- data/vendor/bundle/ruby/3.3.0/cache/addressable-2.8.7.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/ethon-0.15.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/ffi-1.17.2-x86_64-linux-gnu.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/json-2.15.1.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/power_assert-2.0.5.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/public_suffix-6.0.2.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/rake-13.0.6.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/test-unit-3.3.9.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/typhoeus-1.5.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.15.1/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.15.1/gem_make.out +0 -25
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.15.1/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.15.1/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.15.1/mkmf.log +0 -165
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/CHANGELOG.md +0 -301
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/Gemfile +0 -31
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/LICENSE.txt +0 -202
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/README.md +0 -121
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/Rakefile +0 -37
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/addressable.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/data/unicode.data +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/lib/addressable/idna/native.rb +0 -66
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/lib/addressable/idna/pure.rb +0 -505
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/lib/addressable/idna.rb +0 -26
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/lib/addressable/template.rb +0 -1029
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/lib/addressable/uri.rb +0 -2602
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/lib/addressable/version.rb +0 -31
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/lib/addressable.rb +0 -4
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/spec/addressable/idna_spec.rb +0 -302
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/spec/addressable/net_http_compat_spec.rb +0 -29
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/spec/addressable/security_spec.rb +0 -58
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/spec/addressable/template_spec.rb +0 -1264
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/spec/addressable/uri_spec.rb +0 -6840
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/spec/spec_helper.rb +0 -33
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/tasks/clobber.rake +0 -4
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/tasks/gem.rake +0 -95
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/tasks/git.rake +0 -47
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/tasks/metrics.rake +0 -24
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/tasks/profile.rake +0 -72
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/tasks/rspec.rake +0 -23
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/tasks/yard.rake +0 -29
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/.github/workflows/ruby.yml +0 -41
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/.gitignore +0 -8
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/.rspec +0 -3
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/CHANGELOG.md +0 -372
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/Gemfile +0 -43
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/Guardfile +0 -10
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/README.md +0 -95
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/Rakefile +0 -40
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/ethon.gemspec +0 -26
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/curl.rb +0 -90
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb +0 -55
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/curls/codes.rb +0 -122
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/curls/constants.rb +0 -80
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb +0 -37
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/curls/functions.rb +0 -58
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/curls/infos.rb +0 -151
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/curls/messages.rb +0 -19
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/curls/options.rb +0 -502
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/curls/settings.rb +0 -12
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/callbacks.rb +0 -148
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/debug_info.rb +0 -47
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/features.rb +0 -31
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/form.rb +0 -107
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/header.rb +0 -61
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/http/actionable.rb +0 -157
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/http/custom.rb +0 -29
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb +0 -25
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/http/get.rb +0 -24
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/http/head.rb +0 -24
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/http/options.rb +0 -24
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/http/patch.rb +0 -24
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/http/post.rb +0 -26
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/http/postable.rb +0 -32
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/http/put.rb +0 -27
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/http/putable.rb +0 -25
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/http.rb +0 -68
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/informations.rb +0 -113
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/mirror.rb +0 -36
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/operations.rb +0 -64
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/options.rb +0 -50
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/params.rb +0 -29
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/queryable.rb +0 -154
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/response_callbacks.rb +0 -131
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/util.rb +0 -28
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy.rb +0 -315
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/errors/ethon_error.rb +0 -9
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/errors/global_init.rb +0 -13
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/errors/invalid_option.rb +0 -13
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/errors/invalid_value.rb +0 -13
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/errors/multi_add.rb +0 -12
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/errors/multi_fdset.rb +0 -12
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/errors/multi_remove.rb +0 -12
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/errors/multi_timeout.rb +0 -13
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/errors/select.rb +0 -13
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/errors.rb +0 -17
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/libc.rb +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/loggable.rb +0 -59
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/multi/operations.rb +0 -228
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/multi/options.rb +0 -117
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/multi/stack.rb +0 -49
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/multi.rb +0 -126
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/version.rb +0 -6
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon.rb +0 -36
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/profile/benchmarks.rb +0 -104
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/profile/memory_leaks.rb +0 -114
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/profile/perf_spec_helper.rb +0 -37
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/profile/support/memory_test_helpers.rb +0 -76
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/profile/support/os_memory_leak_tracker.rb +0 -48
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/profile/support/ruby_object_leak_tracker.rb +0 -49
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/curl_spec.rb +0 -38
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/callbacks_spec.rb +0 -59
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/debug_info_spec.rb +0 -54
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/features_spec.rb +0 -24
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/form_spec.rb +0 -104
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/header_spec.rb +0 -79
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/http/custom_spec.rb +0 -177
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/http/delete_spec.rb +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/http/get_spec.rb +0 -126
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/http/head_spec.rb +0 -80
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/http/options_spec.rb +0 -51
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/http/patch_spec.rb +0 -51
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/http/post_spec.rb +0 -317
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/http/put_spec.rb +0 -168
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/http_spec.rb +0 -64
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/informations_spec.rb +0 -120
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/mirror_spec.rb +0 -47
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/operations_spec.rb +0 -268
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/options_spec.rb +0 -193
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/queryable_spec.rb +0 -235
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/response_callbacks_spec.rb +0 -152
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/util_spec.rb +0 -28
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy_spec.rb +0 -203
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/libc_spec.rb +0 -14
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/multi/operations_spec.rb +0 -298
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/multi/options_spec.rb +0 -182
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/multi/stack_spec.rb +0 -80
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/multi_spec.rb +0 -152
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/spec_helper.rb +0 -28
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/support/localhost_server.rb +0 -95
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/support/server.rb +0 -115
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/CHANGELOG.md +0 -473
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/COPYING +0 -49
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/Gemfile +0 -23
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/LICENSE +0 -24
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/LICENSE.SPECS +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/README.md +0 -137
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/Rakefile +0 -206
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/ffi.gemspec +0 -42
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/2.5/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/2.6/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/2.7/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/3.0/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/3.1/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/3.2/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/3.3/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/3.4/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/abstract_memory.rb +0 -44
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/autopointer.rb +0 -180
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/buffer.rb +0 -4
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/callback.rb +0 -4
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/compat.rb +0 -43
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/data_converter.rb +0 -67
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/dynamic_library.rb +0 -118
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/enum.rb +0 -302
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/errno.rb +0 -43
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/ffi.rb +0 -109
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/function.rb +0 -71
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/io.rb +0 -62
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/library.rb +0 -576
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/library_path.rb +0 -109
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/managedstruct.rb +0 -84
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/memorypointer.rb +0 -1
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/aarch64-darwin/types.conf +0 -130
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/aarch64-freebsd/types.conf +0 -128
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/aarch64-freebsd12/types.conf +0 -181
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/aarch64-linux/types.conf +0 -175
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/aarch64-openbsd/types.conf +0 -134
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/aarch64-windows/types.conf +0 -52
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/arm-freebsd/types.conf +0 -152
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/arm-freebsd12/types.conf +0 -152
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/arm-linux/types.conf +0 -132
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/hppa1.1-linux/types.conf +0 -178
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/hppa2.0-linux/types.conf +0 -178
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/i386-cygwin/types.conf +0 -3
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/i386-darwin/types.conf +0 -100
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/i386-freebsd/types.conf +0 -152
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/i386-freebsd12/types.conf +0 -152
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/i386-gnu/types.conf +0 -107
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/i386-linux/types.conf +0 -103
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/i386-netbsd/types.conf +0 -126
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/i386-openbsd/types.conf +0 -128
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/i386-solaris/types.conf +0 -122
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/i386-windows/types.conf +0 -52
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/ia64-linux/types.conf +0 -104
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/loongarch64-linux/types.conf +0 -141
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/mips-linux/types.conf +0 -102
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/mips64-linux/types.conf +0 -104
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/mips64el-linux/types.conf +0 -104
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/mipsel-linux/types.conf +0 -102
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/mipsisa32r6-linux/types.conf +0 -102
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/mipsisa32r6el-linux/types.conf +0 -102
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/mipsisa64r6-linux/types.conf +0 -104
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/mipsisa64r6el-linux/types.conf +0 -104
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/powerpc-aix/types.conf +0 -180
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/powerpc-darwin/types.conf +0 -100
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/powerpc-linux/types.conf +0 -130
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/powerpc-openbsd/types.conf +0 -156
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/powerpc64-linux/types.conf +0 -104
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/powerpc64le-linux/types.conf +0 -100
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/riscv64-linux/types.conf +0 -104
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/s390-linux/types.conf +0 -102
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/s390x-linux/types.conf +0 -102
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/sparc-linux/types.conf +0 -102
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/sparc-solaris/types.conf +0 -128
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/sparcv9-linux/types.conf +0 -102
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/sparcv9-openbsd/types.conf +0 -156
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/sparcv9-solaris/types.conf +0 -128
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/sw_64-linux/types.conf +0 -141
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/x86_64-cygwin/types.conf +0 -3
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/x86_64-darwin/types.conf +0 -130
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/x86_64-dragonflybsd/types.conf +0 -130
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/x86_64-freebsd/types.conf +0 -128
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/x86_64-freebsd12/types.conf +0 -158
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/x86_64-haiku/types.conf +0 -117
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/x86_64-linux/types.conf +0 -132
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/x86_64-msys/types.conf +0 -119
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/x86_64-netbsd/types.conf +0 -128
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/x86_64-openbsd/types.conf +0 -134
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/x86_64-solaris/types.conf +0 -122
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/x86_64-windows/types.conf +0 -52
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform.rb +0 -187
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/pointer.rb +0 -167
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/struct.rb +0 -317
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/struct_by_reference.rb +0 -72
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/struct_layout.rb +0 -96
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/struct_layout_builder.rb +0 -227
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/tools/const_generator.rb +0 -232
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/tools/generator.rb +0 -105
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/tools/generator_task.rb +0 -32
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/tools/struct_generator.rb +0 -195
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/tools/types_generator.rb +0 -137
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/types.rb +0 -222
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/union.rb +0 -43
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/variadic.rb +0 -80
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/version.rb +0 -3
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi.rb +0 -27
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/rakelib/ffi_gem_helper.rb +0 -65
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/samples/getlogin.rb +0 -8
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/samples/getpid.rb +0 -8
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/samples/gettimeofday.rb +0 -18
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/samples/hello.rb +0 -8
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/samples/hello_ractor.rb +0 -11
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/samples/inotify.rb +0 -60
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/samples/pty.rb +0 -75
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/samples/qsort.rb +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/samples/qsort_ractor.rb +0 -28
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/abstract_memory.rbs +0 -165
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs +0 -26
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/buffer.rbs +0 -18
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/data_converter.rbs +0 -10
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/dynamic_library.rbs +0 -9
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/enum.rbs +0 -38
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/function.rbs +0 -39
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/library.rbs +0 -42
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/native_type.rbs +0 -86
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/pointer.rbs +0 -42
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/struct.rbs +0 -76
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs +0 -11
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/struct_by_value.rbs +0 -7
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/struct_layout.rbs +0 -9
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/struct_layout_builder.rbs +0 -5
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/type.rbs +0 -39
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi.rbs +0 -26
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/BSDL +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/CHANGES.md +0 -693
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/COPYING +0 -56
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/LEGAL +0 -8
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/README.md +0 -283
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/fbuffer/fbuffer.h +0 -296
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/generator/Makefile +0 -269
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/generator/extconf.rb +0 -16
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/generator/generator.c +0 -2169
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/parser/Makefile +0 -269
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/parser/extconf.rb +0 -15
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/parser/parser.c +0 -1557
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/simd/conf.rb +0 -24
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/simd/simd.h +0 -188
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/vendor/fpconv.c +0 -480
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/vendor/jeaiii-ltoa.h +0 -267
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/json.gemspec +0 -62
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/bigdecimal.rb +0 -58
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/complex.rb +0 -51
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/core.rb +0 -13
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/date.rb +0 -54
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/date_time.rb +0 -67
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/exception.rb +0 -49
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/ostruct.rb +0 -54
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/range.rb +0 -54
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/rational.rb +0 -49
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/regexp.rb +0 -48
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/set.rb +0 -48
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/string.rb +0 -35
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/struct.rb +0 -52
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/symbol.rb +0 -52
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/time.rb +0 -52
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/common.rb +0 -1130
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/ext/generator/state.rb +0 -99
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/ext.rb +0 -45
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/generic_object.rb +0 -67
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/truffle_ruby/generator.rb +0 -708
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/version.rb +0 -5
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json.rb +0 -642
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/.github/dependabot.yml +0 -6
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/.github/workflows/ci.yml +0 -46
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/.gitignore +0 -9
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/BSDL +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/COPYING +0 -57
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/Gemfile +0 -19
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/LEGAL +0 -4
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/README.md +0 -98
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/Rakefile +0 -59
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/lib/power_assert/colorize.rb +0 -7
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/lib/power_assert/configuration.rb +0 -46
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/lib/power_assert/context.rb +0 -233
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/lib/power_assert/enable_tracepoint_events.rb +0 -62
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/lib/power_assert/inspector.rb +0 -66
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/lib/power_assert/parser.rb +0 -251
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/lib/power_assert/version.rb +0 -3
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/lib/power_assert.rb +0 -93
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/power_assert.gemspec +0 -24
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/.yardopts +0 -1
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/CHANGELOG.md +0 -498
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/LICENSE.txt +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/README.md +0 -222
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/SECURITY.md +0 -24
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/data/list.txt +0 -15791
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/lib/public_suffix/domain.rb +0 -235
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/lib/public_suffix/errors.rb +0 -41
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/lib/public_suffix/list.rb +0 -247
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/lib/public_suffix/rule.rb +0 -350
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/lib/public_suffix/version.rb +0 -14
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/lib/public_suffix.rb +0 -177
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/History.rdoc +0 -2403
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/MIT-LICENSE +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/README.rdoc +0 -155
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/command_line_usage.rdoc +0 -158
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/example/Rakefile1 +0 -38
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/example/Rakefile2 +0 -35
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/example/a.c +0 -6
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/example/b.c +0 -6
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/example/main.c +0 -11
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/glossary.rdoc +0 -42
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/jamis.rb +0 -592
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/proto_rake.rdoc +0 -127
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/rake.1 +0 -156
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/rakefile.rdoc +0 -622
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/rational.rdoc +0 -151
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/exe/rake +0 -27
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/application.rb +0 -831
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/backtrace.rb +0 -24
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/clean.rb +0 -78
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/cloneable.rb +0 -17
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/cpu_counter.rb +0 -107
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/default_loader.rb +0 -15
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/dsl_definition.rb +0 -195
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/ext/core.rb +0 -26
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/ext/string.rb +0 -176
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/file_creation_task.rb +0 -25
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/file_list.rb +0 -435
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/file_task.rb +0 -54
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/file_utils.rb +0 -134
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/file_utils_ext.rb +0 -134
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/invocation_chain.rb +0 -57
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/invocation_exception_mixin.rb +0 -17
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/late_time.rb +0 -18
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/linked_list.rb +0 -112
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/loaders/makefile.rb +0 -54
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/multi_task.rb +0 -14
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/name_space.rb +0 -38
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/packagetask.rb +0 -222
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/phony.rb +0 -16
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/promise.rb +0 -100
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/pseudo_status.rb +0 -30
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/rake_module.rb +0 -67
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb +0 -27
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/rule_recursion_overflow_error.rb +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/scope.rb +0 -43
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/task.rb +0 -434
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/task_argument_error.rb +0 -8
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/task_arguments.rb +0 -109
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/task_manager.rb +0 -331
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/tasklib.rb +0 -12
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/testtask.rb +0 -189
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/thread_history_display.rb +0 -49
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/thread_pool.rb +0 -163
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/trace_output.rb +0 -23
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/version.rb +0 -10
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/win32.rb +0 -51
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake.rb +0 -71
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/rake.gemspec +0 -100
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/BSDL +0 -24
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/COPYING +0 -64
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/PSFL +0 -271
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/README.md +0 -97
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/Rakefile +0 -66
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/doc/text/getting-started.md +0 -246
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/doc/text/how-to.md +0 -90
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/doc/text/news.md +0 -1533
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/assertion-failed-error.rb +0 -25
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/assertions.rb +0 -2256
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/attribute-matcher.rb +0 -26
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/attribute.rb +0 -227
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/auto-runner-loader.rb +0 -17
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/autorunner.rb +0 -569
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/code-snippet-fetcher.rb +0 -58
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/collector/descendant.rb +0 -19
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/collector/dir.rb +0 -108
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/collector/load.rb +0 -197
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/collector/objectspace.rb +0 -34
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/collector/xml.rb +0 -249
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/collector.rb +0 -73
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/color-scheme.rb +0 -216
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/color.rb +0 -134
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/data-sets.rb +0 -116
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/data.rb +0 -371
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/diff.rb +0 -745
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/error.rb +0 -158
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/exception-handler.rb +0 -82
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/failure.rb +0 -169
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/fault-location-detector.rb +0 -100
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/fixture.rb +0 -298
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/notification.rb +0 -138
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/omission.rb +0 -198
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/pending.rb +0 -155
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/priority.rb +0 -196
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/runner/console.rb +0 -67
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/runner/emacs.rb +0 -8
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/runner/xml.rb +0 -15
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/test-suite-creator.rb +0 -103
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/testcase.rb +0 -899
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/testresult.rb +0 -132
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/testsuite.rb +0 -175
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/ui/console/outputlevel.rb +0 -15
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/ui/console/testrunner.rb +0 -733
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/ui/emacs/testrunner.rb +0 -49
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/ui/testrunner.rb +0 -53
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/ui/testrunnermediator.rb +0 -114
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/ui/testrunnerutilities.rb +0 -41
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/ui/xml/testrunner.rb +0 -224
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/util/backtracefilter.rb +0 -59
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/util/method-owner-finder.rb +0 -28
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/util/observable.rb +0 -90
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/util/output.rb +0 -32
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/util/procwrapper.rb +0 -48
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit/version.rb +0 -5
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test/unit.rb +0 -519
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/lib/test-unit.rb +0 -17
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/sample/adder.rb +0 -13
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/sample/subtracter.rb +0 -12
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/sample/test_adder.rb +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/sample/test_subtracter.rb +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/sample/test_user.rb +0 -23
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/collector/test-descendant.rb +0 -182
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/collector/test-load.rb +0 -475
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/collector/test_dir.rb +0 -407
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/collector/test_objectspace.rb +0 -102
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/fixtures/header-label.csv +0 -3
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/fixtures/header-label.tsv +0 -3
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/fixtures/header.csv +0 -3
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/fixtures/header.tsv +0 -3
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/fixtures/no-header.csv +0 -2
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/fixtures/no-header.tsv +0 -2
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/fixtures/plus.csv +0 -3
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/run-test.rb +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-assertions.rb +0 -2187
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-attribute-matcher.rb +0 -38
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-attribute.rb +0 -123
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-code-snippet.rb +0 -79
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-color-scheme.rb +0 -123
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-color.rb +0 -47
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-data.rb +0 -419
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-diff.rb +0 -518
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-emacs-runner.rb +0 -60
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-error.rb +0 -26
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-failure.rb +0 -33
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-fault-location-detector.rb +0 -163
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-fixture.rb +0 -713
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-notification.rb +0 -33
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-omission.rb +0 -81
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-pending.rb +0 -70
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-priority.rb +0 -184
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-test-case.rb +0 -1284
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-test-result.rb +0 -113
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-test-suite-creator.rb +0 -97
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/test-test-suite.rb +0 -151
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/testunit-test-util.rb +0 -33
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/ui/test_testrunmediator.rb +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/util/test-method-owner-finder.rb +0 -38
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/util/test-output.rb +0 -11
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/util/test_backtracefilter.rb +0 -52
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/util/test_observable.rb +0 -102
- data/vendor/bundle/ruby/3.3.0/gems/test-unit-3.3.9/test/util/test_procwrapper.rb +0 -36
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/CHANGELOG.md +0 -452
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/CONTRIBUTING.md +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/LICENSE +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/README.md +0 -588
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/UPGRADE.md +0 -55
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/rack/typhoeus/middleware/params_decoder/helper.rb +0 -76
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/rack/typhoeus/middleware/params_decoder.rb +0 -57
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/rack/typhoeus.rb +0 -1
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/adapters/faraday.rb +0 -180
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/cache/dalli.rb +0 -28
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/cache/rails.rb +0 -28
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/cache/redis.rb +0 -35
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/config.rb +0 -85
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/easy_factory.rb +0 -206
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/errors/no_stub.rb +0 -12
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/errors/typhoeus_error.rb +0 -8
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/errors.rb +0 -9
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/expectation.rb +0 -219
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/hydra/addable.rb +0 -23
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/hydra/before.rb +0 -31
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/hydra/block_connection.rb +0 -35
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/hydra/cacheable.rb +0 -15
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/hydra/memoizable.rb +0 -56
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/hydra/queueable.rb +0 -83
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/hydra/runnable.rb +0 -19
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/hydra/stubbable.rb +0 -28
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/hydra.rb +0 -95
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/pool.rb +0 -70
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/railtie.rb +0 -12
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/request/actions.rb +0 -125
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/request/before.rb +0 -30
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/request/block_connection.rb +0 -52
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/request/cacheable.rb +0 -38
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/request/callbacks.rb +0 -151
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/request/marshal.rb +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/request/memoizable.rb +0 -38
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/request/operations.rb +0 -40
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/request/responseable.rb +0 -29
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/request/streamable.rb +0 -34
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/request/stubbable.rb +0 -30
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/request.rb +0 -223
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/response/cacheable.rb +0 -14
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/response/header.rb +0 -105
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/response/informations.rb +0 -305
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/response/status.rb +0 -106
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/response.rb +0 -68
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/version.rb +0 -5
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus.rb +0 -143
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/typhoeus.gemspec +0 -35
- data/vendor/bundle/ruby/3.3.0/specifications/addressable-2.8.7.gemspec +0 -30
- data/vendor/bundle/ruby/3.3.0/specifications/ethon-0.15.0.gemspec +0 -24
- data/vendor/bundle/ruby/3.3.0/specifications/ffi-1.17.2-x86_64-linux-gnu.gemspec +0 -31
- data/vendor/bundle/ruby/3.3.0/specifications/json-2.15.1.gemspec +0 -0
- data/vendor/bundle/ruby/3.3.0/specifications/power_assert-2.0.5.gemspec +0 -24
- data/vendor/bundle/ruby/3.3.0/specifications/public_suffix-6.0.2.gemspec +0 -24
- data/vendor/bundle/ruby/3.3.0/specifications/rake-13.0.6.gemspec +0 -26
- data/vendor/bundle/ruby/3.3.0/specifications/test-unit-3.3.9.gemspec +0 -30
- data/vendor/bundle/ruby/3.3.0/specifications/typhoeus-1.5.0.gemspec +0 -26
|
@@ -0,0 +1,2838 @@
|
|
|
1
|
+
# PostFinance Ruby SDK
|
|
2
|
+
#
|
|
3
|
+
# This library allows to interact with the PostFinance payment service.
|
|
4
|
+
#
|
|
5
|
+
# Copyright owner: Wallee AG
|
|
6
|
+
# Website: https://www.postfinance.ch/en/private.html
|
|
7
|
+
# Developer email: ecosystem-team@wallee.com
|
|
8
|
+
#
|
|
9
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
+
# you may not use this file except in compliance with the License.
|
|
11
|
+
# You may obtain a copy of the License at
|
|
12
|
+
#
|
|
13
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
#
|
|
15
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
# See the License for the specific language governing permissions and
|
|
19
|
+
# limitations under the License.
|
|
20
|
+
|
|
21
|
+
require 'cgi'
|
|
22
|
+
|
|
23
|
+
module PostfinancecheckoutRubySdk
|
|
24
|
+
class TransactionsService
|
|
25
|
+
attr_accessor :api_client
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def initialize(api_client = ApiClient.default)
|
|
29
|
+
@api_client = api_client
|
|
30
|
+
end
|
|
31
|
+
# Delete a one-click token by credentials
|
|
32
|
+
# @param credentials [String] Identifies the transaction and includes the security details required to authorize access to this operation.
|
|
33
|
+
# @param id [Integer]
|
|
34
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
35
|
+
# @param [Hash] opts the optional parameters
|
|
36
|
+
# @return [nil]
|
|
37
|
+
def delete_payment_transactions_by_credentials_credentials_one_click_tokens_id(credentials, id, space, opts = {})
|
|
38
|
+
delete_payment_transactions_by_credentials_credentials_one_click_tokens_id_with_http_info(credentials, id, space, opts)
|
|
39
|
+
nil
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Delete a one-click token by credentials
|
|
43
|
+
|
|
44
|
+
# @param credentials [String] Identifies the transaction and includes the security details required to authorize access to this operation.
|
|
45
|
+
# @param id [Integer]
|
|
46
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
47
|
+
# @param [Hash] opts the optional parameters
|
|
48
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
49
|
+
def delete_payment_transactions_by_credentials_credentials_one_click_tokens_id_with_http_info(credentials, id, space, opts = {})
|
|
50
|
+
if @api_client.config.debugging
|
|
51
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.delete_payment_transactions_by_credentials_credentials_one_click_tokens_id ...'
|
|
52
|
+
end
|
|
53
|
+
# verify the required parameter 'credentials' is set
|
|
54
|
+
if @api_client.config.client_side_validation && credentials.nil?
|
|
55
|
+
fail ArgumentError, "Missing the required parameter 'credentials' when calling TransactionsService.delete_payment_transactions_by_credentials_credentials_one_click_tokens_id"
|
|
56
|
+
end
|
|
57
|
+
# verify the required parameter 'id' is set
|
|
58
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
59
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.delete_payment_transactions_by_credentials_credentials_one_click_tokens_id"
|
|
60
|
+
end
|
|
61
|
+
# verify the required parameter 'space' is set
|
|
62
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
63
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.delete_payment_transactions_by_credentials_credentials_one_click_tokens_id"
|
|
64
|
+
end
|
|
65
|
+
# resource path
|
|
66
|
+
local_var_path = '/payment/transactions/by-credentials/{credentials}/one-click-tokens/{id}'.sub('{' + 'credentials' + '}', CGI.escape(credentials.to_s)).sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
67
|
+
|
|
68
|
+
# query parameters
|
|
69
|
+
query_params = opts[:query_params] || {}
|
|
70
|
+
|
|
71
|
+
# header parameters
|
|
72
|
+
header_params = opts[:header_params] || {}
|
|
73
|
+
# HTTP header 'Accept' (if needed)
|
|
74
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
75
|
+
header_params[:'Space'] = space
|
|
76
|
+
|
|
77
|
+
# form parameters
|
|
78
|
+
form_params = opts[:form_params] || {}
|
|
79
|
+
|
|
80
|
+
# connection timeout
|
|
81
|
+
connection_timeout = @api_client.config.timeout
|
|
82
|
+
|
|
83
|
+
# http body (model)
|
|
84
|
+
post_body = opts[:debug_body]
|
|
85
|
+
|
|
86
|
+
# return_type
|
|
87
|
+
return_type = opts[:debug_return_type]
|
|
88
|
+
|
|
89
|
+
new_options = opts.merge(
|
|
90
|
+
:operation => :"TransactionsService.delete_payment_transactions_by_credentials_credentials_one_click_tokens_id",
|
|
91
|
+
:header_params => header_params,
|
|
92
|
+
:query_params => query_params,
|
|
93
|
+
:form_params => form_params,
|
|
94
|
+
:body => post_body,
|
|
95
|
+
:return_type => return_type
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
data, status_code, headers = @api_client.call_api(:DELETE.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
99
|
+
if @api_client.config.debugging
|
|
100
|
+
@api_client.config.logger.debug "API called: TransactionsService#delete_payment_transactions_by_credentials_credentials_one_click_tokens_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
101
|
+
end
|
|
102
|
+
return data, status_code, headers
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
# List all transactions
|
|
107
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
108
|
+
# @param [Hash] opts the optional parameters
|
|
109
|
+
# @option opts [Integer] :after Set to an object's ID to retrieve the page of objects coming immediately after the named object.
|
|
110
|
+
# @option opts [Integer] :before Set to an object's ID to retrieve the page of objects coming immediately before the named object.
|
|
111
|
+
# @option opts [Array<String>] :expand
|
|
112
|
+
# @option opts [Integer] :limit A limit on the number of objects to be returned, between 1 and 100. Default is 10.
|
|
113
|
+
# @option opts [SortingOrder] :order Specify to retrieve objects in chronological (ASC) or reverse chronological (DESC) order.
|
|
114
|
+
# @return [TransactionListResponse]
|
|
115
|
+
def get_payment_transactions(space, opts = {})
|
|
116
|
+
data, _status_code, _headers = get_payment_transactions_with_http_info(space, opts)
|
|
117
|
+
data
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# List all transactions
|
|
121
|
+
|
|
122
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
123
|
+
# @param [Hash] opts the optional parameters
|
|
124
|
+
# @option opts [Integer] :after Set to an object's ID to retrieve the page of objects coming immediately after the named object.
|
|
125
|
+
# @option opts [Integer] :before Set to an object's ID to retrieve the page of objects coming immediately before the named object.
|
|
126
|
+
# @option opts [Array<String>] :expand
|
|
127
|
+
# @option opts [Integer] :limit A limit on the number of objects to be returned, between 1 and 100. Default is 10.
|
|
128
|
+
# @option opts [SortingOrder] :order Specify to retrieve objects in chronological (ASC) or reverse chronological (DESC) order.
|
|
129
|
+
# @return [Array<(TransactionListResponse, Integer, Hash)>] TransactionListResponse data, response status code and response headers
|
|
130
|
+
def get_payment_transactions_with_http_info(space, opts = {})
|
|
131
|
+
if @api_client.config.debugging
|
|
132
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions ...'
|
|
133
|
+
end
|
|
134
|
+
# verify the required parameter 'space' is set
|
|
135
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
136
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions"
|
|
137
|
+
end
|
|
138
|
+
if @api_client.config.client_side_validation && !opts[:'after'].nil? && opts[:'after'] < 1
|
|
139
|
+
fail ArgumentError, 'invalid value for "opts[:"after"]" when calling TransactionsService.get_payment_transactions, must be greater than or equal to 1.'
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
if @api_client.config.client_side_validation && !opts[:'before'].nil? && opts[:'before'] < 1
|
|
143
|
+
fail ArgumentError, 'invalid value for "opts[:"before"]" when calling TransactionsService.get_payment_transactions, must be greater than or equal to 1.'
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 100
|
|
147
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TransactionsService.get_payment_transactions, must be smaller than or equal to 100.'
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
151
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TransactionsService.get_payment_transactions, must be greater than or equal to 1.'
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
# resource path
|
|
155
|
+
local_var_path = '/payment/transactions'
|
|
156
|
+
|
|
157
|
+
# query parameters
|
|
158
|
+
query_params = opts[:query_params] || {}
|
|
159
|
+
query_params[:'after'] = opts[:'after'] unless opts[:'after'].nil?
|
|
160
|
+
query_params[:'before'] = opts[:'before'] unless opts[:'before'].nil?
|
|
161
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
162
|
+
query_params[:'limit'] = opts[:'limit'] unless opts[:'limit'].nil?
|
|
163
|
+
query_params[:'order'] = opts[:'order'] unless opts[:'order'].nil?
|
|
164
|
+
|
|
165
|
+
# header parameters
|
|
166
|
+
header_params = opts[:header_params] || {}
|
|
167
|
+
# HTTP header 'Accept' (if needed)
|
|
168
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
169
|
+
header_params[:'Space'] = space
|
|
170
|
+
|
|
171
|
+
# form parameters
|
|
172
|
+
form_params = opts[:form_params] || {}
|
|
173
|
+
|
|
174
|
+
# connection timeout
|
|
175
|
+
connection_timeout = @api_client.config.timeout
|
|
176
|
+
|
|
177
|
+
# http body (model)
|
|
178
|
+
post_body = opts[:debug_body]
|
|
179
|
+
|
|
180
|
+
# return_type
|
|
181
|
+
return_type = opts[:debug_return_type] || 'TransactionListResponse'
|
|
182
|
+
|
|
183
|
+
new_options = opts.merge(
|
|
184
|
+
:operation => :"TransactionsService.get_payment_transactions",
|
|
185
|
+
:header_params => header_params,
|
|
186
|
+
:query_params => query_params,
|
|
187
|
+
:form_params => form_params,
|
|
188
|
+
:body => post_body,
|
|
189
|
+
:return_type => return_type
|
|
190
|
+
)
|
|
191
|
+
|
|
192
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
193
|
+
if @api_client.config.debugging
|
|
194
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
195
|
+
end
|
|
196
|
+
return data, status_code, headers
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
# Retrieve a transaction by credentials
|
|
201
|
+
# @param credentials [String] Identifies the transaction and includes the security details required to authorize access to this operation.
|
|
202
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
203
|
+
# @param [Hash] opts the optional parameters
|
|
204
|
+
# @option opts [Array<String>] :expand
|
|
205
|
+
# @return [Transaction]
|
|
206
|
+
def get_payment_transactions_by_credentials_credentials(credentials, space, opts = {})
|
|
207
|
+
data, _status_code, _headers = get_payment_transactions_by_credentials_credentials_with_http_info(credentials, space, opts)
|
|
208
|
+
data
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
# Retrieve a transaction by credentials
|
|
212
|
+
|
|
213
|
+
# @param credentials [String] Identifies the transaction and includes the security details required to authorize access to this operation.
|
|
214
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
215
|
+
# @param [Hash] opts the optional parameters
|
|
216
|
+
# @option opts [Array<String>] :expand
|
|
217
|
+
# @return [Array<(Transaction, Integer, Hash)>] Transaction data, response status code and response headers
|
|
218
|
+
def get_payment_transactions_by_credentials_credentials_with_http_info(credentials, space, opts = {})
|
|
219
|
+
if @api_client.config.debugging
|
|
220
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions_by_credentials_credentials ...'
|
|
221
|
+
end
|
|
222
|
+
# verify the required parameter 'credentials' is set
|
|
223
|
+
if @api_client.config.client_side_validation && credentials.nil?
|
|
224
|
+
fail ArgumentError, "Missing the required parameter 'credentials' when calling TransactionsService.get_payment_transactions_by_credentials_credentials"
|
|
225
|
+
end
|
|
226
|
+
# verify the required parameter 'space' is set
|
|
227
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
228
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions_by_credentials_credentials"
|
|
229
|
+
end
|
|
230
|
+
# resource path
|
|
231
|
+
local_var_path = '/payment/transactions/by-credentials/{credentials}'.sub('{' + 'credentials' + '}', CGI.escape(credentials.to_s))
|
|
232
|
+
|
|
233
|
+
# query parameters
|
|
234
|
+
query_params = opts[:query_params] || {}
|
|
235
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
236
|
+
|
|
237
|
+
# header parameters
|
|
238
|
+
header_params = opts[:header_params] || {}
|
|
239
|
+
# HTTP header 'Accept' (if needed)
|
|
240
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
241
|
+
header_params[:'Space'] = space
|
|
242
|
+
|
|
243
|
+
# form parameters
|
|
244
|
+
form_params = opts[:form_params] || {}
|
|
245
|
+
|
|
246
|
+
# connection timeout
|
|
247
|
+
connection_timeout = @api_client.config.timeout
|
|
248
|
+
|
|
249
|
+
# http body (model)
|
|
250
|
+
post_body = opts[:debug_body]
|
|
251
|
+
|
|
252
|
+
# return_type
|
|
253
|
+
return_type = opts[:debug_return_type] || 'Transaction'
|
|
254
|
+
|
|
255
|
+
new_options = opts.merge(
|
|
256
|
+
:operation => :"TransactionsService.get_payment_transactions_by_credentials_credentials",
|
|
257
|
+
:header_params => header_params,
|
|
258
|
+
:query_params => query_params,
|
|
259
|
+
:form_params => form_params,
|
|
260
|
+
:body => post_body,
|
|
261
|
+
:return_type => return_type
|
|
262
|
+
)
|
|
263
|
+
|
|
264
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
265
|
+
if @api_client.config.debugging
|
|
266
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions_by_credentials_credentials\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
267
|
+
end
|
|
268
|
+
return data, status_code, headers
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
# Retrieve a Mobile SDK URL by credentials
|
|
273
|
+
# @param credentials [String] The credentials identify the transaction and contain the security details which grant the access to this operation.
|
|
274
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
275
|
+
# @param [Hash] opts the optional parameters
|
|
276
|
+
# @return [String]
|
|
277
|
+
def get_payment_transactions_by_credentials_credentials_mobile_sdk_url(credentials, space, opts = {})
|
|
278
|
+
data, _status_code, _headers = get_payment_transactions_by_credentials_credentials_mobile_sdk_url_with_http_info(credentials, space, opts)
|
|
279
|
+
data
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
# Retrieve a Mobile SDK URL by credentials
|
|
283
|
+
|
|
284
|
+
# @param credentials [String] The credentials identify the transaction and contain the security details which grant the access to this operation.
|
|
285
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
286
|
+
# @param [Hash] opts the optional parameters
|
|
287
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
288
|
+
def get_payment_transactions_by_credentials_credentials_mobile_sdk_url_with_http_info(credentials, space, opts = {})
|
|
289
|
+
if @api_client.config.debugging
|
|
290
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions_by_credentials_credentials_mobile_sdk_url ...'
|
|
291
|
+
end
|
|
292
|
+
# verify the required parameter 'credentials' is set
|
|
293
|
+
if @api_client.config.client_side_validation && credentials.nil?
|
|
294
|
+
fail ArgumentError, "Missing the required parameter 'credentials' when calling TransactionsService.get_payment_transactions_by_credentials_credentials_mobile_sdk_url"
|
|
295
|
+
end
|
|
296
|
+
# verify the required parameter 'space' is set
|
|
297
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
298
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions_by_credentials_credentials_mobile_sdk_url"
|
|
299
|
+
end
|
|
300
|
+
# resource path
|
|
301
|
+
local_var_path = '/payment/transactions/by-credentials/{credentials}/mobile-sdk-url'.sub('{' + 'credentials' + '}', CGI.escape(credentials.to_s))
|
|
302
|
+
|
|
303
|
+
# query parameters
|
|
304
|
+
query_params = opts[:query_params] || {}
|
|
305
|
+
|
|
306
|
+
# header parameters
|
|
307
|
+
header_params = opts[:header_params] || {}
|
|
308
|
+
# HTTP header 'Accept' (if needed)
|
|
309
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json']) unless header_params['Accept']
|
|
310
|
+
header_params[:'Space'] = space
|
|
311
|
+
|
|
312
|
+
# form parameters
|
|
313
|
+
form_params = opts[:form_params] || {}
|
|
314
|
+
|
|
315
|
+
# connection timeout
|
|
316
|
+
connection_timeout = @api_client.config.timeout
|
|
317
|
+
|
|
318
|
+
# http body (model)
|
|
319
|
+
post_body = opts[:debug_body]
|
|
320
|
+
|
|
321
|
+
# return_type
|
|
322
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
323
|
+
|
|
324
|
+
new_options = opts.merge(
|
|
325
|
+
:operation => :"TransactionsService.get_payment_transactions_by_credentials_credentials_mobile_sdk_url",
|
|
326
|
+
:header_params => header_params,
|
|
327
|
+
:query_params => query_params,
|
|
328
|
+
:form_params => form_params,
|
|
329
|
+
:body => post_body,
|
|
330
|
+
:return_type => return_type
|
|
331
|
+
)
|
|
332
|
+
|
|
333
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
334
|
+
if @api_client.config.debugging
|
|
335
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions_by_credentials_credentials_mobile_sdk_url\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
336
|
+
end
|
|
337
|
+
return data, status_code, headers
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
# List one-click tokens by credentials
|
|
342
|
+
# @param credentials [String] Identifies the transaction and includes the security details required to authorize access to this operation.
|
|
343
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
344
|
+
# @param [Hash] opts the optional parameters
|
|
345
|
+
# @option opts [Array<String>] :expand
|
|
346
|
+
# @return [TokenVersionListResponse]
|
|
347
|
+
def get_payment_transactions_by_credentials_credentials_one_click_tokens(credentials, space, opts = {})
|
|
348
|
+
data, _status_code, _headers = get_payment_transactions_by_credentials_credentials_one_click_tokens_with_http_info(credentials, space, opts)
|
|
349
|
+
data
|
|
350
|
+
end
|
|
351
|
+
|
|
352
|
+
# List one-click tokens by credentials
|
|
353
|
+
|
|
354
|
+
# @param credentials [String] Identifies the transaction and includes the security details required to authorize access to this operation.
|
|
355
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
356
|
+
# @param [Hash] opts the optional parameters
|
|
357
|
+
# @option opts [Array<String>] :expand
|
|
358
|
+
# @return [Array<(TokenVersionListResponse, Integer, Hash)>] TokenVersionListResponse data, response status code and response headers
|
|
359
|
+
def get_payment_transactions_by_credentials_credentials_one_click_tokens_with_http_info(credentials, space, opts = {})
|
|
360
|
+
if @api_client.config.debugging
|
|
361
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions_by_credentials_credentials_one_click_tokens ...'
|
|
362
|
+
end
|
|
363
|
+
# verify the required parameter 'credentials' is set
|
|
364
|
+
if @api_client.config.client_side_validation && credentials.nil?
|
|
365
|
+
fail ArgumentError, "Missing the required parameter 'credentials' when calling TransactionsService.get_payment_transactions_by_credentials_credentials_one_click_tokens"
|
|
366
|
+
end
|
|
367
|
+
# verify the required parameter 'space' is set
|
|
368
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
369
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions_by_credentials_credentials_one_click_tokens"
|
|
370
|
+
end
|
|
371
|
+
# resource path
|
|
372
|
+
local_var_path = '/payment/transactions/by-credentials/{credentials}/one-click-tokens'.sub('{' + 'credentials' + '}', CGI.escape(credentials.to_s))
|
|
373
|
+
|
|
374
|
+
# query parameters
|
|
375
|
+
query_params = opts[:query_params] || {}
|
|
376
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
377
|
+
|
|
378
|
+
# header parameters
|
|
379
|
+
header_params = opts[:header_params] || {}
|
|
380
|
+
# HTTP header 'Accept' (if needed)
|
|
381
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
382
|
+
header_params[:'Space'] = space
|
|
383
|
+
|
|
384
|
+
# form parameters
|
|
385
|
+
form_params = opts[:form_params] || {}
|
|
386
|
+
|
|
387
|
+
# connection timeout
|
|
388
|
+
connection_timeout = @api_client.config.timeout
|
|
389
|
+
|
|
390
|
+
# http body (model)
|
|
391
|
+
post_body = opts[:debug_body]
|
|
392
|
+
|
|
393
|
+
# return_type
|
|
394
|
+
return_type = opts[:debug_return_type] || 'TokenVersionListResponse'
|
|
395
|
+
|
|
396
|
+
new_options = opts.merge(
|
|
397
|
+
:operation => :"TransactionsService.get_payment_transactions_by_credentials_credentials_one_click_tokens",
|
|
398
|
+
:header_params => header_params,
|
|
399
|
+
:query_params => query_params,
|
|
400
|
+
:form_params => form_params,
|
|
401
|
+
:body => post_body,
|
|
402
|
+
:return_type => return_type
|
|
403
|
+
)
|
|
404
|
+
|
|
405
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
406
|
+
if @api_client.config.debugging
|
|
407
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions_by_credentials_credentials_one_click_tokens\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
408
|
+
end
|
|
409
|
+
return data, status_code, headers
|
|
410
|
+
end
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
# List available payment method configurations by credentials
|
|
414
|
+
# @param credentials [String] Identifies the transaction and includes the security details required to authorize access to this operation.
|
|
415
|
+
# @param integration_mode [String]
|
|
416
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
417
|
+
# @param [Hash] opts the optional parameters
|
|
418
|
+
# @option opts [Array<String>] :expand
|
|
419
|
+
# @return [PaymentMethodConfigurationListResponse]
|
|
420
|
+
def get_payment_transactions_by_credentials_credentials_payment_method_configurations(credentials, integration_mode, space, opts = {})
|
|
421
|
+
data, _status_code, _headers = get_payment_transactions_by_credentials_credentials_payment_method_configurations_with_http_info(credentials, integration_mode, space, opts)
|
|
422
|
+
data
|
|
423
|
+
end
|
|
424
|
+
|
|
425
|
+
# List available payment method configurations by credentials
|
|
426
|
+
|
|
427
|
+
# @param credentials [String] Identifies the transaction and includes the security details required to authorize access to this operation.
|
|
428
|
+
# @param integration_mode [String]
|
|
429
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
430
|
+
# @param [Hash] opts the optional parameters
|
|
431
|
+
# @option opts [Array<String>] :expand
|
|
432
|
+
# @return [Array<(PaymentMethodConfigurationListResponse, Integer, Hash)>] PaymentMethodConfigurationListResponse data, response status code and response headers
|
|
433
|
+
def get_payment_transactions_by_credentials_credentials_payment_method_configurations_with_http_info(credentials, integration_mode, space, opts = {})
|
|
434
|
+
if @api_client.config.debugging
|
|
435
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions_by_credentials_credentials_payment_method_configurations ...'
|
|
436
|
+
end
|
|
437
|
+
# verify the required parameter 'credentials' is set
|
|
438
|
+
if @api_client.config.client_side_validation && credentials.nil?
|
|
439
|
+
fail ArgumentError, "Missing the required parameter 'credentials' when calling TransactionsService.get_payment_transactions_by_credentials_credentials_payment_method_configurations"
|
|
440
|
+
end
|
|
441
|
+
# verify the required parameter 'integration_mode' is set
|
|
442
|
+
if @api_client.config.client_side_validation && integration_mode.nil?
|
|
443
|
+
fail ArgumentError, "Missing the required parameter 'integration_mode' when calling TransactionsService.get_payment_transactions_by_credentials_credentials_payment_method_configurations"
|
|
444
|
+
end
|
|
445
|
+
# verify the required parameter 'space' is set
|
|
446
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
447
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions_by_credentials_credentials_payment_method_configurations"
|
|
448
|
+
end
|
|
449
|
+
# resource path
|
|
450
|
+
local_var_path = '/payment/transactions/by-credentials/{credentials}/payment-method-configurations'.sub('{' + 'credentials' + '}', CGI.escape(credentials.to_s))
|
|
451
|
+
|
|
452
|
+
# query parameters
|
|
453
|
+
query_params = opts[:query_params] || {}
|
|
454
|
+
query_params[:'integrationMode'] = integration_mode
|
|
455
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
456
|
+
|
|
457
|
+
# header parameters
|
|
458
|
+
header_params = opts[:header_params] || {}
|
|
459
|
+
# HTTP header 'Accept' (if needed)
|
|
460
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
461
|
+
header_params[:'Space'] = space
|
|
462
|
+
|
|
463
|
+
# form parameters
|
|
464
|
+
form_params = opts[:form_params] || {}
|
|
465
|
+
|
|
466
|
+
# connection timeout
|
|
467
|
+
connection_timeout = @api_client.config.timeout
|
|
468
|
+
|
|
469
|
+
# http body (model)
|
|
470
|
+
post_body = opts[:debug_body]
|
|
471
|
+
|
|
472
|
+
# return_type
|
|
473
|
+
return_type = opts[:debug_return_type] || 'PaymentMethodConfigurationListResponse'
|
|
474
|
+
|
|
475
|
+
new_options = opts.merge(
|
|
476
|
+
:operation => :"TransactionsService.get_payment_transactions_by_credentials_credentials_payment_method_configurations",
|
|
477
|
+
:header_params => header_params,
|
|
478
|
+
:query_params => query_params,
|
|
479
|
+
:form_params => form_params,
|
|
480
|
+
:body => post_body,
|
|
481
|
+
:return_type => return_type
|
|
482
|
+
)
|
|
483
|
+
|
|
484
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
485
|
+
if @api_client.config.debugging
|
|
486
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions_by_credentials_credentials_payment_method_configurations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
487
|
+
end
|
|
488
|
+
return data, status_code, headers
|
|
489
|
+
end
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
# Export transactions
|
|
493
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
494
|
+
# @param [Hash] opts the optional parameters
|
|
495
|
+
# @option opts [Array<String>] :fields The fields to be included in the export.
|
|
496
|
+
# @option opts [Integer] :limit A limit on the number of objects to be returned. Default is 2,000.
|
|
497
|
+
# @option opts [Integer] :offset A cursor for pagination, specifies the number of objects to skip.
|
|
498
|
+
# @option opts [String] :order The fields and order to sort the objects by.
|
|
499
|
+
# @option opts [String] :query The search query to filter the objects by.
|
|
500
|
+
# @return [File]
|
|
501
|
+
def get_payment_transactions_export(space, opts = {})
|
|
502
|
+
data, _status_code, _headers = get_payment_transactions_export_with_http_info(space, opts)
|
|
503
|
+
data
|
|
504
|
+
end
|
|
505
|
+
|
|
506
|
+
# Export transactions
|
|
507
|
+
# Timeout for this request is: 60 seconds.
|
|
508
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
509
|
+
# @param [Hash] opts the optional parameters
|
|
510
|
+
# @option opts [Array<String>] :fields The fields to be included in the export.
|
|
511
|
+
# @option opts [Integer] :limit A limit on the number of objects to be returned. Default is 2,000.
|
|
512
|
+
# @option opts [Integer] :offset A cursor for pagination, specifies the number of objects to skip.
|
|
513
|
+
# @option opts [String] :order The fields and order to sort the objects by.
|
|
514
|
+
# @option opts [String] :query The search query to filter the objects by.
|
|
515
|
+
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
516
|
+
def get_payment_transactions_export_with_http_info(space, opts = {})
|
|
517
|
+
if @api_client.config.debugging
|
|
518
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions_export ...'
|
|
519
|
+
end
|
|
520
|
+
# verify the required parameter 'space' is set
|
|
521
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
522
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions_export"
|
|
523
|
+
end
|
|
524
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
525
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TransactionsService.get_payment_transactions_export, must be greater than or equal to 1.'
|
|
526
|
+
end
|
|
527
|
+
|
|
528
|
+
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] > 100000
|
|
529
|
+
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling TransactionsService.get_payment_transactions_export, must be smaller than or equal to 100000.'
|
|
530
|
+
end
|
|
531
|
+
|
|
532
|
+
# resource path
|
|
533
|
+
local_var_path = '/payment/transactions/export'
|
|
534
|
+
|
|
535
|
+
# query parameters
|
|
536
|
+
query_params = opts[:query_params] || {}
|
|
537
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) unless opts[:'fields'].nil?
|
|
538
|
+
query_params[:'limit'] = opts[:'limit'] unless opts[:'limit'].nil?
|
|
539
|
+
query_params[:'offset'] = opts[:'offset'] unless opts[:'offset'].nil?
|
|
540
|
+
query_params[:'order'] = opts[:'order'] unless opts[:'order'].nil?
|
|
541
|
+
query_params[:'query'] = opts[:'query'] unless opts[:'query'].nil?
|
|
542
|
+
|
|
543
|
+
# header parameters
|
|
544
|
+
header_params = opts[:header_params] || {}
|
|
545
|
+
# HTTP header 'Accept' (if needed)
|
|
546
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/csv', 'application/json']) unless header_params['Accept']
|
|
547
|
+
header_params[:'Space'] = space
|
|
548
|
+
|
|
549
|
+
# form parameters
|
|
550
|
+
form_params = opts[:form_params] || {}
|
|
551
|
+
|
|
552
|
+
# connection timeout
|
|
553
|
+
connection_timeout = 60
|
|
554
|
+
|
|
555
|
+
# http body (model)
|
|
556
|
+
post_body = opts[:debug_body]
|
|
557
|
+
|
|
558
|
+
# return_type
|
|
559
|
+
return_type = opts[:debug_return_type] || 'File'
|
|
560
|
+
|
|
561
|
+
new_options = opts.merge(
|
|
562
|
+
:operation => :"TransactionsService.get_payment_transactions_export",
|
|
563
|
+
:header_params => header_params,
|
|
564
|
+
:query_params => query_params,
|
|
565
|
+
:form_params => form_params,
|
|
566
|
+
:body => post_body,
|
|
567
|
+
:return_type => return_type
|
|
568
|
+
)
|
|
569
|
+
|
|
570
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
571
|
+
if @api_client.config.debugging
|
|
572
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions_export\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
573
|
+
end
|
|
574
|
+
return data, status_code, headers
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
# Retrieve a transaction
|
|
579
|
+
# @param id [Integer]
|
|
580
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
581
|
+
# @param [Hash] opts the optional parameters
|
|
582
|
+
# @option opts [Array<String>] :expand
|
|
583
|
+
# @return [Transaction]
|
|
584
|
+
def get_payment_transactions_id(id, space, opts = {})
|
|
585
|
+
data, _status_code, _headers = get_payment_transactions_id_with_http_info(id, space, opts)
|
|
586
|
+
data
|
|
587
|
+
end
|
|
588
|
+
|
|
589
|
+
# Retrieve a transaction
|
|
590
|
+
|
|
591
|
+
# @param id [Integer]
|
|
592
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
593
|
+
# @param [Hash] opts the optional parameters
|
|
594
|
+
# @option opts [Array<String>] :expand
|
|
595
|
+
# @return [Array<(Transaction, Integer, Hash)>] Transaction data, response status code and response headers
|
|
596
|
+
def get_payment_transactions_id_with_http_info(id, space, opts = {})
|
|
597
|
+
if @api_client.config.debugging
|
|
598
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions_id ...'
|
|
599
|
+
end
|
|
600
|
+
# verify the required parameter 'id' is set
|
|
601
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
602
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.get_payment_transactions_id"
|
|
603
|
+
end
|
|
604
|
+
# verify the required parameter 'space' is set
|
|
605
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
606
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions_id"
|
|
607
|
+
end
|
|
608
|
+
# resource path
|
|
609
|
+
local_var_path = '/payment/transactions/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
610
|
+
|
|
611
|
+
# query parameters
|
|
612
|
+
query_params = opts[:query_params] || {}
|
|
613
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
614
|
+
|
|
615
|
+
# header parameters
|
|
616
|
+
header_params = opts[:header_params] || {}
|
|
617
|
+
# HTTP header 'Accept' (if needed)
|
|
618
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
619
|
+
header_params[:'Space'] = space
|
|
620
|
+
|
|
621
|
+
# form parameters
|
|
622
|
+
form_params = opts[:form_params] || {}
|
|
623
|
+
|
|
624
|
+
# connection timeout
|
|
625
|
+
connection_timeout = @api_client.config.timeout
|
|
626
|
+
|
|
627
|
+
# http body (model)
|
|
628
|
+
post_body = opts[:debug_body]
|
|
629
|
+
|
|
630
|
+
# return_type
|
|
631
|
+
return_type = opts[:debug_return_type] || 'Transaction'
|
|
632
|
+
|
|
633
|
+
new_options = opts.merge(
|
|
634
|
+
:operation => :"TransactionsService.get_payment_transactions_id",
|
|
635
|
+
:header_params => header_params,
|
|
636
|
+
:query_params => query_params,
|
|
637
|
+
:form_params => form_params,
|
|
638
|
+
:body => post_body,
|
|
639
|
+
:return_type => return_type
|
|
640
|
+
)
|
|
641
|
+
|
|
642
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
643
|
+
if @api_client.config.debugging
|
|
644
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
645
|
+
end
|
|
646
|
+
return data, status_code, headers
|
|
647
|
+
end
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
# Retrieve a charge flow payment page URL
|
|
651
|
+
# @param id [Integer]
|
|
652
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
653
|
+
# @param [Hash] opts the optional parameters
|
|
654
|
+
# @return [String]
|
|
655
|
+
def get_payment_transactions_id_charge_flow_payment_page_url(id, space, opts = {})
|
|
656
|
+
data, _status_code, _headers = get_payment_transactions_id_charge_flow_payment_page_url_with_http_info(id, space, opts)
|
|
657
|
+
data
|
|
658
|
+
end
|
|
659
|
+
|
|
660
|
+
# Retrieve a charge flow payment page URL
|
|
661
|
+
|
|
662
|
+
# @param id [Integer]
|
|
663
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
664
|
+
# @param [Hash] opts the optional parameters
|
|
665
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
666
|
+
def get_payment_transactions_id_charge_flow_payment_page_url_with_http_info(id, space, opts = {})
|
|
667
|
+
if @api_client.config.debugging
|
|
668
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions_id_charge_flow_payment_page_url ...'
|
|
669
|
+
end
|
|
670
|
+
# verify the required parameter 'id' is set
|
|
671
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
672
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.get_payment_transactions_id_charge_flow_payment_page_url"
|
|
673
|
+
end
|
|
674
|
+
# verify the required parameter 'space' is set
|
|
675
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
676
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions_id_charge_flow_payment_page_url"
|
|
677
|
+
end
|
|
678
|
+
# resource path
|
|
679
|
+
local_var_path = '/payment/transactions/{id}/charge-flow/payment-page-url'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
680
|
+
|
|
681
|
+
# query parameters
|
|
682
|
+
query_params = opts[:query_params] || {}
|
|
683
|
+
|
|
684
|
+
# header parameters
|
|
685
|
+
header_params = opts[:header_params] || {}
|
|
686
|
+
# HTTP header 'Accept' (if needed)
|
|
687
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json']) unless header_params['Accept']
|
|
688
|
+
header_params[:'Space'] = space
|
|
689
|
+
|
|
690
|
+
# form parameters
|
|
691
|
+
form_params = opts[:form_params] || {}
|
|
692
|
+
|
|
693
|
+
# connection timeout
|
|
694
|
+
connection_timeout = @api_client.config.timeout
|
|
695
|
+
|
|
696
|
+
# http body (model)
|
|
697
|
+
post_body = opts[:debug_body]
|
|
698
|
+
|
|
699
|
+
# return_type
|
|
700
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
701
|
+
|
|
702
|
+
new_options = opts.merge(
|
|
703
|
+
:operation => :"TransactionsService.get_payment_transactions_id_charge_flow_payment_page_url",
|
|
704
|
+
:header_params => header_params,
|
|
705
|
+
:query_params => query_params,
|
|
706
|
+
:form_params => form_params,
|
|
707
|
+
:body => post_body,
|
|
708
|
+
:return_type => return_type
|
|
709
|
+
)
|
|
710
|
+
|
|
711
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
712
|
+
if @api_client.config.debugging
|
|
713
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions_id_charge_flow_payment_page_url\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
714
|
+
end
|
|
715
|
+
return data, status_code, headers
|
|
716
|
+
end
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
# Check if token can be created
|
|
720
|
+
# @param id [Integer]
|
|
721
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
722
|
+
# @param [Hash] opts the optional parameters
|
|
723
|
+
# @return [Boolean]
|
|
724
|
+
def get_payment_transactions_id_check_token_creation_possible(id, space, opts = {})
|
|
725
|
+
data, _status_code, _headers = get_payment_transactions_id_check_token_creation_possible_with_http_info(id, space, opts)
|
|
726
|
+
data
|
|
727
|
+
end
|
|
728
|
+
|
|
729
|
+
# Check if token can be created
|
|
730
|
+
|
|
731
|
+
# @param id [Integer]
|
|
732
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
733
|
+
# @param [Hash] opts the optional parameters
|
|
734
|
+
# @return [Array<(Boolean, Integer, Hash)>] Boolean data, response status code and response headers
|
|
735
|
+
def get_payment_transactions_id_check_token_creation_possible_with_http_info(id, space, opts = {})
|
|
736
|
+
if @api_client.config.debugging
|
|
737
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions_id_check_token_creation_possible ...'
|
|
738
|
+
end
|
|
739
|
+
# verify the required parameter 'id' is set
|
|
740
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
741
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.get_payment_transactions_id_check_token_creation_possible"
|
|
742
|
+
end
|
|
743
|
+
# verify the required parameter 'space' is set
|
|
744
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
745
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions_id_check_token_creation_possible"
|
|
746
|
+
end
|
|
747
|
+
# resource path
|
|
748
|
+
local_var_path = '/payment/transactions/{id}/check-token-creation-possible'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
749
|
+
|
|
750
|
+
# query parameters
|
|
751
|
+
query_params = opts[:query_params] || {}
|
|
752
|
+
|
|
753
|
+
# header parameters
|
|
754
|
+
header_params = opts[:header_params] || {}
|
|
755
|
+
# HTTP header 'Accept' (if needed)
|
|
756
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
757
|
+
header_params[:'Space'] = space
|
|
758
|
+
|
|
759
|
+
# form parameters
|
|
760
|
+
form_params = opts[:form_params] || {}
|
|
761
|
+
|
|
762
|
+
# connection timeout
|
|
763
|
+
connection_timeout = @api_client.config.timeout
|
|
764
|
+
|
|
765
|
+
# http body (model)
|
|
766
|
+
post_body = opts[:debug_body]
|
|
767
|
+
|
|
768
|
+
# return_type
|
|
769
|
+
return_type = opts[:debug_return_type] || 'Boolean'
|
|
770
|
+
|
|
771
|
+
new_options = opts.merge(
|
|
772
|
+
:operation => :"TransactionsService.get_payment_transactions_id_check_token_creation_possible",
|
|
773
|
+
:header_params => header_params,
|
|
774
|
+
:query_params => query_params,
|
|
775
|
+
:form_params => form_params,
|
|
776
|
+
:body => post_body,
|
|
777
|
+
:return_type => return_type
|
|
778
|
+
)
|
|
779
|
+
|
|
780
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
781
|
+
if @api_client.config.debugging
|
|
782
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions_id_check_token_creation_possible\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
783
|
+
end
|
|
784
|
+
return data, status_code, headers
|
|
785
|
+
end
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
# Retrieve transaction credentials
|
|
789
|
+
# Generates temporary transaction credentials to delegate access to the REST API for the specified transaction.
|
|
790
|
+
# @param id [Integer]
|
|
791
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
792
|
+
# @param [Hash] opts the optional parameters
|
|
793
|
+
# @return [String]
|
|
794
|
+
def get_payment_transactions_id_credentials(id, space, opts = {})
|
|
795
|
+
data, _status_code, _headers = get_payment_transactions_id_credentials_with_http_info(id, space, opts)
|
|
796
|
+
data
|
|
797
|
+
end
|
|
798
|
+
|
|
799
|
+
# Retrieve transaction credentials
|
|
800
|
+
# Generates temporary transaction credentials to delegate access to the REST API for the specified transaction.
|
|
801
|
+
|
|
802
|
+
# @param id [Integer]
|
|
803
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
804
|
+
# @param [Hash] opts the optional parameters
|
|
805
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
806
|
+
def get_payment_transactions_id_credentials_with_http_info(id, space, opts = {})
|
|
807
|
+
if @api_client.config.debugging
|
|
808
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions_id_credentials ...'
|
|
809
|
+
end
|
|
810
|
+
# verify the required parameter 'id' is set
|
|
811
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
812
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.get_payment_transactions_id_credentials"
|
|
813
|
+
end
|
|
814
|
+
# verify the required parameter 'space' is set
|
|
815
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
816
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions_id_credentials"
|
|
817
|
+
end
|
|
818
|
+
# resource path
|
|
819
|
+
local_var_path = '/payment/transactions/{id}/credentials'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
820
|
+
|
|
821
|
+
# query parameters
|
|
822
|
+
query_params = opts[:query_params] || {}
|
|
823
|
+
|
|
824
|
+
# header parameters
|
|
825
|
+
header_params = opts[:header_params] || {}
|
|
826
|
+
# HTTP header 'Accept' (if needed)
|
|
827
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json']) unless header_params['Accept']
|
|
828
|
+
header_params[:'Space'] = space
|
|
829
|
+
|
|
830
|
+
# form parameters
|
|
831
|
+
form_params = opts[:form_params] || {}
|
|
832
|
+
|
|
833
|
+
# connection timeout
|
|
834
|
+
connection_timeout = @api_client.config.timeout
|
|
835
|
+
|
|
836
|
+
# http body (model)
|
|
837
|
+
post_body = opts[:debug_body]
|
|
838
|
+
|
|
839
|
+
# return_type
|
|
840
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
841
|
+
|
|
842
|
+
new_options = opts.merge(
|
|
843
|
+
:operation => :"TransactionsService.get_payment_transactions_id_credentials",
|
|
844
|
+
:header_params => header_params,
|
|
845
|
+
:query_params => query_params,
|
|
846
|
+
:form_params => form_params,
|
|
847
|
+
:body => post_body,
|
|
848
|
+
:return_type => return_type
|
|
849
|
+
)
|
|
850
|
+
|
|
851
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
852
|
+
if @api_client.config.debugging
|
|
853
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions_id_credentials\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
854
|
+
end
|
|
855
|
+
return data, status_code, headers
|
|
856
|
+
end
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
# Retrieve an iFrame JavaScript URL
|
|
860
|
+
# @param id [Integer]
|
|
861
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
862
|
+
# @param [Hash] opts the optional parameters
|
|
863
|
+
# @return [String]
|
|
864
|
+
def get_payment_transactions_id_iframe_javascript_url(id, space, opts = {})
|
|
865
|
+
data, _status_code, _headers = get_payment_transactions_id_iframe_javascript_url_with_http_info(id, space, opts)
|
|
866
|
+
data
|
|
867
|
+
end
|
|
868
|
+
|
|
869
|
+
# Retrieve an iFrame JavaScript URL
|
|
870
|
+
|
|
871
|
+
# @param id [Integer]
|
|
872
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
873
|
+
# @param [Hash] opts the optional parameters
|
|
874
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
875
|
+
def get_payment_transactions_id_iframe_javascript_url_with_http_info(id, space, opts = {})
|
|
876
|
+
if @api_client.config.debugging
|
|
877
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions_id_iframe_javascript_url ...'
|
|
878
|
+
end
|
|
879
|
+
# verify the required parameter 'id' is set
|
|
880
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
881
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.get_payment_transactions_id_iframe_javascript_url"
|
|
882
|
+
end
|
|
883
|
+
# verify the required parameter 'space' is set
|
|
884
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
885
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions_id_iframe_javascript_url"
|
|
886
|
+
end
|
|
887
|
+
# resource path
|
|
888
|
+
local_var_path = '/payment/transactions/{id}/iframe-javascript-url'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
889
|
+
|
|
890
|
+
# query parameters
|
|
891
|
+
query_params = opts[:query_params] || {}
|
|
892
|
+
|
|
893
|
+
# header parameters
|
|
894
|
+
header_params = opts[:header_params] || {}
|
|
895
|
+
# HTTP header 'Accept' (if needed)
|
|
896
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json']) unless header_params['Accept']
|
|
897
|
+
header_params[:'Space'] = space
|
|
898
|
+
|
|
899
|
+
# form parameters
|
|
900
|
+
form_params = opts[:form_params] || {}
|
|
901
|
+
|
|
902
|
+
# connection timeout
|
|
903
|
+
connection_timeout = @api_client.config.timeout
|
|
904
|
+
|
|
905
|
+
# http body (model)
|
|
906
|
+
post_body = opts[:debug_body]
|
|
907
|
+
|
|
908
|
+
# return_type
|
|
909
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
910
|
+
|
|
911
|
+
new_options = opts.merge(
|
|
912
|
+
:operation => :"TransactionsService.get_payment_transactions_id_iframe_javascript_url",
|
|
913
|
+
:header_params => header_params,
|
|
914
|
+
:query_params => query_params,
|
|
915
|
+
:form_params => form_params,
|
|
916
|
+
:body => post_body,
|
|
917
|
+
:return_type => return_type
|
|
918
|
+
)
|
|
919
|
+
|
|
920
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
921
|
+
if @api_client.config.debugging
|
|
922
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions_id_iframe_javascript_url\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
923
|
+
end
|
|
924
|
+
return data, status_code, headers
|
|
925
|
+
end
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
# Retrieve an invoice document
|
|
929
|
+
# @param id [Integer]
|
|
930
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
931
|
+
# @param [Hash] opts the optional parameters
|
|
932
|
+
# @return [RenderedDocument]
|
|
933
|
+
def get_payment_transactions_id_invoice_document(id, space, opts = {})
|
|
934
|
+
data, _status_code, _headers = get_payment_transactions_id_invoice_document_with_http_info(id, space, opts)
|
|
935
|
+
data
|
|
936
|
+
end
|
|
937
|
+
|
|
938
|
+
# Retrieve an invoice document
|
|
939
|
+
|
|
940
|
+
# @param id [Integer]
|
|
941
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
942
|
+
# @param [Hash] opts the optional parameters
|
|
943
|
+
# @return [Array<(RenderedDocument, Integer, Hash)>] RenderedDocument data, response status code and response headers
|
|
944
|
+
def get_payment_transactions_id_invoice_document_with_http_info(id, space, opts = {})
|
|
945
|
+
if @api_client.config.debugging
|
|
946
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions_id_invoice_document ...'
|
|
947
|
+
end
|
|
948
|
+
# verify the required parameter 'id' is set
|
|
949
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
950
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.get_payment_transactions_id_invoice_document"
|
|
951
|
+
end
|
|
952
|
+
# verify the required parameter 'space' is set
|
|
953
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
954
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions_id_invoice_document"
|
|
955
|
+
end
|
|
956
|
+
# resource path
|
|
957
|
+
local_var_path = '/payment/transactions/{id}/invoice-document'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
958
|
+
|
|
959
|
+
# query parameters
|
|
960
|
+
query_params = opts[:query_params] || {}
|
|
961
|
+
|
|
962
|
+
# header parameters
|
|
963
|
+
header_params = opts[:header_params] || {}
|
|
964
|
+
# HTTP header 'Accept' (if needed)
|
|
965
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
966
|
+
header_params[:'Space'] = space
|
|
967
|
+
|
|
968
|
+
# form parameters
|
|
969
|
+
form_params = opts[:form_params] || {}
|
|
970
|
+
|
|
971
|
+
# connection timeout
|
|
972
|
+
connection_timeout = @api_client.config.timeout
|
|
973
|
+
|
|
974
|
+
# http body (model)
|
|
975
|
+
post_body = opts[:debug_body]
|
|
976
|
+
|
|
977
|
+
# return_type
|
|
978
|
+
return_type = opts[:debug_return_type] || 'RenderedDocument'
|
|
979
|
+
|
|
980
|
+
new_options = opts.merge(
|
|
981
|
+
:operation => :"TransactionsService.get_payment_transactions_id_invoice_document",
|
|
982
|
+
:header_params => header_params,
|
|
983
|
+
:query_params => query_params,
|
|
984
|
+
:form_params => form_params,
|
|
985
|
+
:body => post_body,
|
|
986
|
+
:return_type => return_type
|
|
987
|
+
)
|
|
988
|
+
|
|
989
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
990
|
+
if @api_client.config.debugging
|
|
991
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions_id_invoice_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
992
|
+
end
|
|
993
|
+
return data, status_code, headers
|
|
994
|
+
end
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
# Retrieve the latest line item version
|
|
998
|
+
# @param id [Integer]
|
|
999
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1000
|
+
# @param [Hash] opts the optional parameters
|
|
1001
|
+
# @option opts [Array<String>] :expand
|
|
1002
|
+
# @return [TransactionLineItemVersion]
|
|
1003
|
+
def get_payment_transactions_id_latest_line_item_version(id, space, opts = {})
|
|
1004
|
+
data, _status_code, _headers = get_payment_transactions_id_latest_line_item_version_with_http_info(id, space, opts)
|
|
1005
|
+
data
|
|
1006
|
+
end
|
|
1007
|
+
|
|
1008
|
+
# Retrieve the latest line item version
|
|
1009
|
+
|
|
1010
|
+
# @param id [Integer]
|
|
1011
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1012
|
+
# @param [Hash] opts the optional parameters
|
|
1013
|
+
# @option opts [Array<String>] :expand
|
|
1014
|
+
# @return [Array<(TransactionLineItemVersion, Integer, Hash)>] TransactionLineItemVersion data, response status code and response headers
|
|
1015
|
+
def get_payment_transactions_id_latest_line_item_version_with_http_info(id, space, opts = {})
|
|
1016
|
+
if @api_client.config.debugging
|
|
1017
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions_id_latest_line_item_version ...'
|
|
1018
|
+
end
|
|
1019
|
+
# verify the required parameter 'id' is set
|
|
1020
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1021
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.get_payment_transactions_id_latest_line_item_version"
|
|
1022
|
+
end
|
|
1023
|
+
# verify the required parameter 'space' is set
|
|
1024
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
1025
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions_id_latest_line_item_version"
|
|
1026
|
+
end
|
|
1027
|
+
# resource path
|
|
1028
|
+
local_var_path = '/payment/transactions/{id}/latest-line-item-version'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1029
|
+
|
|
1030
|
+
# query parameters
|
|
1031
|
+
query_params = opts[:query_params] || {}
|
|
1032
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
1033
|
+
|
|
1034
|
+
# header parameters
|
|
1035
|
+
header_params = opts[:header_params] || {}
|
|
1036
|
+
# HTTP header 'Accept' (if needed)
|
|
1037
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1038
|
+
header_params[:'Space'] = space
|
|
1039
|
+
|
|
1040
|
+
# form parameters
|
|
1041
|
+
form_params = opts[:form_params] || {}
|
|
1042
|
+
|
|
1043
|
+
# connection timeout
|
|
1044
|
+
connection_timeout = @api_client.config.timeout
|
|
1045
|
+
|
|
1046
|
+
# http body (model)
|
|
1047
|
+
post_body = opts[:debug_body]
|
|
1048
|
+
|
|
1049
|
+
# return_type
|
|
1050
|
+
return_type = opts[:debug_return_type] || 'TransactionLineItemVersion'
|
|
1051
|
+
|
|
1052
|
+
new_options = opts.merge(
|
|
1053
|
+
:operation => :"TransactionsService.get_payment_transactions_id_latest_line_item_version",
|
|
1054
|
+
:header_params => header_params,
|
|
1055
|
+
:query_params => query_params,
|
|
1056
|
+
:form_params => form_params,
|
|
1057
|
+
:body => post_body,
|
|
1058
|
+
:return_type => return_type
|
|
1059
|
+
)
|
|
1060
|
+
|
|
1061
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
1062
|
+
if @api_client.config.debugging
|
|
1063
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions_id_latest_line_item_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
1064
|
+
end
|
|
1065
|
+
return data, status_code, headers
|
|
1066
|
+
end
|
|
1067
|
+
|
|
1068
|
+
|
|
1069
|
+
# Retrieve a Lightbox JavaScript URL
|
|
1070
|
+
# @param id [Integer]
|
|
1071
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1072
|
+
# @param [Hash] opts the optional parameters
|
|
1073
|
+
# @return [String]
|
|
1074
|
+
def get_payment_transactions_id_lightbox_javascript_url(id, space, opts = {})
|
|
1075
|
+
data, _status_code, _headers = get_payment_transactions_id_lightbox_javascript_url_with_http_info(id, space, opts)
|
|
1076
|
+
data
|
|
1077
|
+
end
|
|
1078
|
+
|
|
1079
|
+
# Retrieve a Lightbox JavaScript URL
|
|
1080
|
+
|
|
1081
|
+
# @param id [Integer]
|
|
1082
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1083
|
+
# @param [Hash] opts the optional parameters
|
|
1084
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
1085
|
+
def get_payment_transactions_id_lightbox_javascript_url_with_http_info(id, space, opts = {})
|
|
1086
|
+
if @api_client.config.debugging
|
|
1087
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions_id_lightbox_javascript_url ...'
|
|
1088
|
+
end
|
|
1089
|
+
# verify the required parameter 'id' is set
|
|
1090
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1091
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.get_payment_transactions_id_lightbox_javascript_url"
|
|
1092
|
+
end
|
|
1093
|
+
# verify the required parameter 'space' is set
|
|
1094
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
1095
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions_id_lightbox_javascript_url"
|
|
1096
|
+
end
|
|
1097
|
+
# resource path
|
|
1098
|
+
local_var_path = '/payment/transactions/{id}/lightbox-javascript-url'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1099
|
+
|
|
1100
|
+
# query parameters
|
|
1101
|
+
query_params = opts[:query_params] || {}
|
|
1102
|
+
|
|
1103
|
+
# header parameters
|
|
1104
|
+
header_params = opts[:header_params] || {}
|
|
1105
|
+
# HTTP header 'Accept' (if needed)
|
|
1106
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json']) unless header_params['Accept']
|
|
1107
|
+
header_params[:'Space'] = space
|
|
1108
|
+
|
|
1109
|
+
# form parameters
|
|
1110
|
+
form_params = opts[:form_params] || {}
|
|
1111
|
+
|
|
1112
|
+
# connection timeout
|
|
1113
|
+
connection_timeout = @api_client.config.timeout
|
|
1114
|
+
|
|
1115
|
+
# http body (model)
|
|
1116
|
+
post_body = opts[:debug_body]
|
|
1117
|
+
|
|
1118
|
+
# return_type
|
|
1119
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
1120
|
+
|
|
1121
|
+
new_options = opts.merge(
|
|
1122
|
+
:operation => :"TransactionsService.get_payment_transactions_id_lightbox_javascript_url",
|
|
1123
|
+
:header_params => header_params,
|
|
1124
|
+
:query_params => query_params,
|
|
1125
|
+
:form_params => form_params,
|
|
1126
|
+
:body => post_body,
|
|
1127
|
+
:return_type => return_type
|
|
1128
|
+
)
|
|
1129
|
+
|
|
1130
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
1131
|
+
if @api_client.config.debugging
|
|
1132
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions_id_lightbox_javascript_url\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
1133
|
+
end
|
|
1134
|
+
return data, status_code, headers
|
|
1135
|
+
end
|
|
1136
|
+
|
|
1137
|
+
|
|
1138
|
+
# Retrieve a packing slip document
|
|
1139
|
+
# @param id [Integer]
|
|
1140
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1141
|
+
# @param [Hash] opts the optional parameters
|
|
1142
|
+
# @return [RenderedDocument]
|
|
1143
|
+
def get_payment_transactions_id_packing_slip_document(id, space, opts = {})
|
|
1144
|
+
data, _status_code, _headers = get_payment_transactions_id_packing_slip_document_with_http_info(id, space, opts)
|
|
1145
|
+
data
|
|
1146
|
+
end
|
|
1147
|
+
|
|
1148
|
+
# Retrieve a packing slip document
|
|
1149
|
+
|
|
1150
|
+
# @param id [Integer]
|
|
1151
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1152
|
+
# @param [Hash] opts the optional parameters
|
|
1153
|
+
# @return [Array<(RenderedDocument, Integer, Hash)>] RenderedDocument data, response status code and response headers
|
|
1154
|
+
def get_payment_transactions_id_packing_slip_document_with_http_info(id, space, opts = {})
|
|
1155
|
+
if @api_client.config.debugging
|
|
1156
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions_id_packing_slip_document ...'
|
|
1157
|
+
end
|
|
1158
|
+
# verify the required parameter 'id' is set
|
|
1159
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1160
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.get_payment_transactions_id_packing_slip_document"
|
|
1161
|
+
end
|
|
1162
|
+
# verify the required parameter 'space' is set
|
|
1163
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
1164
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions_id_packing_slip_document"
|
|
1165
|
+
end
|
|
1166
|
+
# resource path
|
|
1167
|
+
local_var_path = '/payment/transactions/{id}/packing-slip-document'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1168
|
+
|
|
1169
|
+
# query parameters
|
|
1170
|
+
query_params = opts[:query_params] || {}
|
|
1171
|
+
|
|
1172
|
+
# header parameters
|
|
1173
|
+
header_params = opts[:header_params] || {}
|
|
1174
|
+
# HTTP header 'Accept' (if needed)
|
|
1175
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1176
|
+
header_params[:'Space'] = space
|
|
1177
|
+
|
|
1178
|
+
# form parameters
|
|
1179
|
+
form_params = opts[:form_params] || {}
|
|
1180
|
+
|
|
1181
|
+
# connection timeout
|
|
1182
|
+
connection_timeout = @api_client.config.timeout
|
|
1183
|
+
|
|
1184
|
+
# http body (model)
|
|
1185
|
+
post_body = opts[:debug_body]
|
|
1186
|
+
|
|
1187
|
+
# return_type
|
|
1188
|
+
return_type = opts[:debug_return_type] || 'RenderedDocument'
|
|
1189
|
+
|
|
1190
|
+
new_options = opts.merge(
|
|
1191
|
+
:operation => :"TransactionsService.get_payment_transactions_id_packing_slip_document",
|
|
1192
|
+
:header_params => header_params,
|
|
1193
|
+
:query_params => query_params,
|
|
1194
|
+
:form_params => form_params,
|
|
1195
|
+
:body => post_body,
|
|
1196
|
+
:return_type => return_type
|
|
1197
|
+
)
|
|
1198
|
+
|
|
1199
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
1200
|
+
if @api_client.config.debugging
|
|
1201
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions_id_packing_slip_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
1202
|
+
end
|
|
1203
|
+
return data, status_code, headers
|
|
1204
|
+
end
|
|
1205
|
+
|
|
1206
|
+
|
|
1207
|
+
# List available payment method configurations
|
|
1208
|
+
# @param id [Integer]
|
|
1209
|
+
# @param integration_mode [String]
|
|
1210
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1211
|
+
# @param [Hash] opts the optional parameters
|
|
1212
|
+
# @option opts [Array<String>] :expand
|
|
1213
|
+
# @return [PaymentMethodConfigurationListResponse]
|
|
1214
|
+
def get_payment_transactions_id_payment_method_configurations(id, integration_mode, space, opts = {})
|
|
1215
|
+
data, _status_code, _headers = get_payment_transactions_id_payment_method_configurations_with_http_info(id, integration_mode, space, opts)
|
|
1216
|
+
data
|
|
1217
|
+
end
|
|
1218
|
+
|
|
1219
|
+
# List available payment method configurations
|
|
1220
|
+
|
|
1221
|
+
# @param id [Integer]
|
|
1222
|
+
# @param integration_mode [String]
|
|
1223
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1224
|
+
# @param [Hash] opts the optional parameters
|
|
1225
|
+
# @option opts [Array<String>] :expand
|
|
1226
|
+
# @return [Array<(PaymentMethodConfigurationListResponse, Integer, Hash)>] PaymentMethodConfigurationListResponse data, response status code and response headers
|
|
1227
|
+
def get_payment_transactions_id_payment_method_configurations_with_http_info(id, integration_mode, space, opts = {})
|
|
1228
|
+
if @api_client.config.debugging
|
|
1229
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions_id_payment_method_configurations ...'
|
|
1230
|
+
end
|
|
1231
|
+
# verify the required parameter 'id' is set
|
|
1232
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1233
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.get_payment_transactions_id_payment_method_configurations"
|
|
1234
|
+
end
|
|
1235
|
+
# verify the required parameter 'integration_mode' is set
|
|
1236
|
+
if @api_client.config.client_side_validation && integration_mode.nil?
|
|
1237
|
+
fail ArgumentError, "Missing the required parameter 'integration_mode' when calling TransactionsService.get_payment_transactions_id_payment_method_configurations"
|
|
1238
|
+
end
|
|
1239
|
+
# verify the required parameter 'space' is set
|
|
1240
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
1241
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions_id_payment_method_configurations"
|
|
1242
|
+
end
|
|
1243
|
+
# resource path
|
|
1244
|
+
local_var_path = '/payment/transactions/{id}/payment-method-configurations'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1245
|
+
|
|
1246
|
+
# query parameters
|
|
1247
|
+
query_params = opts[:query_params] || {}
|
|
1248
|
+
query_params[:'integrationMode'] = integration_mode
|
|
1249
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
1250
|
+
|
|
1251
|
+
# header parameters
|
|
1252
|
+
header_params = opts[:header_params] || {}
|
|
1253
|
+
# HTTP header 'Accept' (if needed)
|
|
1254
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1255
|
+
header_params[:'Space'] = space
|
|
1256
|
+
|
|
1257
|
+
# form parameters
|
|
1258
|
+
form_params = opts[:form_params] || {}
|
|
1259
|
+
|
|
1260
|
+
# connection timeout
|
|
1261
|
+
connection_timeout = @api_client.config.timeout
|
|
1262
|
+
|
|
1263
|
+
# http body (model)
|
|
1264
|
+
post_body = opts[:debug_body]
|
|
1265
|
+
|
|
1266
|
+
# return_type
|
|
1267
|
+
return_type = opts[:debug_return_type] || 'PaymentMethodConfigurationListResponse'
|
|
1268
|
+
|
|
1269
|
+
new_options = opts.merge(
|
|
1270
|
+
:operation => :"TransactionsService.get_payment_transactions_id_payment_method_configurations",
|
|
1271
|
+
:header_params => header_params,
|
|
1272
|
+
:query_params => query_params,
|
|
1273
|
+
:form_params => form_params,
|
|
1274
|
+
:body => post_body,
|
|
1275
|
+
:return_type => return_type
|
|
1276
|
+
)
|
|
1277
|
+
|
|
1278
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
1279
|
+
if @api_client.config.debugging
|
|
1280
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions_id_payment_method_configurations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
1281
|
+
end
|
|
1282
|
+
return data, status_code, headers
|
|
1283
|
+
end
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
# Retrieve a payment page URL
|
|
1287
|
+
# @param id [Integer]
|
|
1288
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1289
|
+
# @param [Hash] opts the optional parameters
|
|
1290
|
+
# @return [String]
|
|
1291
|
+
def get_payment_transactions_id_payment_page_url(id, space, opts = {})
|
|
1292
|
+
data, _status_code, _headers = get_payment_transactions_id_payment_page_url_with_http_info(id, space, opts)
|
|
1293
|
+
data
|
|
1294
|
+
end
|
|
1295
|
+
|
|
1296
|
+
# Retrieve a payment page URL
|
|
1297
|
+
|
|
1298
|
+
# @param id [Integer]
|
|
1299
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1300
|
+
# @param [Hash] opts the optional parameters
|
|
1301
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
1302
|
+
def get_payment_transactions_id_payment_page_url_with_http_info(id, space, opts = {})
|
|
1303
|
+
if @api_client.config.debugging
|
|
1304
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions_id_payment_page_url ...'
|
|
1305
|
+
end
|
|
1306
|
+
# verify the required parameter 'id' is set
|
|
1307
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1308
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.get_payment_transactions_id_payment_page_url"
|
|
1309
|
+
end
|
|
1310
|
+
# verify the required parameter 'space' is set
|
|
1311
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
1312
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions_id_payment_page_url"
|
|
1313
|
+
end
|
|
1314
|
+
# resource path
|
|
1315
|
+
local_var_path = '/payment/transactions/{id}/payment-page-url'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1316
|
+
|
|
1317
|
+
# query parameters
|
|
1318
|
+
query_params = opts[:query_params] || {}
|
|
1319
|
+
|
|
1320
|
+
# header parameters
|
|
1321
|
+
header_params = opts[:header_params] || {}
|
|
1322
|
+
# HTTP header 'Accept' (if needed)
|
|
1323
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json']) unless header_params['Accept']
|
|
1324
|
+
header_params[:'Space'] = space
|
|
1325
|
+
|
|
1326
|
+
# form parameters
|
|
1327
|
+
form_params = opts[:form_params] || {}
|
|
1328
|
+
|
|
1329
|
+
# connection timeout
|
|
1330
|
+
connection_timeout = @api_client.config.timeout
|
|
1331
|
+
|
|
1332
|
+
# http body (model)
|
|
1333
|
+
post_body = opts[:debug_body]
|
|
1334
|
+
|
|
1335
|
+
# return_type
|
|
1336
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
1337
|
+
|
|
1338
|
+
new_options = opts.merge(
|
|
1339
|
+
:operation => :"TransactionsService.get_payment_transactions_id_payment_page_url",
|
|
1340
|
+
:header_params => header_params,
|
|
1341
|
+
:query_params => query_params,
|
|
1342
|
+
:form_params => form_params,
|
|
1343
|
+
:body => post_body,
|
|
1344
|
+
:return_type => return_type
|
|
1345
|
+
)
|
|
1346
|
+
|
|
1347
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
1348
|
+
if @api_client.config.debugging
|
|
1349
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions_id_payment_page_url\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
1350
|
+
end
|
|
1351
|
+
return data, status_code, headers
|
|
1352
|
+
end
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
# List terminal receipts
|
|
1356
|
+
# @param id [Integer]
|
|
1357
|
+
# @param format [TerminalReceiptFormat] The format specifies how the receipts will be presented in the response.
|
|
1358
|
+
# @param width [Integer] The width defines the dimensions for rendering the document. For PDF format, the width is specified in millimeters, while for text format, it represents the number of characters per line.
|
|
1359
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1360
|
+
# @param [Hash] opts the optional parameters
|
|
1361
|
+
# @return [RenderedTerminalReceiptListResponse]
|
|
1362
|
+
def get_payment_transactions_id_terminal_receipts(id, format, width, space, opts = {})
|
|
1363
|
+
data, _status_code, _headers = get_payment_transactions_id_terminal_receipts_with_http_info(id, format, width, space, opts)
|
|
1364
|
+
data
|
|
1365
|
+
end
|
|
1366
|
+
|
|
1367
|
+
# List terminal receipts
|
|
1368
|
+
|
|
1369
|
+
# @param id [Integer]
|
|
1370
|
+
# @param format [TerminalReceiptFormat] The format specifies how the receipts will be presented in the response.
|
|
1371
|
+
# @param width [Integer] The width defines the dimensions for rendering the document. For PDF format, the width is specified in millimeters, while for text format, it represents the number of characters per line.
|
|
1372
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1373
|
+
# @param [Hash] opts the optional parameters
|
|
1374
|
+
# @return [Array<(RenderedTerminalReceiptListResponse, Integer, Hash)>] RenderedTerminalReceiptListResponse data, response status code and response headers
|
|
1375
|
+
def get_payment_transactions_id_terminal_receipts_with_http_info(id, format, width, space, opts = {})
|
|
1376
|
+
if @api_client.config.debugging
|
|
1377
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions_id_terminal_receipts ...'
|
|
1378
|
+
end
|
|
1379
|
+
# verify the required parameter 'id' is set
|
|
1380
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1381
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.get_payment_transactions_id_terminal_receipts"
|
|
1382
|
+
end
|
|
1383
|
+
# verify the required parameter 'format' is set
|
|
1384
|
+
if @api_client.config.client_side_validation && format.nil?
|
|
1385
|
+
fail ArgumentError, "Missing the required parameter 'format' when calling TransactionsService.get_payment_transactions_id_terminal_receipts"
|
|
1386
|
+
end
|
|
1387
|
+
# verify the required parameter 'width' is set
|
|
1388
|
+
if @api_client.config.client_side_validation && width.nil?
|
|
1389
|
+
fail ArgumentError, "Missing the required parameter 'width' when calling TransactionsService.get_payment_transactions_id_terminal_receipts"
|
|
1390
|
+
end
|
|
1391
|
+
# verify the required parameter 'space' is set
|
|
1392
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
1393
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions_id_terminal_receipts"
|
|
1394
|
+
end
|
|
1395
|
+
# resource path
|
|
1396
|
+
local_var_path = '/payment/transactions/{id}/terminal-receipts'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1397
|
+
|
|
1398
|
+
# query parameters
|
|
1399
|
+
query_params = opts[:query_params] || {}
|
|
1400
|
+
query_params[:'format'] = format
|
|
1401
|
+
query_params[:'width'] = width
|
|
1402
|
+
|
|
1403
|
+
# header parameters
|
|
1404
|
+
header_params = opts[:header_params] || {}
|
|
1405
|
+
# HTTP header 'Accept' (if needed)
|
|
1406
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1407
|
+
header_params[:'Space'] = space
|
|
1408
|
+
|
|
1409
|
+
# form parameters
|
|
1410
|
+
form_params = opts[:form_params] || {}
|
|
1411
|
+
|
|
1412
|
+
# connection timeout
|
|
1413
|
+
connection_timeout = @api_client.config.timeout
|
|
1414
|
+
|
|
1415
|
+
# http body (model)
|
|
1416
|
+
post_body = opts[:debug_body]
|
|
1417
|
+
|
|
1418
|
+
# return_type
|
|
1419
|
+
return_type = opts[:debug_return_type] || 'RenderedTerminalReceiptListResponse'
|
|
1420
|
+
|
|
1421
|
+
new_options = opts.merge(
|
|
1422
|
+
:operation => :"TransactionsService.get_payment_transactions_id_terminal_receipts",
|
|
1423
|
+
:header_params => header_params,
|
|
1424
|
+
:query_params => query_params,
|
|
1425
|
+
:form_params => form_params,
|
|
1426
|
+
:body => post_body,
|
|
1427
|
+
:return_type => return_type
|
|
1428
|
+
)
|
|
1429
|
+
|
|
1430
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
1431
|
+
if @api_client.config.debugging
|
|
1432
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions_id_terminal_receipts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
1433
|
+
end
|
|
1434
|
+
return data, status_code, headers
|
|
1435
|
+
end
|
|
1436
|
+
|
|
1437
|
+
|
|
1438
|
+
# Search transactions
|
|
1439
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1440
|
+
# @param [Hash] opts the optional parameters
|
|
1441
|
+
# @option opts [Array<String>] :expand
|
|
1442
|
+
# @option opts [Integer] :limit A limit on the number of objects to be returned, between 1 and 100. Default is 10.
|
|
1443
|
+
# @option opts [Integer] :offset A cursor for pagination, specifies the number of objects to skip.
|
|
1444
|
+
# @option opts [String] :order The fields and order to sort the objects by.
|
|
1445
|
+
# @option opts [String] :query The search query to filter the objects by.
|
|
1446
|
+
# @return [TransactionSearchResponse]
|
|
1447
|
+
def get_payment_transactions_search(space, opts = {})
|
|
1448
|
+
data, _status_code, _headers = get_payment_transactions_search_with_http_info(space, opts)
|
|
1449
|
+
data
|
|
1450
|
+
end
|
|
1451
|
+
|
|
1452
|
+
# Search transactions
|
|
1453
|
+
|
|
1454
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1455
|
+
# @param [Hash] opts the optional parameters
|
|
1456
|
+
# @option opts [Array<String>] :expand
|
|
1457
|
+
# @option opts [Integer] :limit A limit on the number of objects to be returned, between 1 and 100. Default is 10.
|
|
1458
|
+
# @option opts [Integer] :offset A cursor for pagination, specifies the number of objects to skip.
|
|
1459
|
+
# @option opts [String] :order The fields and order to sort the objects by.
|
|
1460
|
+
# @option opts [String] :query The search query to filter the objects by.
|
|
1461
|
+
# @return [Array<(TransactionSearchResponse, Integer, Hash)>] TransactionSearchResponse data, response status code and response headers
|
|
1462
|
+
def get_payment_transactions_search_with_http_info(space, opts = {})
|
|
1463
|
+
if @api_client.config.debugging
|
|
1464
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.get_payment_transactions_search ...'
|
|
1465
|
+
end
|
|
1466
|
+
# verify the required parameter 'space' is set
|
|
1467
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
1468
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.get_payment_transactions_search"
|
|
1469
|
+
end
|
|
1470
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 100
|
|
1471
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TransactionsService.get_payment_transactions_search, must be smaller than or equal to 100.'
|
|
1472
|
+
end
|
|
1473
|
+
|
|
1474
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1475
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TransactionsService.get_payment_transactions_search, must be greater than or equal to 1.'
|
|
1476
|
+
end
|
|
1477
|
+
|
|
1478
|
+
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] > 10000
|
|
1479
|
+
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling TransactionsService.get_payment_transactions_search, must be smaller than or equal to 10000.'
|
|
1480
|
+
end
|
|
1481
|
+
|
|
1482
|
+
# resource path
|
|
1483
|
+
local_var_path = '/payment/transactions/search'
|
|
1484
|
+
|
|
1485
|
+
# query parameters
|
|
1486
|
+
query_params = opts[:query_params] || {}
|
|
1487
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
1488
|
+
query_params[:'limit'] = opts[:'limit'] unless opts[:'limit'].nil?
|
|
1489
|
+
query_params[:'offset'] = opts[:'offset'] unless opts[:'offset'].nil?
|
|
1490
|
+
query_params[:'order'] = opts[:'order'] unless opts[:'order'].nil?
|
|
1491
|
+
query_params[:'query'] = opts[:'query'] unless opts[:'query'].nil?
|
|
1492
|
+
|
|
1493
|
+
# header parameters
|
|
1494
|
+
header_params = opts[:header_params] || {}
|
|
1495
|
+
# HTTP header 'Accept' (if needed)
|
|
1496
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1497
|
+
header_params[:'Space'] = space
|
|
1498
|
+
|
|
1499
|
+
# form parameters
|
|
1500
|
+
form_params = opts[:form_params] || {}
|
|
1501
|
+
|
|
1502
|
+
# connection timeout
|
|
1503
|
+
connection_timeout = @api_client.config.timeout
|
|
1504
|
+
|
|
1505
|
+
# http body (model)
|
|
1506
|
+
post_body = opts[:debug_body]
|
|
1507
|
+
|
|
1508
|
+
# return_type
|
|
1509
|
+
return_type = opts[:debug_return_type] || 'TransactionSearchResponse'
|
|
1510
|
+
|
|
1511
|
+
new_options = opts.merge(
|
|
1512
|
+
:operation => :"TransactionsService.get_payment_transactions_search",
|
|
1513
|
+
:header_params => header_params,
|
|
1514
|
+
:query_params => query_params,
|
|
1515
|
+
:form_params => form_params,
|
|
1516
|
+
:body => post_body,
|
|
1517
|
+
:return_type => return_type
|
|
1518
|
+
)
|
|
1519
|
+
|
|
1520
|
+
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
1521
|
+
if @api_client.config.debugging
|
|
1522
|
+
@api_client.config.logger.debug "API called: TransactionsService#get_payment_transactions_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
1523
|
+
end
|
|
1524
|
+
return data, status_code, headers
|
|
1525
|
+
end
|
|
1526
|
+
|
|
1527
|
+
|
|
1528
|
+
# Update a transaction
|
|
1529
|
+
# @param id [Integer]
|
|
1530
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1531
|
+
# @param transaction_pending [TransactionPending]
|
|
1532
|
+
# @param [Hash] opts the optional parameters
|
|
1533
|
+
# @option opts [Array<String>] :expand
|
|
1534
|
+
# @return [Transaction]
|
|
1535
|
+
def patch_payment_transactions_id(id, space, transaction_pending, opts = {})
|
|
1536
|
+
data, _status_code, _headers = patch_payment_transactions_id_with_http_info(id, space, transaction_pending, opts)
|
|
1537
|
+
data
|
|
1538
|
+
end
|
|
1539
|
+
|
|
1540
|
+
# Update a transaction
|
|
1541
|
+
|
|
1542
|
+
# @param id [Integer]
|
|
1543
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1544
|
+
# @param transaction_pending [TransactionPending]
|
|
1545
|
+
# @param [Hash] opts the optional parameters
|
|
1546
|
+
# @option opts [Array<String>] :expand
|
|
1547
|
+
# @return [Array<(Transaction, Integer, Hash)>] Transaction data, response status code and response headers
|
|
1548
|
+
def patch_payment_transactions_id_with_http_info(id, space, transaction_pending, opts = {})
|
|
1549
|
+
if @api_client.config.debugging
|
|
1550
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.patch_payment_transactions_id ...'
|
|
1551
|
+
end
|
|
1552
|
+
# verify the required parameter 'id' is set
|
|
1553
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1554
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.patch_payment_transactions_id"
|
|
1555
|
+
end
|
|
1556
|
+
# verify the required parameter 'space' is set
|
|
1557
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
1558
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.patch_payment_transactions_id"
|
|
1559
|
+
end
|
|
1560
|
+
# verify the required parameter 'transaction_pending' is set
|
|
1561
|
+
if @api_client.config.client_side_validation && transaction_pending.nil?
|
|
1562
|
+
fail ArgumentError, "Missing the required parameter 'transaction_pending' when calling TransactionsService.patch_payment_transactions_id"
|
|
1563
|
+
end
|
|
1564
|
+
# resource path
|
|
1565
|
+
local_var_path = '/payment/transactions/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1566
|
+
|
|
1567
|
+
# query parameters
|
|
1568
|
+
query_params = opts[:query_params] || {}
|
|
1569
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
1570
|
+
|
|
1571
|
+
# header parameters
|
|
1572
|
+
header_params = opts[:header_params] || {}
|
|
1573
|
+
# HTTP header 'Accept' (if needed)
|
|
1574
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1575
|
+
# HTTP header 'Content-Type'
|
|
1576
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1577
|
+
unless content_type.nil?
|
|
1578
|
+
header_params['Content-Type'] = content_type
|
|
1579
|
+
end
|
|
1580
|
+
header_params[:'Space'] = space
|
|
1581
|
+
|
|
1582
|
+
# form parameters
|
|
1583
|
+
form_params = opts[:form_params] || {}
|
|
1584
|
+
|
|
1585
|
+
# connection timeout
|
|
1586
|
+
connection_timeout = @api_client.config.timeout
|
|
1587
|
+
|
|
1588
|
+
# http body (model)
|
|
1589
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(transaction_pending)
|
|
1590
|
+
|
|
1591
|
+
# return_type
|
|
1592
|
+
return_type = opts[:debug_return_type] || 'Transaction'
|
|
1593
|
+
|
|
1594
|
+
new_options = opts.merge(
|
|
1595
|
+
:operation => :"TransactionsService.patch_payment_transactions_id",
|
|
1596
|
+
:header_params => header_params,
|
|
1597
|
+
:query_params => query_params,
|
|
1598
|
+
:form_params => form_params,
|
|
1599
|
+
:body => post_body,
|
|
1600
|
+
:return_type => return_type
|
|
1601
|
+
)
|
|
1602
|
+
|
|
1603
|
+
data, status_code, headers = @api_client.call_api(:PATCH.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
1604
|
+
if @api_client.config.debugging
|
|
1605
|
+
@api_client.config.logger.debug "API called: TransactionsService#patch_payment_transactions_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
1606
|
+
end
|
|
1607
|
+
return data, status_code, headers
|
|
1608
|
+
end
|
|
1609
|
+
|
|
1610
|
+
|
|
1611
|
+
# Create a transaction
|
|
1612
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1613
|
+
# @param transaction_create [TransactionCreate]
|
|
1614
|
+
# @param [Hash] opts the optional parameters
|
|
1615
|
+
# @option opts [Array<String>] :expand
|
|
1616
|
+
# @return [Transaction]
|
|
1617
|
+
def post_payment_transactions(space, transaction_create, opts = {})
|
|
1618
|
+
data, _status_code, _headers = post_payment_transactions_with_http_info(space, transaction_create, opts)
|
|
1619
|
+
data
|
|
1620
|
+
end
|
|
1621
|
+
|
|
1622
|
+
# Create a transaction
|
|
1623
|
+
|
|
1624
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1625
|
+
# @param transaction_create [TransactionCreate]
|
|
1626
|
+
# @param [Hash] opts the optional parameters
|
|
1627
|
+
# @option opts [Array<String>] :expand
|
|
1628
|
+
# @return [Array<(Transaction, Integer, Hash)>] Transaction data, response status code and response headers
|
|
1629
|
+
def post_payment_transactions_with_http_info(space, transaction_create, opts = {})
|
|
1630
|
+
if @api_client.config.debugging
|
|
1631
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.post_payment_transactions ...'
|
|
1632
|
+
end
|
|
1633
|
+
# verify the required parameter 'space' is set
|
|
1634
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
1635
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.post_payment_transactions"
|
|
1636
|
+
end
|
|
1637
|
+
# verify the required parameter 'transaction_create' is set
|
|
1638
|
+
if @api_client.config.client_side_validation && transaction_create.nil?
|
|
1639
|
+
fail ArgumentError, "Missing the required parameter 'transaction_create' when calling TransactionsService.post_payment_transactions"
|
|
1640
|
+
end
|
|
1641
|
+
# resource path
|
|
1642
|
+
local_var_path = '/payment/transactions'
|
|
1643
|
+
|
|
1644
|
+
# query parameters
|
|
1645
|
+
query_params = opts[:query_params] || {}
|
|
1646
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
1647
|
+
|
|
1648
|
+
# header parameters
|
|
1649
|
+
header_params = opts[:header_params] || {}
|
|
1650
|
+
# HTTP header 'Accept' (if needed)
|
|
1651
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1652
|
+
# HTTP header 'Content-Type'
|
|
1653
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1654
|
+
unless content_type.nil?
|
|
1655
|
+
header_params['Content-Type'] = content_type
|
|
1656
|
+
end
|
|
1657
|
+
header_params[:'Space'] = space
|
|
1658
|
+
|
|
1659
|
+
# form parameters
|
|
1660
|
+
form_params = opts[:form_params] || {}
|
|
1661
|
+
|
|
1662
|
+
# connection timeout
|
|
1663
|
+
connection_timeout = @api_client.config.timeout
|
|
1664
|
+
|
|
1665
|
+
# http body (model)
|
|
1666
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(transaction_create)
|
|
1667
|
+
|
|
1668
|
+
# return_type
|
|
1669
|
+
return_type = opts[:debug_return_type] || 'Transaction'
|
|
1670
|
+
|
|
1671
|
+
new_options = opts.merge(
|
|
1672
|
+
:operation => :"TransactionsService.post_payment_transactions",
|
|
1673
|
+
:header_params => header_params,
|
|
1674
|
+
:query_params => query_params,
|
|
1675
|
+
:form_params => form_params,
|
|
1676
|
+
:body => post_body,
|
|
1677
|
+
:return_type => return_type
|
|
1678
|
+
)
|
|
1679
|
+
|
|
1680
|
+
data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
1681
|
+
if @api_client.config.debugging
|
|
1682
|
+
@api_client.config.logger.debug "API called: TransactionsService#post_payment_transactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
1683
|
+
end
|
|
1684
|
+
return data, status_code, headers
|
|
1685
|
+
end
|
|
1686
|
+
|
|
1687
|
+
|
|
1688
|
+
# Process via one-click token by credentials
|
|
1689
|
+
# Assigns the provided token to the transaction, processes it, and returns a URL for customer redirection to complete the transaction.
|
|
1690
|
+
# @param credentials [String] Identifies the transaction and includes the security details required to authorize access to this operation.
|
|
1691
|
+
# @param id [Integer]
|
|
1692
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1693
|
+
# @param [Hash] opts the optional parameters
|
|
1694
|
+
# @return [String]
|
|
1695
|
+
def post_payment_transactions_by_credentials_credentials_one_click_tokens_id_process(credentials, id, space, opts = {})
|
|
1696
|
+
data, _status_code, _headers = post_payment_transactions_by_credentials_credentials_one_click_tokens_id_process_with_http_info(credentials, id, space, opts)
|
|
1697
|
+
data
|
|
1698
|
+
end
|
|
1699
|
+
|
|
1700
|
+
# Process via one-click token by credentials
|
|
1701
|
+
# Assigns the provided token to the transaction, processes it, and returns a URL for customer redirection to complete the transaction.
|
|
1702
|
+
|
|
1703
|
+
# @param credentials [String] Identifies the transaction and includes the security details required to authorize access to this operation.
|
|
1704
|
+
# @param id [Integer]
|
|
1705
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1706
|
+
# @param [Hash] opts the optional parameters
|
|
1707
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
1708
|
+
def post_payment_transactions_by_credentials_credentials_one_click_tokens_id_process_with_http_info(credentials, id, space, opts = {})
|
|
1709
|
+
if @api_client.config.debugging
|
|
1710
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.post_payment_transactions_by_credentials_credentials_one_click_tokens_id_process ...'
|
|
1711
|
+
end
|
|
1712
|
+
# verify the required parameter 'credentials' is set
|
|
1713
|
+
if @api_client.config.client_side_validation && credentials.nil?
|
|
1714
|
+
fail ArgumentError, "Missing the required parameter 'credentials' when calling TransactionsService.post_payment_transactions_by_credentials_credentials_one_click_tokens_id_process"
|
|
1715
|
+
end
|
|
1716
|
+
# verify the required parameter 'id' is set
|
|
1717
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1718
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.post_payment_transactions_by_credentials_credentials_one_click_tokens_id_process"
|
|
1719
|
+
end
|
|
1720
|
+
# verify the required parameter 'space' is set
|
|
1721
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
1722
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.post_payment_transactions_by_credentials_credentials_one_click_tokens_id_process"
|
|
1723
|
+
end
|
|
1724
|
+
# resource path
|
|
1725
|
+
local_var_path = '/payment/transactions/by-credentials/{credentials}/one-click-tokens/{id}/process'.sub('{' + 'credentials' + '}', CGI.escape(credentials.to_s)).sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1726
|
+
|
|
1727
|
+
# query parameters
|
|
1728
|
+
query_params = opts[:query_params] || {}
|
|
1729
|
+
|
|
1730
|
+
# header parameters
|
|
1731
|
+
header_params = opts[:header_params] || {}
|
|
1732
|
+
# HTTP header 'Accept' (if needed)
|
|
1733
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json']) unless header_params['Accept']
|
|
1734
|
+
header_params[:'Space'] = space
|
|
1735
|
+
|
|
1736
|
+
# form parameters
|
|
1737
|
+
form_params = opts[:form_params] || {}
|
|
1738
|
+
|
|
1739
|
+
# connection timeout
|
|
1740
|
+
connection_timeout = @api_client.config.timeout
|
|
1741
|
+
|
|
1742
|
+
# http body (model)
|
|
1743
|
+
post_body = opts[:debug_body]
|
|
1744
|
+
|
|
1745
|
+
# return_type
|
|
1746
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
1747
|
+
|
|
1748
|
+
new_options = opts.merge(
|
|
1749
|
+
:operation => :"TransactionsService.post_payment_transactions_by_credentials_credentials_one_click_tokens_id_process",
|
|
1750
|
+
:header_params => header_params,
|
|
1751
|
+
:query_params => query_params,
|
|
1752
|
+
:form_params => form_params,
|
|
1753
|
+
:body => post_body,
|
|
1754
|
+
:return_type => return_type
|
|
1755
|
+
)
|
|
1756
|
+
|
|
1757
|
+
data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
1758
|
+
if @api_client.config.debugging
|
|
1759
|
+
@api_client.config.logger.debug "API called: TransactionsService#post_payment_transactions_by_credentials_credentials_one_click_tokens_id_process\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
1760
|
+
end
|
|
1761
|
+
return data, status_code, headers
|
|
1762
|
+
end
|
|
1763
|
+
|
|
1764
|
+
|
|
1765
|
+
# Process a transaction via charge flow
|
|
1766
|
+
# @param id [Integer]
|
|
1767
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1768
|
+
# @param [Hash] opts the optional parameters
|
|
1769
|
+
# @option opts [Array<String>] :expand
|
|
1770
|
+
# @return [Transaction]
|
|
1771
|
+
def post_payment_transactions_id_charge_flow_apply(id, space, opts = {})
|
|
1772
|
+
data, _status_code, _headers = post_payment_transactions_id_charge_flow_apply_with_http_info(id, space, opts)
|
|
1773
|
+
data
|
|
1774
|
+
end
|
|
1775
|
+
|
|
1776
|
+
# Process a transaction via charge flow
|
|
1777
|
+
|
|
1778
|
+
# @param id [Integer]
|
|
1779
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1780
|
+
# @param [Hash] opts the optional parameters
|
|
1781
|
+
# @option opts [Array<String>] :expand
|
|
1782
|
+
# @return [Array<(Transaction, Integer, Hash)>] Transaction data, response status code and response headers
|
|
1783
|
+
def post_payment_transactions_id_charge_flow_apply_with_http_info(id, space, opts = {})
|
|
1784
|
+
if @api_client.config.debugging
|
|
1785
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.post_payment_transactions_id_charge_flow_apply ...'
|
|
1786
|
+
end
|
|
1787
|
+
# verify the required parameter 'id' is set
|
|
1788
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1789
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.post_payment_transactions_id_charge_flow_apply"
|
|
1790
|
+
end
|
|
1791
|
+
# verify the required parameter 'space' is set
|
|
1792
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
1793
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.post_payment_transactions_id_charge_flow_apply"
|
|
1794
|
+
end
|
|
1795
|
+
# resource path
|
|
1796
|
+
local_var_path = '/payment/transactions/{id}/charge-flow/apply'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1797
|
+
|
|
1798
|
+
# query parameters
|
|
1799
|
+
query_params = opts[:query_params] || {}
|
|
1800
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
1801
|
+
|
|
1802
|
+
# header parameters
|
|
1803
|
+
header_params = opts[:header_params] || {}
|
|
1804
|
+
# HTTP header 'Accept' (if needed)
|
|
1805
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1806
|
+
header_params[:'Space'] = space
|
|
1807
|
+
|
|
1808
|
+
# form parameters
|
|
1809
|
+
form_params = opts[:form_params] || {}
|
|
1810
|
+
|
|
1811
|
+
# connection timeout
|
|
1812
|
+
connection_timeout = @api_client.config.timeout
|
|
1813
|
+
|
|
1814
|
+
# http body (model)
|
|
1815
|
+
post_body = opts[:debug_body]
|
|
1816
|
+
|
|
1817
|
+
# return_type
|
|
1818
|
+
return_type = opts[:debug_return_type] || 'Transaction'
|
|
1819
|
+
|
|
1820
|
+
new_options = opts.merge(
|
|
1821
|
+
:operation => :"TransactionsService.post_payment_transactions_id_charge_flow_apply",
|
|
1822
|
+
:header_params => header_params,
|
|
1823
|
+
:query_params => query_params,
|
|
1824
|
+
:form_params => form_params,
|
|
1825
|
+
:body => post_body,
|
|
1826
|
+
:return_type => return_type
|
|
1827
|
+
)
|
|
1828
|
+
|
|
1829
|
+
data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
1830
|
+
if @api_client.config.debugging
|
|
1831
|
+
@api_client.config.logger.debug "API called: TransactionsService#post_payment_transactions_id_charge_flow_apply\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
1832
|
+
end
|
|
1833
|
+
return data, status_code, headers
|
|
1834
|
+
end
|
|
1835
|
+
|
|
1836
|
+
|
|
1837
|
+
# Cancel a charge flow
|
|
1838
|
+
# @param id [Integer]
|
|
1839
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1840
|
+
# @param [Hash] opts the optional parameters
|
|
1841
|
+
# @option opts [Array<String>] :expand
|
|
1842
|
+
# @return [Transaction]
|
|
1843
|
+
def post_payment_transactions_id_charge_flow_cancel(id, space, opts = {})
|
|
1844
|
+
data, _status_code, _headers = post_payment_transactions_id_charge_flow_cancel_with_http_info(id, space, opts)
|
|
1845
|
+
data
|
|
1846
|
+
end
|
|
1847
|
+
|
|
1848
|
+
# Cancel a charge flow
|
|
1849
|
+
|
|
1850
|
+
# @param id [Integer]
|
|
1851
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1852
|
+
# @param [Hash] opts the optional parameters
|
|
1853
|
+
# @option opts [Array<String>] :expand
|
|
1854
|
+
# @return [Array<(Transaction, Integer, Hash)>] Transaction data, response status code and response headers
|
|
1855
|
+
def post_payment_transactions_id_charge_flow_cancel_with_http_info(id, space, opts = {})
|
|
1856
|
+
if @api_client.config.debugging
|
|
1857
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.post_payment_transactions_id_charge_flow_cancel ...'
|
|
1858
|
+
end
|
|
1859
|
+
# verify the required parameter 'id' is set
|
|
1860
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1861
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.post_payment_transactions_id_charge_flow_cancel"
|
|
1862
|
+
end
|
|
1863
|
+
# verify the required parameter 'space' is set
|
|
1864
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
1865
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.post_payment_transactions_id_charge_flow_cancel"
|
|
1866
|
+
end
|
|
1867
|
+
# resource path
|
|
1868
|
+
local_var_path = '/payment/transactions/{id}/charge-flow/cancel'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1869
|
+
|
|
1870
|
+
# query parameters
|
|
1871
|
+
query_params = opts[:query_params] || {}
|
|
1872
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
1873
|
+
|
|
1874
|
+
# header parameters
|
|
1875
|
+
header_params = opts[:header_params] || {}
|
|
1876
|
+
# HTTP header 'Accept' (if needed)
|
|
1877
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1878
|
+
header_params[:'Space'] = space
|
|
1879
|
+
|
|
1880
|
+
# form parameters
|
|
1881
|
+
form_params = opts[:form_params] || {}
|
|
1882
|
+
|
|
1883
|
+
# connection timeout
|
|
1884
|
+
connection_timeout = @api_client.config.timeout
|
|
1885
|
+
|
|
1886
|
+
# http body (model)
|
|
1887
|
+
post_body = opts[:debug_body]
|
|
1888
|
+
|
|
1889
|
+
# return_type
|
|
1890
|
+
return_type = opts[:debug_return_type] || 'Transaction'
|
|
1891
|
+
|
|
1892
|
+
new_options = opts.merge(
|
|
1893
|
+
:operation => :"TransactionsService.post_payment_transactions_id_charge_flow_cancel",
|
|
1894
|
+
:header_params => header_params,
|
|
1895
|
+
:query_params => query_params,
|
|
1896
|
+
:form_params => form_params,
|
|
1897
|
+
:body => post_body,
|
|
1898
|
+
:return_type => return_type
|
|
1899
|
+
)
|
|
1900
|
+
|
|
1901
|
+
data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
1902
|
+
if @api_client.config.debugging
|
|
1903
|
+
@api_client.config.logger.debug "API called: TransactionsService#post_payment_transactions_id_charge_flow_cancel\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
1904
|
+
end
|
|
1905
|
+
return data, status_code, headers
|
|
1906
|
+
end
|
|
1907
|
+
|
|
1908
|
+
|
|
1909
|
+
# Update a charge flow recipient
|
|
1910
|
+
# @param id [Integer]
|
|
1911
|
+
# @param type [Integer]
|
|
1912
|
+
# @param recipient [String]
|
|
1913
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1914
|
+
# @param [Hash] opts the optional parameters
|
|
1915
|
+
# @return [nil]
|
|
1916
|
+
def post_payment_transactions_id_charge_flow_update_recipient(id, type, recipient, space, opts = {})
|
|
1917
|
+
post_payment_transactions_id_charge_flow_update_recipient_with_http_info(id, type, recipient, space, opts)
|
|
1918
|
+
nil
|
|
1919
|
+
end
|
|
1920
|
+
|
|
1921
|
+
# Update a charge flow recipient
|
|
1922
|
+
|
|
1923
|
+
# @param id [Integer]
|
|
1924
|
+
# @param type [Integer]
|
|
1925
|
+
# @param recipient [String]
|
|
1926
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1927
|
+
# @param [Hash] opts the optional parameters
|
|
1928
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1929
|
+
def post_payment_transactions_id_charge_flow_update_recipient_with_http_info(id, type, recipient, space, opts = {})
|
|
1930
|
+
if @api_client.config.debugging
|
|
1931
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.post_payment_transactions_id_charge_flow_update_recipient ...'
|
|
1932
|
+
end
|
|
1933
|
+
# verify the required parameter 'id' is set
|
|
1934
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1935
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.post_payment_transactions_id_charge_flow_update_recipient"
|
|
1936
|
+
end
|
|
1937
|
+
# verify the required parameter 'type' is set
|
|
1938
|
+
if @api_client.config.client_side_validation && type.nil?
|
|
1939
|
+
fail ArgumentError, "Missing the required parameter 'type' when calling TransactionsService.post_payment_transactions_id_charge_flow_update_recipient"
|
|
1940
|
+
end
|
|
1941
|
+
# verify the required parameter 'recipient' is set
|
|
1942
|
+
if @api_client.config.client_side_validation && recipient.nil?
|
|
1943
|
+
fail ArgumentError, "Missing the required parameter 'recipient' when calling TransactionsService.post_payment_transactions_id_charge_flow_update_recipient"
|
|
1944
|
+
end
|
|
1945
|
+
# verify the required parameter 'space' is set
|
|
1946
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
1947
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.post_payment_transactions_id_charge_flow_update_recipient"
|
|
1948
|
+
end
|
|
1949
|
+
# resource path
|
|
1950
|
+
local_var_path = '/payment/transactions/{id}/charge-flow/update-recipient'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1951
|
+
|
|
1952
|
+
# query parameters
|
|
1953
|
+
query_params = opts[:query_params] || {}
|
|
1954
|
+
query_params[:'type'] = type
|
|
1955
|
+
query_params[:'recipient'] = recipient
|
|
1956
|
+
|
|
1957
|
+
# header parameters
|
|
1958
|
+
header_params = opts[:header_params] || {}
|
|
1959
|
+
# HTTP header 'Accept' (if needed)
|
|
1960
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1961
|
+
header_params[:'Space'] = space
|
|
1962
|
+
|
|
1963
|
+
# form parameters
|
|
1964
|
+
form_params = opts[:form_params] || {}
|
|
1965
|
+
|
|
1966
|
+
# connection timeout
|
|
1967
|
+
connection_timeout = @api_client.config.timeout
|
|
1968
|
+
|
|
1969
|
+
# http body (model)
|
|
1970
|
+
post_body = opts[:debug_body]
|
|
1971
|
+
|
|
1972
|
+
# return_type
|
|
1973
|
+
return_type = opts[:debug_return_type]
|
|
1974
|
+
|
|
1975
|
+
new_options = opts.merge(
|
|
1976
|
+
:operation => :"TransactionsService.post_payment_transactions_id_charge_flow_update_recipient",
|
|
1977
|
+
:header_params => header_params,
|
|
1978
|
+
:query_params => query_params,
|
|
1979
|
+
:form_params => form_params,
|
|
1980
|
+
:body => post_body,
|
|
1981
|
+
:return_type => return_type
|
|
1982
|
+
)
|
|
1983
|
+
|
|
1984
|
+
data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
1985
|
+
if @api_client.config.debugging
|
|
1986
|
+
@api_client.config.logger.debug "API called: TransactionsService#post_payment_transactions_id_charge_flow_update_recipient\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
1987
|
+
end
|
|
1988
|
+
return data, status_code, headers
|
|
1989
|
+
end
|
|
1990
|
+
|
|
1991
|
+
|
|
1992
|
+
# Complete a transaction offline
|
|
1993
|
+
# @param id [Integer]
|
|
1994
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
1995
|
+
# @param [Hash] opts the optional parameters
|
|
1996
|
+
# @option opts [Array<String>] :expand
|
|
1997
|
+
# @return [TransactionCompletion]
|
|
1998
|
+
def post_payment_transactions_id_complete_offline(id, space, opts = {})
|
|
1999
|
+
data, _status_code, _headers = post_payment_transactions_id_complete_offline_with_http_info(id, space, opts)
|
|
2000
|
+
data
|
|
2001
|
+
end
|
|
2002
|
+
|
|
2003
|
+
# Complete a transaction offline
|
|
2004
|
+
|
|
2005
|
+
# @param id [Integer]
|
|
2006
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2007
|
+
# @param [Hash] opts the optional parameters
|
|
2008
|
+
# @option opts [Array<String>] :expand
|
|
2009
|
+
# @return [Array<(TransactionCompletion, Integer, Hash)>] TransactionCompletion data, response status code and response headers
|
|
2010
|
+
def post_payment_transactions_id_complete_offline_with_http_info(id, space, opts = {})
|
|
2011
|
+
if @api_client.config.debugging
|
|
2012
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.post_payment_transactions_id_complete_offline ...'
|
|
2013
|
+
end
|
|
2014
|
+
# verify the required parameter 'id' is set
|
|
2015
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2016
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.post_payment_transactions_id_complete_offline"
|
|
2017
|
+
end
|
|
2018
|
+
# verify the required parameter 'space' is set
|
|
2019
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
2020
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.post_payment_transactions_id_complete_offline"
|
|
2021
|
+
end
|
|
2022
|
+
# resource path
|
|
2023
|
+
local_var_path = '/payment/transactions/{id}/complete-offline'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
2024
|
+
|
|
2025
|
+
# query parameters
|
|
2026
|
+
query_params = opts[:query_params] || {}
|
|
2027
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
2028
|
+
|
|
2029
|
+
# header parameters
|
|
2030
|
+
header_params = opts[:header_params] || {}
|
|
2031
|
+
# HTTP header 'Accept' (if needed)
|
|
2032
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2033
|
+
header_params[:'Space'] = space
|
|
2034
|
+
|
|
2035
|
+
# form parameters
|
|
2036
|
+
form_params = opts[:form_params] || {}
|
|
2037
|
+
|
|
2038
|
+
# connection timeout
|
|
2039
|
+
connection_timeout = @api_client.config.timeout
|
|
2040
|
+
|
|
2041
|
+
# http body (model)
|
|
2042
|
+
post_body = opts[:debug_body]
|
|
2043
|
+
|
|
2044
|
+
# return_type
|
|
2045
|
+
return_type = opts[:debug_return_type] || 'TransactionCompletion'
|
|
2046
|
+
|
|
2047
|
+
new_options = opts.merge(
|
|
2048
|
+
:operation => :"TransactionsService.post_payment_transactions_id_complete_offline",
|
|
2049
|
+
:header_params => header_params,
|
|
2050
|
+
:query_params => query_params,
|
|
2051
|
+
:form_params => form_params,
|
|
2052
|
+
:body => post_body,
|
|
2053
|
+
:return_type => return_type
|
|
2054
|
+
)
|
|
2055
|
+
|
|
2056
|
+
data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
2057
|
+
if @api_client.config.debugging
|
|
2058
|
+
@api_client.config.logger.debug "API called: TransactionsService#post_payment_transactions_id_complete_offline\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
2059
|
+
end
|
|
2060
|
+
return data, status_code, headers
|
|
2061
|
+
end
|
|
2062
|
+
|
|
2063
|
+
|
|
2064
|
+
# Complete a transaction online
|
|
2065
|
+
# @param id [Integer]
|
|
2066
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2067
|
+
# @param [Hash] opts the optional parameters
|
|
2068
|
+
# @option opts [Array<String>] :expand
|
|
2069
|
+
# @return [TransactionCompletion]
|
|
2070
|
+
def post_payment_transactions_id_complete_online(id, space, opts = {})
|
|
2071
|
+
data, _status_code, _headers = post_payment_transactions_id_complete_online_with_http_info(id, space, opts)
|
|
2072
|
+
data
|
|
2073
|
+
end
|
|
2074
|
+
|
|
2075
|
+
# Complete a transaction online
|
|
2076
|
+
|
|
2077
|
+
# @param id [Integer]
|
|
2078
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2079
|
+
# @param [Hash] opts the optional parameters
|
|
2080
|
+
# @option opts [Array<String>] :expand
|
|
2081
|
+
# @return [Array<(TransactionCompletion, Integer, Hash)>] TransactionCompletion data, response status code and response headers
|
|
2082
|
+
def post_payment_transactions_id_complete_online_with_http_info(id, space, opts = {})
|
|
2083
|
+
if @api_client.config.debugging
|
|
2084
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.post_payment_transactions_id_complete_online ...'
|
|
2085
|
+
end
|
|
2086
|
+
# verify the required parameter 'id' is set
|
|
2087
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2088
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.post_payment_transactions_id_complete_online"
|
|
2089
|
+
end
|
|
2090
|
+
# verify the required parameter 'space' is set
|
|
2091
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
2092
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.post_payment_transactions_id_complete_online"
|
|
2093
|
+
end
|
|
2094
|
+
# resource path
|
|
2095
|
+
local_var_path = '/payment/transactions/{id}/complete-online'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
2096
|
+
|
|
2097
|
+
# query parameters
|
|
2098
|
+
query_params = opts[:query_params] || {}
|
|
2099
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
2100
|
+
|
|
2101
|
+
# header parameters
|
|
2102
|
+
header_params = opts[:header_params] || {}
|
|
2103
|
+
# HTTP header 'Accept' (if needed)
|
|
2104
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2105
|
+
header_params[:'Space'] = space
|
|
2106
|
+
|
|
2107
|
+
# form parameters
|
|
2108
|
+
form_params = opts[:form_params] || {}
|
|
2109
|
+
|
|
2110
|
+
# connection timeout
|
|
2111
|
+
connection_timeout = @api_client.config.timeout
|
|
2112
|
+
|
|
2113
|
+
# http body (model)
|
|
2114
|
+
post_body = opts[:debug_body]
|
|
2115
|
+
|
|
2116
|
+
# return_type
|
|
2117
|
+
return_type = opts[:debug_return_type] || 'TransactionCompletion'
|
|
2118
|
+
|
|
2119
|
+
new_options = opts.merge(
|
|
2120
|
+
:operation => :"TransactionsService.post_payment_transactions_id_complete_online",
|
|
2121
|
+
:header_params => header_params,
|
|
2122
|
+
:query_params => query_params,
|
|
2123
|
+
:form_params => form_params,
|
|
2124
|
+
:body => post_body,
|
|
2125
|
+
:return_type => return_type
|
|
2126
|
+
)
|
|
2127
|
+
|
|
2128
|
+
data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
2129
|
+
if @api_client.config.debugging
|
|
2130
|
+
@api_client.config.logger.debug "API called: TransactionsService#post_payment_transactions_id_complete_online\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
2131
|
+
end
|
|
2132
|
+
return data, status_code, headers
|
|
2133
|
+
end
|
|
2134
|
+
|
|
2135
|
+
|
|
2136
|
+
# Complete a transaction offline partially
|
|
2137
|
+
# @param id [Integer]
|
|
2138
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2139
|
+
# @param transaction_completion_details [TransactionCompletionDetails]
|
|
2140
|
+
# @param [Hash] opts the optional parameters
|
|
2141
|
+
# @option opts [Array<String>] :expand
|
|
2142
|
+
# @return [TransactionCompletion]
|
|
2143
|
+
def post_payment_transactions_id_complete_partially_offline(id, space, transaction_completion_details, opts = {})
|
|
2144
|
+
data, _status_code, _headers = post_payment_transactions_id_complete_partially_offline_with_http_info(id, space, transaction_completion_details, opts)
|
|
2145
|
+
data
|
|
2146
|
+
end
|
|
2147
|
+
|
|
2148
|
+
# Complete a transaction offline partially
|
|
2149
|
+
|
|
2150
|
+
# @param id [Integer]
|
|
2151
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2152
|
+
# @param transaction_completion_details [TransactionCompletionDetails]
|
|
2153
|
+
# @param [Hash] opts the optional parameters
|
|
2154
|
+
# @option opts [Array<String>] :expand
|
|
2155
|
+
# @return [Array<(TransactionCompletion, Integer, Hash)>] TransactionCompletion data, response status code and response headers
|
|
2156
|
+
def post_payment_transactions_id_complete_partially_offline_with_http_info(id, space, transaction_completion_details, opts = {})
|
|
2157
|
+
if @api_client.config.debugging
|
|
2158
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.post_payment_transactions_id_complete_partially_offline ...'
|
|
2159
|
+
end
|
|
2160
|
+
# verify the required parameter 'id' is set
|
|
2161
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2162
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.post_payment_transactions_id_complete_partially_offline"
|
|
2163
|
+
end
|
|
2164
|
+
# verify the required parameter 'space' is set
|
|
2165
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
2166
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.post_payment_transactions_id_complete_partially_offline"
|
|
2167
|
+
end
|
|
2168
|
+
# verify the required parameter 'transaction_completion_details' is set
|
|
2169
|
+
if @api_client.config.client_side_validation && transaction_completion_details.nil?
|
|
2170
|
+
fail ArgumentError, "Missing the required parameter 'transaction_completion_details' when calling TransactionsService.post_payment_transactions_id_complete_partially_offline"
|
|
2171
|
+
end
|
|
2172
|
+
# resource path
|
|
2173
|
+
local_var_path = '/payment/transactions/{id}/complete-partially-offline'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
2174
|
+
|
|
2175
|
+
# query parameters
|
|
2176
|
+
query_params = opts[:query_params] || {}
|
|
2177
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
2178
|
+
|
|
2179
|
+
# header parameters
|
|
2180
|
+
header_params = opts[:header_params] || {}
|
|
2181
|
+
# HTTP header 'Accept' (if needed)
|
|
2182
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2183
|
+
# HTTP header 'Content-Type'
|
|
2184
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2185
|
+
unless content_type.nil?
|
|
2186
|
+
header_params['Content-Type'] = content_type
|
|
2187
|
+
end
|
|
2188
|
+
header_params[:'Space'] = space
|
|
2189
|
+
|
|
2190
|
+
# form parameters
|
|
2191
|
+
form_params = opts[:form_params] || {}
|
|
2192
|
+
|
|
2193
|
+
# connection timeout
|
|
2194
|
+
connection_timeout = @api_client.config.timeout
|
|
2195
|
+
|
|
2196
|
+
# http body (model)
|
|
2197
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(transaction_completion_details)
|
|
2198
|
+
|
|
2199
|
+
# return_type
|
|
2200
|
+
return_type = opts[:debug_return_type] || 'TransactionCompletion'
|
|
2201
|
+
|
|
2202
|
+
new_options = opts.merge(
|
|
2203
|
+
:operation => :"TransactionsService.post_payment_transactions_id_complete_partially_offline",
|
|
2204
|
+
:header_params => header_params,
|
|
2205
|
+
:query_params => query_params,
|
|
2206
|
+
:form_params => form_params,
|
|
2207
|
+
:body => post_body,
|
|
2208
|
+
:return_type => return_type
|
|
2209
|
+
)
|
|
2210
|
+
|
|
2211
|
+
data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
2212
|
+
if @api_client.config.debugging
|
|
2213
|
+
@api_client.config.logger.debug "API called: TransactionsService#post_payment_transactions_id_complete_partially_offline\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
2214
|
+
end
|
|
2215
|
+
return data, status_code, headers
|
|
2216
|
+
end
|
|
2217
|
+
|
|
2218
|
+
|
|
2219
|
+
# Complete a transaction online partially
|
|
2220
|
+
# @param id [Integer]
|
|
2221
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2222
|
+
# @param transaction_completion_details [TransactionCompletionDetails]
|
|
2223
|
+
# @param [Hash] opts the optional parameters
|
|
2224
|
+
# @option opts [Array<String>] :expand
|
|
2225
|
+
# @return [TransactionCompletion]
|
|
2226
|
+
def post_payment_transactions_id_complete_partially_online(id, space, transaction_completion_details, opts = {})
|
|
2227
|
+
data, _status_code, _headers = post_payment_transactions_id_complete_partially_online_with_http_info(id, space, transaction_completion_details, opts)
|
|
2228
|
+
data
|
|
2229
|
+
end
|
|
2230
|
+
|
|
2231
|
+
# Complete a transaction online partially
|
|
2232
|
+
|
|
2233
|
+
# @param id [Integer]
|
|
2234
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2235
|
+
# @param transaction_completion_details [TransactionCompletionDetails]
|
|
2236
|
+
# @param [Hash] opts the optional parameters
|
|
2237
|
+
# @option opts [Array<String>] :expand
|
|
2238
|
+
# @return [Array<(TransactionCompletion, Integer, Hash)>] TransactionCompletion data, response status code and response headers
|
|
2239
|
+
def post_payment_transactions_id_complete_partially_online_with_http_info(id, space, transaction_completion_details, opts = {})
|
|
2240
|
+
if @api_client.config.debugging
|
|
2241
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.post_payment_transactions_id_complete_partially_online ...'
|
|
2242
|
+
end
|
|
2243
|
+
# verify the required parameter 'id' is set
|
|
2244
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2245
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.post_payment_transactions_id_complete_partially_online"
|
|
2246
|
+
end
|
|
2247
|
+
# verify the required parameter 'space' is set
|
|
2248
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
2249
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.post_payment_transactions_id_complete_partially_online"
|
|
2250
|
+
end
|
|
2251
|
+
# verify the required parameter 'transaction_completion_details' is set
|
|
2252
|
+
if @api_client.config.client_side_validation && transaction_completion_details.nil?
|
|
2253
|
+
fail ArgumentError, "Missing the required parameter 'transaction_completion_details' when calling TransactionsService.post_payment_transactions_id_complete_partially_online"
|
|
2254
|
+
end
|
|
2255
|
+
# resource path
|
|
2256
|
+
local_var_path = '/payment/transactions/{id}/complete-partially-online'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
2257
|
+
|
|
2258
|
+
# query parameters
|
|
2259
|
+
query_params = opts[:query_params] || {}
|
|
2260
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
2261
|
+
|
|
2262
|
+
# header parameters
|
|
2263
|
+
header_params = opts[:header_params] || {}
|
|
2264
|
+
# HTTP header 'Accept' (if needed)
|
|
2265
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2266
|
+
# HTTP header 'Content-Type'
|
|
2267
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2268
|
+
unless content_type.nil?
|
|
2269
|
+
header_params['Content-Type'] = content_type
|
|
2270
|
+
end
|
|
2271
|
+
header_params[:'Space'] = space
|
|
2272
|
+
|
|
2273
|
+
# form parameters
|
|
2274
|
+
form_params = opts[:form_params] || {}
|
|
2275
|
+
|
|
2276
|
+
# connection timeout
|
|
2277
|
+
connection_timeout = @api_client.config.timeout
|
|
2278
|
+
|
|
2279
|
+
# http body (model)
|
|
2280
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(transaction_completion_details)
|
|
2281
|
+
|
|
2282
|
+
# return_type
|
|
2283
|
+
return_type = opts[:debug_return_type] || 'TransactionCompletion'
|
|
2284
|
+
|
|
2285
|
+
new_options = opts.merge(
|
|
2286
|
+
:operation => :"TransactionsService.post_payment_transactions_id_complete_partially_online",
|
|
2287
|
+
:header_params => header_params,
|
|
2288
|
+
:query_params => query_params,
|
|
2289
|
+
:form_params => form_params,
|
|
2290
|
+
:body => post_body,
|
|
2291
|
+
:return_type => return_type
|
|
2292
|
+
)
|
|
2293
|
+
|
|
2294
|
+
data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
2295
|
+
if @api_client.config.debugging
|
|
2296
|
+
@api_client.config.logger.debug "API called: TransactionsService#post_payment_transactions_id_complete_partially_online\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
2297
|
+
end
|
|
2298
|
+
return data, status_code, headers
|
|
2299
|
+
end
|
|
2300
|
+
|
|
2301
|
+
|
|
2302
|
+
# Confirm a transaction
|
|
2303
|
+
# @param id [Integer]
|
|
2304
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2305
|
+
# @param transaction_pending [TransactionPending]
|
|
2306
|
+
# @param [Hash] opts the optional parameters
|
|
2307
|
+
# @option opts [Array<String>] :expand
|
|
2308
|
+
# @return [Transaction]
|
|
2309
|
+
def post_payment_transactions_id_confirm(id, space, transaction_pending, opts = {})
|
|
2310
|
+
data, _status_code, _headers = post_payment_transactions_id_confirm_with_http_info(id, space, transaction_pending, opts)
|
|
2311
|
+
data
|
|
2312
|
+
end
|
|
2313
|
+
|
|
2314
|
+
# Confirm a transaction
|
|
2315
|
+
|
|
2316
|
+
# @param id [Integer]
|
|
2317
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2318
|
+
# @param transaction_pending [TransactionPending]
|
|
2319
|
+
# @param [Hash] opts the optional parameters
|
|
2320
|
+
# @option opts [Array<String>] :expand
|
|
2321
|
+
# @return [Array<(Transaction, Integer, Hash)>] Transaction data, response status code and response headers
|
|
2322
|
+
def post_payment_transactions_id_confirm_with_http_info(id, space, transaction_pending, opts = {})
|
|
2323
|
+
if @api_client.config.debugging
|
|
2324
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.post_payment_transactions_id_confirm ...'
|
|
2325
|
+
end
|
|
2326
|
+
# verify the required parameter 'id' is set
|
|
2327
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2328
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.post_payment_transactions_id_confirm"
|
|
2329
|
+
end
|
|
2330
|
+
# verify the required parameter 'space' is set
|
|
2331
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
2332
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.post_payment_transactions_id_confirm"
|
|
2333
|
+
end
|
|
2334
|
+
# verify the required parameter 'transaction_pending' is set
|
|
2335
|
+
if @api_client.config.client_side_validation && transaction_pending.nil?
|
|
2336
|
+
fail ArgumentError, "Missing the required parameter 'transaction_pending' when calling TransactionsService.post_payment_transactions_id_confirm"
|
|
2337
|
+
end
|
|
2338
|
+
# resource path
|
|
2339
|
+
local_var_path = '/payment/transactions/{id}/confirm'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
2340
|
+
|
|
2341
|
+
# query parameters
|
|
2342
|
+
query_params = opts[:query_params] || {}
|
|
2343
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
2344
|
+
|
|
2345
|
+
# header parameters
|
|
2346
|
+
header_params = opts[:header_params] || {}
|
|
2347
|
+
# HTTP header 'Accept' (if needed)
|
|
2348
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2349
|
+
# HTTP header 'Content-Type'
|
|
2350
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2351
|
+
unless content_type.nil?
|
|
2352
|
+
header_params['Content-Type'] = content_type
|
|
2353
|
+
end
|
|
2354
|
+
header_params[:'Space'] = space
|
|
2355
|
+
|
|
2356
|
+
# form parameters
|
|
2357
|
+
form_params = opts[:form_params] || {}
|
|
2358
|
+
|
|
2359
|
+
# connection timeout
|
|
2360
|
+
connection_timeout = @api_client.config.timeout
|
|
2361
|
+
|
|
2362
|
+
# http body (model)
|
|
2363
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(transaction_pending)
|
|
2364
|
+
|
|
2365
|
+
# return_type
|
|
2366
|
+
return_type = opts[:debug_return_type] || 'Transaction'
|
|
2367
|
+
|
|
2368
|
+
new_options = opts.merge(
|
|
2369
|
+
:operation => :"TransactionsService.post_payment_transactions_id_confirm",
|
|
2370
|
+
:header_params => header_params,
|
|
2371
|
+
:query_params => query_params,
|
|
2372
|
+
:form_params => form_params,
|
|
2373
|
+
:body => post_body,
|
|
2374
|
+
:return_type => return_type
|
|
2375
|
+
)
|
|
2376
|
+
|
|
2377
|
+
data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
2378
|
+
if @api_client.config.debugging
|
|
2379
|
+
@api_client.config.logger.debug "API called: TransactionsService#post_payment_transactions_id_confirm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
2380
|
+
end
|
|
2381
|
+
return data, status_code, headers
|
|
2382
|
+
end
|
|
2383
|
+
|
|
2384
|
+
|
|
2385
|
+
# Process a card transaction
|
|
2386
|
+
# @param id [Integer]
|
|
2387
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2388
|
+
# @param authenticated_card_request [AuthenticatedCardRequest]
|
|
2389
|
+
# @param [Hash] opts the optional parameters
|
|
2390
|
+
# @option opts [Array<String>] :expand
|
|
2391
|
+
# @return [Transaction]
|
|
2392
|
+
def post_payment_transactions_id_process_card_details(id, space, authenticated_card_request, opts = {})
|
|
2393
|
+
data, _status_code, _headers = post_payment_transactions_id_process_card_details_with_http_info(id, space, authenticated_card_request, opts)
|
|
2394
|
+
data
|
|
2395
|
+
end
|
|
2396
|
+
|
|
2397
|
+
# Process a card transaction
|
|
2398
|
+
|
|
2399
|
+
# @param id [Integer]
|
|
2400
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2401
|
+
# @param authenticated_card_request [AuthenticatedCardRequest]
|
|
2402
|
+
# @param [Hash] opts the optional parameters
|
|
2403
|
+
# @option opts [Array<String>] :expand
|
|
2404
|
+
# @return [Array<(Transaction, Integer, Hash)>] Transaction data, response status code and response headers
|
|
2405
|
+
def post_payment_transactions_id_process_card_details_with_http_info(id, space, authenticated_card_request, opts = {})
|
|
2406
|
+
if @api_client.config.debugging
|
|
2407
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.post_payment_transactions_id_process_card_details ...'
|
|
2408
|
+
end
|
|
2409
|
+
# verify the required parameter 'id' is set
|
|
2410
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2411
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.post_payment_transactions_id_process_card_details"
|
|
2412
|
+
end
|
|
2413
|
+
# verify the required parameter 'space' is set
|
|
2414
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
2415
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.post_payment_transactions_id_process_card_details"
|
|
2416
|
+
end
|
|
2417
|
+
# verify the required parameter 'authenticated_card_request' is set
|
|
2418
|
+
if @api_client.config.client_side_validation && authenticated_card_request.nil?
|
|
2419
|
+
fail ArgumentError, "Missing the required parameter 'authenticated_card_request' when calling TransactionsService.post_payment_transactions_id_process_card_details"
|
|
2420
|
+
end
|
|
2421
|
+
# resource path
|
|
2422
|
+
local_var_path = '/payment/transactions/{id}/process-card-details'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
2423
|
+
|
|
2424
|
+
# query parameters
|
|
2425
|
+
query_params = opts[:query_params] || {}
|
|
2426
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
2427
|
+
|
|
2428
|
+
# header parameters
|
|
2429
|
+
header_params = opts[:header_params] || {}
|
|
2430
|
+
# HTTP header 'Accept' (if needed)
|
|
2431
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2432
|
+
# HTTP header 'Content-Type'
|
|
2433
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2434
|
+
unless content_type.nil?
|
|
2435
|
+
header_params['Content-Type'] = content_type
|
|
2436
|
+
end
|
|
2437
|
+
header_params[:'Space'] = space
|
|
2438
|
+
|
|
2439
|
+
# form parameters
|
|
2440
|
+
form_params = opts[:form_params] || {}
|
|
2441
|
+
|
|
2442
|
+
# connection timeout
|
|
2443
|
+
connection_timeout = @api_client.config.timeout
|
|
2444
|
+
|
|
2445
|
+
# http body (model)
|
|
2446
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(authenticated_card_request)
|
|
2447
|
+
|
|
2448
|
+
# return_type
|
|
2449
|
+
return_type = opts[:debug_return_type] || 'Transaction'
|
|
2450
|
+
|
|
2451
|
+
new_options = opts.merge(
|
|
2452
|
+
:operation => :"TransactionsService.post_payment_transactions_id_process_card_details",
|
|
2453
|
+
:header_params => header_params,
|
|
2454
|
+
:query_params => query_params,
|
|
2455
|
+
:form_params => form_params,
|
|
2456
|
+
:body => post_body,
|
|
2457
|
+
:return_type => return_type
|
|
2458
|
+
)
|
|
2459
|
+
|
|
2460
|
+
data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
2461
|
+
if @api_client.config.debugging
|
|
2462
|
+
@api_client.config.logger.debug "API called: TransactionsService#post_payment_transactions_id_process_card_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
2463
|
+
end
|
|
2464
|
+
return data, status_code, headers
|
|
2465
|
+
end
|
|
2466
|
+
|
|
2467
|
+
|
|
2468
|
+
# Process a card transaction with 3-D Secure
|
|
2469
|
+
# Processes the transaction using the provided card details, potentially utilizing 3-D Secure. Returns a URL where the buyer must be redirected to complete the transaction.
|
|
2470
|
+
# @param id [Integer]
|
|
2471
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2472
|
+
# @param tokenized_card_request [TokenizedCardRequest]
|
|
2473
|
+
# @param [Hash] opts the optional parameters
|
|
2474
|
+
# @return [String]
|
|
2475
|
+
def post_payment_transactions_id_process_card_details_threed(id, space, tokenized_card_request, opts = {})
|
|
2476
|
+
data, _status_code, _headers = post_payment_transactions_id_process_card_details_threed_with_http_info(id, space, tokenized_card_request, opts)
|
|
2477
|
+
data
|
|
2478
|
+
end
|
|
2479
|
+
|
|
2480
|
+
# Process a card transaction with 3-D Secure
|
|
2481
|
+
# Processes the transaction using the provided card details, potentially utilizing 3-D Secure. Returns a URL where the buyer must be redirected to complete the transaction.
|
|
2482
|
+
|
|
2483
|
+
# @param id [Integer]
|
|
2484
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2485
|
+
# @param tokenized_card_request [TokenizedCardRequest]
|
|
2486
|
+
# @param [Hash] opts the optional parameters
|
|
2487
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
2488
|
+
def post_payment_transactions_id_process_card_details_threed_with_http_info(id, space, tokenized_card_request, opts = {})
|
|
2489
|
+
if @api_client.config.debugging
|
|
2490
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.post_payment_transactions_id_process_card_details_threed ...'
|
|
2491
|
+
end
|
|
2492
|
+
# verify the required parameter 'id' is set
|
|
2493
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2494
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.post_payment_transactions_id_process_card_details_threed"
|
|
2495
|
+
end
|
|
2496
|
+
# verify the required parameter 'space' is set
|
|
2497
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
2498
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.post_payment_transactions_id_process_card_details_threed"
|
|
2499
|
+
end
|
|
2500
|
+
# verify the required parameter 'tokenized_card_request' is set
|
|
2501
|
+
if @api_client.config.client_side_validation && tokenized_card_request.nil?
|
|
2502
|
+
fail ArgumentError, "Missing the required parameter 'tokenized_card_request' when calling TransactionsService.post_payment_transactions_id_process_card_details_threed"
|
|
2503
|
+
end
|
|
2504
|
+
# resource path
|
|
2505
|
+
local_var_path = '/payment/transactions/{id}/process-card-details-threed'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
2506
|
+
|
|
2507
|
+
# query parameters
|
|
2508
|
+
query_params = opts[:query_params] || {}
|
|
2509
|
+
|
|
2510
|
+
# header parameters
|
|
2511
|
+
header_params = opts[:header_params] || {}
|
|
2512
|
+
# HTTP header 'Accept' (if needed)
|
|
2513
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json']) unless header_params['Accept']
|
|
2514
|
+
# HTTP header 'Content-Type'
|
|
2515
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2516
|
+
unless content_type.nil?
|
|
2517
|
+
header_params['Content-Type'] = content_type
|
|
2518
|
+
end
|
|
2519
|
+
header_params[:'Space'] = space
|
|
2520
|
+
|
|
2521
|
+
# form parameters
|
|
2522
|
+
form_params = opts[:form_params] || {}
|
|
2523
|
+
|
|
2524
|
+
# connection timeout
|
|
2525
|
+
connection_timeout = @api_client.config.timeout
|
|
2526
|
+
|
|
2527
|
+
# http body (model)
|
|
2528
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(tokenized_card_request)
|
|
2529
|
+
|
|
2530
|
+
# return_type
|
|
2531
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
2532
|
+
|
|
2533
|
+
new_options = opts.merge(
|
|
2534
|
+
:operation => :"TransactionsService.post_payment_transactions_id_process_card_details_threed",
|
|
2535
|
+
:header_params => header_params,
|
|
2536
|
+
:query_params => query_params,
|
|
2537
|
+
:form_params => form_params,
|
|
2538
|
+
:body => post_body,
|
|
2539
|
+
:return_type => return_type
|
|
2540
|
+
)
|
|
2541
|
+
|
|
2542
|
+
data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
2543
|
+
if @api_client.config.debugging
|
|
2544
|
+
@api_client.config.logger.debug "API called: TransactionsService#post_payment_transactions_id_process_card_details_threed\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
2545
|
+
end
|
|
2546
|
+
return data, status_code, headers
|
|
2547
|
+
end
|
|
2548
|
+
|
|
2549
|
+
|
|
2550
|
+
# Process a transaction via token
|
|
2551
|
+
# @param id [Integer]
|
|
2552
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2553
|
+
# @param [Hash] opts the optional parameters
|
|
2554
|
+
# @option opts [Array<String>] :expand
|
|
2555
|
+
# @return [Charge]
|
|
2556
|
+
def post_payment_transactions_id_process_with_token(id, space, opts = {})
|
|
2557
|
+
data, _status_code, _headers = post_payment_transactions_id_process_with_token_with_http_info(id, space, opts)
|
|
2558
|
+
data
|
|
2559
|
+
end
|
|
2560
|
+
|
|
2561
|
+
# Process a transaction via token
|
|
2562
|
+
|
|
2563
|
+
# @param id [Integer]
|
|
2564
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2565
|
+
# @param [Hash] opts the optional parameters
|
|
2566
|
+
# @option opts [Array<String>] :expand
|
|
2567
|
+
# @return [Array<(Charge, Integer, Hash)>] Charge data, response status code and response headers
|
|
2568
|
+
def post_payment_transactions_id_process_with_token_with_http_info(id, space, opts = {})
|
|
2569
|
+
if @api_client.config.debugging
|
|
2570
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.post_payment_transactions_id_process_with_token ...'
|
|
2571
|
+
end
|
|
2572
|
+
# verify the required parameter 'id' is set
|
|
2573
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2574
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.post_payment_transactions_id_process_with_token"
|
|
2575
|
+
end
|
|
2576
|
+
# verify the required parameter 'space' is set
|
|
2577
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
2578
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.post_payment_transactions_id_process_with_token"
|
|
2579
|
+
end
|
|
2580
|
+
# resource path
|
|
2581
|
+
local_var_path = '/payment/transactions/{id}/process-with-token'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
2582
|
+
|
|
2583
|
+
# query parameters
|
|
2584
|
+
query_params = opts[:query_params] || {}
|
|
2585
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
2586
|
+
|
|
2587
|
+
# header parameters
|
|
2588
|
+
header_params = opts[:header_params] || {}
|
|
2589
|
+
# HTTP header 'Accept' (if needed)
|
|
2590
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2591
|
+
header_params[:'Space'] = space
|
|
2592
|
+
|
|
2593
|
+
# form parameters
|
|
2594
|
+
form_params = opts[:form_params] || {}
|
|
2595
|
+
|
|
2596
|
+
# connection timeout
|
|
2597
|
+
connection_timeout = @api_client.config.timeout
|
|
2598
|
+
|
|
2599
|
+
# http body (model)
|
|
2600
|
+
post_body = opts[:debug_body]
|
|
2601
|
+
|
|
2602
|
+
# return_type
|
|
2603
|
+
return_type = opts[:debug_return_type] || 'Charge'
|
|
2604
|
+
|
|
2605
|
+
new_options = opts.merge(
|
|
2606
|
+
:operation => :"TransactionsService.post_payment_transactions_id_process_with_token",
|
|
2607
|
+
:header_params => header_params,
|
|
2608
|
+
:query_params => query_params,
|
|
2609
|
+
:form_params => form_params,
|
|
2610
|
+
:body => post_body,
|
|
2611
|
+
:return_type => return_type
|
|
2612
|
+
)
|
|
2613
|
+
|
|
2614
|
+
data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
2615
|
+
if @api_client.config.debugging
|
|
2616
|
+
@api_client.config.logger.debug "API called: TransactionsService#post_payment_transactions_id_process_with_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
2617
|
+
end
|
|
2618
|
+
return data, status_code, headers
|
|
2619
|
+
end
|
|
2620
|
+
|
|
2621
|
+
|
|
2622
|
+
# Process a transaction without user-interaction
|
|
2623
|
+
# @param id [Integer]
|
|
2624
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2625
|
+
# @param [Hash] opts the optional parameters
|
|
2626
|
+
# @option opts [Array<String>] :expand
|
|
2627
|
+
# @return [Transaction]
|
|
2628
|
+
def post_payment_transactions_id_process_without_interaction(id, space, opts = {})
|
|
2629
|
+
data, _status_code, _headers = post_payment_transactions_id_process_without_interaction_with_http_info(id, space, opts)
|
|
2630
|
+
data
|
|
2631
|
+
end
|
|
2632
|
+
|
|
2633
|
+
# Process a transaction without user-interaction
|
|
2634
|
+
|
|
2635
|
+
# @param id [Integer]
|
|
2636
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2637
|
+
# @param [Hash] opts the optional parameters
|
|
2638
|
+
# @option opts [Array<String>] :expand
|
|
2639
|
+
# @return [Array<(Transaction, Integer, Hash)>] Transaction data, response status code and response headers
|
|
2640
|
+
def post_payment_transactions_id_process_without_interaction_with_http_info(id, space, opts = {})
|
|
2641
|
+
if @api_client.config.debugging
|
|
2642
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.post_payment_transactions_id_process_without_interaction ...'
|
|
2643
|
+
end
|
|
2644
|
+
# verify the required parameter 'id' is set
|
|
2645
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2646
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.post_payment_transactions_id_process_without_interaction"
|
|
2647
|
+
end
|
|
2648
|
+
# verify the required parameter 'space' is set
|
|
2649
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
2650
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.post_payment_transactions_id_process_without_interaction"
|
|
2651
|
+
end
|
|
2652
|
+
# resource path
|
|
2653
|
+
local_var_path = '/payment/transactions/{id}/process-without-interaction'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
2654
|
+
|
|
2655
|
+
# query parameters
|
|
2656
|
+
query_params = opts[:query_params] || {}
|
|
2657
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
2658
|
+
|
|
2659
|
+
# header parameters
|
|
2660
|
+
header_params = opts[:header_params] || {}
|
|
2661
|
+
# HTTP header 'Accept' (if needed)
|
|
2662
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2663
|
+
header_params[:'Space'] = space
|
|
2664
|
+
|
|
2665
|
+
# form parameters
|
|
2666
|
+
form_params = opts[:form_params] || {}
|
|
2667
|
+
|
|
2668
|
+
# connection timeout
|
|
2669
|
+
connection_timeout = @api_client.config.timeout
|
|
2670
|
+
|
|
2671
|
+
# http body (model)
|
|
2672
|
+
post_body = opts[:debug_body]
|
|
2673
|
+
|
|
2674
|
+
# return_type
|
|
2675
|
+
return_type = opts[:debug_return_type] || 'Transaction'
|
|
2676
|
+
|
|
2677
|
+
new_options = opts.merge(
|
|
2678
|
+
:operation => :"TransactionsService.post_payment_transactions_id_process_without_interaction",
|
|
2679
|
+
:header_params => header_params,
|
|
2680
|
+
:query_params => query_params,
|
|
2681
|
+
:form_params => form_params,
|
|
2682
|
+
:body => post_body,
|
|
2683
|
+
:return_type => return_type
|
|
2684
|
+
)
|
|
2685
|
+
|
|
2686
|
+
data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
2687
|
+
if @api_client.config.debugging
|
|
2688
|
+
@api_client.config.logger.debug "API called: TransactionsService#post_payment_transactions_id_process_without_interaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
2689
|
+
end
|
|
2690
|
+
return data, status_code, headers
|
|
2691
|
+
end
|
|
2692
|
+
|
|
2693
|
+
|
|
2694
|
+
# Void a transaction offline
|
|
2695
|
+
# @param id [Integer]
|
|
2696
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2697
|
+
# @param [Hash] opts the optional parameters
|
|
2698
|
+
# @option opts [Array<String>] :expand
|
|
2699
|
+
# @return [TransactionVoid]
|
|
2700
|
+
def post_payment_transactions_id_void_offline(id, space, opts = {})
|
|
2701
|
+
data, _status_code, _headers = post_payment_transactions_id_void_offline_with_http_info(id, space, opts)
|
|
2702
|
+
data
|
|
2703
|
+
end
|
|
2704
|
+
|
|
2705
|
+
# Void a transaction offline
|
|
2706
|
+
|
|
2707
|
+
# @param id [Integer]
|
|
2708
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2709
|
+
# @param [Hash] opts the optional parameters
|
|
2710
|
+
# @option opts [Array<String>] :expand
|
|
2711
|
+
# @return [Array<(TransactionVoid, Integer, Hash)>] TransactionVoid data, response status code and response headers
|
|
2712
|
+
def post_payment_transactions_id_void_offline_with_http_info(id, space, opts = {})
|
|
2713
|
+
if @api_client.config.debugging
|
|
2714
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.post_payment_transactions_id_void_offline ...'
|
|
2715
|
+
end
|
|
2716
|
+
# verify the required parameter 'id' is set
|
|
2717
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2718
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.post_payment_transactions_id_void_offline"
|
|
2719
|
+
end
|
|
2720
|
+
# verify the required parameter 'space' is set
|
|
2721
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
2722
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.post_payment_transactions_id_void_offline"
|
|
2723
|
+
end
|
|
2724
|
+
# resource path
|
|
2725
|
+
local_var_path = '/payment/transactions/{id}/void-offline'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
2726
|
+
|
|
2727
|
+
# query parameters
|
|
2728
|
+
query_params = opts[:query_params] || {}
|
|
2729
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
2730
|
+
|
|
2731
|
+
# header parameters
|
|
2732
|
+
header_params = opts[:header_params] || {}
|
|
2733
|
+
# HTTP header 'Accept' (if needed)
|
|
2734
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2735
|
+
header_params[:'Space'] = space
|
|
2736
|
+
|
|
2737
|
+
# form parameters
|
|
2738
|
+
form_params = opts[:form_params] || {}
|
|
2739
|
+
|
|
2740
|
+
# connection timeout
|
|
2741
|
+
connection_timeout = @api_client.config.timeout
|
|
2742
|
+
|
|
2743
|
+
# http body (model)
|
|
2744
|
+
post_body = opts[:debug_body]
|
|
2745
|
+
|
|
2746
|
+
# return_type
|
|
2747
|
+
return_type = opts[:debug_return_type] || 'TransactionVoid'
|
|
2748
|
+
|
|
2749
|
+
new_options = opts.merge(
|
|
2750
|
+
:operation => :"TransactionsService.post_payment_transactions_id_void_offline",
|
|
2751
|
+
:header_params => header_params,
|
|
2752
|
+
:query_params => query_params,
|
|
2753
|
+
:form_params => form_params,
|
|
2754
|
+
:body => post_body,
|
|
2755
|
+
:return_type => return_type
|
|
2756
|
+
)
|
|
2757
|
+
|
|
2758
|
+
data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
2759
|
+
if @api_client.config.debugging
|
|
2760
|
+
@api_client.config.logger.debug "API called: TransactionsService#post_payment_transactions_id_void_offline\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
2761
|
+
end
|
|
2762
|
+
return data, status_code, headers
|
|
2763
|
+
end
|
|
2764
|
+
|
|
2765
|
+
|
|
2766
|
+
# Void a transaction online
|
|
2767
|
+
# @param id [Integer]
|
|
2768
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2769
|
+
# @param [Hash] opts the optional parameters
|
|
2770
|
+
# @option opts [Array<String>] :expand
|
|
2771
|
+
# @return [TransactionVoid]
|
|
2772
|
+
def post_payment_transactions_id_void_online(id, space, opts = {})
|
|
2773
|
+
data, _status_code, _headers = post_payment_transactions_id_void_online_with_http_info(id, space, opts)
|
|
2774
|
+
data
|
|
2775
|
+
end
|
|
2776
|
+
|
|
2777
|
+
# Void a transaction online
|
|
2778
|
+
|
|
2779
|
+
# @param id [Integer]
|
|
2780
|
+
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
2781
|
+
# @param [Hash] opts the optional parameters
|
|
2782
|
+
# @option opts [Array<String>] :expand
|
|
2783
|
+
# @return [Array<(TransactionVoid, Integer, Hash)>] TransactionVoid data, response status code and response headers
|
|
2784
|
+
def post_payment_transactions_id_void_online_with_http_info(id, space, opts = {})
|
|
2785
|
+
if @api_client.config.debugging
|
|
2786
|
+
@api_client.config.logger.debug 'Calling API: TransactionsService.post_payment_transactions_id_void_online ...'
|
|
2787
|
+
end
|
|
2788
|
+
# verify the required parameter 'id' is set
|
|
2789
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2790
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionsService.post_payment_transactions_id_void_online"
|
|
2791
|
+
end
|
|
2792
|
+
# verify the required parameter 'space' is set
|
|
2793
|
+
if @api_client.config.client_side_validation && space.nil?
|
|
2794
|
+
fail ArgumentError, "Missing the required parameter 'space' when calling TransactionsService.post_payment_transactions_id_void_online"
|
|
2795
|
+
end
|
|
2796
|
+
# resource path
|
|
2797
|
+
local_var_path = '/payment/transactions/{id}/void-online'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
2798
|
+
|
|
2799
|
+
# query parameters
|
|
2800
|
+
query_params = opts[:query_params] || {}
|
|
2801
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?
|
|
2802
|
+
|
|
2803
|
+
# header parameters
|
|
2804
|
+
header_params = opts[:header_params] || {}
|
|
2805
|
+
# HTTP header 'Accept' (if needed)
|
|
2806
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2807
|
+
header_params[:'Space'] = space
|
|
2808
|
+
|
|
2809
|
+
# form parameters
|
|
2810
|
+
form_params = opts[:form_params] || {}
|
|
2811
|
+
|
|
2812
|
+
# connection timeout
|
|
2813
|
+
connection_timeout = @api_client.config.timeout
|
|
2814
|
+
|
|
2815
|
+
# http body (model)
|
|
2816
|
+
post_body = opts[:debug_body]
|
|
2817
|
+
|
|
2818
|
+
# return_type
|
|
2819
|
+
return_type = opts[:debug_return_type] || 'TransactionVoid'
|
|
2820
|
+
|
|
2821
|
+
new_options = opts.merge(
|
|
2822
|
+
:operation => :"TransactionsService.post_payment_transactions_id_void_online",
|
|
2823
|
+
:header_params => header_params,
|
|
2824
|
+
:query_params => query_params,
|
|
2825
|
+
:form_params => form_params,
|
|
2826
|
+
:body => post_body,
|
|
2827
|
+
:return_type => return_type
|
|
2828
|
+
)
|
|
2829
|
+
|
|
2830
|
+
data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
2831
|
+
if @api_client.config.debugging
|
|
2832
|
+
@api_client.config.logger.debug "API called: TransactionsService#post_payment_transactions_id_void_online\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
2833
|
+
end
|
|
2834
|
+
return data, status_code, headers
|
|
2835
|
+
end
|
|
2836
|
+
|
|
2837
|
+
end
|
|
2838
|
+
end
|