wallee-ruby-sdk 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/{wallee/models/line_item_attribute.rb → wallee-ruby-sdk/models/abstract_account_update.rb} +17 -17
- data/lib/{wallee/models/line_item_attribute_create.rb → wallee-ruby-sdk/models/abstract_application_user_update.rb} +16 -16
- data/lib/{wallee/models/user.rb → wallee-ruby-sdk/models/abstract_human_user_update.rb} +41 -41
- data/lib/{wallee/models/condition.rb → wallee-ruby-sdk/models/abstract_space_update.rb} +39 -47
- data/lib/{wallee/models/subscriber.rb → wallee-ruby-sdk/models/abstract_subscriber_update.rb} +16 -64
- data/lib/{wallee/models/persistable_currency_amount.rb → wallee-ruby-sdk/models/abstract_subscription_metric_update.rb} +15 -15
- data/lib/{wallee/models/subscription_product.rb → wallee-ruby-sdk/models/abstract_subscription_product_active.rb} +6 -66
- data/lib/{wallee/models/token.rb → wallee-ruby-sdk/models/abstract_token_update.rb} +12 -72
- data/lib/{wallee/models/token_version.rb → wallee-ruby-sdk/models/abstract_transaction_pending.rb} +111 -105
- data/lib/{wallee/models/entity_query_order_by.rb → wallee-ruby-sdk/models/abstract_webhook_listener_update.rb} +16 -16
- data/lib/{wallee/models/webhook_listener_entity.rb → wallee-ruby-sdk/models/abstract_webhook_url_update.rb} +20 -22
- data/lib/wallee-ruby-sdk/models/account_create.rb +8 -98
- data/lib/wallee-ruby-sdk/models/account_update.rb +8 -78
- data/lib/wallee-ruby-sdk/models/address.rb +1 -1
- data/lib/wallee-ruby-sdk/models/address_create.rb +1 -1
- data/lib/wallee-ruby-sdk/models/application_user_create.rb +8 -68
- data/lib/wallee-ruby-sdk/models/application_user_update.rb +18 -58
- data/lib/wallee-ruby-sdk/models/charge.rb +11 -1
- data/lib/wallee-ruby-sdk/models/database_translated_string_create.rb +1 -23
- data/lib/wallee-ruby-sdk/models/database_translated_string_item_create.rb +1 -11
- data/lib/wallee-ruby-sdk/models/human_user.rb +11 -61
- data/lib/wallee-ruby-sdk/models/human_user_create.rb +21 -91
- data/lib/wallee-ruby-sdk/models/human_user_update.rb +31 -81
- data/lib/wallee-ruby-sdk/models/line_item_attribute_create.rb +10 -0
- data/lib/wallee-ruby-sdk/models/line_item_create.rb +4 -64
- data/lib/wallee-ruby-sdk/models/payment_method_configuration.rb +35 -1
- data/lib/wallee-ruby-sdk/models/product_metered_fee_update.rb +24 -44
- data/lib/wallee-ruby-sdk/models/product_metered_tier_fee_update.rb +24 -24
- data/lib/wallee-ruby-sdk/models/product_period_fee_update.rb +24 -44
- data/lib/wallee-ruby-sdk/models/product_setup_fee_update.rb +24 -44
- data/lib/wallee-ruby-sdk/models/refund_create.rb +4 -214
- data/lib/{wallee/models/tax_class.rb → wallee-ruby-sdk/models/role.rb} +26 -24
- data/lib/{wallee/models/space_address.rb → wallee-ruby-sdk/models/space_address_create.rb} +1 -1
- data/lib/wallee-ruby-sdk/models/space_create.rb +9 -94
- data/lib/wallee-ruby-sdk/models/space_update.rb +12 -72
- data/lib/wallee-ruby-sdk/models/subscriber.rb +13 -1
- data/lib/wallee-ruby-sdk/models/subscriber_active.rb +33 -51
- data/lib/wallee-ruby-sdk/models/subscriber_create.rb +17 -55
- data/lib/wallee-ruby-sdk/models/subscriber_update.rb +33 -61
- data/lib/wallee-ruby-sdk/models/subscription_charge_create.rb +4 -136
- data/lib/wallee-ruby-sdk/models/subscription_ledger_entry_create.rb +4 -104
- data/lib/wallee-ruby-sdk/models/subscription_metric_active.rb +20 -60
- data/lib/wallee-ruby-sdk/models/subscription_metric_create.rb +4 -64
- data/lib/wallee-ruby-sdk/models/subscription_metric_update.rb +20 -60
- data/lib/wallee-ruby-sdk/models/subscription_metric_usage_report_create.rb +4 -64
- data/lib/wallee-ruby-sdk/models/subscription_pending.rb +17 -97
- data/lib/wallee-ruby-sdk/models/subscription_product_active.rb +11 -51
- data/lib/wallee-ruby-sdk/models/subscription_product_component_group_update.rb +11 -21
- data/lib/wallee-ruby-sdk/models/subscription_product_component_update.rb +24 -34
- data/lib/wallee-ruby-sdk/models/subscription_product_create.rb +8 -68
- data/lib/wallee-ruby-sdk/models/subscription_product_retirement_create.rb +4 -44
- data/lib/wallee-ruby-sdk/models/subscription_product_version_pending.rb +24 -24
- data/lib/wallee-ruby-sdk/models/subscription_product_version_retirement_create.rb +4 -44
- data/lib/wallee-ruby-sdk/models/subscription_suspension_create.rb +4 -104
- data/lib/wallee-ruby-sdk/models/subscription_update.rb +17 -127
- data/lib/wallee-ruby-sdk/models/token.rb +11 -1
- data/lib/wallee-ruby-sdk/models/token_create.rb +25 -75
- data/lib/wallee-ruby-sdk/models/token_update.rb +18 -58
- data/lib/wallee-ruby-sdk/models/token_version.rb +21 -1
- data/lib/{wallee/models/email_sender_type.rb → wallee-ruby-sdk/models/token_version_type.rb} +2 -2
- data/lib/wallee-ruby-sdk/models/transaction.rb +53 -3
- data/lib/wallee-ruby-sdk/models/transaction_create.rb +43 -278
- data/lib/wallee-ruby-sdk/models/transaction_pending.rb +19 -259
- data/lib/{wallee/models/label.rb → wallee-ruby-sdk/models/user_account_role.rb} +34 -24
- data/lib/{wallee/models/tenant_database.rb → wallee-ruby-sdk/models/user_space_role.rb} +29 -9
- data/lib/wallee-ruby-sdk/models/user_type.rb +1 -0
- data/lib/wallee-ruby-sdk/models/webhook_listener_create.rb +24 -79
- data/lib/wallee-ruby-sdk/models/webhook_listener_entity.rb +11 -1
- data/lib/wallee-ruby-sdk/models/webhook_listener_update.rb +8 -80
- data/lib/wallee-ruby-sdk/models/webhook_url_create.rb +4 -59
- data/lib/wallee-ruby-sdk/models/webhook_url_update.rb +11 -31
- data/lib/wallee-ruby-sdk/services/token_service_api.rb +3 -3
- data/lib/wallee-ruby-sdk/services/user_account_role_service_api.rb +223 -0
- data/lib/wallee-ruby-sdk/services/user_space_role_service_api.rb +220 -0
- data/lib/wallee-ruby-sdk/version.rb +1 -1
- data/lib/wallee-ruby-sdk.rb +18 -11
- data/test/transactioncreate.rb +5 -9
- metadata +21 -293
- data/Gemfile.lock +0 -31
- data/lib/wallee/api_client.rb +0 -403
- data/lib/wallee/api_error.rb +0 -47
- data/lib/wallee/configuration.rb +0 -144
- data/lib/wallee/models/account.rb +0 -298
- data/lib/wallee/models/account_create.rb +0 -308
- data/lib/wallee/models/account_state.rb +0 -47
- data/lib/wallee/models/account_type.rb +0 -44
- data/lib/wallee/models/account_update.rb +0 -308
- data/lib/wallee/models/address.rb +0 -388
- data/lib/wallee/models/address_create.rb +0 -388
- data/lib/wallee/models/application_user.rb +0 -268
- data/lib/wallee/models/application_user_create.rb +0 -283
- data/lib/wallee/models/application_user_create_with_mac_key.rb +0 -278
- data/lib/wallee/models/application_user_update.rb +0 -278
- data/lib/wallee/models/attachment_resource.rb +0 -210
- data/lib/wallee/models/charge.rb +0 -318
- data/lib/wallee/models/charge_attempt.rb +0 -420
- data/lib/wallee/models/charge_attempt_environment.rb +0 -43
- data/lib/wallee/models/charge_attempt_state.rb +0 -44
- data/lib/wallee/models/charge_flow.rb +0 -270
- data/lib/wallee/models/charge_flow_level.rb +0 -318
- data/lib/wallee/models/charge_flow_level_configuration.rb +0 -288
- data/lib/wallee/models/charge_flow_level_configuration_type.rb +0 -222
- data/lib/wallee/models/charge_flow_level_state.rb +0 -44
- data/lib/wallee/models/charge_state.rb +0 -44
- data/lib/wallee/models/charge_type.rb +0 -44
- data/lib/wallee/models/client_error.rb +0 -238
- data/lib/wallee/models/client_error_type.rb +0 -44
- data/lib/wallee/models/condition_type.rb +0 -222
- data/lib/wallee/models/connector_invocation.rb +0 -278
- data/lib/wallee/models/connector_invocation_stage.rb +0 -45
- data/lib/wallee/models/creation_entity_state.rb +0 -46
- data/lib/wallee/models/criteria_operator.rb +0 -50
- data/lib/wallee/models/customers_presence.rb +0 -44
- data/lib/wallee/models/data_collection_type.rb +0 -43
- data/lib/wallee/models/database_translated_string.rb +0 -222
- data/lib/wallee/models/database_translated_string_create.rb +0 -222
- data/lib/wallee/models/database_translated_string_item.rb +0 -218
- data/lib/wallee/models/database_translated_string_item_create.rb +0 -223
- data/lib/wallee/models/delivery_indication.rb +0 -318
- data/lib/wallee/models/delivery_indication_decision_reason.rb +0 -222
- data/lib/wallee/models/delivery_indication_state.rb +0 -45
- data/lib/wallee/models/document_template.rb +0 -278
- data/lib/wallee/models/document_template_type.rb +0 -242
- data/lib/wallee/models/email_sender.rb +0 -278
- data/lib/wallee/models/email_template.rb +0 -324
- data/lib/wallee/models/email_template_type.rb +0 -288
- data/lib/wallee/models/entity_query.rb +0 -240
- data/lib/wallee/models/entity_query_filter.rb +0 -245
- data/lib/wallee/models/entity_query_filter_type.rb +0 -44
- data/lib/wallee/models/entity_query_order_by_type.rb +0 -43
- data/lib/wallee/models/entity_reference.rb +0 -188
- data/lib/wallee/models/failure_category.rb +0 -46
- data/lib/wallee/models/failure_reason.rb +0 -244
- data/lib/wallee/models/feature.rb +0 -274
- data/lib/wallee/models/gender.rb +0 -43
- data/lib/wallee/models/human_user.rb +0 -318
- data/lib/wallee/models/human_user_create.rb +0 -328
- data/lib/wallee/models/human_user_update.rb +0 -328
- data/lib/wallee/models/installment_calculated_plan.rb +0 -242
- data/lib/wallee/models/installment_calculated_slice.rb +0 -220
- data/lib/wallee/models/installment_payment.rb +0 -280
- data/lib/wallee/models/installment_payment_slice.rb +0 -300
- data/lib/wallee/models/installment_payment_slice_state.rb +0 -48
- data/lib/wallee/models/installment_payment_state.rb +0 -49
- data/lib/wallee/models/installment_plan_configuration.rb +0 -362
- data/lib/wallee/models/installment_plan_slice_configuration.rb +0 -288
- data/lib/wallee/models/label_descriptor.rb +0 -274
- data/lib/wallee/models/label_descriptor_category.rb +0 -43
- data/lib/wallee/models/label_descriptor_group.rb +0 -232
- data/lib/wallee/models/label_descriptor_type.rb +0 -222
- data/lib/wallee/models/legal_organization_form.rb +0 -242
- data/lib/wallee/models/line_item.rb +0 -342
- data/lib/wallee/models/line_item_create.rb +0 -367
- data/lib/wallee/models/line_item_reduction.rb +0 -218
- data/lib/wallee/models/line_item_reduction_create.rb +0 -233
- data/lib/wallee/models/line_item_type.rb +0 -45
- data/lib/wallee/models/localized_string.rb +0 -218
- data/lib/wallee/models/manual_task.rb +0 -290
- data/lib/wallee/models/manual_task_action.rb +0 -230
- data/lib/wallee/models/manual_task_action_style.rb +0 -44
- data/lib/wallee/models/manual_task_state.rb +0 -44
- data/lib/wallee/models/manual_task_type.rb +0 -234
- data/lib/wallee/models/one_click_payment_mode.rb +0 -44
- data/lib/wallee/models/payment_connector.rb +0 -306
- data/lib/wallee/models/payment_connector_configuration.rb +0 -322
- data/lib/wallee/models/payment_connector_feature.rb +0 -218
- data/lib/wallee/models/payment_method.rb +0 -256
- data/lib/wallee/models/payment_method_brand.rb +0 -252
- data/lib/wallee/models/payment_method_configuration.rb +0 -328
- data/lib/wallee/models/payment_primary_risk_taker.rb +0 -44
- data/lib/wallee/models/payment_processor.rb +0 -278
- data/lib/wallee/models/payment_processor_configuration.rb +0 -258
- data/lib/wallee/models/permission.rb +0 -286
- data/lib/wallee/models/persistable_currency_amount_update.rb +0 -208
- data/lib/wallee/models/product_fee_type.rb +0 -44
- data/lib/wallee/models/product_metered_fee.rb +0 -278
- data/lib/wallee/models/product_metered_fee_update.rb +0 -288
- data/lib/wallee/models/product_metered_tier_fee.rb +0 -240
- data/lib/wallee/models/product_metered_tier_fee_update.rb +0 -250
- data/lib/wallee/models/product_metered_tier_pricing.rb +0 -43
- data/lib/wallee/models/product_period_fee.rb +0 -280
- data/lib/wallee/models/product_period_fee_update.rb +0 -290
- data/lib/wallee/models/product_setup_fee.rb +0 -294
- data/lib/wallee/models/product_setup_fee_update.rb +0 -304
- data/lib/wallee/models/refund.rb +0 -450
- data/lib/wallee/models/refund_create.rb +0 -470
- data/lib/wallee/models/refund_state.rb +0 -46
- data/lib/wallee/models/refund_type.rb +0 -45
- data/lib/wallee/models/rendered_document.rb +0 -230
- data/lib/wallee/models/resource_path.rb +0 -258
- data/lib/wallee/models/resource_state.rb +0 -44
- data/lib/wallee/models/rest_country.rb +0 -240
- data/lib/wallee/models/rest_country_state.rb +0 -228
- data/lib/wallee/models/rest_currency.rb +0 -218
- data/lib/wallee/models/rest_language.rb +0 -248
- data/lib/wallee/models/scope.rb +0 -302
- data/lib/wallee/models/server_error.rb +0 -218
- data/lib/wallee/models/space.rb +0 -330
- data/lib/wallee/models/space_address_setter.rb +0 -318
- data/lib/wallee/models/space_create.rb +0 -350
- data/lib/wallee/models/space_reference.rb +0 -258
- data/lib/wallee/models/space_reference_state.rb +0 -46
- data/lib/wallee/models/space_update.rb +0 -340
- data/lib/wallee/models/space_view.rb +0 -258
- data/lib/wallee/models/static_value.rb +0 -234
- data/lib/wallee/models/subscriber_active.rb +0 -342
- data/lib/wallee/models/subscriber_create.rb +0 -347
- data/lib/wallee/models/subscriber_update.rb +0 -342
- data/lib/wallee/models/subscription.rb +0 -338
- data/lib/wallee/models/subscription_change_request.rb +0 -250
- data/lib/wallee/models/subscription_charge.rb +0 -390
- data/lib/wallee/models/subscription_charge_create.rb +0 -405
- data/lib/wallee/models/subscription_charge_processing_type.rb +0 -43
- data/lib/wallee/models/subscription_charge_state.rb +0 -46
- data/lib/wallee/models/subscription_charge_type.rb +0 -43
- data/lib/wallee/models/subscription_create_request.rb +0 -245
- data/lib/wallee/models/subscription_ledger_entry.rb +0 -350
- data/lib/wallee/models/subscription_ledger_entry_create.rb +0 -375
- data/lib/wallee/models/subscription_ledger_entry_state.rb +0 -44
- data/lib/wallee/models/subscription_metric.rb +0 -268
- data/lib/wallee/models/subscription_metric_active.rb +0 -278
- data/lib/wallee/models/subscription_metric_create.rb +0 -288
- data/lib/wallee/models/subscription_metric_type.rb +0 -232
- data/lib/wallee/models/subscription_metric_update.rb +0 -278
- data/lib/wallee/models/subscription_metric_usage_report.rb +0 -298
- data/lib/wallee/models/subscription_metric_usage_report_create.rb +0 -318
- data/lib/wallee/models/subscription_pending.rb +0 -348
- data/lib/wallee/models/subscription_period_bill.rb +0 -298
- data/lib/wallee/models/subscription_period_bill_state.rb +0 -43
- data/lib/wallee/models/subscription_product_active.rb +0 -310
- data/lib/wallee/models/subscription_product_component.rb +0 -298
- data/lib/wallee/models/subscription_product_component_group.rb +0 -258
- data/lib/wallee/models/subscription_product_component_group_update.rb +0 -268
- data/lib/wallee/models/subscription_product_component_reference.rb +0 -258
- data/lib/wallee/models/subscription_product_component_reference_state.rb +0 -45
- data/lib/wallee/models/subscription_product_component_update.rb +0 -308
- data/lib/wallee/models/subscription_product_create.rb +0 -315
- data/lib/wallee/models/subscription_product_retirement.rb +0 -258
- data/lib/wallee/models/subscription_product_retirement_create.rb +0 -263
- data/lib/wallee/models/subscription_product_state.rb +0 -46
- data/lib/wallee/models/subscription_product_version.rb +0 -390
- data/lib/wallee/models/subscription_product_version_pending.rb +0 -310
- data/lib/wallee/models/subscription_product_version_retirement.rb +0 -258
- data/lib/wallee/models/subscription_product_version_retirement_create.rb +0 -263
- data/lib/wallee/models/subscription_product_version_state.rb +0 -46
- data/lib/wallee/models/subscription_state.rb +0 -48
- data/lib/wallee/models/subscription_suspension.rb +0 -328
- data/lib/wallee/models/subscription_suspension_action.rb +0 -43
- data/lib/wallee/models/subscription_suspension_create.rb +0 -343
- data/lib/wallee/models/subscription_suspension_reason.rb +0 -44
- data/lib/wallee/models/subscription_suspension_running.rb +0 -328
- data/lib/wallee/models/subscription_suspension_state.rb +0 -43
- data/lib/wallee/models/subscription_update.rb +0 -348
- data/lib/wallee/models/subscription_version.rb +0 -370
- data/lib/wallee/models/subscription_version_state.rb +0 -47
- data/lib/wallee/models/tax.rb +0 -208
- data/lib/wallee/models/tax_create.rb +0 -218
- data/lib/wallee/models/token_create.rb +0 -323
- data/lib/wallee/models/token_update.rb +0 -318
- data/lib/wallee/models/token_version_state.rb +0 -44
- data/lib/wallee/models/transaction.rb +0 -626
- data/lib/wallee/models/transaction_aware_entity.rb +0 -218
- data/lib/wallee/models/transaction_completion.rb +0 -390
- data/lib/wallee/models/transaction_completion_mode.rb +0 -44
- data/lib/wallee/models/transaction_completion_state.rb +0 -45
- data/lib/wallee/models/transaction_create.rb +0 -646
- data/lib/wallee/models/transaction_group.rb +0 -268
- data/lib/wallee/models/transaction_group_state.rb +0 -44
- data/lib/wallee/models/transaction_invoice.rb +0 -380
- data/lib/wallee/models/transaction_invoice_replacement.rb +0 -250
- data/lib/wallee/models/transaction_invoice_state.rb +0 -48
- data/lib/wallee/models/transaction_line_item_update_request.rb +0 -215
- data/lib/wallee/models/transaction_line_item_version.rb +0 -320
- data/lib/wallee/models/transaction_pending.rb +0 -636
- data/lib/wallee/models/transaction_state.rb +0 -51
- data/lib/wallee/models/transaction_user_interface_type.rb +0 -44
- data/lib/wallee/models/transaction_void.rb +0 -380
- data/lib/wallee/models/transaction_void_mode.rb +0 -43
- data/lib/wallee/models/transaction_void_state.rb +0 -45
- data/lib/wallee/models/user_type.rb +0 -45
- data/lib/wallee/models/webhook_identity.rb +0 -248
- data/lib/wallee/models/webhook_listener.rb +0 -300
- data/lib/wallee/models/webhook_listener_create.rb +0 -330
- data/lib/wallee/models/webhook_listener_update.rb +0 -310
- data/lib/wallee/models/webhook_url.rb +0 -258
- data/lib/wallee/models/webhook_url_create.rb +0 -273
- data/lib/wallee/models/webhook_url_update.rb +0 -268
- data/lib/wallee/services/account_service_api.rb +0 -372
- data/lib/wallee/services/application_user_service_api.rb +0 -372
- data/lib/wallee/services/charge_attempt_service_api.rb +0 -217
- data/lib/wallee/services/charge_flow_level_service_api.rb +0 -280
- data/lib/wallee/services/charge_flow_service_api.rb +0 -352
- data/lib/wallee/services/condition_type_service_api.rb +0 -143
- data/lib/wallee/services/country_service_api.rb +0 -85
- data/lib/wallee/services/country_state_service_api.rb +0 -143
- data/lib/wallee/services/currency_service_api.rb +0 -85
- data/lib/wallee/services/delivery_indication_service_api.rb +0 -341
- data/lib/wallee/services/document_template_service_api.rb +0 -217
- data/lib/wallee/services/document_template_type_service_api.rb +0 -143
- data/lib/wallee/services/email_sender_service_api.rb +0 -219
- data/lib/wallee/services/email_sender_type_service_api.rb +0 -143
- data/lib/wallee/services/email_template_service_api.rb +0 -217
- data/lib/wallee/services/email_template_type_service_api.rb +0 -143
- data/lib/wallee/services/human_user_service_api.rb +0 -372
- data/lib/wallee/services/installment_payment_service_api.rb +0 -287
- data/lib/wallee/services/installment_payment_slice_service_api.rb +0 -219
- data/lib/wallee/services/installment_plan_calculation_service_api.rb +0 -95
- data/lib/wallee/services/installment_plan_configuration_service_api.rb +0 -219
- data/lib/wallee/services/installment_plan_slice_configuration_service_api.rb +0 -219
- data/lib/wallee/services/label_description_group_service_api.rb +0 -143
- data/lib/wallee/services/label_description_service_api.rb +0 -143
- data/lib/wallee/services/language_service_api.rb +0 -85
- data/lib/wallee/services/manual_task_service_api.rb +0 -217
- data/lib/wallee/services/payment_connector_configuration_service_api.rb +0 -217
- data/lib/wallee/services/payment_connector_service_api.rb +0 -143
- data/lib/wallee/services/payment_method_configuration_service_api.rb +0 -217
- data/lib/wallee/services/payment_method_service_api.rb +0 -143
- data/lib/wallee/services/payment_processor_configuration_service_api.rb +0 -217
- data/lib/wallee/services/payment_processor_service_api.rb +0 -143
- data/lib/wallee/services/permission_service_api.rb +0 -143
- data/lib/wallee/services/refund_service_api.rb +0 -468
- data/lib/wallee/services/space_service_api.rb +0 -372
- data/lib/wallee/services/static_value_service_api.rb +0 -143
- data/lib/wallee/services/subscriber_service_api.rb +0 -402
- data/lib/wallee/services/subscription_charge_service_api.rb +0 -342
- data/lib/wallee/services/subscription_ledger_entry_service_api.rb +0 -279
- data/lib/wallee/services/subscription_metric_service_api.rb +0 -402
- data/lib/wallee/services/subscription_metric_usage_service_api.rb +0 -279
- data/lib/wallee/services/subscription_period_bill_service_api.rb +0 -217
- data/lib/wallee/services/subscription_product_component_group_service_api.rb +0 -402
- data/lib/wallee/services/subscription_product_component_service_api.rb +0 -402
- data/lib/wallee/services/subscription_product_fee_tier_service_api.rb +0 -402
- data/lib/wallee/services/subscription_product_metered_fee_service_api.rb +0 -402
- data/lib/wallee/services/subscription_product_period_fee_service_api.rb +0 -402
- data/lib/wallee/services/subscription_product_retirement_service_api.rb +0 -279
- data/lib/wallee/services/subscription_product_service_api.rb +0 -341
- data/lib/wallee/services/subscription_product_setup_fee_service_api.rb +0 -402
- data/lib/wallee/services/subscription_product_version_retirement_service_api.rb +0 -279
- data/lib/wallee/services/subscription_product_version_service_api.rb +0 -404
- data/lib/wallee/services/subscription_service_api.rb +0 -608
- data/lib/wallee/services/subscription_suspension_service_api.rb +0 -342
- data/lib/wallee/services/subscription_version_service_api.rb +0 -217
- data/lib/wallee/services/token_service_api.rb +0 -402
- data/lib/wallee/services/token_version_service_api.rb +0 -280
- data/lib/wallee/services/transaction_completion_service_api.rb +0 -343
- data/lib/wallee/services/transaction_invoice_service_api.rb +0 -473
- data/lib/wallee/services/transaction_service_api.rb +0 -1263
- data/lib/wallee/services/transaction_void_service_api.rb +0 -343
- data/lib/wallee/services/webhook_listener_service_api.rb +0 -402
- data/lib/wallee/services/webhook_url_service_api.rb +0 -402
- data/lib/wallee/version.rb +0 -24
- data/lib/wallee.rb +0 -332
@@ -1,219 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
Wallee API: 1.0.0
|
3
|
-
|
4
|
-
The wallee API allows an easy interaction with the wallee web service.
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
-
you may not use this file except in compliance with the License.
|
10
|
-
You may obtain a copy of the License at
|
11
|
-
|
12
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
13
|
-
|
14
|
-
Unless required by applicable law or agreed to in writing, software
|
15
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
17
|
-
See the License for the specific language governing permissions and
|
18
|
-
limitations under the License.
|
19
|
-
|
20
|
-
=end
|
21
|
-
|
22
|
-
require "uri"
|
23
|
-
|
24
|
-
module Wallee
|
25
|
-
class InstallmentPlanSliceConfigurationService
|
26
|
-
attr_accessor :api_client
|
27
|
-
|
28
|
-
def initialize(api_client = ApiClient.default)
|
29
|
-
@api_client = api_client
|
30
|
-
end
|
31
|
-
|
32
|
-
# Count
|
33
|
-
# Counts the number of items in the database as restricted by the given filter.
|
34
|
-
# @param space_id
|
35
|
-
# @param filter The filter which restricts the installment plan slice configurations which are used to calculate the count.
|
36
|
-
# @param [Hash] opts the optional parameters
|
37
|
-
# @return [Integer]
|
38
|
-
def installment_plan_slice_configuration_service_count(space_id, filter, opts = {})
|
39
|
-
data, _status_code, _headers = installment_plan_slice_configuration_service_count_with_http_info(space_id, filter, opts)
|
40
|
-
return data
|
41
|
-
end
|
42
|
-
|
43
|
-
# Count
|
44
|
-
# Counts the number of items in the database as restricted by the given filter.
|
45
|
-
# @param space_id
|
46
|
-
# @param filter The filter which restricts the installment plan slice configurations which are used to calculate the count.
|
47
|
-
# @param [Hash] opts the optional parameters
|
48
|
-
# @return [Array<(Integer, Fixnum, Hash)>] Integer data, response status code and response headers
|
49
|
-
def installment_plan_slice_configuration_service_count_with_http_info(space_id, filter, opts = {})
|
50
|
-
if @api_client.config.debugging
|
51
|
-
@api_client.config.logger.debug "Calling API: InstallmentPlanSliceConfigurationService.installment_plan_slice_configuration_service_count ..."
|
52
|
-
end
|
53
|
-
# verify the required parameter 'space_id' is set
|
54
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling InstallmentPlanSliceConfigurationService.installment_plan_slice_configuration_service_count" if space_id.nil?
|
55
|
-
# verify the required parameter 'filter' is set
|
56
|
-
fail ArgumentError, "Missing the required parameter 'filter' when calling InstallmentPlanSliceConfigurationService.installment_plan_slice_configuration_service_count" if filter.nil?
|
57
|
-
# resource path
|
58
|
-
local_var_path = "/installment-plan-slice-configuration/count".sub('{format}','json')
|
59
|
-
|
60
|
-
# query parameters
|
61
|
-
query_params = {}
|
62
|
-
query_params[:'spaceId'] = space_id
|
63
|
-
|
64
|
-
# header parameters
|
65
|
-
header_params = {}
|
66
|
-
|
67
|
-
# HTTP header 'Accept' (if needed)
|
68
|
-
local_header_accept = ['application/json;charset=utf-8']
|
69
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
70
|
-
|
71
|
-
# HTTP header 'Content-Type'
|
72
|
-
local_header_content_type = ['application/json;charset=utf-8']
|
73
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
74
|
-
|
75
|
-
# form parameters
|
76
|
-
form_params = {}
|
77
|
-
|
78
|
-
# http body (model)
|
79
|
-
post_body = @api_client.object_to_http_body(filter)
|
80
|
-
auth_names = []
|
81
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
82
|
-
:header_params => header_params,
|
83
|
-
:query_params => query_params,
|
84
|
-
:form_params => form_params,
|
85
|
-
:body => post_body,
|
86
|
-
:auth_names => auth_names,
|
87
|
-
:return_type => 'Integer')
|
88
|
-
if @api_client.config.debugging
|
89
|
-
@api_client.config.logger.debug "API called: InstallmentPlanSliceConfigurationService#installment_plan_slice_configuration_service_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
90
|
-
end
|
91
|
-
return data, status_code, headers
|
92
|
-
end
|
93
|
-
|
94
|
-
# Read
|
95
|
-
# Reads the entity with the given 'id' and returns it.
|
96
|
-
# @param space_id
|
97
|
-
# @param id The id of the installment plan slice configuration which should be returned.
|
98
|
-
# @param [Hash] opts the optional parameters
|
99
|
-
# @return [InstallmentPlanSliceConfiguration]
|
100
|
-
def installment_plan_slice_configuration_service_read(space_id, id, opts = {})
|
101
|
-
data, _status_code, _headers = installment_plan_slice_configuration_service_read_with_http_info(space_id, id, opts)
|
102
|
-
return data
|
103
|
-
end
|
104
|
-
|
105
|
-
# Read
|
106
|
-
# Reads the entity with the given 'id' and returns it.
|
107
|
-
# @param space_id
|
108
|
-
# @param id The id of the installment plan slice configuration which should be returned.
|
109
|
-
# @param [Hash] opts the optional parameters
|
110
|
-
# @return [Array<(InstallmentPlanSliceConfiguration, Fixnum, Hash)>] InstallmentPlanSliceConfiguration data, response status code and response headers
|
111
|
-
def installment_plan_slice_configuration_service_read_with_http_info(space_id, id, opts = {})
|
112
|
-
if @api_client.config.debugging
|
113
|
-
@api_client.config.logger.debug "Calling API: InstallmentPlanSliceConfigurationService.installment_plan_slice_configuration_service_read ..."
|
114
|
-
end
|
115
|
-
# verify the required parameter 'space_id' is set
|
116
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling InstallmentPlanSliceConfigurationService.installment_plan_slice_configuration_service_read" if space_id.nil?
|
117
|
-
# verify the required parameter 'id' is set
|
118
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling InstallmentPlanSliceConfigurationService.installment_plan_slice_configuration_service_read" if id.nil?
|
119
|
-
# resource path
|
120
|
-
local_var_path = "/installment-plan-slice-configuration/read".sub('{format}','json')
|
121
|
-
|
122
|
-
# query parameters
|
123
|
-
query_params = {}
|
124
|
-
query_params[:'spaceId'] = space_id
|
125
|
-
query_params[:'id'] = id
|
126
|
-
|
127
|
-
# header parameters
|
128
|
-
header_params = {}
|
129
|
-
|
130
|
-
# HTTP header 'Accept' (if needed)
|
131
|
-
local_header_accept = ['*/*']
|
132
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
133
|
-
|
134
|
-
# HTTP header 'Content-Type'
|
135
|
-
local_header_content_type = ['application/json;charset=utf-8']
|
136
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
137
|
-
|
138
|
-
# form parameters
|
139
|
-
form_params = {}
|
140
|
-
|
141
|
-
# http body (model)
|
142
|
-
post_body = nil
|
143
|
-
auth_names = []
|
144
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
145
|
-
:header_params => header_params,
|
146
|
-
:query_params => query_params,
|
147
|
-
:form_params => form_params,
|
148
|
-
:body => post_body,
|
149
|
-
:auth_names => auth_names,
|
150
|
-
:return_type => 'InstallmentPlanSliceConfiguration')
|
151
|
-
if @api_client.config.debugging
|
152
|
-
@api_client.config.logger.debug "API called: InstallmentPlanSliceConfigurationService#installment_plan_slice_configuration_service_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
153
|
-
end
|
154
|
-
return data, status_code, headers
|
155
|
-
end
|
156
|
-
|
157
|
-
# Search
|
158
|
-
# Searches for the entities as specified by the given query.
|
159
|
-
# @param space_id
|
160
|
-
# @param query The query restricts the installment plan slice configurations which are returned by the search.
|
161
|
-
# @param [Hash] opts the optional parameters
|
162
|
-
# @return [Array<InstallmentPlanSliceConfiguration>]
|
163
|
-
def installment_plan_slice_configuration_service_search(space_id, query, opts = {})
|
164
|
-
data, _status_code, _headers = installment_plan_slice_configuration_service_search_with_http_info(space_id, query, opts)
|
165
|
-
return data
|
166
|
-
end
|
167
|
-
|
168
|
-
# Search
|
169
|
-
# Searches for the entities as specified by the given query.
|
170
|
-
# @param space_id
|
171
|
-
# @param query The query restricts the installment plan slice configurations which are returned by the search.
|
172
|
-
# @param [Hash] opts the optional parameters
|
173
|
-
# @return [Array<(Array<InstallmentPlanSliceConfiguration>, Fixnum, Hash)>] Array<InstallmentPlanSliceConfiguration> data, response status code and response headers
|
174
|
-
def installment_plan_slice_configuration_service_search_with_http_info(space_id, query, opts = {})
|
175
|
-
if @api_client.config.debugging
|
176
|
-
@api_client.config.logger.debug "Calling API: InstallmentPlanSliceConfigurationService.installment_plan_slice_configuration_service_search ..."
|
177
|
-
end
|
178
|
-
# verify the required parameter 'space_id' is set
|
179
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling InstallmentPlanSliceConfigurationService.installment_plan_slice_configuration_service_search" if space_id.nil?
|
180
|
-
# verify the required parameter 'query' is set
|
181
|
-
fail ArgumentError, "Missing the required parameter 'query' when calling InstallmentPlanSliceConfigurationService.installment_plan_slice_configuration_service_search" if query.nil?
|
182
|
-
# resource path
|
183
|
-
local_var_path = "/installment-plan-slice-configuration/search".sub('{format}','json')
|
184
|
-
|
185
|
-
# query parameters
|
186
|
-
query_params = {}
|
187
|
-
query_params[:'spaceId'] = space_id
|
188
|
-
|
189
|
-
# header parameters
|
190
|
-
header_params = {}
|
191
|
-
|
192
|
-
# HTTP header 'Accept' (if needed)
|
193
|
-
local_header_accept = ['application/json;charset=utf-8']
|
194
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
195
|
-
|
196
|
-
# HTTP header 'Content-Type'
|
197
|
-
local_header_content_type = ['application/json;charset=utf-8']
|
198
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
199
|
-
|
200
|
-
# form parameters
|
201
|
-
form_params = {}
|
202
|
-
|
203
|
-
# http body (model)
|
204
|
-
post_body = @api_client.object_to_http_body(query)
|
205
|
-
auth_names = []
|
206
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
207
|
-
:header_params => header_params,
|
208
|
-
:query_params => query_params,
|
209
|
-
:form_params => form_params,
|
210
|
-
:body => post_body,
|
211
|
-
:auth_names => auth_names,
|
212
|
-
:return_type => 'Array<InstallmentPlanSliceConfiguration>')
|
213
|
-
if @api_client.config.debugging
|
214
|
-
@api_client.config.logger.debug "API called: InstallmentPlanSliceConfigurationService#installment_plan_slice_configuration_service_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
215
|
-
end
|
216
|
-
return data, status_code, headers
|
217
|
-
end
|
218
|
-
end
|
219
|
-
end
|
@@ -1,143 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
Wallee API: 1.0.0
|
3
|
-
|
4
|
-
The wallee API allows an easy interaction with the wallee web service.
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
-
you may not use this file except in compliance with the License.
|
10
|
-
You may obtain a copy of the License at
|
11
|
-
|
12
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
13
|
-
|
14
|
-
Unless required by applicable law or agreed to in writing, software
|
15
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
17
|
-
See the License for the specific language governing permissions and
|
18
|
-
limitations under the License.
|
19
|
-
|
20
|
-
=end
|
21
|
-
|
22
|
-
require "uri"
|
23
|
-
|
24
|
-
module Wallee
|
25
|
-
class LabelDescriptionGroupService
|
26
|
-
attr_accessor :api_client
|
27
|
-
|
28
|
-
def initialize(api_client = ApiClient.default)
|
29
|
-
@api_client = api_client
|
30
|
-
end
|
31
|
-
|
32
|
-
# All
|
33
|
-
# This operation returns all entities which are available.
|
34
|
-
# @param [Hash] opts the optional parameters
|
35
|
-
# @return [Array<LabelDescriptorGroup>]
|
36
|
-
def label_description_group_service_all(opts = {})
|
37
|
-
data, _status_code, _headers = label_description_group_service_all_with_http_info(opts)
|
38
|
-
return data
|
39
|
-
end
|
40
|
-
|
41
|
-
# All
|
42
|
-
# This operation returns all entities which are available.
|
43
|
-
# @param [Hash] opts the optional parameters
|
44
|
-
# @return [Array<(Array<LabelDescriptorGroup>, Fixnum, Hash)>] Array<LabelDescriptorGroup> data, response status code and response headers
|
45
|
-
def label_description_group_service_all_with_http_info(opts = {})
|
46
|
-
if @api_client.config.debugging
|
47
|
-
@api_client.config.logger.debug "Calling API: LabelDescriptionGroupService.label_description_group_service_all ..."
|
48
|
-
end
|
49
|
-
# resource path
|
50
|
-
local_var_path = "/label-description-group-service/all".sub('{format}','json')
|
51
|
-
|
52
|
-
# query parameters
|
53
|
-
query_params = {}
|
54
|
-
|
55
|
-
# header parameters
|
56
|
-
header_params = {}
|
57
|
-
|
58
|
-
# HTTP header 'Accept' (if needed)
|
59
|
-
local_header_accept = ['*/*']
|
60
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
61
|
-
|
62
|
-
# HTTP header 'Content-Type'
|
63
|
-
local_header_content_type = ['application/json;charset=utf-8']
|
64
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
65
|
-
|
66
|
-
# form parameters
|
67
|
-
form_params = {}
|
68
|
-
|
69
|
-
# http body (model)
|
70
|
-
post_body = nil
|
71
|
-
auth_names = []
|
72
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
73
|
-
:header_params => header_params,
|
74
|
-
:query_params => query_params,
|
75
|
-
:form_params => form_params,
|
76
|
-
:body => post_body,
|
77
|
-
:auth_names => auth_names,
|
78
|
-
:return_type => 'Array<LabelDescriptorGroup>')
|
79
|
-
if @api_client.config.debugging
|
80
|
-
@api_client.config.logger.debug "API called: LabelDescriptionGroupService#label_description_group_service_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
81
|
-
end
|
82
|
-
return data, status_code, headers
|
83
|
-
end
|
84
|
-
|
85
|
-
# Read
|
86
|
-
# Reads the entity with the given 'id' and returns it.
|
87
|
-
# @param id The id of the label descriptor group which should be returned.
|
88
|
-
# @param [Hash] opts the optional parameters
|
89
|
-
# @return [LabelDescriptorGroup]
|
90
|
-
def label_description_group_service_read(id, opts = {})
|
91
|
-
data, _status_code, _headers = label_description_group_service_read_with_http_info(id, opts)
|
92
|
-
return data
|
93
|
-
end
|
94
|
-
|
95
|
-
# Read
|
96
|
-
# Reads the entity with the given 'id' and returns it.
|
97
|
-
# @param id The id of the label descriptor group which should be returned.
|
98
|
-
# @param [Hash] opts the optional parameters
|
99
|
-
# @return [Array<(LabelDescriptorGroup, Fixnum, Hash)>] LabelDescriptorGroup data, response status code and response headers
|
100
|
-
def label_description_group_service_read_with_http_info(id, opts = {})
|
101
|
-
if @api_client.config.debugging
|
102
|
-
@api_client.config.logger.debug "Calling API: LabelDescriptionGroupService.label_description_group_service_read ..."
|
103
|
-
end
|
104
|
-
# verify the required parameter 'id' is set
|
105
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling LabelDescriptionGroupService.label_description_group_service_read" if id.nil?
|
106
|
-
# resource path
|
107
|
-
local_var_path = "/label-description-group-service/read".sub('{format}','json')
|
108
|
-
|
109
|
-
# query parameters
|
110
|
-
query_params = {}
|
111
|
-
query_params[:'id'] = id
|
112
|
-
|
113
|
-
# header parameters
|
114
|
-
header_params = {}
|
115
|
-
|
116
|
-
# HTTP header 'Accept' (if needed)
|
117
|
-
local_header_accept = ['*/*']
|
118
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
119
|
-
|
120
|
-
# HTTP header 'Content-Type'
|
121
|
-
local_header_content_type = ['application/json;charset=utf-8']
|
122
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
123
|
-
|
124
|
-
# form parameters
|
125
|
-
form_params = {}
|
126
|
-
|
127
|
-
# http body (model)
|
128
|
-
post_body = nil
|
129
|
-
auth_names = []
|
130
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
131
|
-
:header_params => header_params,
|
132
|
-
:query_params => query_params,
|
133
|
-
:form_params => form_params,
|
134
|
-
:body => post_body,
|
135
|
-
:auth_names => auth_names,
|
136
|
-
:return_type => 'LabelDescriptorGroup')
|
137
|
-
if @api_client.config.debugging
|
138
|
-
@api_client.config.logger.debug "API called: LabelDescriptionGroupService#label_description_group_service_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
139
|
-
end
|
140
|
-
return data, status_code, headers
|
141
|
-
end
|
142
|
-
end
|
143
|
-
end
|
@@ -1,143 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
Wallee API: 1.0.0
|
3
|
-
|
4
|
-
The wallee API allows an easy interaction with the wallee web service.
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
-
you may not use this file except in compliance with the License.
|
10
|
-
You may obtain a copy of the License at
|
11
|
-
|
12
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
13
|
-
|
14
|
-
Unless required by applicable law or agreed to in writing, software
|
15
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
17
|
-
See the License for the specific language governing permissions and
|
18
|
-
limitations under the License.
|
19
|
-
|
20
|
-
=end
|
21
|
-
|
22
|
-
require "uri"
|
23
|
-
|
24
|
-
module Wallee
|
25
|
-
class LabelDescriptionService
|
26
|
-
attr_accessor :api_client
|
27
|
-
|
28
|
-
def initialize(api_client = ApiClient.default)
|
29
|
-
@api_client = api_client
|
30
|
-
end
|
31
|
-
|
32
|
-
# All
|
33
|
-
# This operation returns all entities which are available.
|
34
|
-
# @param [Hash] opts the optional parameters
|
35
|
-
# @return [Array<LabelDescriptor>]
|
36
|
-
def label_description_service_all(opts = {})
|
37
|
-
data, _status_code, _headers = label_description_service_all_with_http_info(opts)
|
38
|
-
return data
|
39
|
-
end
|
40
|
-
|
41
|
-
# All
|
42
|
-
# This operation returns all entities which are available.
|
43
|
-
# @param [Hash] opts the optional parameters
|
44
|
-
# @return [Array<(Array<LabelDescriptor>, Fixnum, Hash)>] Array<LabelDescriptor> data, response status code and response headers
|
45
|
-
def label_description_service_all_with_http_info(opts = {})
|
46
|
-
if @api_client.config.debugging
|
47
|
-
@api_client.config.logger.debug "Calling API: LabelDescriptionService.label_description_service_all ..."
|
48
|
-
end
|
49
|
-
# resource path
|
50
|
-
local_var_path = "/label-description-service/all".sub('{format}','json')
|
51
|
-
|
52
|
-
# query parameters
|
53
|
-
query_params = {}
|
54
|
-
|
55
|
-
# header parameters
|
56
|
-
header_params = {}
|
57
|
-
|
58
|
-
# HTTP header 'Accept' (if needed)
|
59
|
-
local_header_accept = ['*/*']
|
60
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
61
|
-
|
62
|
-
# HTTP header 'Content-Type'
|
63
|
-
local_header_content_type = ['application/json;charset=utf-8']
|
64
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
65
|
-
|
66
|
-
# form parameters
|
67
|
-
form_params = {}
|
68
|
-
|
69
|
-
# http body (model)
|
70
|
-
post_body = nil
|
71
|
-
auth_names = []
|
72
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
73
|
-
:header_params => header_params,
|
74
|
-
:query_params => query_params,
|
75
|
-
:form_params => form_params,
|
76
|
-
:body => post_body,
|
77
|
-
:auth_names => auth_names,
|
78
|
-
:return_type => 'Array<LabelDescriptor>')
|
79
|
-
if @api_client.config.debugging
|
80
|
-
@api_client.config.logger.debug "API called: LabelDescriptionService#label_description_service_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
81
|
-
end
|
82
|
-
return data, status_code, headers
|
83
|
-
end
|
84
|
-
|
85
|
-
# Read
|
86
|
-
# Reads the entity with the given 'id' and returns it.
|
87
|
-
# @param id The id of the label descriptor which should be returned.
|
88
|
-
# @param [Hash] opts the optional parameters
|
89
|
-
# @return [LabelDescriptor]
|
90
|
-
def label_description_service_read(id, opts = {})
|
91
|
-
data, _status_code, _headers = label_description_service_read_with_http_info(id, opts)
|
92
|
-
return data
|
93
|
-
end
|
94
|
-
|
95
|
-
# Read
|
96
|
-
# Reads the entity with the given 'id' and returns it.
|
97
|
-
# @param id The id of the label descriptor which should be returned.
|
98
|
-
# @param [Hash] opts the optional parameters
|
99
|
-
# @return [Array<(LabelDescriptor, Fixnum, Hash)>] LabelDescriptor data, response status code and response headers
|
100
|
-
def label_description_service_read_with_http_info(id, opts = {})
|
101
|
-
if @api_client.config.debugging
|
102
|
-
@api_client.config.logger.debug "Calling API: LabelDescriptionService.label_description_service_read ..."
|
103
|
-
end
|
104
|
-
# verify the required parameter 'id' is set
|
105
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling LabelDescriptionService.label_description_service_read" if id.nil?
|
106
|
-
# resource path
|
107
|
-
local_var_path = "/label-description-service/read".sub('{format}','json')
|
108
|
-
|
109
|
-
# query parameters
|
110
|
-
query_params = {}
|
111
|
-
query_params[:'id'] = id
|
112
|
-
|
113
|
-
# header parameters
|
114
|
-
header_params = {}
|
115
|
-
|
116
|
-
# HTTP header 'Accept' (if needed)
|
117
|
-
local_header_accept = ['*/*']
|
118
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
119
|
-
|
120
|
-
# HTTP header 'Content-Type'
|
121
|
-
local_header_content_type = ['application/json;charset=utf-8']
|
122
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
123
|
-
|
124
|
-
# form parameters
|
125
|
-
form_params = {}
|
126
|
-
|
127
|
-
# http body (model)
|
128
|
-
post_body = nil
|
129
|
-
auth_names = []
|
130
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
131
|
-
:header_params => header_params,
|
132
|
-
:query_params => query_params,
|
133
|
-
:form_params => form_params,
|
134
|
-
:body => post_body,
|
135
|
-
:auth_names => auth_names,
|
136
|
-
:return_type => 'LabelDescriptor')
|
137
|
-
if @api_client.config.debugging
|
138
|
-
@api_client.config.logger.debug "API called: LabelDescriptionService#label_description_service_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
139
|
-
end
|
140
|
-
return data, status_code, headers
|
141
|
-
end
|
142
|
-
end
|
143
|
-
end
|
@@ -1,85 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
Wallee API: 1.0.0
|
3
|
-
|
4
|
-
The wallee API allows an easy interaction with the wallee web service.
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
-
you may not use this file except in compliance with the License.
|
10
|
-
You may obtain a copy of the License at
|
11
|
-
|
12
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
13
|
-
|
14
|
-
Unless required by applicable law or agreed to in writing, software
|
15
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
17
|
-
See the License for the specific language governing permissions and
|
18
|
-
limitations under the License.
|
19
|
-
|
20
|
-
=end
|
21
|
-
|
22
|
-
require "uri"
|
23
|
-
|
24
|
-
module Wallee
|
25
|
-
class LanguageService
|
26
|
-
attr_accessor :api_client
|
27
|
-
|
28
|
-
def initialize(api_client = ApiClient.default)
|
29
|
-
@api_client = api_client
|
30
|
-
end
|
31
|
-
|
32
|
-
# All
|
33
|
-
# This operation returns all languages.
|
34
|
-
# @param [Hash] opts the optional parameters
|
35
|
-
# @return [Array<RestLanguage>]
|
36
|
-
def language_service_all(opts = {})
|
37
|
-
data, _status_code, _headers = language_service_all_with_http_info(opts)
|
38
|
-
return data
|
39
|
-
end
|
40
|
-
|
41
|
-
# All
|
42
|
-
# This operation returns all languages.
|
43
|
-
# @param [Hash] opts the optional parameters
|
44
|
-
# @return [Array<(Array<RestLanguage>, Fixnum, Hash)>] Array<RestLanguage> data, response status code and response headers
|
45
|
-
def language_service_all_with_http_info(opts = {})
|
46
|
-
if @api_client.config.debugging
|
47
|
-
@api_client.config.logger.debug "Calling API: LanguageService.language_service_all ..."
|
48
|
-
end
|
49
|
-
# resource path
|
50
|
-
local_var_path = "/language/all".sub('{format}','json')
|
51
|
-
|
52
|
-
# query parameters
|
53
|
-
query_params = {}
|
54
|
-
|
55
|
-
# header parameters
|
56
|
-
header_params = {}
|
57
|
-
|
58
|
-
# HTTP header 'Accept' (if needed)
|
59
|
-
local_header_accept = ['*/*']
|
60
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
61
|
-
|
62
|
-
# HTTP header 'Content-Type'
|
63
|
-
local_header_content_type = ['application/json;charset=utf-8']
|
64
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
65
|
-
|
66
|
-
# form parameters
|
67
|
-
form_params = {}
|
68
|
-
|
69
|
-
# http body (model)
|
70
|
-
post_body = nil
|
71
|
-
auth_names = []
|
72
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
73
|
-
:header_params => header_params,
|
74
|
-
:query_params => query_params,
|
75
|
-
:form_params => form_params,
|
76
|
-
:body => post_body,
|
77
|
-
:auth_names => auth_names,
|
78
|
-
:return_type => 'Array<RestLanguage>')
|
79
|
-
if @api_client.config.debugging
|
80
|
-
@api_client.config.logger.debug "API called: LanguageService#language_service_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
81
|
-
end
|
82
|
-
return data, status_code, headers
|
83
|
-
end
|
84
|
-
end
|
85
|
-
end
|