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,35 +24,14 @@ require 'date'
|
|
|
24
24
|
module Wallee
|
|
25
25
|
#
|
|
26
26
|
class AccountUpdate
|
|
27
|
-
# Active means that this account and all accounts in the hierarchy are active.
|
|
28
|
-
attr_accessor :active
|
|
29
|
-
|
|
30
|
-
# This property is true when all accounts in the hierarchy are active or restricted active.
|
|
31
|
-
attr_accessor :active_or_restricted_active
|
|
32
|
-
|
|
33
|
-
# The ID is the primary key of the entity. The ID identifies the entity uniquely.
|
|
34
|
-
attr_accessor :id
|
|
35
|
-
|
|
36
27
|
# The name of the account identifies the account within the administrative interface.
|
|
37
28
|
attr_accessor :name
|
|
38
29
|
|
|
39
|
-
# The account which is responsible for administering the account.
|
|
40
|
-
attr_accessor :parent_account
|
|
41
|
-
|
|
42
|
-
# The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.
|
|
43
|
-
attr_accessor :planned_purge_date
|
|
44
|
-
|
|
45
|
-
# Restricted active means that at least one account in the hierarchy is only restricted active, but all are either restricted active or active.
|
|
46
|
-
attr_accessor :restricted_active
|
|
47
|
-
|
|
48
|
-
#
|
|
49
|
-
attr_accessor :state
|
|
50
|
-
|
|
51
30
|
# This property restricts the number of subaccounts which can be created within this account.
|
|
52
31
|
attr_accessor :subaccount_limit
|
|
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
|
-
:'active' => :'active',
|
|
65
|
-
:'active_or_restricted_active' => :'activeOrRestrictedActive',
|
|
66
|
-
:'id' => :'id',
|
|
67
43
|
:'name' => :'name',
|
|
68
|
-
:'parent_account' => :'parentAccount',
|
|
69
|
-
:'planned_purge_date' => :'plannedPurgeDate',
|
|
70
|
-
:'restricted_active' => :'restrictedActive',
|
|
71
|
-
:'state' => :'state',
|
|
72
44
|
:'subaccount_limit' => :'subaccountLimit',
|
|
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
|
-
:'active' => :'BOOLEAN',
|
|
82
|
-
:'active_or_restricted_active' => :'BOOLEAN',
|
|
83
|
-
:'id' => :'Integer',
|
|
84
53
|
:'name' => :'String',
|
|
85
|
-
:'parent_account' => :'Account',
|
|
86
|
-
:'planned_purge_date' => :'DateTime',
|
|
87
|
-
:'restricted_active' => :'BOOLEAN',
|
|
88
|
-
:'state' => :'AccountState',
|
|
89
54
|
:'subaccount_limit' => :'Integer',
|
|
90
|
-
:'
|
|
55
|
+
:'id' => :'Integer',
|
|
91
56
|
:'version' => :'Integer'
|
|
92
57
|
}
|
|
93
58
|
end
|
|
@@ -100,44 +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?(:'active')
|
|
104
|
-
self.active = attributes[:'active']
|
|
105
|
-
end
|
|
106
|
-
|
|
107
|
-
if attributes.has_key?(:'activeOrRestrictedActive')
|
|
108
|
-
self.active_or_restricted_active = attributes[:'activeOrRestrictedActive']
|
|
109
|
-
end
|
|
110
|
-
|
|
111
|
-
if attributes.has_key?(:'id')
|
|
112
|
-
self.id = attributes[:'id']
|
|
113
|
-
end
|
|
114
|
-
|
|
115
68
|
if attributes.has_key?(:'name')
|
|
116
69
|
self.name = attributes[:'name']
|
|
117
70
|
end
|
|
118
71
|
|
|
119
|
-
if attributes.has_key?(:'parentAccount')
|
|
120
|
-
self.parent_account = attributes[:'parentAccount']
|
|
121
|
-
end
|
|
122
|
-
|
|
123
|
-
if attributes.has_key?(:'plannedPurgeDate')
|
|
124
|
-
self.planned_purge_date = attributes[:'plannedPurgeDate']
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
if attributes.has_key?(:'restrictedActive')
|
|
128
|
-
self.restricted_active = attributes[:'restrictedActive']
|
|
129
|
-
end
|
|
130
|
-
|
|
131
|
-
if attributes.has_key?(:'state')
|
|
132
|
-
self.state = attributes[:'state']
|
|
133
|
-
end
|
|
134
|
-
|
|
135
72
|
if attributes.has_key?(:'subaccountLimit')
|
|
136
73
|
self.subaccount_limit = attributes[:'subaccountLimit']
|
|
137
74
|
end
|
|
138
75
|
|
|
139
|
-
if attributes.has_key?(:'
|
|
140
|
-
self.
|
|
76
|
+
if attributes.has_key?(:'id')
|
|
77
|
+
self.id = attributes[:'id']
|
|
141
78
|
end
|
|
142
79
|
|
|
143
80
|
if attributes.has_key?(:'version')
|
|
@@ -174,16 +111,9 @@ module Wallee
|
|
|
174
111
|
def ==(o)
|
|
175
112
|
return true if self.equal?(o)
|
|
176
113
|
self.class == o.class &&
|
|
177
|
-
active == o.active &&
|
|
178
|
-
active_or_restricted_active == o.active_or_restricted_active &&
|
|
179
|
-
id == o.id &&
|
|
180
114
|
name == o.name &&
|
|
181
|
-
parent_account == o.parent_account &&
|
|
182
|
-
planned_purge_date == o.planned_purge_date &&
|
|
183
|
-
restricted_active == o.restricted_active &&
|
|
184
|
-
state == o.state &&
|
|
185
115
|
subaccount_limit == o.subaccount_limit &&
|
|
186
|
-
|
|
116
|
+
id == o.id &&
|
|
187
117
|
version == o.version
|
|
188
118
|
end
|
|
189
119
|
|
|
@@ -196,7 +126,7 @@ module Wallee
|
|
|
196
126
|
# Calculates hash code according to all attributes.
|
|
197
127
|
# @return [Fixnum] Hash code
|
|
198
128
|
def hash
|
|
199
|
-
[
|
|
129
|
+
[name, subaccount_limit, id, version].hash
|
|
200
130
|
end
|
|
201
131
|
|
|
202
132
|
# Builds the object from hash
|
|
@@ -117,7 +117,7 @@ module Wallee
|
|
|
117
117
|
:'city' => :'String',
|
|
118
118
|
:'commercial_register_number' => :'String',
|
|
119
119
|
:'country' => :'String',
|
|
120
|
-
:'date_of_birth' => :'
|
|
120
|
+
:'date_of_birth' => :'Date',
|
|
121
121
|
:'dependent_locality' => :'String',
|
|
122
122
|
:'email_address' => :'String',
|
|
123
123
|
:'family_name' => :'String',
|
|
@@ -117,7 +117,7 @@ module Wallee
|
|
|
117
117
|
:'city' => :'String',
|
|
118
118
|
:'commercial_register_number' => :'String',
|
|
119
119
|
:'country' => :'String',
|
|
120
|
-
:'date_of_birth' => :'
|
|
120
|
+
:'date_of_birth' => :'Date',
|
|
121
121
|
:'dependent_locality' => :'String',
|
|
122
122
|
:'email_address' => :'String',
|
|
123
123
|
:'family_name' => :'String',
|
|
@@ -24,27 +24,12 @@ require 'date'
|
|
|
24
24
|
module Wallee
|
|
25
25
|
#
|
|
26
26
|
class ApplicationUserCreate
|
|
27
|
-
# The
|
|
28
|
-
attr_accessor :
|
|
29
|
-
|
|
30
|
-
# The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.
|
|
31
|
-
attr_accessor :planned_purge_date
|
|
32
|
-
|
|
33
|
-
# The scope to which the user belongs to.
|
|
34
|
-
attr_accessor :scope
|
|
27
|
+
# The user name is used to identify the application user in administrative interfaces.
|
|
28
|
+
attr_accessor :name
|
|
35
29
|
|
|
36
30
|
#
|
|
37
31
|
attr_accessor :state
|
|
38
32
|
|
|
39
|
-
#
|
|
40
|
-
attr_accessor :user_type
|
|
41
|
-
|
|
42
|
-
# The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
|
|
43
|
-
attr_accessor :version
|
|
44
|
-
|
|
45
|
-
# The user name is used to identify the application user in administrative interfaces.
|
|
46
|
-
attr_accessor :name
|
|
47
|
-
|
|
48
33
|
# The account that this user is associated with. The account owner will be able to manage this user.
|
|
49
34
|
attr_accessor :primary_account
|
|
50
35
|
|
|
@@ -52,13 +37,8 @@ module Wallee
|
|
|
52
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
53
38
|
def self.attribute_map
|
|
54
39
|
{
|
|
55
|
-
:'id' => :'id',
|
|
56
|
-
:'planned_purge_date' => :'plannedPurgeDate',
|
|
57
|
-
:'scope' => :'scope',
|
|
58
|
-
:'state' => :'state',
|
|
59
|
-
:'user_type' => :'userType',
|
|
60
|
-
:'version' => :'version',
|
|
61
40
|
:'name' => :'name',
|
|
41
|
+
:'state' => :'state',
|
|
62
42
|
:'primary_account' => :'primaryAccount'
|
|
63
43
|
}
|
|
64
44
|
end
|
|
@@ -66,13 +46,8 @@ module Wallee
|
|
|
66
46
|
# Attribute type mapping.
|
|
67
47
|
def self.swagger_types
|
|
68
48
|
{
|
|
69
|
-
:'id' => :'Integer',
|
|
70
|
-
:'planned_purge_date' => :'DateTime',
|
|
71
|
-
:'scope' => :'Scope',
|
|
72
|
-
:'state' => :'CreationEntityState',
|
|
73
|
-
:'user_type' => :'UserType',
|
|
74
|
-
:'version' => :'Integer',
|
|
75
49
|
:'name' => :'String',
|
|
50
|
+
:'state' => :'CreationEntityState',
|
|
76
51
|
:'primary_account' => :'Integer'
|
|
77
52
|
}
|
|
78
53
|
end
|
|
@@ -85,34 +60,14 @@ module Wallee
|
|
|
85
60
|
# convert string to symbol for hash key
|
|
86
61
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
87
62
|
|
|
88
|
-
if attributes.has_key?(:'
|
|
89
|
-
self.
|
|
90
|
-
end
|
|
91
|
-
|
|
92
|
-
if attributes.has_key?(:'plannedPurgeDate')
|
|
93
|
-
self.planned_purge_date = attributes[:'plannedPurgeDate']
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
if attributes.has_key?(:'scope')
|
|
97
|
-
self.scope = attributes[:'scope']
|
|
63
|
+
if attributes.has_key?(:'name')
|
|
64
|
+
self.name = attributes[:'name']
|
|
98
65
|
end
|
|
99
66
|
|
|
100
67
|
if attributes.has_key?(:'state')
|
|
101
68
|
self.state = attributes[:'state']
|
|
102
69
|
end
|
|
103
70
|
|
|
104
|
-
if attributes.has_key?(:'userType')
|
|
105
|
-
self.user_type = attributes[:'userType']
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
if attributes.has_key?(:'version')
|
|
109
|
-
self.version = attributes[:'version']
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
if attributes.has_key?(:'name')
|
|
113
|
-
self.name = attributes[:'name']
|
|
114
|
-
end
|
|
115
|
-
|
|
116
71
|
if attributes.has_key?(:'primaryAccount')
|
|
117
72
|
self.primary_account = attributes[:'primaryAccount']
|
|
118
73
|
end
|
|
@@ -123,14 +78,6 @@ module Wallee
|
|
|
123
78
|
# @return Array for valid properies with the reasons
|
|
124
79
|
def list_invalid_properties
|
|
125
80
|
invalid_properties = Array.new
|
|
126
|
-
if @id.nil?
|
|
127
|
-
invalid_properties.push("invalid value for 'id', id cannot be nil.")
|
|
128
|
-
end
|
|
129
|
-
|
|
130
|
-
if @version.nil?
|
|
131
|
-
invalid_properties.push("invalid value for 'version', version cannot be nil.")
|
|
132
|
-
end
|
|
133
|
-
|
|
134
81
|
if @primary_account.nil?
|
|
135
82
|
invalid_properties.push("invalid value for 'primary_account', primary_account cannot be nil.")
|
|
136
83
|
end
|
|
@@ -141,8 +88,6 @@ module Wallee
|
|
|
141
88
|
# Check to see if the all the properties in the model are valid
|
|
142
89
|
# @return true if the model is valid
|
|
143
90
|
def valid?
|
|
144
|
-
return false if @id.nil?
|
|
145
|
-
return false if @version.nil?
|
|
146
91
|
return false if @primary_account.nil?
|
|
147
92
|
return true
|
|
148
93
|
end
|
|
@@ -152,13 +97,8 @@ module Wallee
|
|
|
152
97
|
def ==(o)
|
|
153
98
|
return true if self.equal?(o)
|
|
154
99
|
self.class == o.class &&
|
|
155
|
-
id == o.id &&
|
|
156
|
-
planned_purge_date == o.planned_purge_date &&
|
|
157
|
-
scope == o.scope &&
|
|
158
|
-
state == o.state &&
|
|
159
|
-
user_type == o.user_type &&
|
|
160
|
-
version == o.version &&
|
|
161
100
|
name == o.name &&
|
|
101
|
+
state == o.state &&
|
|
162
102
|
primary_account == o.primary_account
|
|
163
103
|
end
|
|
164
104
|
|
|
@@ -171,7 +111,7 @@ module Wallee
|
|
|
171
111
|
# Calculates hash code according to all attributes.
|
|
172
112
|
# @return [Fixnum] Hash code
|
|
173
113
|
def hash
|
|
174
|
-
[
|
|
114
|
+
[name, state, primary_account].hash
|
|
175
115
|
end
|
|
176
116
|
|
|
177
117
|
# Builds the object from hash
|
|
@@ -24,56 +24,36 @@ require 'date'
|
|
|
24
24
|
module Wallee
|
|
25
25
|
#
|
|
26
26
|
class ApplicationUserUpdate
|
|
27
|
-
# The
|
|
28
|
-
attr_accessor :
|
|
29
|
-
|
|
30
|
-
# The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.
|
|
31
|
-
attr_accessor :planned_purge_date
|
|
32
|
-
|
|
33
|
-
# The scope to which the user belongs to.
|
|
34
|
-
attr_accessor :scope
|
|
27
|
+
# The user name is used to identify the application user in administrative interfaces.
|
|
28
|
+
attr_accessor :name
|
|
35
29
|
|
|
36
30
|
#
|
|
37
31
|
attr_accessor :state
|
|
38
32
|
|
|
39
|
-
#
|
|
40
|
-
attr_accessor :
|
|
33
|
+
# The ID is the primary key of the entity. The ID identifies the entity uniquely.
|
|
34
|
+
attr_accessor :id
|
|
41
35
|
|
|
42
36
|
# The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
|
|
43
37
|
attr_accessor :version
|
|
44
38
|
|
|
45
|
-
# The user name is used to identify the application user in administrative interfaces.
|
|
46
|
-
attr_accessor :name
|
|
47
|
-
|
|
48
|
-
# The account that this user is associated with. The account owner will be able to manage this user.
|
|
49
|
-
attr_accessor :primary_account
|
|
50
|
-
|
|
51
39
|
|
|
52
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
53
41
|
def self.attribute_map
|
|
54
42
|
{
|
|
55
|
-
:'id' => :'id',
|
|
56
|
-
:'planned_purge_date' => :'plannedPurgeDate',
|
|
57
|
-
:'scope' => :'scope',
|
|
58
|
-
:'state' => :'state',
|
|
59
|
-
:'user_type' => :'userType',
|
|
60
|
-
:'version' => :'version',
|
|
61
43
|
:'name' => :'name',
|
|
62
|
-
:'
|
|
44
|
+
:'state' => :'state',
|
|
45
|
+
:'id' => :'id',
|
|
46
|
+
:'version' => :'version'
|
|
63
47
|
}
|
|
64
48
|
end
|
|
65
49
|
|
|
66
50
|
# Attribute type mapping.
|
|
67
51
|
def self.swagger_types
|
|
68
52
|
{
|
|
69
|
-
:'id' => :'Integer',
|
|
70
|
-
:'planned_purge_date' => :'DateTime',
|
|
71
|
-
:'scope' => :'Scope',
|
|
72
|
-
:'state' => :'CreationEntityState',
|
|
73
|
-
:'user_type' => :'UserType',
|
|
74
|
-
:'version' => :'Integer',
|
|
75
53
|
:'name' => :'String',
|
|
76
|
-
:'
|
|
54
|
+
:'state' => :'CreationEntityState',
|
|
55
|
+
:'id' => :'Integer',
|
|
56
|
+
:'version' => :'Integer'
|
|
77
57
|
}
|
|
78
58
|
end
|
|
79
59
|
|
|
@@ -85,38 +65,22 @@ module Wallee
|
|
|
85
65
|
# convert string to symbol for hash key
|
|
86
66
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
87
67
|
|
|
88
|
-
if attributes.has_key?(:'
|
|
89
|
-
self.
|
|
90
|
-
end
|
|
91
|
-
|
|
92
|
-
if attributes.has_key?(:'plannedPurgeDate')
|
|
93
|
-
self.planned_purge_date = attributes[:'plannedPurgeDate']
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
if attributes.has_key?(:'scope')
|
|
97
|
-
self.scope = attributes[:'scope']
|
|
68
|
+
if attributes.has_key?(:'name')
|
|
69
|
+
self.name = attributes[:'name']
|
|
98
70
|
end
|
|
99
71
|
|
|
100
72
|
if attributes.has_key?(:'state')
|
|
101
73
|
self.state = attributes[:'state']
|
|
102
74
|
end
|
|
103
75
|
|
|
104
|
-
if attributes.has_key?(:'
|
|
105
|
-
self.
|
|
76
|
+
if attributes.has_key?(:'id')
|
|
77
|
+
self.id = attributes[:'id']
|
|
106
78
|
end
|
|
107
79
|
|
|
108
80
|
if attributes.has_key?(:'version')
|
|
109
81
|
self.version = attributes[:'version']
|
|
110
82
|
end
|
|
111
83
|
|
|
112
|
-
if attributes.has_key?(:'name')
|
|
113
|
-
self.name = attributes[:'name']
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
if attributes.has_key?(:'primaryAccount')
|
|
117
|
-
self.primary_account = attributes[:'primaryAccount']
|
|
118
|
-
end
|
|
119
|
-
|
|
120
84
|
end
|
|
121
85
|
|
|
122
86
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -147,14 +111,10 @@ module Wallee
|
|
|
147
111
|
def ==(o)
|
|
148
112
|
return true if self.equal?(o)
|
|
149
113
|
self.class == o.class &&
|
|
150
|
-
id == o.id &&
|
|
151
|
-
planned_purge_date == o.planned_purge_date &&
|
|
152
|
-
scope == o.scope &&
|
|
153
|
-
state == o.state &&
|
|
154
|
-
user_type == o.user_type &&
|
|
155
|
-
version == o.version &&
|
|
156
114
|
name == o.name &&
|
|
157
|
-
|
|
115
|
+
state == o.state &&
|
|
116
|
+
id == o.id &&
|
|
117
|
+
version == o.version
|
|
158
118
|
end
|
|
159
119
|
|
|
160
120
|
# @see the `==` method
|
|
@@ -166,7 +126,7 @@ module Wallee
|
|
|
166
126
|
# Calculates hash code according to all attributes.
|
|
167
127
|
# @return [Fixnum] Hash code
|
|
168
128
|
def hash
|
|
169
|
-
[
|
|
129
|
+
[name, state, id, version].hash
|
|
170
130
|
end
|
|
171
131
|
|
|
172
132
|
# Builds the object from hash
|
|
@@ -60,6 +60,9 @@ module Wallee
|
|
|
60
60
|
#
|
|
61
61
|
attr_accessor :type
|
|
62
62
|
|
|
63
|
+
# The failure message describes for an end user why the charge is failed in the language of the user. This is only provided when the charge is marked as failed.
|
|
64
|
+
attr_accessor :user_failure_message
|
|
65
|
+
|
|
63
66
|
# The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
|
|
64
67
|
attr_accessor :version
|
|
65
68
|
|
|
@@ -79,6 +82,7 @@ module Wallee
|
|
|
79
82
|
:'timeout_on' => :'timeoutOn',
|
|
80
83
|
:'transaction' => :'transaction',
|
|
81
84
|
:'type' => :'type',
|
|
85
|
+
:'user_failure_message' => :'userFailureMessage',
|
|
82
86
|
:'version' => :'version'
|
|
83
87
|
}
|
|
84
88
|
end
|
|
@@ -98,6 +102,7 @@ module Wallee
|
|
|
98
102
|
:'timeout_on' => :'DateTime',
|
|
99
103
|
:'transaction' => :'Transaction',
|
|
100
104
|
:'type' => :'ChargeType',
|
|
105
|
+
:'user_failure_message' => :'String',
|
|
101
106
|
:'version' => :'Integer'
|
|
102
107
|
}
|
|
103
108
|
end
|
|
@@ -158,6 +163,10 @@ module Wallee
|
|
|
158
163
|
self.type = attributes[:'type']
|
|
159
164
|
end
|
|
160
165
|
|
|
166
|
+
if attributes.has_key?(:'userFailureMessage')
|
|
167
|
+
self.user_failure_message = attributes[:'userFailureMessage']
|
|
168
|
+
end
|
|
169
|
+
|
|
161
170
|
if attributes.has_key?(:'version')
|
|
162
171
|
self.version = attributes[:'version']
|
|
163
172
|
end
|
|
@@ -194,6 +203,7 @@ module Wallee
|
|
|
194
203
|
timeout_on == o.timeout_on &&
|
|
195
204
|
transaction == o.transaction &&
|
|
196
205
|
type == o.type &&
|
|
206
|
+
user_failure_message == o.user_failure_message &&
|
|
197
207
|
version == o.version
|
|
198
208
|
end
|
|
199
209
|
|
|
@@ -206,7 +216,7 @@ module Wallee
|
|
|
206
216
|
# Calculates hash code according to all attributes.
|
|
207
217
|
# @return [Fixnum] Hash code
|
|
208
218
|
def hash
|
|
209
|
-
[id, linked_space_id, linked_transaction, created_on, failure_reason, language, planned_purge_date, space_view_id, state, timeout_on, transaction, type, version].hash
|
|
219
|
+
[id, linked_space_id, linked_transaction, created_on, failure_reason, language, planned_purge_date, space_view_id, state, timeout_on, transaction, type, user_failure_message, version].hash
|
|
210
220
|
end
|
|
211
221
|
|
|
212
222
|
# Builds the object from hash
|
|
@@ -24,12 +24,6 @@ require 'date'
|
|
|
24
24
|
module Wallee
|
|
25
25
|
#
|
|
26
26
|
class DatabaseTranslatedStringCreate
|
|
27
|
-
#
|
|
28
|
-
attr_accessor :available_languages
|
|
29
|
-
|
|
30
|
-
#
|
|
31
|
-
attr_accessor :display_name
|
|
32
|
-
|
|
33
27
|
#
|
|
34
28
|
attr_accessor :items
|
|
35
29
|
|
|
@@ -37,8 +31,6 @@ module Wallee
|
|
|
37
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
38
32
|
def self.attribute_map
|
|
39
33
|
{
|
|
40
|
-
:'available_languages' => :'availableLanguages',
|
|
41
|
-
:'display_name' => :'displayName',
|
|
42
34
|
:'items' => :'items'
|
|
43
35
|
}
|
|
44
36
|
end
|
|
@@ -46,8 +38,6 @@ module Wallee
|
|
|
46
38
|
# Attribute type mapping.
|
|
47
39
|
def self.swagger_types
|
|
48
40
|
{
|
|
49
|
-
:'available_languages' => :'Array<String>',
|
|
50
|
-
:'display_name' => :'String',
|
|
51
41
|
:'items' => :'Array<DatabaseTranslatedStringItemCreate>'
|
|
52
42
|
}
|
|
53
43
|
end
|
|
@@ -60,16 +50,6 @@ module Wallee
|
|
|
60
50
|
# convert string to symbol for hash key
|
|
61
51
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
62
52
|
|
|
63
|
-
if attributes.has_key?(:'availableLanguages')
|
|
64
|
-
if (value = attributes[:'availableLanguages']).is_a?(Array)
|
|
65
|
-
self.available_languages = value
|
|
66
|
-
end
|
|
67
|
-
end
|
|
68
|
-
|
|
69
|
-
if attributes.has_key?(:'displayName')
|
|
70
|
-
self.display_name = attributes[:'displayName']
|
|
71
|
-
end
|
|
72
|
-
|
|
73
53
|
if attributes.has_key?(:'items')
|
|
74
54
|
if (value = attributes[:'items']).is_a?(Array)
|
|
75
55
|
self.items = value
|
|
@@ -96,8 +76,6 @@ module Wallee
|
|
|
96
76
|
def ==(o)
|
|
97
77
|
return true if self.equal?(o)
|
|
98
78
|
self.class == o.class &&
|
|
99
|
-
available_languages == o.available_languages &&
|
|
100
|
-
display_name == o.display_name &&
|
|
101
79
|
items == o.items
|
|
102
80
|
end
|
|
103
81
|
|
|
@@ -110,7 +88,7 @@ module Wallee
|
|
|
110
88
|
# Calculates hash code according to all attributes.
|
|
111
89
|
# @return [Fixnum] Hash code
|
|
112
90
|
def hash
|
|
113
|
-
[
|
|
91
|
+
[items].hash
|
|
114
92
|
end
|
|
115
93
|
|
|
116
94
|
# Builds the object from hash
|
|
@@ -27,9 +27,6 @@ module Wallee
|
|
|
27
27
|
#
|
|
28
28
|
attr_accessor :language
|
|
29
29
|
|
|
30
|
-
#
|
|
31
|
-
attr_accessor :language_code
|
|
32
|
-
|
|
33
30
|
#
|
|
34
31
|
attr_accessor :translation
|
|
35
32
|
|
|
@@ -38,7 +35,6 @@ module Wallee
|
|
|
38
35
|
def self.attribute_map
|
|
39
36
|
{
|
|
40
37
|
:'language' => :'language',
|
|
41
|
-
:'language_code' => :'languageCode',
|
|
42
38
|
:'translation' => :'translation'
|
|
43
39
|
}
|
|
44
40
|
end
|
|
@@ -47,7 +43,6 @@ module Wallee
|
|
|
47
43
|
def self.swagger_types
|
|
48
44
|
{
|
|
49
45
|
:'language' => :'String',
|
|
50
|
-
:'language_code' => :'String',
|
|
51
46
|
:'translation' => :'String'
|
|
52
47
|
}
|
|
53
48
|
end
|
|
@@ -64,10 +59,6 @@ module Wallee
|
|
|
64
59
|
self.language = attributes[:'language']
|
|
65
60
|
end
|
|
66
61
|
|
|
67
|
-
if attributes.has_key?(:'languageCode')
|
|
68
|
-
self.language_code = attributes[:'languageCode']
|
|
69
|
-
end
|
|
70
|
-
|
|
71
62
|
if attributes.has_key?(:'translation')
|
|
72
63
|
self.translation = attributes[:'translation']
|
|
73
64
|
end
|
|
@@ -98,7 +89,6 @@ module Wallee
|
|
|
98
89
|
return true if self.equal?(o)
|
|
99
90
|
self.class == o.class &&
|
|
100
91
|
language == o.language &&
|
|
101
|
-
language_code == o.language_code &&
|
|
102
92
|
translation == o.translation
|
|
103
93
|
end
|
|
104
94
|
|
|
@@ -111,7 +101,7 @@ module Wallee
|
|
|
111
101
|
# Calculates hash code according to all attributes.
|
|
112
102
|
# @return [Fixnum] Hash code
|
|
113
103
|
def hash
|
|
114
|
-
[language,
|
|
104
|
+
[language, translation].hash
|
|
115
105
|
end
|
|
116
106
|
|
|
117
107
|
# Builds the object from hash
|