wallee-ruby-sdk 1.0.0 → 1.0.1
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/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
|
@@ -24,71 +24,51 @@ require 'date'
|
|
|
24
24
|
module Wallee
|
|
25
25
|
#
|
|
26
26
|
class WebhookListenerCreate
|
|
27
|
+
# The webhook listener name is used internally to identify the webhook listener in administrative interfaces.For example it is used within search fields and hence it should be distinct and descriptive.
|
|
28
|
+
attr_accessor :name
|
|
29
|
+
|
|
30
|
+
#
|
|
31
|
+
attr_accessor :state
|
|
32
|
+
|
|
27
33
|
# The listener listens on state changes of the entity linked with the listener.
|
|
28
34
|
attr_accessor :entity
|
|
29
35
|
|
|
30
36
|
# The target state identifies the state into which entities need to move into to trigger the webhook listener.
|
|
31
37
|
attr_accessor :entity_states
|
|
32
38
|
|
|
33
|
-
# The ID is the primary key of the entity. The ID identifies the entity uniquely.
|
|
34
|
-
attr_accessor :id
|
|
35
|
-
|
|
36
39
|
# The identity which will be used to sign messages sent by this listener.
|
|
37
40
|
attr_accessor :identity
|
|
38
41
|
|
|
39
|
-
# The linked space id holds the ID of the space to which the entity belongs to.
|
|
40
|
-
attr_accessor :linked_space_id
|
|
41
|
-
|
|
42
|
-
# The webhook listener name is used internally to identify the webhook listener in administrative interfaces.For example it is used within search fields and hence it should be distinct and descriptive.
|
|
43
|
-
attr_accessor :name
|
|
44
|
-
|
|
45
42
|
# Defines whether the webhook listener is to be informed about every change made to the entity in contrast to state transitions only.
|
|
46
43
|
attr_accessor :notify_every_change
|
|
47
44
|
|
|
48
|
-
# The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.
|
|
49
|
-
attr_accessor :planned_purge_date
|
|
50
|
-
|
|
51
|
-
#
|
|
52
|
-
attr_accessor :state
|
|
53
|
-
|
|
54
45
|
# The URL which is invoked by the listener to notify the application about the event.
|
|
55
46
|
attr_accessor :url
|
|
56
47
|
|
|
57
|
-
# The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
|
|
58
|
-
attr_accessor :version
|
|
59
|
-
|
|
60
48
|
|
|
61
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
62
50
|
def self.attribute_map
|
|
63
51
|
{
|
|
52
|
+
:'name' => :'name',
|
|
53
|
+
:'state' => :'state',
|
|
64
54
|
:'entity' => :'entity',
|
|
65
55
|
:'entity_states' => :'entityStates',
|
|
66
|
-
:'id' => :'id',
|
|
67
56
|
:'identity' => :'identity',
|
|
68
|
-
:'linked_space_id' => :'linkedSpaceId',
|
|
69
|
-
:'name' => :'name',
|
|
70
57
|
:'notify_every_change' => :'notifyEveryChange',
|
|
71
|
-
:'
|
|
72
|
-
:'state' => :'state',
|
|
73
|
-
:'url' => :'url',
|
|
74
|
-
:'version' => :'version'
|
|
58
|
+
:'url' => :'url'
|
|
75
59
|
}
|
|
76
60
|
end
|
|
77
61
|
|
|
78
62
|
# Attribute type mapping.
|
|
79
63
|
def self.swagger_types
|
|
80
64
|
{
|
|
65
|
+
:'name' => :'String',
|
|
66
|
+
:'state' => :'CreationEntityState',
|
|
81
67
|
:'entity' => :'Integer',
|
|
82
68
|
:'entity_states' => :'Array<String>',
|
|
83
|
-
:'id' => :'Integer',
|
|
84
69
|
:'identity' => :'Integer',
|
|
85
|
-
:'linked_space_id' => :'Integer',
|
|
86
|
-
:'name' => :'String',
|
|
87
70
|
:'notify_every_change' => :'BOOLEAN',
|
|
88
|
-
:'
|
|
89
|
-
:'state' => :'CreationEntityState',
|
|
90
|
-
:'url' => :'Integer',
|
|
91
|
-
:'version' => :'Integer'
|
|
71
|
+
:'url' => :'Integer'
|
|
92
72
|
}
|
|
93
73
|
end
|
|
94
74
|
|
|
@@ -100,6 +80,14 @@ module Wallee
|
|
|
100
80
|
# convert string to symbol for hash key
|
|
101
81
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
102
82
|
|
|
83
|
+
if attributes.has_key?(:'name')
|
|
84
|
+
self.name = attributes[:'name']
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
if attributes.has_key?(:'state')
|
|
88
|
+
self.state = attributes[:'state']
|
|
89
|
+
end
|
|
90
|
+
|
|
103
91
|
if attributes.has_key?(:'entity')
|
|
104
92
|
self.entity = attributes[:'entity']
|
|
105
93
|
end
|
|
@@ -110,42 +98,18 @@ module Wallee
|
|
|
110
98
|
end
|
|
111
99
|
end
|
|
112
100
|
|
|
113
|
-
if attributes.has_key?(:'id')
|
|
114
|
-
self.id = attributes[:'id']
|
|
115
|
-
end
|
|
116
|
-
|
|
117
101
|
if attributes.has_key?(:'identity')
|
|
118
102
|
self.identity = attributes[:'identity']
|
|
119
103
|
end
|
|
120
104
|
|
|
121
|
-
if attributes.has_key?(:'linkedSpaceId')
|
|
122
|
-
self.linked_space_id = attributes[:'linkedSpaceId']
|
|
123
|
-
end
|
|
124
|
-
|
|
125
|
-
if attributes.has_key?(:'name')
|
|
126
|
-
self.name = attributes[:'name']
|
|
127
|
-
end
|
|
128
|
-
|
|
129
105
|
if attributes.has_key?(:'notifyEveryChange')
|
|
130
106
|
self.notify_every_change = attributes[:'notifyEveryChange']
|
|
131
107
|
end
|
|
132
108
|
|
|
133
|
-
if attributes.has_key?(:'plannedPurgeDate')
|
|
134
|
-
self.planned_purge_date = attributes[:'plannedPurgeDate']
|
|
135
|
-
end
|
|
136
|
-
|
|
137
|
-
if attributes.has_key?(:'state')
|
|
138
|
-
self.state = attributes[:'state']
|
|
139
|
-
end
|
|
140
|
-
|
|
141
109
|
if attributes.has_key?(:'url')
|
|
142
110
|
self.url = attributes[:'url']
|
|
143
111
|
end
|
|
144
112
|
|
|
145
|
-
if attributes.has_key?(:'version')
|
|
146
|
-
self.version = attributes[:'version']
|
|
147
|
-
end
|
|
148
|
-
|
|
149
113
|
end
|
|
150
114
|
|
|
151
115
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -160,22 +124,10 @@ module Wallee
|
|
|
160
124
|
invalid_properties.push("invalid value for 'entity_states', entity_states cannot be nil.")
|
|
161
125
|
end
|
|
162
126
|
|
|
163
|
-
if @id.nil?
|
|
164
|
-
invalid_properties.push("invalid value for 'id', id cannot be nil.")
|
|
165
|
-
end
|
|
166
|
-
|
|
167
|
-
if @state.nil?
|
|
168
|
-
invalid_properties.push("invalid value for 'state', state cannot be nil.")
|
|
169
|
-
end
|
|
170
|
-
|
|
171
127
|
if @url.nil?
|
|
172
128
|
invalid_properties.push("invalid value for 'url', url cannot be nil.")
|
|
173
129
|
end
|
|
174
130
|
|
|
175
|
-
if @version.nil?
|
|
176
|
-
invalid_properties.push("invalid value for 'version', version cannot be nil.")
|
|
177
|
-
end
|
|
178
|
-
|
|
179
131
|
return invalid_properties
|
|
180
132
|
end
|
|
181
133
|
|
|
@@ -184,10 +136,7 @@ module Wallee
|
|
|
184
136
|
def valid?
|
|
185
137
|
return false if @entity.nil?
|
|
186
138
|
return false if @entity_states.nil?
|
|
187
|
-
return false if @id.nil?
|
|
188
|
-
return false if @state.nil?
|
|
189
139
|
return false if @url.nil?
|
|
190
|
-
return false if @version.nil?
|
|
191
140
|
return true
|
|
192
141
|
end
|
|
193
142
|
|
|
@@ -196,17 +145,13 @@ module Wallee
|
|
|
196
145
|
def ==(o)
|
|
197
146
|
return true if self.equal?(o)
|
|
198
147
|
self.class == o.class &&
|
|
148
|
+
name == o.name &&
|
|
149
|
+
state == o.state &&
|
|
199
150
|
entity == o.entity &&
|
|
200
151
|
entity_states == o.entity_states &&
|
|
201
|
-
id == o.id &&
|
|
202
152
|
identity == o.identity &&
|
|
203
|
-
linked_space_id == o.linked_space_id &&
|
|
204
|
-
name == o.name &&
|
|
205
153
|
notify_every_change == o.notify_every_change &&
|
|
206
|
-
|
|
207
|
-
state == o.state &&
|
|
208
|
-
url == o.url &&
|
|
209
|
-
version == o.version
|
|
154
|
+
url == o.url
|
|
210
155
|
end
|
|
211
156
|
|
|
212
157
|
# @see the `==` method
|
|
@@ -218,7 +163,7 @@ module Wallee
|
|
|
218
163
|
# Calculates hash code according to all attributes.
|
|
219
164
|
# @return [Fixnum] Hash code
|
|
220
165
|
def hash
|
|
221
|
-
[
|
|
166
|
+
[name, state, entity, entity_states, identity, notify_every_change, url].hash
|
|
222
167
|
end
|
|
223
168
|
|
|
224
169
|
# Builds the object from hash
|
|
@@ -24,6 +24,9 @@ require 'date'
|
|
|
24
24
|
module Wallee
|
|
25
25
|
#
|
|
26
26
|
class WebhookListenerEntity
|
|
27
|
+
#
|
|
28
|
+
attr_accessor :display_name
|
|
29
|
+
|
|
27
30
|
# The ID is the primary key of the entity. The ID identifies the entity uniquely.
|
|
28
31
|
attr_accessor :id
|
|
29
32
|
|
|
@@ -37,6 +40,7 @@ module Wallee
|
|
|
37
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
38
41
|
def self.attribute_map
|
|
39
42
|
{
|
|
43
|
+
:'display_name' => :'displayName',
|
|
40
44
|
:'id' => :'id',
|
|
41
45
|
:'name' => :'name',
|
|
42
46
|
:'technical_name' => :'technicalName'
|
|
@@ -46,6 +50,7 @@ module Wallee
|
|
|
46
50
|
# Attribute type mapping.
|
|
47
51
|
def self.swagger_types
|
|
48
52
|
{
|
|
53
|
+
:'display_name' => :'String',
|
|
49
54
|
:'id' => :'Integer',
|
|
50
55
|
:'name' => :'Hash<String, String>',
|
|
51
56
|
:'technical_name' => :'String'
|
|
@@ -60,6 +65,10 @@ module Wallee
|
|
|
60
65
|
# convert string to symbol for hash key
|
|
61
66
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
62
67
|
|
|
68
|
+
if attributes.has_key?(:'displayName')
|
|
69
|
+
self.display_name = attributes[:'displayName']
|
|
70
|
+
end
|
|
71
|
+
|
|
63
72
|
if attributes.has_key?(:'id')
|
|
64
73
|
self.id = attributes[:'id']
|
|
65
74
|
end
|
|
@@ -94,6 +103,7 @@ module Wallee
|
|
|
94
103
|
def ==(o)
|
|
95
104
|
return true if self.equal?(o)
|
|
96
105
|
self.class == o.class &&
|
|
106
|
+
display_name == o.display_name &&
|
|
97
107
|
id == o.id &&
|
|
98
108
|
name == o.name &&
|
|
99
109
|
technical_name == o.technical_name
|
|
@@ -108,7 +118,7 @@ module Wallee
|
|
|
108
118
|
# Calculates hash code according to all attributes.
|
|
109
119
|
# @return [Fixnum] Hash code
|
|
110
120
|
def hash
|
|
111
|
-
[id, name, technical_name].hash
|
|
121
|
+
[display_name, id, name, technical_name].hash
|
|
112
122
|
end
|
|
113
123
|
|
|
114
124
|
# Builds the object from hash
|
|
@@ -24,35 +24,14 @@ require 'date'
|
|
|
24
24
|
module Wallee
|
|
25
25
|
#
|
|
26
26
|
class WebhookListenerUpdate
|
|
27
|
-
# The listener listens on state changes of the entity linked with the listener.
|
|
28
|
-
attr_accessor :entity
|
|
29
|
-
|
|
30
|
-
# The target state identifies the state into which entities need to move into to trigger the webhook listener.
|
|
31
|
-
attr_accessor :entity_states
|
|
32
|
-
|
|
33
|
-
# The ID is the primary key of the entity. The ID identifies the entity uniquely.
|
|
34
|
-
attr_accessor :id
|
|
35
|
-
|
|
36
|
-
# The identity which will be used to sign messages sent by this listener.
|
|
37
|
-
attr_accessor :identity
|
|
38
|
-
|
|
39
|
-
# The linked space id holds the ID of the space to which the entity belongs to.
|
|
40
|
-
attr_accessor :linked_space_id
|
|
41
|
-
|
|
42
27
|
# The webhook listener name is used internally to identify the webhook listener in administrative interfaces.For example it is used within search fields and hence it should be distinct and descriptive.
|
|
43
28
|
attr_accessor :name
|
|
44
29
|
|
|
45
|
-
# Defines whether the webhook listener is to be informed about every change made to the entity in contrast to state transitions only.
|
|
46
|
-
attr_accessor :notify_every_change
|
|
47
|
-
|
|
48
|
-
# The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.
|
|
49
|
-
attr_accessor :planned_purge_date
|
|
50
|
-
|
|
51
30
|
#
|
|
52
31
|
attr_accessor :state
|
|
53
32
|
|
|
54
|
-
# The
|
|
55
|
-
attr_accessor :
|
|
33
|
+
# The ID is the primary key of the entity. The ID identifies the entity uniquely.
|
|
34
|
+
attr_accessor :id
|
|
56
35
|
|
|
57
36
|
# The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
|
|
58
37
|
attr_accessor :version
|
|
@@ -61,16 +40,9 @@ module Wallee
|
|
|
61
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
62
41
|
def self.attribute_map
|
|
63
42
|
{
|
|
64
|
-
:'entity' => :'entity',
|
|
65
|
-
:'entity_states' => :'entityStates',
|
|
66
|
-
:'id' => :'id',
|
|
67
|
-
:'identity' => :'identity',
|
|
68
|
-
:'linked_space_id' => :'linkedSpaceId',
|
|
69
43
|
:'name' => :'name',
|
|
70
|
-
:'notify_every_change' => :'notifyEveryChange',
|
|
71
|
-
:'planned_purge_date' => :'plannedPurgeDate',
|
|
72
44
|
:'state' => :'state',
|
|
73
|
-
:'
|
|
45
|
+
:'id' => :'id',
|
|
74
46
|
:'version' => :'version'
|
|
75
47
|
}
|
|
76
48
|
end
|
|
@@ -78,16 +50,9 @@ module Wallee
|
|
|
78
50
|
# Attribute type mapping.
|
|
79
51
|
def self.swagger_types
|
|
80
52
|
{
|
|
81
|
-
:'entity' => :'Integer',
|
|
82
|
-
:'entity_states' => :'Array<String>',
|
|
83
|
-
:'id' => :'Integer',
|
|
84
|
-
:'identity' => :'WebhookIdentity',
|
|
85
|
-
:'linked_space_id' => :'Integer',
|
|
86
53
|
:'name' => :'String',
|
|
87
|
-
:'notify_every_change' => :'BOOLEAN',
|
|
88
|
-
:'planned_purge_date' => :'DateTime',
|
|
89
54
|
:'state' => :'CreationEntityState',
|
|
90
|
-
:'
|
|
55
|
+
:'id' => :'Integer',
|
|
91
56
|
:'version' => :'Integer'
|
|
92
57
|
}
|
|
93
58
|
end
|
|
@@ -100,46 +65,16 @@ module Wallee
|
|
|
100
65
|
# convert string to symbol for hash key
|
|
101
66
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
102
67
|
|
|
103
|
-
if attributes.has_key?(:'entity')
|
|
104
|
-
self.entity = attributes[:'entity']
|
|
105
|
-
end
|
|
106
|
-
|
|
107
|
-
if attributes.has_key?(:'entityStates')
|
|
108
|
-
if (value = attributes[:'entityStates']).is_a?(Array)
|
|
109
|
-
self.entity_states = value
|
|
110
|
-
end
|
|
111
|
-
end
|
|
112
|
-
|
|
113
|
-
if attributes.has_key?(:'id')
|
|
114
|
-
self.id = attributes[:'id']
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
if attributes.has_key?(:'identity')
|
|
118
|
-
self.identity = attributes[:'identity']
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
if attributes.has_key?(:'linkedSpaceId')
|
|
122
|
-
self.linked_space_id = attributes[:'linkedSpaceId']
|
|
123
|
-
end
|
|
124
|
-
|
|
125
68
|
if attributes.has_key?(:'name')
|
|
126
69
|
self.name = attributes[:'name']
|
|
127
70
|
end
|
|
128
71
|
|
|
129
|
-
if attributes.has_key?(:'notifyEveryChange')
|
|
130
|
-
self.notify_every_change = attributes[:'notifyEveryChange']
|
|
131
|
-
end
|
|
132
|
-
|
|
133
|
-
if attributes.has_key?(:'plannedPurgeDate')
|
|
134
|
-
self.planned_purge_date = attributes[:'plannedPurgeDate']
|
|
135
|
-
end
|
|
136
|
-
|
|
137
72
|
if attributes.has_key?(:'state')
|
|
138
73
|
self.state = attributes[:'state']
|
|
139
74
|
end
|
|
140
75
|
|
|
141
|
-
if attributes.has_key?(:'
|
|
142
|
-
self.
|
|
76
|
+
if attributes.has_key?(:'id')
|
|
77
|
+
self.id = attributes[:'id']
|
|
143
78
|
end
|
|
144
79
|
|
|
145
80
|
if attributes.has_key?(:'version')
|
|
@@ -176,16 +111,9 @@ module Wallee
|
|
|
176
111
|
def ==(o)
|
|
177
112
|
return true if self.equal?(o)
|
|
178
113
|
self.class == o.class &&
|
|
179
|
-
entity == o.entity &&
|
|
180
|
-
entity_states == o.entity_states &&
|
|
181
|
-
id == o.id &&
|
|
182
|
-
identity == o.identity &&
|
|
183
|
-
linked_space_id == o.linked_space_id &&
|
|
184
114
|
name == o.name &&
|
|
185
|
-
notify_every_change == o.notify_every_change &&
|
|
186
|
-
planned_purge_date == o.planned_purge_date &&
|
|
187
115
|
state == o.state &&
|
|
188
|
-
|
|
116
|
+
id == o.id &&
|
|
189
117
|
version == o.version
|
|
190
118
|
end
|
|
191
119
|
|
|
@@ -198,7 +126,7 @@ module Wallee
|
|
|
198
126
|
# Calculates hash code according to all attributes.
|
|
199
127
|
# @return [Fixnum] Hash code
|
|
200
128
|
def hash
|
|
201
|
-
[
|
|
129
|
+
[name, state, id, version].hash
|
|
202
130
|
end
|
|
203
131
|
|
|
204
132
|
# Builds the object from hash
|
|
@@ -24,51 +24,31 @@ require 'date'
|
|
|
24
24
|
module Wallee
|
|
25
25
|
#
|
|
26
26
|
class WebhookUrlCreate
|
|
27
|
-
# The ID is the primary key of the entity. The ID identifies the entity uniquely.
|
|
28
|
-
attr_accessor :id
|
|
29
|
-
|
|
30
|
-
# The linked space id holds the ID of the space to which the entity belongs to.
|
|
31
|
-
attr_accessor :linked_space_id
|
|
32
|
-
|
|
33
27
|
# The URL name is used internally to identify the URL in administrative interfaces. For example it is used within search fields and hence it should be distinct and descriptive.
|
|
34
28
|
attr_accessor :name
|
|
35
29
|
|
|
36
|
-
# The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.
|
|
37
|
-
attr_accessor :planned_purge_date
|
|
38
|
-
|
|
39
30
|
#
|
|
40
31
|
attr_accessor :state
|
|
41
32
|
|
|
42
33
|
# The URL to which the HTTP requests are sent to. An example URL could look like https://www.example.com/some/path?some-query-parameter=value.
|
|
43
34
|
attr_accessor :url
|
|
44
35
|
|
|
45
|
-
# The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
|
|
46
|
-
attr_accessor :version
|
|
47
|
-
|
|
48
36
|
|
|
49
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
50
38
|
def self.attribute_map
|
|
51
39
|
{
|
|
52
|
-
:'id' => :'id',
|
|
53
|
-
:'linked_space_id' => :'linkedSpaceId',
|
|
54
40
|
:'name' => :'name',
|
|
55
|
-
:'planned_purge_date' => :'plannedPurgeDate',
|
|
56
41
|
:'state' => :'state',
|
|
57
|
-
:'url' => :'url'
|
|
58
|
-
:'version' => :'version'
|
|
42
|
+
:'url' => :'url'
|
|
59
43
|
}
|
|
60
44
|
end
|
|
61
45
|
|
|
62
46
|
# Attribute type mapping.
|
|
63
47
|
def self.swagger_types
|
|
64
48
|
{
|
|
65
|
-
:'id' => :'Integer',
|
|
66
|
-
:'linked_space_id' => :'Integer',
|
|
67
49
|
:'name' => :'String',
|
|
68
|
-
:'planned_purge_date' => :'DateTime',
|
|
69
50
|
:'state' => :'CreationEntityState',
|
|
70
|
-
:'url' => :'String'
|
|
71
|
-
:'version' => :'Integer'
|
|
51
|
+
:'url' => :'String'
|
|
72
52
|
}
|
|
73
53
|
end
|
|
74
54
|
|
|
@@ -80,22 +60,10 @@ module Wallee
|
|
|
80
60
|
# convert string to symbol for hash key
|
|
81
61
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
82
62
|
|
|
83
|
-
if attributes.has_key?(:'id')
|
|
84
|
-
self.id = attributes[:'id']
|
|
85
|
-
end
|
|
86
|
-
|
|
87
|
-
if attributes.has_key?(:'linkedSpaceId')
|
|
88
|
-
self.linked_space_id = attributes[:'linkedSpaceId']
|
|
89
|
-
end
|
|
90
|
-
|
|
91
63
|
if attributes.has_key?(:'name')
|
|
92
64
|
self.name = attributes[:'name']
|
|
93
65
|
end
|
|
94
66
|
|
|
95
|
-
if attributes.has_key?(:'plannedPurgeDate')
|
|
96
|
-
self.planned_purge_date = attributes[:'plannedPurgeDate']
|
|
97
|
-
end
|
|
98
|
-
|
|
99
67
|
if attributes.has_key?(:'state')
|
|
100
68
|
self.state = attributes[:'state']
|
|
101
69
|
end
|
|
@@ -104,37 +72,18 @@ module Wallee
|
|
|
104
72
|
self.url = attributes[:'url']
|
|
105
73
|
end
|
|
106
74
|
|
|
107
|
-
if attributes.has_key?(:'version')
|
|
108
|
-
self.version = attributes[:'version']
|
|
109
|
-
end
|
|
110
|
-
|
|
111
75
|
end
|
|
112
76
|
|
|
113
77
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
114
78
|
# @return Array for valid properies with the reasons
|
|
115
79
|
def list_invalid_properties
|
|
116
80
|
invalid_properties = Array.new
|
|
117
|
-
if @id.nil?
|
|
118
|
-
invalid_properties.push("invalid value for 'id', id cannot be nil.")
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
if @state.nil?
|
|
122
|
-
invalid_properties.push("invalid value for 'state', state cannot be nil.")
|
|
123
|
-
end
|
|
124
|
-
|
|
125
|
-
if @version.nil?
|
|
126
|
-
invalid_properties.push("invalid value for 'version', version cannot be nil.")
|
|
127
|
-
end
|
|
128
|
-
|
|
129
81
|
return invalid_properties
|
|
130
82
|
end
|
|
131
83
|
|
|
132
84
|
# Check to see if the all the properties in the model are valid
|
|
133
85
|
# @return true if the model is valid
|
|
134
86
|
def valid?
|
|
135
|
-
return false if @id.nil?
|
|
136
|
-
return false if @state.nil?
|
|
137
|
-
return false if @version.nil?
|
|
138
87
|
return true
|
|
139
88
|
end
|
|
140
89
|
|
|
@@ -143,13 +92,9 @@ module Wallee
|
|
|
143
92
|
def ==(o)
|
|
144
93
|
return true if self.equal?(o)
|
|
145
94
|
self.class == o.class &&
|
|
146
|
-
id == o.id &&
|
|
147
|
-
linked_space_id == o.linked_space_id &&
|
|
148
95
|
name == o.name &&
|
|
149
|
-
planned_purge_date == o.planned_purge_date &&
|
|
150
96
|
state == o.state &&
|
|
151
|
-
url == o.url
|
|
152
|
-
version == o.version
|
|
97
|
+
url == o.url
|
|
153
98
|
end
|
|
154
99
|
|
|
155
100
|
# @see the `==` method
|
|
@@ -161,7 +106,7 @@ module Wallee
|
|
|
161
106
|
# Calculates hash code according to all attributes.
|
|
162
107
|
# @return [Fixnum] Hash code
|
|
163
108
|
def hash
|
|
164
|
-
[
|
|
109
|
+
[name, state, url].hash
|
|
165
110
|
end
|
|
166
111
|
|
|
167
112
|
# Builds the object from hash
|
|
@@ -24,24 +24,18 @@ require 'date'
|
|
|
24
24
|
module Wallee
|
|
25
25
|
#
|
|
26
26
|
class WebhookUrlUpdate
|
|
27
|
-
# The ID is the primary key of the entity. The ID identifies the entity uniquely.
|
|
28
|
-
attr_accessor :id
|
|
29
|
-
|
|
30
|
-
# The linked space id holds the ID of the space to which the entity belongs to.
|
|
31
|
-
attr_accessor :linked_space_id
|
|
32
|
-
|
|
33
27
|
# The URL name is used internally to identify the URL in administrative interfaces. For example it is used within search fields and hence it should be distinct and descriptive.
|
|
34
28
|
attr_accessor :name
|
|
35
29
|
|
|
36
|
-
# The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.
|
|
37
|
-
attr_accessor :planned_purge_date
|
|
38
|
-
|
|
39
30
|
#
|
|
40
31
|
attr_accessor :state
|
|
41
32
|
|
|
42
33
|
# The URL to which the HTTP requests are sent to. An example URL could look like https://www.example.com/some/path?some-query-parameter=value.
|
|
43
34
|
attr_accessor :url
|
|
44
35
|
|
|
36
|
+
# The ID is the primary key of the entity. The ID identifies the entity uniquely.
|
|
37
|
+
attr_accessor :id
|
|
38
|
+
|
|
45
39
|
# The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
|
|
46
40
|
attr_accessor :version
|
|
47
41
|
|
|
@@ -49,12 +43,10 @@ module Wallee
|
|
|
49
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
50
44
|
def self.attribute_map
|
|
51
45
|
{
|
|
52
|
-
:'id' => :'id',
|
|
53
|
-
:'linked_space_id' => :'linkedSpaceId',
|
|
54
46
|
:'name' => :'name',
|
|
55
|
-
:'planned_purge_date' => :'plannedPurgeDate',
|
|
56
47
|
:'state' => :'state',
|
|
57
48
|
:'url' => :'url',
|
|
49
|
+
:'id' => :'id',
|
|
58
50
|
:'version' => :'version'
|
|
59
51
|
}
|
|
60
52
|
end
|
|
@@ -62,12 +54,10 @@ module Wallee
|
|
|
62
54
|
# Attribute type mapping.
|
|
63
55
|
def self.swagger_types
|
|
64
56
|
{
|
|
65
|
-
:'id' => :'Integer',
|
|
66
|
-
:'linked_space_id' => :'Integer',
|
|
67
57
|
:'name' => :'String',
|
|
68
|
-
:'planned_purge_date' => :'DateTime',
|
|
69
58
|
:'state' => :'CreationEntityState',
|
|
70
59
|
:'url' => :'String',
|
|
60
|
+
:'id' => :'Integer',
|
|
71
61
|
:'version' => :'Integer'
|
|
72
62
|
}
|
|
73
63
|
end
|
|
@@ -80,22 +70,10 @@ module Wallee
|
|
|
80
70
|
# convert string to symbol for hash key
|
|
81
71
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
82
72
|
|
|
83
|
-
if attributes.has_key?(:'id')
|
|
84
|
-
self.id = attributes[:'id']
|
|
85
|
-
end
|
|
86
|
-
|
|
87
|
-
if attributes.has_key?(:'linkedSpaceId')
|
|
88
|
-
self.linked_space_id = attributes[:'linkedSpaceId']
|
|
89
|
-
end
|
|
90
|
-
|
|
91
73
|
if attributes.has_key?(:'name')
|
|
92
74
|
self.name = attributes[:'name']
|
|
93
75
|
end
|
|
94
76
|
|
|
95
|
-
if attributes.has_key?(:'plannedPurgeDate')
|
|
96
|
-
self.planned_purge_date = attributes[:'plannedPurgeDate']
|
|
97
|
-
end
|
|
98
|
-
|
|
99
77
|
if attributes.has_key?(:'state')
|
|
100
78
|
self.state = attributes[:'state']
|
|
101
79
|
end
|
|
@@ -104,6 +82,10 @@ module Wallee
|
|
|
104
82
|
self.url = attributes[:'url']
|
|
105
83
|
end
|
|
106
84
|
|
|
85
|
+
if attributes.has_key?(:'id')
|
|
86
|
+
self.id = attributes[:'id']
|
|
87
|
+
end
|
|
88
|
+
|
|
107
89
|
if attributes.has_key?(:'version')
|
|
108
90
|
self.version = attributes[:'version']
|
|
109
91
|
end
|
|
@@ -138,12 +120,10 @@ module Wallee
|
|
|
138
120
|
def ==(o)
|
|
139
121
|
return true if self.equal?(o)
|
|
140
122
|
self.class == o.class &&
|
|
141
|
-
id == o.id &&
|
|
142
|
-
linked_space_id == o.linked_space_id &&
|
|
143
123
|
name == o.name &&
|
|
144
|
-
planned_purge_date == o.planned_purge_date &&
|
|
145
124
|
state == o.state &&
|
|
146
125
|
url == o.url &&
|
|
126
|
+
id == o.id &&
|
|
147
127
|
version == o.version
|
|
148
128
|
end
|
|
149
129
|
|
|
@@ -156,7 +136,7 @@ module Wallee
|
|
|
156
136
|
# Calculates hash code according to all attributes.
|
|
157
137
|
# @return [Fixnum] Hash code
|
|
158
138
|
def hash
|
|
159
|
-
[
|
|
139
|
+
[name, state, url, id, version].hash
|
|
160
140
|
end
|
|
161
141
|
|
|
162
142
|
# Builds the object from hash
|
|
@@ -94,7 +94,7 @@ module Wallee
|
|
|
94
94
|
# @param space_id
|
|
95
95
|
# @param entity The token object with the properties which should be created.
|
|
96
96
|
# @param [Hash] opts the optional parameters
|
|
97
|
-
# @return [
|
|
97
|
+
# @return [Token]
|
|
98
98
|
def token_service_create(space_id, entity, opts = {})
|
|
99
99
|
data, _status_code, _headers = token_service_create_with_http_info(space_id, entity, opts)
|
|
100
100
|
return data
|
|
@@ -105,7 +105,7 @@ module Wallee
|
|
|
105
105
|
# @param space_id
|
|
106
106
|
# @param entity The token object with the properties which should be created.
|
|
107
107
|
# @param [Hash] opts the optional parameters
|
|
108
|
-
# @return [Array<(
|
|
108
|
+
# @return [Array<(Token, Fixnum, Hash)>] Token data, response status code and response headers
|
|
109
109
|
def token_service_create_with_http_info(space_id, entity, opts = {})
|
|
110
110
|
if @api_client.config.debugging
|
|
111
111
|
@api_client.config.logger.debug "Calling API: TokenService.token_service_create ..."
|
|
@@ -144,7 +144,7 @@ module Wallee
|
|
|
144
144
|
:form_params => form_params,
|
|
145
145
|
:body => post_body,
|
|
146
146
|
:auth_names => auth_names,
|
|
147
|
-
:return_type => '
|
|
147
|
+
:return_type => 'Token')
|
|
148
148
|
if @api_client.config.debugging
|
|
149
149
|
@api_client.config.logger.debug "API called: TokenService#token_service_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
150
150
|
end
|