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,36 +24,15 @@ require 'date'
|
|
|
24
24
|
module Wallee
|
|
25
25
|
#
|
|
26
26
|
class SpaceCreate
|
|
27
|
-
# The account to which the space belongs to.
|
|
28
|
-
attr_accessor :account
|
|
29
|
-
|
|
30
|
-
# Active means that this account and all accounts in the hierarchy are active.
|
|
31
|
-
attr_accessor :active
|
|
32
|
-
|
|
33
|
-
# This property is true when all accounts in the hierarchy are active or restricted active.
|
|
34
|
-
attr_accessor :active_or_restricted_active
|
|
35
|
-
|
|
36
|
-
# The database in which the space's data are stored in.
|
|
37
|
-
attr_accessor :database
|
|
38
|
-
|
|
39
|
-
# The ID is the primary key of the entity. The ID identifies the entity uniquely.
|
|
40
|
-
attr_accessor :id
|
|
41
|
-
|
|
42
27
|
# The space name is used internally to identify the space 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
|
-
# The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.
|
|
46
|
-
attr_accessor :planned_purge_date
|
|
47
|
-
|
|
48
30
|
# The address to use in communication with clients for example in email, documents etc.
|
|
49
31
|
attr_accessor :postal_address
|
|
50
32
|
|
|
51
33
|
# The request limit defines the maximum number of API request accepted within 2 minutes per cluster node. This limit can only be changed with special privileges.
|
|
52
34
|
attr_accessor :request_limit
|
|
53
35
|
|
|
54
|
-
# Restricted active means that at least one account in the hierarchy is only restricted active, but all are either restricted active or active.
|
|
55
|
-
attr_accessor :restricted_active
|
|
56
|
-
|
|
57
36
|
#
|
|
58
37
|
attr_accessor :state
|
|
59
38
|
|
|
@@ -63,47 +42,33 @@ module Wallee
|
|
|
63
42
|
# The time zone assigned to the space determines the time offset for calculating dates within the space. This is typically used for background processed which needs to be triggered on a specific hour within the day. Changing the space time zone will not change the display of dates.
|
|
64
43
|
attr_accessor :time_zone
|
|
65
44
|
|
|
66
|
-
# The
|
|
67
|
-
attr_accessor :
|
|
45
|
+
# The account to which the space belongs to.
|
|
46
|
+
attr_accessor :account
|
|
68
47
|
|
|
69
48
|
|
|
70
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
71
50
|
def self.attribute_map
|
|
72
51
|
{
|
|
73
|
-
:'account' => :'account',
|
|
74
|
-
:'active' => :'active',
|
|
75
|
-
:'active_or_restricted_active' => :'activeOrRestrictedActive',
|
|
76
|
-
:'database' => :'database',
|
|
77
|
-
:'id' => :'id',
|
|
78
52
|
:'name' => :'name',
|
|
79
|
-
:'planned_purge_date' => :'plannedPurgeDate',
|
|
80
53
|
:'postal_address' => :'postalAddress',
|
|
81
54
|
:'request_limit' => :'requestLimit',
|
|
82
|
-
:'restricted_active' => :'restrictedActive',
|
|
83
55
|
:'state' => :'state',
|
|
84
56
|
:'technical_contact_addresses' => :'technicalContactAddresses',
|
|
85
57
|
:'time_zone' => :'timeZone',
|
|
86
|
-
:'
|
|
58
|
+
:'account' => :'account'
|
|
87
59
|
}
|
|
88
60
|
end
|
|
89
61
|
|
|
90
62
|
# Attribute type mapping.
|
|
91
63
|
def self.swagger_types
|
|
92
64
|
{
|
|
93
|
-
:'account' => :'Integer',
|
|
94
|
-
:'active' => :'BOOLEAN',
|
|
95
|
-
:'active_or_restricted_active' => :'BOOLEAN',
|
|
96
|
-
:'database' => :'TenantDatabase',
|
|
97
|
-
:'id' => :'Integer',
|
|
98
65
|
:'name' => :'String',
|
|
99
|
-
:'
|
|
100
|
-
:'postal_address' => :'SpaceAddressSetter',
|
|
66
|
+
:'postal_address' => :'SpaceAddressCreate',
|
|
101
67
|
:'request_limit' => :'Integer',
|
|
102
|
-
:'restricted_active' => :'BOOLEAN',
|
|
103
68
|
:'state' => :'CreationEntityState',
|
|
104
69
|
:'technical_contact_addresses' => :'Array<String>',
|
|
105
70
|
:'time_zone' => :'String',
|
|
106
|
-
:'
|
|
71
|
+
:'account' => :'Integer'
|
|
107
72
|
}
|
|
108
73
|
end
|
|
109
74
|
|
|
@@ -115,34 +80,10 @@ module Wallee
|
|
|
115
80
|
# convert string to symbol for hash key
|
|
116
81
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
117
82
|
|
|
118
|
-
if attributes.has_key?(:'account')
|
|
119
|
-
self.account = attributes[:'account']
|
|
120
|
-
end
|
|
121
|
-
|
|
122
|
-
if attributes.has_key?(:'active')
|
|
123
|
-
self.active = attributes[:'active']
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
if attributes.has_key?(:'activeOrRestrictedActive')
|
|
127
|
-
self.active_or_restricted_active = attributes[:'activeOrRestrictedActive']
|
|
128
|
-
end
|
|
129
|
-
|
|
130
|
-
if attributes.has_key?(:'database')
|
|
131
|
-
self.database = attributes[:'database']
|
|
132
|
-
end
|
|
133
|
-
|
|
134
|
-
if attributes.has_key?(:'id')
|
|
135
|
-
self.id = attributes[:'id']
|
|
136
|
-
end
|
|
137
|
-
|
|
138
83
|
if attributes.has_key?(:'name')
|
|
139
84
|
self.name = attributes[:'name']
|
|
140
85
|
end
|
|
141
86
|
|
|
142
|
-
if attributes.has_key?(:'plannedPurgeDate')
|
|
143
|
-
self.planned_purge_date = attributes[:'plannedPurgeDate']
|
|
144
|
-
end
|
|
145
|
-
|
|
146
87
|
if attributes.has_key?(:'postalAddress')
|
|
147
88
|
self.postal_address = attributes[:'postalAddress']
|
|
148
89
|
end
|
|
@@ -151,10 +92,6 @@ module Wallee
|
|
|
151
92
|
self.request_limit = attributes[:'requestLimit']
|
|
152
93
|
end
|
|
153
94
|
|
|
154
|
-
if attributes.has_key?(:'restrictedActive')
|
|
155
|
-
self.restricted_active = attributes[:'restrictedActive']
|
|
156
|
-
end
|
|
157
|
-
|
|
158
95
|
if attributes.has_key?(:'state')
|
|
159
96
|
self.state = attributes[:'state']
|
|
160
97
|
end
|
|
@@ -169,8 +106,8 @@ module Wallee
|
|
|
169
106
|
self.time_zone = attributes[:'timeZone']
|
|
170
107
|
end
|
|
171
108
|
|
|
172
|
-
if attributes.has_key?(:'
|
|
173
|
-
self.
|
|
109
|
+
if attributes.has_key?(:'account')
|
|
110
|
+
self.account = attributes[:'account']
|
|
174
111
|
end
|
|
175
112
|
|
|
176
113
|
end
|
|
@@ -183,18 +120,6 @@ module Wallee
|
|
|
183
120
|
invalid_properties.push("invalid value for 'account', account cannot be nil.")
|
|
184
121
|
end
|
|
185
122
|
|
|
186
|
-
if @id.nil?
|
|
187
|
-
invalid_properties.push("invalid value for 'id', id cannot be nil.")
|
|
188
|
-
end
|
|
189
|
-
|
|
190
|
-
if @state.nil?
|
|
191
|
-
invalid_properties.push("invalid value for 'state', state cannot be nil.")
|
|
192
|
-
end
|
|
193
|
-
|
|
194
|
-
if @version.nil?
|
|
195
|
-
invalid_properties.push("invalid value for 'version', version cannot be nil.")
|
|
196
|
-
end
|
|
197
|
-
|
|
198
123
|
return invalid_properties
|
|
199
124
|
end
|
|
200
125
|
|
|
@@ -202,9 +127,6 @@ module Wallee
|
|
|
202
127
|
# @return true if the model is valid
|
|
203
128
|
def valid?
|
|
204
129
|
return false if @account.nil?
|
|
205
|
-
return false if @id.nil?
|
|
206
|
-
return false if @state.nil?
|
|
207
|
-
return false if @version.nil?
|
|
208
130
|
return true
|
|
209
131
|
end
|
|
210
132
|
|
|
@@ -213,20 +135,13 @@ module Wallee
|
|
|
213
135
|
def ==(o)
|
|
214
136
|
return true if self.equal?(o)
|
|
215
137
|
self.class == o.class &&
|
|
216
|
-
account == o.account &&
|
|
217
|
-
active == o.active &&
|
|
218
|
-
active_or_restricted_active == o.active_or_restricted_active &&
|
|
219
|
-
database == o.database &&
|
|
220
|
-
id == o.id &&
|
|
221
138
|
name == o.name &&
|
|
222
|
-
planned_purge_date == o.planned_purge_date &&
|
|
223
139
|
postal_address == o.postal_address &&
|
|
224
140
|
request_limit == o.request_limit &&
|
|
225
|
-
restricted_active == o.restricted_active &&
|
|
226
141
|
state == o.state &&
|
|
227
142
|
technical_contact_addresses == o.technical_contact_addresses &&
|
|
228
143
|
time_zone == o.time_zone &&
|
|
229
|
-
|
|
144
|
+
account == o.account
|
|
230
145
|
end
|
|
231
146
|
|
|
232
147
|
# @see the `==` method
|
|
@@ -238,7 +153,7 @@ module Wallee
|
|
|
238
153
|
# Calculates hash code according to all attributes.
|
|
239
154
|
# @return [Fixnum] Hash code
|
|
240
155
|
def hash
|
|
241
|
-
[
|
|
156
|
+
[name, postal_address, request_limit, state, technical_contact_addresses, time_zone, account].hash
|
|
242
157
|
end
|
|
243
158
|
|
|
244
159
|
# Builds the object from hash
|
|
@@ -24,36 +24,15 @@ require 'date'
|
|
|
24
24
|
module Wallee
|
|
25
25
|
#
|
|
26
26
|
class SpaceUpdate
|
|
27
|
-
# The account to which the space belongs to.
|
|
28
|
-
attr_accessor :account
|
|
29
|
-
|
|
30
|
-
# Active means that this account and all accounts in the hierarchy are active.
|
|
31
|
-
attr_accessor :active
|
|
32
|
-
|
|
33
|
-
# This property is true when all accounts in the hierarchy are active or restricted active.
|
|
34
|
-
attr_accessor :active_or_restricted_active
|
|
35
|
-
|
|
36
|
-
# The database in which the space's data are stored in.
|
|
37
|
-
attr_accessor :database
|
|
38
|
-
|
|
39
|
-
# The ID is the primary key of the entity. The ID identifies the entity uniquely.
|
|
40
|
-
attr_accessor :id
|
|
41
|
-
|
|
42
27
|
# The space name is used internally to identify the space 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
|
-
# The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.
|
|
46
|
-
attr_accessor :planned_purge_date
|
|
47
|
-
|
|
48
30
|
# The address to use in communication with clients for example in email, documents etc.
|
|
49
31
|
attr_accessor :postal_address
|
|
50
32
|
|
|
51
33
|
# The request limit defines the maximum number of API request accepted within 2 minutes per cluster node. This limit can only be changed with special privileges.
|
|
52
34
|
attr_accessor :request_limit
|
|
53
35
|
|
|
54
|
-
# Restricted active means that at least one account in the hierarchy is only restricted active, but all are either restricted active or active.
|
|
55
|
-
attr_accessor :restricted_active
|
|
56
|
-
|
|
57
36
|
#
|
|
58
37
|
attr_accessor :state
|
|
59
38
|
|
|
@@ -63,6 +42,9 @@ module Wallee
|
|
|
63
42
|
# The time zone assigned to the space determines the time offset for calculating dates within the space. This is typically used for background processed which needs to be triggered on a specific hour within the day. Changing the space time zone will not change the display of dates.
|
|
64
43
|
attr_accessor :time_zone
|
|
65
44
|
|
|
45
|
+
# The ID is the primary key of the entity. The ID identifies the entity uniquely.
|
|
46
|
+
attr_accessor :id
|
|
47
|
+
|
|
66
48
|
# The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
|
|
67
49
|
attr_accessor :version
|
|
68
50
|
|
|
@@ -70,19 +52,13 @@ module Wallee
|
|
|
70
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
71
53
|
def self.attribute_map
|
|
72
54
|
{
|
|
73
|
-
:'account' => :'account',
|
|
74
|
-
:'active' => :'active',
|
|
75
|
-
:'active_or_restricted_active' => :'activeOrRestrictedActive',
|
|
76
|
-
:'database' => :'database',
|
|
77
|
-
:'id' => :'id',
|
|
78
55
|
:'name' => :'name',
|
|
79
|
-
:'planned_purge_date' => :'plannedPurgeDate',
|
|
80
56
|
:'postal_address' => :'postalAddress',
|
|
81
57
|
:'request_limit' => :'requestLimit',
|
|
82
|
-
:'restricted_active' => :'restrictedActive',
|
|
83
58
|
:'state' => :'state',
|
|
84
59
|
:'technical_contact_addresses' => :'technicalContactAddresses',
|
|
85
60
|
:'time_zone' => :'timeZone',
|
|
61
|
+
:'id' => :'id',
|
|
86
62
|
:'version' => :'version'
|
|
87
63
|
}
|
|
88
64
|
end
|
|
@@ -90,19 +66,13 @@ module Wallee
|
|
|
90
66
|
# Attribute type mapping.
|
|
91
67
|
def self.swagger_types
|
|
92
68
|
{
|
|
93
|
-
:'account' => :'Account',
|
|
94
|
-
:'active' => :'BOOLEAN',
|
|
95
|
-
:'active_or_restricted_active' => :'BOOLEAN',
|
|
96
|
-
:'database' => :'TenantDatabase',
|
|
97
|
-
:'id' => :'Integer',
|
|
98
69
|
:'name' => :'String',
|
|
99
|
-
:'
|
|
100
|
-
:'postal_address' => :'SpaceAddressSetter',
|
|
70
|
+
:'postal_address' => :'SpaceAddressCreate',
|
|
101
71
|
:'request_limit' => :'Integer',
|
|
102
|
-
:'restricted_active' => :'BOOLEAN',
|
|
103
72
|
:'state' => :'CreationEntityState',
|
|
104
73
|
:'technical_contact_addresses' => :'Array<String>',
|
|
105
74
|
:'time_zone' => :'String',
|
|
75
|
+
:'id' => :'Integer',
|
|
106
76
|
:'version' => :'Integer'
|
|
107
77
|
}
|
|
108
78
|
end
|
|
@@ -115,34 +85,10 @@ module Wallee
|
|
|
115
85
|
# convert string to symbol for hash key
|
|
116
86
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
117
87
|
|
|
118
|
-
if attributes.has_key?(:'account')
|
|
119
|
-
self.account = attributes[:'account']
|
|
120
|
-
end
|
|
121
|
-
|
|
122
|
-
if attributes.has_key?(:'active')
|
|
123
|
-
self.active = attributes[:'active']
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
if attributes.has_key?(:'activeOrRestrictedActive')
|
|
127
|
-
self.active_or_restricted_active = attributes[:'activeOrRestrictedActive']
|
|
128
|
-
end
|
|
129
|
-
|
|
130
|
-
if attributes.has_key?(:'database')
|
|
131
|
-
self.database = attributes[:'database']
|
|
132
|
-
end
|
|
133
|
-
|
|
134
|
-
if attributes.has_key?(:'id')
|
|
135
|
-
self.id = attributes[:'id']
|
|
136
|
-
end
|
|
137
|
-
|
|
138
88
|
if attributes.has_key?(:'name')
|
|
139
89
|
self.name = attributes[:'name']
|
|
140
90
|
end
|
|
141
91
|
|
|
142
|
-
if attributes.has_key?(:'plannedPurgeDate')
|
|
143
|
-
self.planned_purge_date = attributes[:'plannedPurgeDate']
|
|
144
|
-
end
|
|
145
|
-
|
|
146
92
|
if attributes.has_key?(:'postalAddress')
|
|
147
93
|
self.postal_address = attributes[:'postalAddress']
|
|
148
94
|
end
|
|
@@ -151,10 +97,6 @@ module Wallee
|
|
|
151
97
|
self.request_limit = attributes[:'requestLimit']
|
|
152
98
|
end
|
|
153
99
|
|
|
154
|
-
if attributes.has_key?(:'restrictedActive')
|
|
155
|
-
self.restricted_active = attributes[:'restrictedActive']
|
|
156
|
-
end
|
|
157
|
-
|
|
158
100
|
if attributes.has_key?(:'state')
|
|
159
101
|
self.state = attributes[:'state']
|
|
160
102
|
end
|
|
@@ -169,6 +111,10 @@ module Wallee
|
|
|
169
111
|
self.time_zone = attributes[:'timeZone']
|
|
170
112
|
end
|
|
171
113
|
|
|
114
|
+
if attributes.has_key?(:'id')
|
|
115
|
+
self.id = attributes[:'id']
|
|
116
|
+
end
|
|
117
|
+
|
|
172
118
|
if attributes.has_key?(:'version')
|
|
173
119
|
self.version = attributes[:'version']
|
|
174
120
|
end
|
|
@@ -203,19 +149,13 @@ module Wallee
|
|
|
203
149
|
def ==(o)
|
|
204
150
|
return true if self.equal?(o)
|
|
205
151
|
self.class == o.class &&
|
|
206
|
-
account == o.account &&
|
|
207
|
-
active == o.active &&
|
|
208
|
-
active_or_restricted_active == o.active_or_restricted_active &&
|
|
209
|
-
database == o.database &&
|
|
210
|
-
id == o.id &&
|
|
211
152
|
name == o.name &&
|
|
212
|
-
planned_purge_date == o.planned_purge_date &&
|
|
213
153
|
postal_address == o.postal_address &&
|
|
214
154
|
request_limit == o.request_limit &&
|
|
215
|
-
restricted_active == o.restricted_active &&
|
|
216
155
|
state == o.state &&
|
|
217
156
|
technical_contact_addresses == o.technical_contact_addresses &&
|
|
218
157
|
time_zone == o.time_zone &&
|
|
158
|
+
id == o.id &&
|
|
219
159
|
version == o.version
|
|
220
160
|
end
|
|
221
161
|
|
|
@@ -228,7 +168,7 @@ module Wallee
|
|
|
228
168
|
# Calculates hash code according to all attributes.
|
|
229
169
|
# @return [Fixnum] Hash code
|
|
230
170
|
def hash
|
|
231
|
-
[
|
|
171
|
+
[name, postal_address, request_limit, state, technical_contact_addresses, time_zone, id, version].hash
|
|
232
172
|
end
|
|
233
173
|
|
|
234
174
|
# Builds the object from hash
|
|
@@ -51,6 +51,9 @@ module Wallee
|
|
|
51
51
|
# The linked space id holds the ID of the space to which the entity belongs to.
|
|
52
52
|
attr_accessor :linked_space_id
|
|
53
53
|
|
|
54
|
+
# Meta data allow to store additional data along the object.
|
|
55
|
+
attr_accessor :meta_data
|
|
56
|
+
|
|
54
57
|
# The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.
|
|
55
58
|
attr_accessor :planned_purge_date
|
|
56
59
|
|
|
@@ -79,6 +82,7 @@ module Wallee
|
|
|
79
82
|
:'id' => :'id',
|
|
80
83
|
:'language' => :'language',
|
|
81
84
|
:'linked_space_id' => :'linkedSpaceId',
|
|
85
|
+
:'meta_data' => :'metaData',
|
|
82
86
|
:'planned_purge_date' => :'plannedPurgeDate',
|
|
83
87
|
:'reference' => :'reference',
|
|
84
88
|
:'shipping_address' => :'shippingAddress',
|
|
@@ -99,6 +103,7 @@ module Wallee
|
|
|
99
103
|
:'id' => :'Integer',
|
|
100
104
|
:'language' => :'String',
|
|
101
105
|
:'linked_space_id' => :'Integer',
|
|
106
|
+
:'meta_data' => :'Hash<String, String>',
|
|
102
107
|
:'planned_purge_date' => :'DateTime',
|
|
103
108
|
:'reference' => :'String',
|
|
104
109
|
:'shipping_address' => :'Address',
|
|
@@ -155,6 +160,12 @@ module Wallee
|
|
|
155
160
|
self.linked_space_id = attributes[:'linkedSpaceId']
|
|
156
161
|
end
|
|
157
162
|
|
|
163
|
+
if attributes.has_key?(:'metaData')
|
|
164
|
+
if (value = attributes[:'metaData']).is_a?(Array)
|
|
165
|
+
self.meta_data = value
|
|
166
|
+
end
|
|
167
|
+
end
|
|
168
|
+
|
|
158
169
|
if attributes.has_key?(:'plannedPurgeDate')
|
|
159
170
|
self.planned_purge_date = attributes[:'plannedPurgeDate']
|
|
160
171
|
end
|
|
@@ -204,6 +215,7 @@ module Wallee
|
|
|
204
215
|
id == o.id &&
|
|
205
216
|
language == o.language &&
|
|
206
217
|
linked_space_id == o.linked_space_id &&
|
|
218
|
+
meta_data == o.meta_data &&
|
|
207
219
|
planned_purge_date == o.planned_purge_date &&
|
|
208
220
|
reference == o.reference &&
|
|
209
221
|
shipping_address == o.shipping_address &&
|
|
@@ -220,7 +232,7 @@ module Wallee
|
|
|
220
232
|
# Calculates hash code according to all attributes.
|
|
221
233
|
# @return [Fixnum] Hash code
|
|
222
234
|
def hash
|
|
223
|
-
[additional_allowed_payment_method_configurations, billing_address, description, disallowed_payment_method_configurations, email_address, external_id, id, language, linked_space_id, planned_purge_date, reference, shipping_address, state, version].hash
|
|
235
|
+
[additional_allowed_payment_method_configurations, billing_address, description, disallowed_payment_method_configurations, email_address, external_id, id, language, linked_space_id, meta_data, planned_purge_date, reference, shipping_address, state, version].hash
|
|
224
236
|
end
|
|
225
237
|
|
|
226
238
|
# Builds the object from hash
|
|
@@ -24,6 +24,12 @@ require 'date'
|
|
|
24
24
|
module Wallee
|
|
25
25
|
# A subscriber represents everyone who is subscribed to a product.
|
|
26
26
|
class SubscriberActive
|
|
27
|
+
# The ID is the primary key of the entity. The ID identifies the entity uniquely.
|
|
28
|
+
attr_accessor :id
|
|
29
|
+
|
|
30
|
+
# The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
|
|
31
|
+
attr_accessor :version
|
|
32
|
+
|
|
27
33
|
# Those payment methods which are allowed additionally will be available even when the product does not allow those methods.
|
|
28
34
|
attr_accessor :additional_allowed_payment_method_configurations
|
|
29
35
|
|
|
@@ -39,20 +45,11 @@ module Wallee
|
|
|
39
45
|
# The email address is used to communicate with the subscriber. There can be only one subscriber per space with the same email address.
|
|
40
46
|
attr_accessor :email_address
|
|
41
47
|
|
|
42
|
-
# The external id helps to identify the entity and a subsequent creation of an entity with the same ID will not create a new entity.
|
|
43
|
-
attr_accessor :external_id
|
|
44
|
-
|
|
45
|
-
# The ID is the primary key of the entity. The ID identifies the entity uniquely.
|
|
46
|
-
attr_accessor :id
|
|
47
|
-
|
|
48
48
|
# The subscriber language determines the language which is used to communicate with the subscriber in emails and documents (e.g. invoices).
|
|
49
49
|
attr_accessor :language
|
|
50
50
|
|
|
51
|
-
#
|
|
52
|
-
attr_accessor :
|
|
53
|
-
|
|
54
|
-
# The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.
|
|
55
|
-
attr_accessor :planned_purge_date
|
|
51
|
+
# Meta data allow to store additional data along the object.
|
|
52
|
+
attr_accessor :meta_data
|
|
56
53
|
|
|
57
54
|
# The subscriber reference identifies the subscriber in administrative interfaces (e.g. customer id).
|
|
58
55
|
attr_accessor :reference
|
|
@@ -63,47 +60,40 @@ module Wallee
|
|
|
63
60
|
#
|
|
64
61
|
attr_accessor :state
|
|
65
62
|
|
|
66
|
-
# The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
|
|
67
|
-
attr_accessor :version
|
|
68
|
-
|
|
69
63
|
|
|
70
64
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
71
65
|
def self.attribute_map
|
|
72
66
|
{
|
|
67
|
+
:'id' => :'id',
|
|
68
|
+
:'version' => :'version',
|
|
73
69
|
:'additional_allowed_payment_method_configurations' => :'additionalAllowedPaymentMethodConfigurations',
|
|
74
70
|
:'billing_address' => :'billingAddress',
|
|
75
71
|
:'description' => :'description',
|
|
76
72
|
:'disallowed_payment_method_configurations' => :'disallowedPaymentMethodConfigurations',
|
|
77
73
|
:'email_address' => :'emailAddress',
|
|
78
|
-
:'external_id' => :'externalId',
|
|
79
|
-
:'id' => :'id',
|
|
80
74
|
:'language' => :'language',
|
|
81
|
-
:'
|
|
82
|
-
:'planned_purge_date' => :'plannedPurgeDate',
|
|
75
|
+
:'meta_data' => :'metaData',
|
|
83
76
|
:'reference' => :'reference',
|
|
84
77
|
:'shipping_address' => :'shippingAddress',
|
|
85
|
-
:'state' => :'state'
|
|
86
|
-
:'version' => :'version'
|
|
78
|
+
:'state' => :'state'
|
|
87
79
|
}
|
|
88
80
|
end
|
|
89
81
|
|
|
90
82
|
# Attribute type mapping.
|
|
91
83
|
def self.swagger_types
|
|
92
84
|
{
|
|
85
|
+
:'id' => :'Integer',
|
|
86
|
+
:'version' => :'Integer',
|
|
93
87
|
:'additional_allowed_payment_method_configurations' => :'Array<Integer>',
|
|
94
88
|
:'billing_address' => :'AddressCreate',
|
|
95
89
|
:'description' => :'String',
|
|
96
90
|
:'disallowed_payment_method_configurations' => :'Array<Integer>',
|
|
97
91
|
:'email_address' => :'String',
|
|
98
|
-
:'external_id' => :'String',
|
|
99
|
-
:'id' => :'Integer',
|
|
100
92
|
:'language' => :'String',
|
|
101
|
-
:'
|
|
102
|
-
:'planned_purge_date' => :'DateTime',
|
|
93
|
+
:'meta_data' => :'Hash<String, String>',
|
|
103
94
|
:'reference' => :'String',
|
|
104
95
|
:'shipping_address' => :'AddressCreate',
|
|
105
|
-
:'state' => :'CreationEntityState'
|
|
106
|
-
:'version' => :'Integer'
|
|
96
|
+
:'state' => :'CreationEntityState'
|
|
107
97
|
}
|
|
108
98
|
end
|
|
109
99
|
|
|
@@ -115,6 +105,14 @@ module Wallee
|
|
|
115
105
|
# convert string to symbol for hash key
|
|
116
106
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
117
107
|
|
|
108
|
+
if attributes.has_key?(:'id')
|
|
109
|
+
self.id = attributes[:'id']
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
if attributes.has_key?(:'version')
|
|
113
|
+
self.version = attributes[:'version']
|
|
114
|
+
end
|
|
115
|
+
|
|
118
116
|
if attributes.has_key?(:'additionalAllowedPaymentMethodConfigurations')
|
|
119
117
|
if (value = attributes[:'additionalAllowedPaymentMethodConfigurations']).is_a?(Array)
|
|
120
118
|
self.additional_allowed_payment_method_configurations = value
|
|
@@ -139,24 +137,14 @@ module Wallee
|
|
|
139
137
|
self.email_address = attributes[:'emailAddress']
|
|
140
138
|
end
|
|
141
139
|
|
|
142
|
-
if attributes.has_key?(:'externalId')
|
|
143
|
-
self.external_id = attributes[:'externalId']
|
|
144
|
-
end
|
|
145
|
-
|
|
146
|
-
if attributes.has_key?(:'id')
|
|
147
|
-
self.id = attributes[:'id']
|
|
148
|
-
end
|
|
149
|
-
|
|
150
140
|
if attributes.has_key?(:'language')
|
|
151
141
|
self.language = attributes[:'language']
|
|
152
142
|
end
|
|
153
143
|
|
|
154
|
-
if attributes.has_key?(:'
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
if attributes.has_key?(:'plannedPurgeDate')
|
|
159
|
-
self.planned_purge_date = attributes[:'plannedPurgeDate']
|
|
144
|
+
if attributes.has_key?(:'metaData')
|
|
145
|
+
if (value = attributes[:'metaData']).is_a?(Array)
|
|
146
|
+
self.meta_data = value
|
|
147
|
+
end
|
|
160
148
|
end
|
|
161
149
|
|
|
162
150
|
if attributes.has_key?(:'reference')
|
|
@@ -171,10 +159,6 @@ module Wallee
|
|
|
171
159
|
self.state = attributes[:'state']
|
|
172
160
|
end
|
|
173
161
|
|
|
174
|
-
if attributes.has_key?(:'version')
|
|
175
|
-
self.version = attributes[:'version']
|
|
176
|
-
end
|
|
177
|
-
|
|
178
162
|
end
|
|
179
163
|
|
|
180
164
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -205,20 +189,18 @@ module Wallee
|
|
|
205
189
|
def ==(o)
|
|
206
190
|
return true if self.equal?(o)
|
|
207
191
|
self.class == o.class &&
|
|
192
|
+
id == o.id &&
|
|
193
|
+
version == o.version &&
|
|
208
194
|
additional_allowed_payment_method_configurations == o.additional_allowed_payment_method_configurations &&
|
|
209
195
|
billing_address == o.billing_address &&
|
|
210
196
|
description == o.description &&
|
|
211
197
|
disallowed_payment_method_configurations == o.disallowed_payment_method_configurations &&
|
|
212
198
|
email_address == o.email_address &&
|
|
213
|
-
external_id == o.external_id &&
|
|
214
|
-
id == o.id &&
|
|
215
199
|
language == o.language &&
|
|
216
|
-
|
|
217
|
-
planned_purge_date == o.planned_purge_date &&
|
|
200
|
+
meta_data == o.meta_data &&
|
|
218
201
|
reference == o.reference &&
|
|
219
202
|
shipping_address == o.shipping_address &&
|
|
220
|
-
state == o.state
|
|
221
|
-
version == o.version
|
|
203
|
+
state == o.state
|
|
222
204
|
end
|
|
223
205
|
|
|
224
206
|
# @see the `==` method
|
|
@@ -230,7 +212,7 @@ module Wallee
|
|
|
230
212
|
# Calculates hash code according to all attributes.
|
|
231
213
|
# @return [Fixnum] Hash code
|
|
232
214
|
def hash
|
|
233
|
-
[additional_allowed_payment_method_configurations, billing_address, description, disallowed_payment_method_configurations, email_address,
|
|
215
|
+
[id, version, additional_allowed_payment_method_configurations, billing_address, description, disallowed_payment_method_configurations, email_address, language, meta_data, reference, shipping_address, state].hash
|
|
234
216
|
end
|
|
235
217
|
|
|
236
218
|
# Builds the object from hash
|