korona-cloud-client 1.0.8 → 1.0.9
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 +156 -17
- data/docs/Account.md +7 -3
- data/docs/AdditionalReceiptInfoType.md +2 -4
- data/docs/AdditionalReceiptInfoTypesApi.md +363 -0
- data/docs/Assortment.md +2 -2
- data/docs/Attendance.md +2 -2
- data/docs/Cashier.md +2 -2
- data/docs/CashierRole.md +2 -2
- data/docs/CashierVerificationRequirement.md +2 -2
- data/docs/{CashierVerificationRequirementApi.md → CashierVerificationRequirementsApi.md} +51 -51
- data/docs/CommodityGroup.md +2 -2
- data/docs/ContraAccount.md +24 -0
- data/docs/ContraAccountsApi.md +524 -0
- data/docs/CostCenter.md +24 -0
- data/docs/CostCentersApi.md +524 -0
- data/docs/Currency.md +2 -2
- data/docs/Customer.md +5 -3
- data/docs/CustomerDisplayConfiguration.md +2 -2
- data/docs/CustomerGroup.md +2 -2
- data/docs/CustomerOrder.md +2 -2
- data/docs/DeliveryNote.md +2 -2
- data/docs/DeliveryNotesApi.md +73 -0
- data/docs/DeviceConfiguration.md +3 -1
- data/docs/DeviceConfigurationVariable.md +2 -2
- data/docs/DiscountConfiguration.md +32 -0
- data/docs/DiscountConfigurationsApi.md +524 -0
- data/docs/DiscountLevel.md +28 -0
- data/docs/DiscountLevelsApi.md +524 -0
- data/docs/DispatchNotification.md +8 -6
- data/docs/DispatchNotificationItem.md +5 -1
- data/docs/DispatchNotificationItemImport.md +30 -0
- data/docs/DispatchNotificationsApi.md +597 -8
- data/docs/EconomicZone.md +2 -2
- data/docs/EndOfDayStatement.md +2 -2
- data/docs/EntryGate.md +2 -2
- data/docs/Event.md +2 -2
- data/docs/ExternalSystemCall.md +2 -2
- data/docs/FiscalUnit.md +2 -2
- data/docs/InfoText.md +2 -2
- data/docs/Inventory.md +2 -2
- data/docs/InventoryList.md +2 -2
- data/docs/ItemSequence.md +26 -0
- data/docs/ItemSequencesApi.md +524 -0
- data/docs/KoronaAccount.md +5 -3
- data/docs/LanguageResource.md +28 -0
- data/docs/LanguagesApi.md +524 -0
- data/docs/Message.md +22 -0
- data/docs/MessagesApi.md +78 -0
- data/docs/ModelReference.md +1 -1
- data/docs/NumberRange.md +26 -0
- data/docs/NumberRangeConfiguration.md +28 -0
- data/docs/NumberRangeConfigurationsApi.md +305 -0
- data/docs/OrganizationalUnit.md +5 -3
- data/docs/PaymentMethod.md +9 -3
- data/docs/PaymentMethodCategoriesApi.md +524 -0
- data/docs/PaymentMethodCategory.md +26 -0
- data/docs/PointsOfSaleApi.md +11 -3
- data/docs/Pos.md +5 -3
- data/docs/PosBalance.md +2 -2
- data/docs/PosButtonFunction.md +3 -1
- data/docs/PosButtonLayout.md +2 -2
- data/docs/PosPageLayoutConfiguration.md +5 -3
- data/docs/PosProfile.md +15 -3
- data/docs/PriceGroup.md +2 -2
- data/docs/PriceRule.md +2 -2
- data/docs/Product.md +4 -2
- data/docs/ProductTransferInvolvedPartyInformationData.md +0 -2
- data/docs/ProductionType.md +2 -2
- data/docs/ProductionTypeSetting.md +18 -0
- data/docs/ProductsApi.md +75 -1
- data/docs/Promotion.md +2 -2
- data/docs/PromotionBenefitExtendedDiscountPositionSelectionFilter.md +13 -11
- data/docs/PromotionsApi.md +4 -4
- data/docs/Receipt.md +7 -3
- data/docs/ReceiptItem.md +5 -1
- data/docs/ReceiptItemReturnReason.md +18 -0
- data/docs/ReceiptLayoutConfiguration.md +2 -2
- data/docs/ReceiptsApi.md +78 -3
- data/docs/ReportFile.md +32 -0
- data/docs/ReportFilesApi.md +520 -0
- data/docs/ResultListContraAccount.md +28 -0
- data/docs/ResultListCostCenter.md +28 -0
- data/docs/ResultListDiscountConfiguration.md +28 -0
- data/docs/ResultListDiscountLevel.md +28 -0
- data/docs/ResultListItemSequence.md +28 -0
- data/docs/ResultListLanguageResource.md +28 -0
- data/docs/ResultListNumberRangeConfiguration.md +28 -0
- data/docs/ResultListPaymentMethodCategory.md +28 -0
- data/docs/ResultListReportFile.md +28 -0
- data/docs/ResultListRevenueAccount.md +28 -0
- data/docs/ResultListVoucherConfiguration.md +28 -0
- data/docs/ResultListVoucherResource.md +28 -0
- data/docs/ResultListVoucherTransactionResource.md +28 -0
- data/docs/RevenueAccount.md +26 -0
- data/docs/RevenueAccountsApi.md +524 -0
- data/docs/SalesTax.md +5 -3
- data/docs/Sector.md +2 -2
- data/docs/Service.md +3 -1
- data/docs/SpecialPriceConfiguration.md +2 -2
- data/docs/StockAdjustment.md +2 -2
- data/docs/StockOrder.md +2 -2
- data/docs/StockReceipt.md +3 -3
- data/docs/StockReceiptItemPurchasePrice.md +1 -1
- data/docs/StoreOrder.md +2 -2
- data/docs/StoreOrdersApi.md +10 -6
- data/docs/Supplier.md +2 -2
- data/docs/Tag.md +2 -2
- data/docs/TicketDefinition.md +2 -2
- data/docs/TicketingApi.md +148 -0
- data/docs/TimeTrackingApi.md +78 -78
- data/docs/TimeTrackingEntity.md +2 -2
- data/docs/TopSeller.md +1 -1
- data/docs/UserRole.md +2 -2
- data/docs/UserRolesApi.md +2 -0
- data/docs/VoidedReceiptItem.md +3 -1
- data/docs/VoucherConfiguration.md +50 -0
- data/docs/VoucherConfigurationDiscountCalculation.md +22 -0
- data/docs/VoucherConfigurationFollowUpProducts.md +22 -0
- data/docs/VoucherConfigurationsApi.md +522 -0
- data/docs/VoucherResource.md +36 -0
- data/docs/VoucherTransaction.md +3 -1
- data/docs/VoucherTransactionResource.md +60 -0
- data/docs/VouchersApi.md +1126 -0
- data/git_push.sh +3 -4
- data/korona-cloud-client.gemspec +2 -2
- data/lib/korona-cloud-client/api/accounts_api.rb +18 -6
- data/lib/korona-cloud-client/api/additional_receipt_info_types_api.rb +370 -2
- data/lib/korona-cloud-client/api/assortments_api.rb +18 -6
- data/lib/korona-cloud-client/api/cashier_roles_api.rb +18 -6
- data/lib/korona-cloud-client/api/{cashier_verification_requirement_api.rb → cashier_verification_requirements_api.rb} +54 -45
- data/lib/korona-cloud-client/api/cashiers_api.rb +18 -6
- data/lib/korona-cloud-client/api/commodity_groups_api.rb +18 -6
- data/lib/korona-cloud-client/api/contra_accounts_api.rb +536 -0
- data/lib/korona-cloud-client/api/cost_centers_api.rb +536 -0
- data/lib/korona-cloud-client/api/coupons_api.rb +2 -2
- data/lib/korona-cloud-client/api/currencies_api.rb +14 -5
- data/lib/korona-cloud-client/api/customer_display_configurations_api.rb +14 -5
- data/lib/korona-cloud-client/api/customer_groups_api.rb +18 -6
- data/lib/korona-cloud-client/api/customer_orders_api.rb +14 -5
- data/lib/korona-cloud-client/api/customers_api.rb +18 -6
- data/lib/korona-cloud-client/api/delivery_notes_api.rb +79 -3
- data/lib/korona-cloud-client/api/device_configuration_variables_api.rb +14 -5
- data/lib/korona-cloud-client/api/discount_configurations_api.rb +536 -0
- data/lib/korona-cloud-client/api/discount_levels_api.rb +536 -0
- data/lib/korona-cloud-client/api/dispatch_notifications_api.rb +620 -11
- data/lib/korona-cloud-client/api/economic_zones_api.rb +14 -5
- data/lib/korona-cloud-client/api/external_system_calls_api.rb +18 -6
- data/lib/korona-cloud-client/api/fiscal_units_api.rb +14 -5
- data/lib/korona-cloud-client/api/images_api.rb +2 -2
- data/lib/korona-cloud-client/api/info_texts_api.rb +14 -5
- data/lib/korona-cloud-client/api/inventories_api.rb +26 -8
- data/lib/korona-cloud-client/api/item_sequences_api.rb +536 -0
- data/lib/korona-cloud-client/api/korona_account_api.rb +2 -2
- data/lib/korona-cloud-client/api/languages_api.rb +536 -0
- data/lib/korona-cloud-client/api/messages_api.rb +94 -0
- data/lib/korona-cloud-client/api/number_range_configurations_api.rb +312 -0
- data/lib/korona-cloud-client/api/organizational_units_api.rb +30 -9
- data/lib/korona-cloud-client/api/payment_method_categories_api.rb +536 -0
- data/lib/korona-cloud-client/api/payment_methods_api.rb +18 -6
- data/lib/korona-cloud-client/api/points_of_sale_api.rb +36 -9
- data/lib/korona-cloud-client/api/pos_button_layouts_api.rb +18 -6
- data/lib/korona-cloud-client/api/pos_page_layout_configurations_api.rb +18 -6
- data/lib/korona-cloud-client/api/pos_profiles_api.rb +18 -6
- data/lib/korona-cloud-client/api/price_groups_api.rb +14 -5
- data/lib/korona-cloud-client/api/price_rules_api.rb +18 -6
- data/lib/korona-cloud-client/api/production_types_api.rb +14 -5
- data/lib/korona-cloud-client/api/products_api.rb +94 -6
- data/lib/korona-cloud-client/api/promotions_api.rb +22 -10
- data/lib/korona-cloud-client/api/receipt_layout_configurations_api.rb +18 -6
- data/lib/korona-cloud-client/api/receipts_api.rb +80 -4
- data/lib/korona-cloud-client/api/report_files_api.rb +532 -0
- data/lib/korona-cloud-client/api/revenue_accounts_api.rb +536 -0
- data/lib/korona-cloud-client/api/sales_taxes_api.rb +14 -5
- data/lib/korona-cloud-client/api/sectors_api.rb +14 -5
- data/lib/korona-cloud-client/api/special_price_configurations_api.rb +14 -5
- data/lib/korona-cloud-client/api/statistics_api.rb +2 -2
- data/lib/korona-cloud-client/api/stock_adjustments_api.rb +22 -7
- data/lib/korona-cloud-client/api/stock_orders_api.rb +2 -2
- data/lib/korona-cloud-client/api/stock_receipts_api.rb +22 -7
- data/lib/korona-cloud-client/api/store_orders_api.rb +40 -14
- data/lib/korona-cloud-client/api/suppliers_api.rb +14 -5
- data/lib/korona-cloud-client/api/tags_api.rb +18 -6
- data/lib/korona-cloud-client/api/ticketing_api.rb +188 -12
- data/lib/korona-cloud-client/api/time_tracking_api.rb +95 -89
- data/lib/korona-cloud-client/api/user_roles_api.rb +21 -6
- data/lib/korona-cloud-client/api/voucher_configurations_api.rb +534 -0
- data/lib/korona-cloud-client/api/vouchers_api.rb +1149 -0
- data/lib/korona-cloud-client/api_client.rb +8 -6
- data/lib/korona-cloud-client/api_error.rb +2 -2
- data/lib/korona-cloud-client/configuration.rb +6 -4
- data/lib/korona-cloud-client/models/account.rb +47 -16
- data/lib/korona-cloud-client/models/account_summary.rb +3 -2
- data/lib/korona-cloud-client/models/account_transaction.rb +3 -2
- data/lib/korona-cloud-client/models/add_or_update_result.rb +5 -4
- data/lib/korona-cloud-client/models/additional_info.rb +3 -2
- data/lib/korona-cloud-client/models/additional_receipt_info_type.rb +14 -28
- data/lib/korona-cloud-client/models/address_information.rb +3 -2
- data/lib/korona-cloud-client/models/admission.rb +3 -2
- data/lib/korona-cloud-client/models/amount.rb +3 -2
- data/lib/korona-cloud-client/models/amount_count_data.rb +3 -2
- data/lib/korona-cloud-client/models/assortment.rb +14 -13
- data/lib/korona-cloud-client/models/attendance.rb +14 -13
- data/lib/korona-cloud-client/models/bad_request_error.rb +3 -2
- data/lib/korona-cloud-client/models/capacity.rb +3 -2
- data/lib/korona-cloud-client/models/cashier.rb +14 -13
- data/lib/korona-cloud-client/models/cashier_role.rb +14 -13
- data/lib/korona-cloud-client/models/cashier_summary.rb +3 -2
- data/lib/korona-cloud-client/models/cashier_verification_requirement.rb +14 -13
- data/lib/korona-cloud-client/models/cashier_verification_result.rb +3 -2
- data/lib/korona-cloud-client/models/category.rb +3 -2
- data/lib/korona-cloud-client/models/cloud_subscription.rb +3 -2
- data/lib/korona-cloud-client/models/cloud_subscription_details.rb +5 -4
- data/lib/korona-cloud-client/models/commodity_group.rb +14 -13
- data/lib/korona-cloud-client/models/commodity_group_summary.rb +3 -2
- data/lib/korona-cloud-client/models/company_identification.rb +3 -2
- data/lib/korona-cloud-client/models/contra_account.rb +250 -0
- data/lib/korona-cloud-client/models/cost_center.rb +250 -0
- data/lib/korona-cloud-client/models/coupon.rb +3 -2
- data/lib/korona-cloud-client/models/coupon_position.rb +3 -2
- data/lib/korona-cloud-client/models/creation_task.rb +3 -2
- data/lib/korona-cloud-client/models/currency.rb +14 -13
- data/lib/korona-cloud-client/models/currency_denomination.rb +3 -2
- data/lib/korona-cloud-client/models/currency_exchange_rate.rb +3 -2
- data/lib/korona-cloud-client/models/customer.rb +26 -16
- data/lib/korona-cloud-client/models/customer_card.rb +3 -2
- data/lib/korona-cloud-client/models/customer_data.rb +3 -2
- data/lib/korona-cloud-client/models/customer_display_configuration.rb +19 -18
- data/lib/korona-cloud-client/models/customer_group.rb +14 -13
- data/lib/korona-cloud-client/models/customer_group_summary.rb +3 -2
- data/lib/korona-cloud-client/models/customer_information.rb +3 -2
- data/lib/korona-cloud-client/models/customer_order.rb +14 -13
- data/lib/korona-cloud-client/models/customer_order_item.rb +3 -2
- data/lib/korona-cloud-client/models/date_interval.rb +3 -2
- data/lib/korona-cloud-client/models/day_rating.rb +3 -2
- data/lib/korona-cloud-client/models/day_time_period.rb +3 -2
- data/lib/korona-cloud-client/models/delivery_note.rb +14 -13
- data/lib/korona-cloud-client/models/delivery_note_item.rb +3 -2
- data/lib/korona-cloud-client/models/deposit.rb +3 -2
- data/lib/korona-cloud-client/models/device_configuration.rb +26 -8
- data/lib/korona-cloud-client/models/device_configuration_variable.rb +14 -13
- data/lib/korona-cloud-client/models/device_configuration_variable_value.rb +3 -2
- data/lib/korona-cloud-client/models/device_information.rb +3 -2
- data/lib/korona-cloud-client/models/device_parameter_item.rb +3 -2
- data/lib/korona-cloud-client/models/discount.rb +3 -2
- data/lib/korona-cloud-client/models/discount_configuration.rb +290 -0
- data/lib/korona-cloud-client/models/discount_level.rb +268 -0
- data/lib/korona-cloud-client/models/dispatch_notification.rb +62 -18
- data/lib/korona-cloud-client/models/dispatch_notification_item.rb +25 -6
- data/lib/korona-cloud-client/models/dispatch_notification_item_amount.rb +3 -2
- data/lib/korona-cloud-client/models/dispatch_notification_item_container.rb +3 -2
- data/lib/korona-cloud-client/models/dispatch_notification_item_identification.rb +3 -2
- data/lib/korona-cloud-client/models/dispatch_notification_item_import.rb +279 -0
- data/lib/korona-cloud-client/models/economic_zone.rb +14 -13
- data/lib/korona-cloud-client/models/end_of_day_statement.rb +14 -13
- data/lib/korona-cloud-client/models/end_of_day_statement_summary.rb +3 -2
- data/lib/korona-cloud-client/models/entry_gate.rb +14 -13
- data/lib/korona-cloud-client/models/event.rb +14 -13
- data/lib/korona-cloud-client/models/external_system_call.rb +14 -13
- data/lib/korona-cloud-client/models/fiscal_transaction.rb +3 -2
- data/lib/korona-cloud-client/models/fiscal_unit.rb +14 -13
- data/lib/korona-cloud-client/models/fiscal_unit_certificate_info.rb +3 -2
- data/lib/korona-cloud-client/models/fiscal_unit_pre_configuration.rb +3 -2
- data/lib/korona-cloud-client/models/fiscal_unit_state.rb +3 -2
- data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level.rb +3 -2
- data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level_value.rb +3 -2
- data/lib/korona-cloud-client/models/fiscal_unit_state_version_info.rb +3 -2
- data/lib/korona-cloud-client/models/forbidden_error.rb +3 -2
- data/lib/korona-cloud-client/models/geo_location.rb +3 -2
- data/lib/korona-cloud-client/models/info_text.rb +16 -15
- data/lib/korona-cloud-client/models/interval.rb +3 -2
- data/lib/korona-cloud-client/models/inventory.rb +14 -13
- data/lib/korona-cloud-client/models/inventory_list.rb +14 -13
- data/lib/korona-cloud-client/models/inventory_list_item.rb +3 -2
- data/lib/korona-cloud-client/models/inventory_list_item_stock.rb +3 -2
- data/lib/korona-cloud-client/models/item_sequence.rb +259 -0
- data/lib/korona-cloud-client/models/korona_account.rb +26 -16
- data/lib/korona-cloud-client/models/language_resource.rb +268 -0
- data/lib/korona-cloud-client/models/media_url.rb +3 -2
- data/lib/korona-cloud-client/models/message.rb +287 -0
- data/lib/korona-cloud-client/models/method_not_allowed_error.rb +3 -2
- data/lib/korona-cloud-client/models/model_reference.rb +4 -3
- data/lib/korona-cloud-client/models/not_found_error.rb +3 -2
- data/lib/korona-cloud-client/models/number_range.rb +289 -0
- data/lib/korona-cloud-client/models/number_range_configuration.rb +270 -0
- data/lib/korona-cloud-client/models/opening_hours.rb +3 -2
- data/lib/korona-cloud-client/models/organizational_unit.rb +26 -16
- data/lib/korona-cloud-client/models/payment.rb +3 -2
- data/lib/korona-cloud-client/models/payment_method.rb +44 -16
- data/lib/korona-cloud-client/models/payment_method_category.rb +259 -0
- data/lib/korona-cloud-client/models/payment_service_configuration.rb +3 -2
- data/lib/korona-cloud-client/models/payment_summary.rb +3 -2
- data/lib/korona-cloud-client/models/payment_terminal_receipt.rb +3 -2
- data/lib/korona-cloud-client/models/period.rb +3 -2
- data/lib/korona-cloud-client/models/period_list_top_seller.rb +3 -2
- data/lib/korona-cloud-client/models/period_map_string_revenue_data.rb +3 -2
- data/lib/korona-cloud-client/models/period_object.rb +3 -2
- data/lib/korona-cloud-client/models/period_revenue_data.rb +3 -2
- data/lib/korona-cloud-client/models/pos.rb +38 -16
- data/lib/korona-cloud-client/models/pos_balance.rb +14 -13
- data/lib/korona-cloud-client/models/pos_balance_item.rb +3 -2
- data/lib/korona-cloud-client/models/pos_balance_summary.rb +3 -2
- data/lib/korona-cloud-client/models/pos_balance_summary_changeset.rb +3 -2
- data/lib/korona-cloud-client/models/pos_balance_total.rb +3 -2
- data/lib/korona-cloud-client/models/pos_button.rb +3 -2
- data/lib/korona-cloud-client/models/pos_button_function.rb +30 -8
- data/lib/korona-cloud-client/models/pos_button_layout.rb +14 -13
- data/lib/korona-cloud-client/models/pos_page_layout.rb +3 -2
- data/lib/korona-cloud-client/models/pos_page_layout_configuration.rb +26 -16
- data/lib/korona-cloud-client/models/pos_profile.rb +73 -16
- data/lib/korona-cloud-client/models/prepaid_card.rb +3 -2
- data/lib/korona-cloud-client/models/price_group.rb +14 -13
- data/lib/korona-cloud-client/models/price_rule.rb +14 -13
- data/lib/korona-cloud-client/models/price_rule_calculation.rb +3 -2
- data/lib/korona-cloud-client/models/price_rule_condition.rb +5 -4
- data/lib/korona-cloud-client/models/price_rule_time_validity_repetition_interval.rb +3 -2
- data/lib/korona-cloud-client/models/price_rule_validity_period.rb +3 -2
- data/lib/korona-cloud-client/models/product.rb +25 -15
- data/lib/korona-cloud-client/models/product_code.rb +3 -2
- data/lib/korona-cloud-client/models/product_description.rb +3 -2
- data/lib/korona-cloud-client/models/product_price.rb +3 -2
- data/lib/korona-cloud-client/models/product_special_price.rb +3 -2
- data/lib/korona-cloud-client/models/product_stock.rb +3 -2
- data/lib/korona-cloud-client/models/product_subproduct.rb +3 -2
- data/lib/korona-cloud-client/models/product_supplier_price.rb +3 -2
- data/lib/korona-cloud-client/models/product_transfer_involved_party_information.rb +3 -2
- data/lib/korona-cloud-client/models/product_transfer_involved_party_information_data.rb +4 -12
- data/lib/korona-cloud-client/models/production_type.rb +14 -13
- data/lib/korona-cloud-client/models/production_type_setting.rb +219 -0
- data/lib/korona-cloud-client/models/promotion.rb +14 -13
- data/lib/korona-cloud-client/models/promotion_application.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit_common_discount.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_discount_calculation.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_count_amount.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_value_comperator.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_filter.rb +89 -39
- data/lib/korona-cloud-client/models/promotion_benefit_reduce_product_amount.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_bonuspoint.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_bonuspoint_creation.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_fixed_discount.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_percentage_discount.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_tag_discount.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_coupon.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_coupon_validity.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_coupon_validity_days_after_purchase_interval.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_layer.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_stamp.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_trigger.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_trigger_product_amount_condition.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_trigger_receipt_product_amount_condition.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_trigger_receipt_revenue_condition.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_trigger_tag_amount_condition.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_trigger_tag_revenue_condition.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_validity.rb +3 -2
- data/lib/korona-cloud-client/models/rating.rb +3 -2
- data/lib/korona-cloud-client/models/receipt.rb +35 -13
- data/lib/korona-cloud-client/models/receipt_item.rb +25 -6
- data/lib/korona-cloud-client/models/receipt_item_return_reason.rb +219 -0
- data/lib/korona-cloud-client/models/receipt_layout_configuration.rb +14 -13
- data/lib/korona-cloud-client/models/receipt_max_revisions.rb +3 -2
- data/lib/korona-cloud-client/models/receipt_revenue.rb +3 -2
- data/lib/korona-cloud-client/models/receipt_total.rb +3 -2
- data/lib/korona-cloud-client/models/report_file.rb +337 -0
- data/lib/korona-cloud-client/models/result_list.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_account.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_additional_receipt_info_type.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_assortment.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_attendance.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_cashier.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_cashier_role.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_cashier_verification_requirement.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_commodity_group.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_contra_account.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_cost_center.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_coupon.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_creation_task.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_currency.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_customer.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_customer_display_configuration.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_customer_group.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_customer_order.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_day_rating.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_delivery_note.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_device_configuration_variable.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_discount_configuration.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_discount_level.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_dispatch_notification.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_dispatch_notification_item.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_economic_zone.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_end_of_day_statement.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_entry_gate.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_event.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_external_system_call.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_fiscal_unit.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_info_text.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_inventory.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_inventory_list.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_inventory_list_item.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_item_sequence.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_language_resource.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_number_range_configuration.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_organizational_unit.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_payment_method.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_payment_method_category.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_pos.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_pos_balance.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_pos_button_layout.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_pos_page_layout_configuration.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_pos_profile.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_price_group.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_price_rule.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_product.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_product_stock.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_production_type.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_promotion.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_receipt.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_receipt_layout_configuration.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_report_file.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_revenue_account.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_sales_tax.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_sector.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_special_price_configuration.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_stock_adjustment.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_stock_adjustment_item.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_stock_order.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_stock_order_item.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_stock_receipt.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_stock_receipt_item.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_store_order.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_store_order_item.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_supplier.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_tag.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_ticket.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_ticket_definition.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_time_tracking_entity.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_time_tracking_entry.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_user_role.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_voucher_configuration.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_voucher_resource.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_voucher_transaction_resource.rb +304 -0
- data/lib/korona-cloud-client/models/revenue_account.rb +259 -0
- data/lib/korona-cloud-client/models/revenue_data.rb +3 -2
- data/lib/korona-cloud-client/models/sales_tax.rb +26 -16
- data/lib/korona-cloud-client/models/sales_tax_rate.rb +3 -2
- data/lib/korona-cloud-client/models/sector.rb +14 -13
- data/lib/korona-cloud-client/models/sector_revenue_account_item.rb +3 -2
- data/lib/korona-cloud-client/models/sector_sales_tax_item.rb +3 -2
- data/lib/korona-cloud-client/models/service.rb +28 -6
- data/lib/korona-cloud-client/models/signature.rb +3 -2
- data/lib/korona-cloud-client/models/special_price.rb +3 -2
- data/lib/korona-cloud-client/models/special_price_configuration.rb +14 -13
- data/lib/korona-cloud-client/models/statistic.rb +3 -2
- data/lib/korona-cloud-client/models/statistic_list_top_seller.rb +3 -2
- data/lib/korona-cloud-client/models/statistic_map_string_revenue_data.rb +3 -2
- data/lib/korona-cloud-client/models/statistic_revenue_data.rb +3 -2
- data/lib/korona-cloud-client/models/stock_adjustment.rb +14 -13
- data/lib/korona-cloud-client/models/stock_adjustment_item.rb +3 -2
- data/lib/korona-cloud-client/models/stock_adjustment_item_reason.rb +5 -4
- data/lib/korona-cloud-client/models/stock_order.rb +14 -13
- data/lib/korona-cloud-client/models/stock_order_item.rb +3 -2
- data/lib/korona-cloud-client/models/stock_receipt.rb +14 -13
- data/lib/korona-cloud-client/models/stock_receipt_item.rb +3 -2
- data/lib/korona-cloud-client/models/stock_receipt_item_amount.rb +3 -2
- data/lib/korona-cloud-client/models/stock_receipt_item_identification.rb +3 -2
- data/lib/korona-cloud-client/models/stock_receipt_item_purchase_price.rb +3 -2
- data/lib/korona-cloud-client/models/store_order.rb +14 -13
- data/lib/korona-cloud-client/models/store_order_item.rb +3 -2
- data/lib/korona-cloud-client/models/supplier.rb +14 -13
- data/lib/korona-cloud-client/models/supplier_contact.rb +3 -2
- data/lib/korona-cloud-client/models/supplier_contact_person.rb +3 -2
- data/lib/korona-cloud-client/models/supplier_payment_information.rb +3 -2
- data/lib/korona-cloud-client/models/tag.rb +14 -13
- data/lib/korona-cloud-client/models/tax_payment.rb +3 -2
- data/lib/korona-cloud-client/models/tax_summary.rb +3 -2
- data/lib/korona-cloud-client/models/terminal_receipt_print_line.rb +3 -2
- data/lib/korona-cloud-client/models/ticket.rb +3 -2
- data/lib/korona-cloud-client/models/ticket_data.rb +3 -2
- data/lib/korona-cloud-client/models/ticket_definition.rb +14 -13
- data/lib/korona-cloud-client/models/ticket_personalization.rb +3 -2
- data/lib/korona-cloud-client/models/time_of_day_interval.rb +3 -2
- data/lib/korona-cloud-client/models/time_period.rb +3 -2
- data/lib/korona-cloud-client/models/time_tracking_entity.rb +14 -13
- data/lib/korona-cloud-client/models/time_tracking_entry.rb +3 -2
- data/lib/korona-cloud-client/models/too_many_requests_error.rb +3 -2
- data/lib/korona-cloud-client/models/top_seller.rb +4 -3
- data/lib/korona-cloud-client/models/total_period.rb +3 -2
- data/lib/korona-cloud-client/models/total_price.rb +3 -2
- data/lib/korona-cloud-client/models/user_role.rb +14 -13
- data/lib/korona-cloud-client/models/validity.rb +3 -2
- data/lib/korona-cloud-client/models/voided_receipt_item.rb +18 -6
- data/lib/korona-cloud-client/models/voucher_configuration.rb +401 -0
- data/lib/korona-cloud-client/models/voucher_configuration_discount_calculation.rb +271 -0
- data/lib/korona-cloud-client/models/voucher_configuration_follow_up_products.rb +237 -0
- data/lib/korona-cloud-client/models/voucher_resource.rb +306 -0
- data/lib/korona-cloud-client/models/voucher_transaction.rb +16 -6
- data/lib/korona-cloud-client/models/voucher_transaction_resource.rb +447 -0
- data/lib/korona-cloud-client/models/weather.rb +3 -2
- data/lib/korona-cloud-client/version.rb +3 -3
- data/lib/korona-cloud-client.rb +49 -4
- data/spec/api/accounts_api_spec.rb +2 -2
- data/spec/api/additional_receipt_info_types_api_spec.rb +66 -2
- data/spec/api/assortments_api_spec.rb +2 -2
- data/spec/api/cashier_roles_api_spec.rb +2 -2
- data/spec/api/{cashier_verification_requirement_api_spec.rb → cashier_verification_requirements_api_spec.rb} +18 -18
- data/spec/api/cashiers_api_spec.rb +2 -2
- data/spec/api/commodity_groups_api_spec.rb +2 -2
- data/spec/api/contra_accounts_api_spec.rb +128 -0
- data/spec/api/cost_centers_api_spec.rb +128 -0
- data/spec/api/coupons_api_spec.rb +2 -2
- data/spec/api/currencies_api_spec.rb +2 -2
- data/spec/api/customer_display_configurations_api_spec.rb +2 -2
- data/spec/api/customer_groups_api_spec.rb +2 -2
- data/spec/api/customer_orders_api_spec.rb +2 -2
- data/spec/api/customers_api_spec.rb +2 -2
- data/spec/api/delivery_notes_api_spec.rb +15 -2
- data/spec/api/device_configuration_variables_api_spec.rb +2 -2
- data/spec/api/discount_configurations_api_spec.rb +128 -0
- data/spec/api/discount_levels_api_spec.rb +128 -0
- data/spec/api/dispatch_notifications_api_spec.rb +109 -3
- data/spec/api/economic_zones_api_spec.rb +2 -2
- data/spec/api/external_system_calls_api_spec.rb +2 -2
- data/spec/api/fiscal_units_api_spec.rb +2 -2
- data/spec/api/images_api_spec.rb +2 -2
- data/spec/api/info_texts_api_spec.rb +2 -2
- data/spec/api/inventories_api_spec.rb +2 -2
- data/spec/api/item_sequences_api_spec.rb +128 -0
- data/spec/api/korona_account_api_spec.rb +2 -2
- data/spec/api/languages_api_spec.rb +128 -0
- data/spec/api/messages_api_spec.rb +47 -0
- data/spec/api/number_range_configurations_api_spec.rb +88 -0
- data/spec/api/organizational_units_api_spec.rb +2 -2
- data/spec/api/payment_method_categories_api_spec.rb +128 -0
- data/spec/api/payment_methods_api_spec.rb +2 -2
- data/spec/api/points_of_sale_api_spec.rb +7 -3
- data/spec/api/pos_button_layouts_api_spec.rb +2 -2
- data/spec/api/pos_page_layout_configurations_api_spec.rb +2 -2
- data/spec/api/pos_profiles_api_spec.rb +2 -2
- data/spec/api/price_groups_api_spec.rb +2 -2
- data/spec/api/price_rules_api_spec.rb +2 -2
- data/spec/api/production_types_api_spec.rb +2 -2
- data/spec/api/products_api_spec.rb +16 -2
- data/spec/api/promotions_api_spec.rb +4 -4
- data/spec/api/receipt_layout_configurations_api_spec.rb +2 -2
- data/spec/api/receipts_api_spec.rb +17 -3
- data/spec/api/report_files_api_spec.rb +126 -0
- data/spec/api/revenue_accounts_api_spec.rb +128 -0
- data/spec/api/sales_taxes_api_spec.rb +2 -2
- data/spec/api/sectors_api_spec.rb +2 -2
- data/spec/api/special_price_configurations_api_spec.rb +2 -2
- data/spec/api/statistics_api_spec.rb +2 -2
- data/spec/api/stock_adjustments_api_spec.rb +2 -2
- data/spec/api/stock_orders_api_spec.rb +2 -2
- data/spec/api/stock_receipts_api_spec.rb +2 -2
- data/spec/api/store_orders_api_spec.rb +5 -3
- data/spec/api/suppliers_api_spec.rb +2 -2
- data/spec/api/tags_api_spec.rb +2 -2
- data/spec/api/ticketing_api_spec.rb +28 -2
- data/spec/api/time_tracking_api_spec.rb +22 -22
- data/spec/api/user_roles_api_spec.rb +3 -2
- data/spec/api/voucher_configurations_api_spec.rb +127 -0
- data/spec/api/vouchers_api_spec.rb +240 -0
- data/spec/api_client_spec.rb +4 -4
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/account_spec.rb +20 -4
- data/spec/models/account_summary_spec.rb +2 -2
- data/spec/models/account_transaction_spec.rb +2 -2
- data/spec/models/add_or_update_result_spec.rb +3 -3
- data/spec/models/additional_info_spec.rb +2 -2
- data/spec/models/additional_receipt_info_type_spec.rb +4 -10
- data/spec/models/address_information_spec.rb +2 -2
- data/spec/models/admission_spec.rb +2 -2
- data/spec/models/amount_count_data_spec.rb +2 -2
- data/spec/models/amount_spec.rb +2 -2
- data/spec/models/assortment_spec.rb +4 -4
- data/spec/models/attendance_spec.rb +4 -4
- data/spec/models/bad_request_error_spec.rb +2 -2
- data/spec/models/capacity_spec.rb +2 -2
- data/spec/models/cashier_role_spec.rb +4 -4
- data/spec/models/cashier_spec.rb +4 -4
- data/spec/models/cashier_summary_spec.rb +2 -2
- data/spec/models/cashier_verification_requirement_spec.rb +4 -4
- data/spec/models/cashier_verification_result_spec.rb +2 -2
- data/spec/models/category_spec.rb +2 -2
- data/spec/models/cloud_subscription_details_spec.rb +3 -3
- data/spec/models/cloud_subscription_spec.rb +2 -2
- data/spec/models/commodity_group_spec.rb +4 -4
- data/spec/models/commodity_group_summary_spec.rb +2 -2
- data/spec/models/company_identification_spec.rb +2 -2
- data/spec/models/contra_account_spec.rb +52 -0
- data/spec/models/cost_center_spec.rb +52 -0
- data/spec/models/coupon_position_spec.rb +2 -2
- data/spec/models/coupon_spec.rb +2 -2
- data/spec/models/creation_task_spec.rb +2 -2
- data/spec/models/currency_denomination_spec.rb +2 -2
- data/spec/models/currency_exchange_rate_spec.rb +2 -2
- data/spec/models/currency_spec.rb +4 -4
- data/spec/models/customer_card_spec.rb +2 -2
- data/spec/models/customer_data_spec.rb +2 -2
- data/spec/models/customer_display_configuration_spec.rb +5 -5
- data/spec/models/customer_group_spec.rb +4 -4
- data/spec/models/customer_group_summary_spec.rb +2 -2
- data/spec/models/customer_information_spec.rb +2 -2
- data/spec/models/customer_order_item_spec.rb +2 -2
- data/spec/models/customer_order_spec.rb +4 -4
- data/spec/models/customer_spec.rb +10 -4
- data/spec/models/date_interval_spec.rb +2 -2
- data/spec/models/day_rating_spec.rb +2 -2
- data/spec/models/day_time_period_spec.rb +2 -2
- data/spec/models/delivery_note_item_spec.rb +2 -2
- data/spec/models/delivery_note_spec.rb +4 -4
- data/spec/models/deposit_spec.rb +2 -2
- data/spec/models/device_configuration_spec.rb +9 -3
- data/spec/models/device_configuration_variable_spec.rb +4 -4
- data/spec/models/device_configuration_variable_value_spec.rb +2 -2
- data/spec/models/device_information_spec.rb +2 -2
- data/spec/models/device_parameter_item_spec.rb +2 -2
- data/spec/models/discount_configuration_spec.rb +76 -0
- data/spec/models/discount_level_spec.rb +64 -0
- data/spec/models/discount_spec.rb +2 -2
- data/spec/models/dispatch_notification_item_amount_spec.rb +2 -2
- data/spec/models/dispatch_notification_item_container_spec.rb +2 -2
- data/spec/models/dispatch_notification_item_identification_spec.rb +2 -2
- data/spec/models/dispatch_notification_item_import_spec.rb +70 -0
- data/spec/models/dispatch_notification_item_spec.rb +14 -2
- data/spec/models/dispatch_notification_spec.rb +14 -4
- data/spec/models/economic_zone_spec.rb +4 -4
- data/spec/models/end_of_day_statement_spec.rb +4 -4
- data/spec/models/end_of_day_statement_summary_spec.rb +2 -2
- data/spec/models/entry_gate_spec.rb +4 -4
- data/spec/models/event_spec.rb +4 -4
- data/spec/models/external_system_call_spec.rb +4 -4
- data/spec/models/fiscal_transaction_spec.rb +2 -2
- data/spec/models/fiscal_unit_certificate_info_spec.rb +2 -2
- data/spec/models/fiscal_unit_pre_configuration_spec.rb +2 -2
- data/spec/models/fiscal_unit_spec.rb +4 -4
- data/spec/models/fiscal_unit_state_spec.rb +2 -2
- data/spec/models/fiscal_unit_state_usage_level_spec.rb +2 -2
- data/spec/models/fiscal_unit_state_usage_level_value_spec.rb +2 -2
- data/spec/models/fiscal_unit_state_version_info_spec.rb +2 -2
- data/spec/models/forbidden_error_spec.rb +2 -2
- data/spec/models/geo_location_spec.rb +2 -2
- data/spec/models/info_text_spec.rb +5 -5
- data/spec/models/interval_spec.rb +2 -2
- data/spec/models/inventory_list_item_spec.rb +2 -2
- data/spec/models/inventory_list_item_stock_spec.rb +2 -2
- data/spec/models/inventory_list_spec.rb +4 -4
- data/spec/models/inventory_spec.rb +4 -4
- data/spec/models/item_sequence_spec.rb +58 -0
- data/spec/models/korona_account_spec.rb +11 -5
- data/spec/models/language_resource_spec.rb +64 -0
- data/spec/models/media_url_spec.rb +2 -2
- data/spec/models/message_spec.rb +50 -0
- data/spec/models/method_not_allowed_error_spec.rb +2 -2
- data/spec/models/model_reference_spec.rb +2 -2
- data/spec/models/not_found_error_spec.rb +2 -2
- data/spec/models/number_range_configuration_spec.rb +64 -0
- data/spec/models/number_range_spec.rb +62 -0
- data/spec/models/opening_hours_spec.rb +2 -2
- data/spec/models/organizational_unit_spec.rb +10 -4
- data/spec/models/payment_method_category_spec.rb +58 -0
- data/spec/models/payment_method_spec.rb +22 -4
- data/spec/models/payment_service_configuration_spec.rb +2 -2
- data/spec/models/payment_spec.rb +2 -2
- data/spec/models/payment_summary_spec.rb +2 -2
- data/spec/models/payment_terminal_receipt_spec.rb +2 -2
- data/spec/models/period_list_top_seller_spec.rb +2 -2
- data/spec/models/period_map_string_revenue_data_spec.rb +2 -2
- data/spec/models/period_object_spec.rb +2 -2
- data/spec/models/period_revenue_data_spec.rb +2 -2
- data/spec/models/period_spec.rb +2 -2
- data/spec/models/pos_balance_item_spec.rb +2 -2
- data/spec/models/pos_balance_spec.rb +4 -4
- data/spec/models/pos_balance_summary_changeset_spec.rb +2 -2
- data/spec/models/pos_balance_summary_spec.rb +2 -2
- data/spec/models/pos_balance_total_spec.rb +2 -2
- data/spec/models/pos_button_function_spec.rb +13 -3
- data/spec/models/pos_button_layout_spec.rb +4 -4
- data/spec/models/pos_button_spec.rb +2 -2
- data/spec/models/pos_page_layout_configuration_spec.rb +10 -4
- data/spec/models/pos_page_layout_spec.rb +2 -2
- data/spec/models/pos_profile_spec.rb +40 -4
- data/spec/models/pos_spec.rb +14 -4
- data/spec/models/prepaid_card_spec.rb +2 -2
- data/spec/models/price_group_spec.rb +4 -4
- data/spec/models/price_rule_calculation_spec.rb +2 -2
- data/spec/models/price_rule_condition_spec.rb +3 -3
- data/spec/models/price_rule_spec.rb +4 -4
- data/spec/models/price_rule_time_validity_repetition_interval_spec.rb +2 -2
- data/spec/models/price_rule_validity_period_spec.rb +2 -2
- data/spec/models/product_code_spec.rb +2 -2
- data/spec/models/product_description_spec.rb +2 -2
- data/spec/models/product_price_spec.rb +2 -2
- data/spec/models/product_spec.rb +11 -5
- data/spec/models/product_special_price_spec.rb +2 -2
- data/spec/models/product_stock_spec.rb +2 -2
- data/spec/models/product_subproduct_spec.rb +2 -2
- data/spec/models/product_supplier_price_spec.rb +2 -2
- data/spec/models/product_transfer_involved_party_information_data_spec.rb +2 -8
- data/spec/models/product_transfer_involved_party_information_spec.rb +2 -2
- data/spec/models/production_type_setting_spec.rb +34 -0
- data/spec/models/production_type_spec.rb +4 -4
- data/spec/models/promotion_application_spec.rb +2 -2
- data/spec/models/promotion_benefit_common_discount_spec.rb +2 -2
- data/spec/models/promotion_benefit_extended_discount_discount_calculation_spec.rb +2 -2
- data/spec/models/{promotion_benefit_ext_discount_pos_selection_criteria_min_max_range_value_comp_spec.rb → promotion_benefit_extended_discount_position_comperator_spec.rb} +2 -2
- data/spec/models/promotion_benefit_extended_discount_position_selection_count_amount_spec.rb +2 -2
- data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_spec.rb +2 -2
- data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_spec.rb +2 -2
- data/spec/models/promotion_benefit_extended_discount_position_selection_filter_spec.rb +18 -12
- data/spec/models/promotion_benefit_extended_discount_position_selection_spec.rb +2 -2
- data/spec/models/promotion_benefit_extended_discount_spec.rb +2 -2
- data/spec/models/promotion_benefit_reduce_product_amount_spec.rb +2 -2
- data/spec/models/promotion_benefit_spec.rb +2 -2
- data/spec/models/promotion_bonuspoint_creation_spec.rb +2 -2
- data/spec/models/promotion_bonuspoint_redemption_fixed_discount_spec.rb +2 -2
- data/spec/models/promotion_bonuspoint_redemption_percentage_discount_spec.rb +2 -2
- data/spec/models/promotion_bonuspoint_redemption_spec.rb +2 -2
- data/spec/models/promotion_bonuspoint_redemption_tag_discount_spec.rb +2 -2
- data/spec/models/promotion_bonuspoint_spec.rb +2 -2
- data/spec/models/promotion_coupon_spec.rb +2 -2
- data/spec/models/promotion_coupon_validity_days_after_purchase_interval_spec.rb +2 -2
- data/spec/models/promotion_coupon_validity_spec.rb +2 -2
- data/spec/models/promotion_layer_spec.rb +2 -2
- data/spec/models/promotion_spec.rb +4 -4
- data/spec/models/promotion_stamp_spec.rb +2 -2
- data/spec/models/promotion_trigger_product_amount_condition_spec.rb +2 -2
- data/spec/models/promotion_trigger_receipt_product_amount_condition_spec.rb +2 -2
- data/spec/models/promotion_trigger_receipt_revenue_condition_spec.rb +2 -2
- data/spec/models/promotion_trigger_spec.rb +2 -2
- data/spec/models/promotion_trigger_tag_amount_condition_spec.rb +2 -2
- data/spec/models/promotion_trigger_tag_revenue_condition_spec.rb +2 -2
- data/spec/models/promotion_validity_spec.rb +2 -2
- data/spec/models/rating_spec.rb +2 -2
- data/spec/models/receipt_item_return_reason_spec.rb +34 -0
- data/spec/models/receipt_item_spec.rb +14 -2
- data/spec/models/receipt_layout_configuration_spec.rb +4 -4
- data/spec/models/receipt_max_revisions_spec.rb +2 -2
- data/spec/models/receipt_revenue_spec.rb +2 -2
- data/spec/models/receipt_spec.rb +16 -4
- data/spec/models/receipt_total_spec.rb +2 -2
- data/spec/models/report_file_spec.rb +80 -0
- data/spec/models/result_list_account_spec.rb +2 -2
- data/spec/models/result_list_additional_receipt_info_type_spec.rb +2 -2
- data/spec/models/result_list_assortment_spec.rb +2 -2
- data/spec/models/result_list_attendance_spec.rb +2 -2
- data/spec/models/result_list_cashier_role_spec.rb +2 -2
- data/spec/models/result_list_cashier_spec.rb +2 -2
- data/spec/models/result_list_cashier_verification_requirement_spec.rb +2 -2
- data/spec/models/result_list_commodity_group_spec.rb +2 -2
- data/spec/models/result_list_contra_account_spec.rb +64 -0
- data/spec/models/result_list_cost_center_spec.rb +64 -0
- data/spec/models/result_list_coupon_spec.rb +2 -2
- data/spec/models/result_list_creation_task_spec.rb +2 -2
- data/spec/models/result_list_currency_spec.rb +2 -2
- data/spec/models/result_list_customer_display_configuration_spec.rb +2 -2
- data/spec/models/result_list_customer_group_spec.rb +2 -2
- data/spec/models/result_list_customer_order_spec.rb +2 -2
- data/spec/models/result_list_customer_spec.rb +2 -2
- data/spec/models/result_list_day_rating_spec.rb +2 -2
- data/spec/models/result_list_delivery_note_spec.rb +2 -2
- data/spec/models/result_list_device_configuration_variable_spec.rb +2 -2
- data/spec/models/result_list_discount_configuration_spec.rb +64 -0
- data/spec/models/result_list_discount_level_spec.rb +64 -0
- data/spec/models/result_list_dispatch_notification_item_spec.rb +2 -2
- data/spec/models/result_list_dispatch_notification_spec.rb +2 -2
- data/spec/models/result_list_economic_zone_spec.rb +2 -2
- data/spec/models/result_list_end_of_day_statement_spec.rb +2 -2
- data/spec/models/result_list_entry_gate_spec.rb +2 -2
- data/spec/models/result_list_event_spec.rb +2 -2
- data/spec/models/result_list_external_system_call_spec.rb +2 -2
- data/spec/models/result_list_fiscal_unit_spec.rb +2 -2
- data/spec/models/result_list_info_text_spec.rb +2 -2
- data/spec/models/result_list_inventory_list_item_spec.rb +2 -2
- data/spec/models/result_list_inventory_list_spec.rb +2 -2
- data/spec/models/result_list_inventory_spec.rb +2 -2
- data/spec/models/result_list_item_sequence_spec.rb +64 -0
- data/spec/models/result_list_language_resource_spec.rb +64 -0
- data/spec/models/result_list_number_range_configuration_spec.rb +64 -0
- data/spec/models/result_list_organizational_unit_spec.rb +2 -2
- data/spec/models/result_list_payment_method_category_spec.rb +64 -0
- data/spec/models/result_list_payment_method_spec.rb +2 -2
- data/spec/models/result_list_pos_balance_spec.rb +2 -2
- data/spec/models/result_list_pos_button_layout_spec.rb +2 -2
- data/spec/models/result_list_pos_page_layout_configuration_spec.rb +2 -2
- data/spec/models/result_list_pos_profile_spec.rb +2 -2
- data/spec/models/result_list_pos_spec.rb +2 -2
- data/spec/models/result_list_price_group_spec.rb +2 -2
- data/spec/models/result_list_price_rule_spec.rb +2 -2
- data/spec/models/result_list_product_spec.rb +2 -2
- data/spec/models/result_list_product_stock_spec.rb +2 -2
- data/spec/models/result_list_production_type_spec.rb +2 -2
- data/spec/models/result_list_promotion_spec.rb +2 -2
- data/spec/models/result_list_receipt_layout_configuration_spec.rb +2 -2
- data/spec/models/result_list_receipt_spec.rb +2 -2
- data/spec/models/result_list_report_file_spec.rb +64 -0
- data/spec/models/result_list_revenue_account_spec.rb +64 -0
- data/spec/models/result_list_sales_tax_spec.rb +2 -2
- data/spec/models/result_list_sector_spec.rb +2 -2
- data/spec/models/result_list_spec.rb +2 -2
- data/spec/models/result_list_special_price_configuration_spec.rb +2 -2
- data/spec/models/result_list_stock_adjustment_item_spec.rb +2 -2
- data/spec/models/result_list_stock_adjustment_spec.rb +2 -2
- data/spec/models/result_list_stock_order_item_spec.rb +2 -2
- data/spec/models/result_list_stock_order_spec.rb +2 -2
- data/spec/models/result_list_stock_receipt_item_spec.rb +2 -2
- data/spec/models/result_list_stock_receipt_spec.rb +2 -2
- data/spec/models/result_list_store_order_item_spec.rb +2 -2
- data/spec/models/result_list_store_order_spec.rb +2 -2
- data/spec/models/result_list_supplier_spec.rb +2 -2
- data/spec/models/result_list_tag_spec.rb +2 -2
- data/spec/models/result_list_ticket_definition_spec.rb +2 -2
- data/spec/models/result_list_ticket_spec.rb +2 -2
- data/spec/models/result_list_time_tracking_entity_spec.rb +2 -2
- data/spec/models/result_list_time_tracking_entry_spec.rb +2 -2
- data/spec/models/result_list_user_role_spec.rb +2 -2
- data/spec/models/result_list_voucher_configuration_spec.rb +64 -0
- data/spec/models/result_list_voucher_resource_spec.rb +64 -0
- data/spec/models/result_list_voucher_transaction_resource_spec.rb +64 -0
- data/spec/models/revenue_account_spec.rb +58 -0
- data/spec/models/revenue_data_spec.rb +2 -2
- data/spec/models/sales_tax_rate_spec.rb +2 -2
- data/spec/models/sales_tax_spec.rb +10 -4
- data/spec/models/sector_revenue_account_item_spec.rb +2 -2
- data/spec/models/sector_sales_tax_item_spec.rb +2 -2
- data/spec/models/sector_spec.rb +4 -4
- data/spec/models/service_spec.rb +12 -2
- data/spec/models/signature_spec.rb +2 -2
- data/spec/models/special_price_configuration_spec.rb +4 -4
- data/spec/models/special_price_spec.rb +2 -2
- data/spec/models/statistic_list_top_seller_spec.rb +2 -2
- data/spec/models/statistic_map_string_revenue_data_spec.rb +2 -2
- data/spec/models/statistic_revenue_data_spec.rb +2 -2
- data/spec/models/statistic_spec.rb +2 -2
- data/spec/models/stock_adjustment_item_reason_spec.rb +3 -3
- data/spec/models/stock_adjustment_item_spec.rb +2 -2
- data/spec/models/stock_adjustment_spec.rb +4 -4
- data/spec/models/stock_order_item_spec.rb +2 -2
- data/spec/models/stock_order_spec.rb +4 -4
- data/spec/models/stock_receipt_item_amount_spec.rb +2 -2
- data/spec/models/stock_receipt_item_identification_spec.rb +2 -2
- data/spec/models/stock_receipt_item_purchase_price_spec.rb +2 -2
- data/spec/models/stock_receipt_item_spec.rb +2 -2
- data/spec/models/stock_receipt_spec.rb +4 -4
- data/spec/models/store_order_item_spec.rb +2 -2
- data/spec/models/store_order_spec.rb +4 -4
- data/spec/models/supplier_contact_person_spec.rb +2 -2
- data/spec/models/supplier_contact_spec.rb +2 -2
- data/spec/models/supplier_payment_information_spec.rb +2 -2
- data/spec/models/supplier_spec.rb +4 -4
- data/spec/models/tag_spec.rb +4 -4
- data/spec/models/tax_payment_spec.rb +2 -2
- data/spec/models/tax_summary_spec.rb +2 -2
- data/spec/models/terminal_receipt_print_line_spec.rb +2 -2
- data/spec/models/ticket_data_spec.rb +2 -2
- data/spec/models/ticket_definition_spec.rb +4 -4
- data/spec/models/ticket_personalization_spec.rb +2 -2
- data/spec/models/ticket_spec.rb +2 -2
- data/spec/models/time_of_day_interval_spec.rb +2 -2
- data/spec/models/time_period_spec.rb +2 -2
- data/spec/models/time_tracking_entity_spec.rb +4 -4
- data/spec/models/time_tracking_entry_spec.rb +2 -2
- data/spec/models/too_many_requests_error_spec.rb +2 -2
- data/spec/models/top_seller_spec.rb +2 -2
- data/spec/models/total_period_spec.rb +2 -2
- data/spec/models/total_price_spec.rb +2 -2
- data/spec/models/user_role_spec.rb +5 -5
- data/spec/models/validity_spec.rb +2 -2
- data/spec/models/voided_receipt_item_spec.rb +8 -2
- data/spec/models/voucher_configuration_discount_calculation_spec.rb +50 -0
- data/spec/models/voucher_configuration_follow_up_products_spec.rb +46 -0
- data/spec/models/voucher_configuration_spec.rb +134 -0
- data/spec/models/voucher_resource_spec.rb +88 -0
- data/spec/models/voucher_transaction_resource_spec.rb +164 -0
- data/spec/models/voucher_transaction_spec.rb +8 -2
- data/spec/models/weather_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +192 -12
- data/docs/TicketCreationApi.md +0 -155
- data/lib/korona-cloud-client/api/ticket_creation_api.rb +0 -165
- data/spec/api/ticket_creation_api_spec.rb +0 -61
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Our api provides access to our cloud services
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2.
|
|
6
|
+
The version of the OpenAPI document: 2.19.20
|
|
7
7
|
Contact: support@combase.net
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 6.0.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -21,12 +21,12 @@ module KoronaCloudClient
|
|
|
21
21
|
# global object uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
|
|
22
22
|
attr_accessor :id
|
|
23
23
|
|
|
24
|
-
# number of the object, like it is set in backoffice; will be removed when active=false
|
|
25
|
-
attr_accessor :number
|
|
26
|
-
|
|
27
24
|
# the revision number of the object. revision numbers are unique per object-type. there is is no object of the same type with identical revision numbers.
|
|
28
25
|
attr_accessor :revision
|
|
29
26
|
|
|
27
|
+
# number of the object, like it is set in backoffice; will be removed when active=false
|
|
28
|
+
attr_accessor :number
|
|
29
|
+
|
|
30
30
|
attr_accessor :cent_name
|
|
31
31
|
|
|
32
32
|
attr_accessor :decimal_places
|
|
@@ -48,8 +48,8 @@ module KoronaCloudClient
|
|
|
48
48
|
{
|
|
49
49
|
:'active' => :'active',
|
|
50
50
|
:'id' => :'id',
|
|
51
|
-
:'number' => :'number',
|
|
52
51
|
:'revision' => :'revision',
|
|
52
|
+
:'number' => :'number',
|
|
53
53
|
:'cent_name' => :'centName',
|
|
54
54
|
:'decimal_places' => :'decimalPlaces',
|
|
55
55
|
:'denominations' => :'denominations',
|
|
@@ -71,8 +71,8 @@ module KoronaCloudClient
|
|
|
71
71
|
{
|
|
72
72
|
:'active' => :'Boolean',
|
|
73
73
|
:'id' => :'String',
|
|
74
|
-
:'number' => :'String',
|
|
75
74
|
:'revision' => :'Integer',
|
|
75
|
+
:'number' => :'String',
|
|
76
76
|
:'cent_name' => :'String',
|
|
77
77
|
:'decimal_places' => :'Integer',
|
|
78
78
|
:'denominations' => :'Array<CurrencyDenomination>',
|
|
@@ -113,14 +113,14 @@ module KoronaCloudClient
|
|
|
113
113
|
self.id = attributes[:'id']
|
|
114
114
|
end
|
|
115
115
|
|
|
116
|
-
if attributes.key?(:'number')
|
|
117
|
-
self.number = attributes[:'number']
|
|
118
|
-
end
|
|
119
|
-
|
|
120
116
|
if attributes.key?(:'revision')
|
|
121
117
|
self.revision = attributes[:'revision']
|
|
122
118
|
end
|
|
123
119
|
|
|
120
|
+
if attributes.key?(:'number')
|
|
121
|
+
self.number = attributes[:'number']
|
|
122
|
+
end
|
|
123
|
+
|
|
124
124
|
if attributes.key?(:'cent_name')
|
|
125
125
|
self.cent_name = attributes[:'cent_name']
|
|
126
126
|
end
|
|
@@ -178,8 +178,8 @@ module KoronaCloudClient
|
|
|
178
178
|
self.class == o.class &&
|
|
179
179
|
active == o.active &&
|
|
180
180
|
id == o.id &&
|
|
181
|
-
number == o.number &&
|
|
182
181
|
revision == o.revision &&
|
|
182
|
+
number == o.number &&
|
|
183
183
|
cent_name == o.cent_name &&
|
|
184
184
|
decimal_places == o.decimal_places &&
|
|
185
185
|
denominations == o.denominations &&
|
|
@@ -199,7 +199,7 @@ module KoronaCloudClient
|
|
|
199
199
|
# Calculates hash code according to all attributes.
|
|
200
200
|
# @return [Integer] Hash code
|
|
201
201
|
def hash
|
|
202
|
-
[active, id,
|
|
202
|
+
[active, id, revision, number, cent_name, decimal_places, denominations, exchange_rates, key, name, system_currency, symbol].hash
|
|
203
203
|
end
|
|
204
204
|
|
|
205
205
|
# Builds the object from hash
|
|
@@ -214,6 +214,7 @@ module KoronaCloudClient
|
|
|
214
214
|
# @return [Object] Returns the model itself
|
|
215
215
|
def build_from_hash(attributes)
|
|
216
216
|
return nil unless attributes.is_a?(Hash)
|
|
217
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
217
218
|
self.class.openapi_types.each_pair do |key, type|
|
|
218
219
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
|
219
220
|
self.send("#{key}=", nil)
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Our api provides access to our cloud services
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2.
|
|
6
|
+
The version of the OpenAPI document: 2.19.20
|
|
7
7
|
Contact: support@combase.net
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 6.0.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -150,6 +150,7 @@ module KoronaCloudClient
|
|
|
150
150
|
# @return [Object] Returns the model itself
|
|
151
151
|
def build_from_hash(attributes)
|
|
152
152
|
return nil unless attributes.is_a?(Hash)
|
|
153
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
153
154
|
self.class.openapi_types.each_pair do |key, type|
|
|
154
155
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
|
155
156
|
self.send("#{key}=", nil)
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Our api provides access to our cloud services
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2.
|
|
6
|
+
The version of the OpenAPI document: 2.19.20
|
|
7
7
|
Contact: support@combase.net
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 6.0.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -117,6 +117,7 @@ module KoronaCloudClient
|
|
|
117
117
|
# @return [Object] Returns the model itself
|
|
118
118
|
def build_from_hash(attributes)
|
|
119
119
|
return nil unless attributes.is_a?(Hash)
|
|
120
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
120
121
|
self.class.openapi_types.each_pair do |key, type|
|
|
121
122
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
|
122
123
|
self.send("#{key}=", nil)
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Our api provides access to our cloud services
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2.
|
|
6
|
+
The version of the OpenAPI document: 2.19.20
|
|
7
7
|
Contact: support@combase.net
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 6.0.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -21,12 +21,12 @@ module KoronaCloudClient
|
|
|
21
21
|
# global object uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
|
|
22
22
|
attr_accessor :id
|
|
23
23
|
|
|
24
|
-
# number of the object, like it is set in backoffice; will be removed when active=false
|
|
25
|
-
attr_accessor :number
|
|
26
|
-
|
|
27
24
|
# the revision number of the object. revision numbers are unique per object-type. there is is no object of the same type with identical revision numbers.
|
|
28
25
|
attr_accessor :revision
|
|
29
26
|
|
|
27
|
+
# number of the object, like it is set in backoffice; will be removed when active=false
|
|
28
|
+
attr_accessor :number
|
|
29
|
+
|
|
30
30
|
attr_accessor :address
|
|
31
31
|
|
|
32
32
|
# Format: yyyy-MM-dd'T'HH:mm:ssXXX
|
|
@@ -68,6 +68,8 @@ module KoronaCloudClient
|
|
|
68
68
|
|
|
69
69
|
attr_accessor :use_email_for_digital_receipt
|
|
70
70
|
|
|
71
|
+
attr_accessor :lock_delivery_note_sales
|
|
72
|
+
|
|
71
73
|
class EnumAttributeValidator
|
|
72
74
|
attr_reader :datatype
|
|
73
75
|
attr_reader :allowable_values
|
|
@@ -95,8 +97,8 @@ module KoronaCloudClient
|
|
|
95
97
|
{
|
|
96
98
|
:'active' => :'active',
|
|
97
99
|
:'id' => :'id',
|
|
98
|
-
:'number' => :'number',
|
|
99
100
|
:'revision' => :'revision',
|
|
101
|
+
:'number' => :'number',
|
|
100
102
|
:'address' => :'address',
|
|
101
103
|
:'birthday' => :'birthday',
|
|
102
104
|
:'cards' => :'cards',
|
|
@@ -115,7 +117,8 @@ module KoronaCloudClient
|
|
|
115
117
|
:'marketing_contact_permitted' => :'marketingContactPermitted',
|
|
116
118
|
:'create_time' => :'createTime',
|
|
117
119
|
:'last_receipt_time' => :'lastReceiptTime',
|
|
118
|
-
:'use_email_for_digital_receipt' => :'useEmailForDigitalReceipt'
|
|
120
|
+
:'use_email_for_digital_receipt' => :'useEmailForDigitalReceipt',
|
|
121
|
+
:'lock_delivery_note_sales' => :'lockDeliveryNoteSales'
|
|
119
122
|
}
|
|
120
123
|
end
|
|
121
124
|
|
|
@@ -129,8 +132,8 @@ module KoronaCloudClient
|
|
|
129
132
|
{
|
|
130
133
|
:'active' => :'Boolean',
|
|
131
134
|
:'id' => :'String',
|
|
132
|
-
:'number' => :'String',
|
|
133
135
|
:'revision' => :'Integer',
|
|
136
|
+
:'number' => :'String',
|
|
134
137
|
:'address' => :'AddressInformation',
|
|
135
138
|
:'birthday' => :'Time',
|
|
136
139
|
:'cards' => :'Array<CustomerCard>',
|
|
@@ -149,7 +152,8 @@ module KoronaCloudClient
|
|
|
149
152
|
:'marketing_contact_permitted' => :'Boolean',
|
|
150
153
|
:'create_time' => :'Date',
|
|
151
154
|
:'last_receipt_time' => :'Date',
|
|
152
|
-
:'use_email_for_digital_receipt' => :'Boolean'
|
|
155
|
+
:'use_email_for_digital_receipt' => :'Boolean',
|
|
156
|
+
:'lock_delivery_note_sales' => :'Boolean'
|
|
153
157
|
}
|
|
154
158
|
end
|
|
155
159
|
|
|
@@ -182,14 +186,14 @@ module KoronaCloudClient
|
|
|
182
186
|
self.id = attributes[:'id']
|
|
183
187
|
end
|
|
184
188
|
|
|
185
|
-
if attributes.key?(:'number')
|
|
186
|
-
self.number = attributes[:'number']
|
|
187
|
-
end
|
|
188
|
-
|
|
189
189
|
if attributes.key?(:'revision')
|
|
190
190
|
self.revision = attributes[:'revision']
|
|
191
191
|
end
|
|
192
192
|
|
|
193
|
+
if attributes.key?(:'number')
|
|
194
|
+
self.number = attributes[:'number']
|
|
195
|
+
end
|
|
196
|
+
|
|
193
197
|
if attributes.key?(:'address')
|
|
194
198
|
self.address = attributes[:'address']
|
|
195
199
|
end
|
|
@@ -269,6 +273,10 @@ module KoronaCloudClient
|
|
|
269
273
|
if attributes.key?(:'use_email_for_digital_receipt')
|
|
270
274
|
self.use_email_for_digital_receipt = attributes[:'use_email_for_digital_receipt']
|
|
271
275
|
end
|
|
276
|
+
|
|
277
|
+
if attributes.key?(:'lock_delivery_note_sales')
|
|
278
|
+
self.lock_delivery_note_sales = attributes[:'lock_delivery_note_sales']
|
|
279
|
+
end
|
|
272
280
|
end
|
|
273
281
|
|
|
274
282
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -309,8 +317,8 @@ module KoronaCloudClient
|
|
|
309
317
|
self.class == o.class &&
|
|
310
318
|
active == o.active &&
|
|
311
319
|
id == o.id &&
|
|
312
|
-
number == o.number &&
|
|
313
320
|
revision == o.revision &&
|
|
321
|
+
number == o.number &&
|
|
314
322
|
address == o.address &&
|
|
315
323
|
birthday == o.birthday &&
|
|
316
324
|
cards == o.cards &&
|
|
@@ -329,7 +337,8 @@ module KoronaCloudClient
|
|
|
329
337
|
marketing_contact_permitted == o.marketing_contact_permitted &&
|
|
330
338
|
create_time == o.create_time &&
|
|
331
339
|
last_receipt_time == o.last_receipt_time &&
|
|
332
|
-
use_email_for_digital_receipt == o.use_email_for_digital_receipt
|
|
340
|
+
use_email_for_digital_receipt == o.use_email_for_digital_receipt &&
|
|
341
|
+
lock_delivery_note_sales == o.lock_delivery_note_sales
|
|
333
342
|
end
|
|
334
343
|
|
|
335
344
|
# @see the `==` method
|
|
@@ -341,7 +350,7 @@ module KoronaCloudClient
|
|
|
341
350
|
# Calculates hash code according to all attributes.
|
|
342
351
|
# @return [Integer] Hash code
|
|
343
352
|
def hash
|
|
344
|
-
[active, id,
|
|
353
|
+
[active, id, revision, number, address, birthday, cards, company, customer_group, economic_zone, email, external_id, firstname, gender, informations, lastname, phone, tax_id, privacy_policy_accepted, marketing_contact_permitted, create_time, last_receipt_time, use_email_for_digital_receipt, lock_delivery_note_sales].hash
|
|
345
354
|
end
|
|
346
355
|
|
|
347
356
|
# Builds the object from hash
|
|
@@ -356,6 +365,7 @@ module KoronaCloudClient
|
|
|
356
365
|
# @return [Object] Returns the model itself
|
|
357
366
|
def build_from_hash(attributes)
|
|
358
367
|
return nil unless attributes.is_a?(Hash)
|
|
368
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
359
369
|
self.class.openapi_types.each_pair do |key, type|
|
|
360
370
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
|
361
371
|
self.send("#{key}=", nil)
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Our api provides access to our cloud services
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2.
|
|
6
|
+
The version of the OpenAPI document: 2.19.20
|
|
7
7
|
Contact: support@combase.net
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 6.0.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -150,6 +150,7 @@ module KoronaCloudClient
|
|
|
150
150
|
# @return [Object] Returns the model itself
|
|
151
151
|
def build_from_hash(attributes)
|
|
152
152
|
return nil unless attributes.is_a?(Hash)
|
|
153
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
153
154
|
self.class.openapi_types.each_pair do |key, type|
|
|
154
155
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
|
155
156
|
self.send("#{key}=", nil)
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Our api provides access to our cloud services
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2.
|
|
6
|
+
The version of the OpenAPI document: 2.19.20
|
|
7
7
|
Contact: support@combase.net
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 6.0.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -116,6 +116,7 @@ module KoronaCloudClient
|
|
|
116
116
|
# @return [Object] Returns the model itself
|
|
117
117
|
def build_from_hash(attributes)
|
|
118
118
|
return nil unless attributes.is_a?(Hash)
|
|
119
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
119
120
|
self.class.openapi_types.each_pair do |key, type|
|
|
120
121
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
|
121
122
|
self.send("#{key}=", nil)
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Our api provides access to our cloud services
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2.
|
|
6
|
+
The version of the OpenAPI document: 2.19.20
|
|
7
7
|
Contact: support@combase.net
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 6.0.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -21,12 +21,12 @@ module KoronaCloudClient
|
|
|
21
21
|
# global object uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
|
|
22
22
|
attr_accessor :id
|
|
23
23
|
|
|
24
|
-
# number of the object, like it is set in backoffice; will be removed when active=false
|
|
25
|
-
attr_accessor :number
|
|
26
|
-
|
|
27
24
|
# the revision number of the object. revision numbers are unique per object-type. there is is no object of the same type with identical revision numbers.
|
|
28
25
|
attr_accessor :revision
|
|
29
26
|
|
|
27
|
+
# number of the object, like it is set in backoffice; will be removed when active=false
|
|
28
|
+
attr_accessor :number
|
|
29
|
+
|
|
30
30
|
attr_accessor :font_scale
|
|
31
31
|
|
|
32
32
|
attr_accessor :name
|
|
@@ -80,17 +80,17 @@ module KoronaCloudClient
|
|
|
80
80
|
{
|
|
81
81
|
:'active' => :'active',
|
|
82
82
|
:'id' => :'id',
|
|
83
|
-
:'number' => :'number',
|
|
84
83
|
:'revision' => :'revision',
|
|
84
|
+
:'number' => :'number',
|
|
85
85
|
:'font_scale' => :'fontScale',
|
|
86
86
|
:'name' => :'name',
|
|
87
|
-
:'booking_url' => :'
|
|
87
|
+
:'booking_url' => :'bookingUrl',
|
|
88
88
|
:'booking_image_id' => :'bookingImageId',
|
|
89
|
-
:'closed_url' => :'
|
|
89
|
+
:'closed_url' => :'closedUrl',
|
|
90
90
|
:'closed_text' => :'closedText',
|
|
91
91
|
:'closed_image_id' => :'closedImageId',
|
|
92
92
|
:'welcome_text' => :'welcomeText',
|
|
93
|
-
:'welcome_url' => :'
|
|
93
|
+
:'welcome_url' => :'welcomeUrl',
|
|
94
94
|
:'welcome_image_id' => :'welcomeImageId',
|
|
95
95
|
:'graphical_display' => :'graphicalDisplay',
|
|
96
96
|
:'layout_type' => :'layoutType',
|
|
@@ -108,8 +108,8 @@ module KoronaCloudClient
|
|
|
108
108
|
{
|
|
109
109
|
:'active' => :'Boolean',
|
|
110
110
|
:'id' => :'String',
|
|
111
|
-
:'number' => :'String',
|
|
112
111
|
:'revision' => :'Integer',
|
|
112
|
+
:'number' => :'String',
|
|
113
113
|
:'font_scale' => :'Integer',
|
|
114
114
|
:'name' => :'String',
|
|
115
115
|
:'booking_url' => :'String',
|
|
@@ -155,14 +155,14 @@ module KoronaCloudClient
|
|
|
155
155
|
self.id = attributes[:'id']
|
|
156
156
|
end
|
|
157
157
|
|
|
158
|
-
if attributes.key?(:'number')
|
|
159
|
-
self.number = attributes[:'number']
|
|
160
|
-
end
|
|
161
|
-
|
|
162
158
|
if attributes.key?(:'revision')
|
|
163
159
|
self.revision = attributes[:'revision']
|
|
164
160
|
end
|
|
165
161
|
|
|
162
|
+
if attributes.key?(:'number')
|
|
163
|
+
self.number = attributes[:'number']
|
|
164
|
+
end
|
|
165
|
+
|
|
166
166
|
if attributes.key?(:'font_scale')
|
|
167
167
|
self.font_scale = attributes[:'font_scale']
|
|
168
168
|
end
|
|
@@ -226,7 +226,7 @@ module KoronaCloudClient
|
|
|
226
226
|
# Check to see if the all the properties in the model are valid
|
|
227
227
|
# @return true if the model is valid
|
|
228
228
|
def valid?
|
|
229
|
-
graphical_display_validator = EnumAttributeValidator.new('String', ["NONE", "DISPLAY_1", "DISPLAY_2"])
|
|
229
|
+
graphical_display_validator = EnumAttributeValidator.new('String', ["NONE", "DISPLAY_1", "DISPLAY_2", "DISPLAY_3", "DISPLAY_4"])
|
|
230
230
|
return false unless graphical_display_validator.valid?(@graphical_display)
|
|
231
231
|
layout_type_validator = EnumAttributeValidator.new('String', ["AD_FULL", "AD_FULL_WITH_LINE_DISPLAY", "AD_LEFT", "AD_LEFT_HALF", "AD_NONE", "AD_RIGHT", "AD_RIGHT_HALF"])
|
|
232
232
|
return false unless layout_type_validator.valid?(@layout_type)
|
|
@@ -238,7 +238,7 @@ module KoronaCloudClient
|
|
|
238
238
|
# Custom attribute writer method checking allowed values (enum).
|
|
239
239
|
# @param [Object] graphical_display Object to be assigned
|
|
240
240
|
def graphical_display=(graphical_display)
|
|
241
|
-
validator = EnumAttributeValidator.new('String', ["NONE", "DISPLAY_1", "DISPLAY_2"])
|
|
241
|
+
validator = EnumAttributeValidator.new('String', ["NONE", "DISPLAY_1", "DISPLAY_2", "DISPLAY_3", "DISPLAY_4"])
|
|
242
242
|
unless validator.valid?(graphical_display)
|
|
243
243
|
fail ArgumentError, "invalid value for \"graphical_display\", must be one of #{validator.allowable_values}."
|
|
244
244
|
end
|
|
@@ -272,8 +272,8 @@ module KoronaCloudClient
|
|
|
272
272
|
self.class == o.class &&
|
|
273
273
|
active == o.active &&
|
|
274
274
|
id == o.id &&
|
|
275
|
-
number == o.number &&
|
|
276
275
|
revision == o.revision &&
|
|
276
|
+
number == o.number &&
|
|
277
277
|
font_scale == o.font_scale &&
|
|
278
278
|
name == o.name &&
|
|
279
279
|
booking_url == o.booking_url &&
|
|
@@ -298,7 +298,7 @@ module KoronaCloudClient
|
|
|
298
298
|
# Calculates hash code according to all attributes.
|
|
299
299
|
# @return [Integer] Hash code
|
|
300
300
|
def hash
|
|
301
|
-
[active, id,
|
|
301
|
+
[active, id, revision, number, font_scale, name, booking_url, booking_image_id, closed_url, closed_text, closed_image_id, welcome_text, welcome_url, welcome_image_id, graphical_display, layout_type, theme_color].hash
|
|
302
302
|
end
|
|
303
303
|
|
|
304
304
|
# Builds the object from hash
|
|
@@ -313,6 +313,7 @@ module KoronaCloudClient
|
|
|
313
313
|
# @return [Object] Returns the model itself
|
|
314
314
|
def build_from_hash(attributes)
|
|
315
315
|
return nil unless attributes.is_a?(Hash)
|
|
316
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
316
317
|
self.class.openapi_types.each_pair do |key, type|
|
|
317
318
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
|
318
319
|
self.send("#{key}=", nil)
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Our api provides access to our cloud services
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2.
|
|
6
|
+
The version of the OpenAPI document: 2.19.20
|
|
7
7
|
Contact: support@combase.net
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 6.0.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -21,12 +21,12 @@ module KoronaCloudClient
|
|
|
21
21
|
# global object uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
|
|
22
22
|
attr_accessor :id
|
|
23
23
|
|
|
24
|
-
# number of the object, like it is set in backoffice; will be removed when active=false
|
|
25
|
-
attr_accessor :number
|
|
26
|
-
|
|
27
24
|
# the revision number of the object. revision numbers are unique per object-type. there is is no object of the same type with identical revision numbers.
|
|
28
25
|
attr_accessor :revision
|
|
29
26
|
|
|
27
|
+
# number of the object, like it is set in backoffice; will be removed when active=false
|
|
28
|
+
attr_accessor :number
|
|
29
|
+
|
|
30
30
|
attr_accessor :name
|
|
31
31
|
|
|
32
32
|
attr_accessor :price_group
|
|
@@ -36,8 +36,8 @@ module KoronaCloudClient
|
|
|
36
36
|
{
|
|
37
37
|
:'active' => :'active',
|
|
38
38
|
:'id' => :'id',
|
|
39
|
-
:'number' => :'number',
|
|
40
39
|
:'revision' => :'revision',
|
|
40
|
+
:'number' => :'number',
|
|
41
41
|
:'name' => :'name',
|
|
42
42
|
:'price_group' => :'priceGroup'
|
|
43
43
|
}
|
|
@@ -53,8 +53,8 @@ module KoronaCloudClient
|
|
|
53
53
|
{
|
|
54
54
|
:'active' => :'Boolean',
|
|
55
55
|
:'id' => :'String',
|
|
56
|
-
:'number' => :'String',
|
|
57
56
|
:'revision' => :'Integer',
|
|
57
|
+
:'number' => :'String',
|
|
58
58
|
:'name' => :'String',
|
|
59
59
|
:'price_group' => :'ModelReference'
|
|
60
60
|
}
|
|
@@ -89,14 +89,14 @@ module KoronaCloudClient
|
|
|
89
89
|
self.id = attributes[:'id']
|
|
90
90
|
end
|
|
91
91
|
|
|
92
|
-
if attributes.key?(:'number')
|
|
93
|
-
self.number = attributes[:'number']
|
|
94
|
-
end
|
|
95
|
-
|
|
96
92
|
if attributes.key?(:'revision')
|
|
97
93
|
self.revision = attributes[:'revision']
|
|
98
94
|
end
|
|
99
95
|
|
|
96
|
+
if attributes.key?(:'number')
|
|
97
|
+
self.number = attributes[:'number']
|
|
98
|
+
end
|
|
99
|
+
|
|
100
100
|
if attributes.key?(:'name')
|
|
101
101
|
self.name = attributes[:'name']
|
|
102
102
|
end
|
|
@@ -126,8 +126,8 @@ module KoronaCloudClient
|
|
|
126
126
|
self.class == o.class &&
|
|
127
127
|
active == o.active &&
|
|
128
128
|
id == o.id &&
|
|
129
|
-
number == o.number &&
|
|
130
129
|
revision == o.revision &&
|
|
130
|
+
number == o.number &&
|
|
131
131
|
name == o.name &&
|
|
132
132
|
price_group == o.price_group
|
|
133
133
|
end
|
|
@@ -141,7 +141,7 @@ module KoronaCloudClient
|
|
|
141
141
|
# Calculates hash code according to all attributes.
|
|
142
142
|
# @return [Integer] Hash code
|
|
143
143
|
def hash
|
|
144
|
-
[active, id,
|
|
144
|
+
[active, id, revision, number, name, price_group].hash
|
|
145
145
|
end
|
|
146
146
|
|
|
147
147
|
# Builds the object from hash
|
|
@@ -156,6 +156,7 @@ module KoronaCloudClient
|
|
|
156
156
|
# @return [Object] Returns the model itself
|
|
157
157
|
def build_from_hash(attributes)
|
|
158
158
|
return nil unless attributes.is_a?(Hash)
|
|
159
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
159
160
|
self.class.openapi_types.each_pair do |key, type|
|
|
160
161
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
|
161
162
|
self.send("#{key}=", nil)
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Our api provides access to our cloud services
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2.
|
|
6
|
+
The version of the OpenAPI document: 2.19.20
|
|
7
7
|
Contact: support@combase.net
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 6.0.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -134,6 +134,7 @@ module KoronaCloudClient
|
|
|
134
134
|
# @return [Object] Returns the model itself
|
|
135
135
|
def build_from_hash(attributes)
|
|
136
136
|
return nil unless attributes.is_a?(Hash)
|
|
137
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
137
138
|
self.class.openapi_types.each_pair do |key, type|
|
|
138
139
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
|
139
140
|
self.send("#{key}=", nil)
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Our api provides access to our cloud services
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2.
|
|
6
|
+
The version of the OpenAPI document: 2.19.20
|
|
7
7
|
Contact: support@combase.net
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 6.0.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -126,6 +126,7 @@ module KoronaCloudClient
|
|
|
126
126
|
# @return [Object] Returns the model itself
|
|
127
127
|
def build_from_hash(attributes)
|
|
128
128
|
return nil unless attributes.is_a?(Hash)
|
|
129
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
129
130
|
self.class.openapi_types.each_pair do |key, type|
|
|
130
131
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
|
131
132
|
self.send("#{key}=", nil)
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Our api provides access to our cloud services
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2.
|
|
6
|
+
The version of the OpenAPI document: 2.19.20
|
|
7
7
|
Contact: support@combase.net
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 6.0.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -21,12 +21,12 @@ module KoronaCloudClient
|
|
|
21
21
|
# global object uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
|
|
22
22
|
attr_accessor :id
|
|
23
23
|
|
|
24
|
-
# number of the object, like it is set in backoffice; will be removed when active=false
|
|
25
|
-
attr_accessor :number
|
|
26
|
-
|
|
27
24
|
# the revision number of the object. revision numbers are unique per object-type. there is is no object of the same type with identical revision numbers.
|
|
28
25
|
attr_accessor :revision
|
|
29
26
|
|
|
27
|
+
# number of the object, like it is set in backoffice; will be removed when active=false
|
|
28
|
+
attr_accessor :number
|
|
29
|
+
|
|
30
30
|
# Format: yyyy-MM-dd'T'HH:mm:ssXXX
|
|
31
31
|
attr_accessor :booking_time
|
|
32
32
|
|
|
@@ -67,8 +67,8 @@ module KoronaCloudClient
|
|
|
67
67
|
{
|
|
68
68
|
:'active' => :'active',
|
|
69
69
|
:'id' => :'id',
|
|
70
|
-
:'number' => :'number',
|
|
71
70
|
:'revision' => :'revision',
|
|
71
|
+
:'number' => :'number',
|
|
72
72
|
:'booking_time' => :'bookingTime',
|
|
73
73
|
:'cashier' => :'cashier',
|
|
74
74
|
:'comment' => :'comment',
|
|
@@ -97,8 +97,8 @@ module KoronaCloudClient
|
|
|
97
97
|
{
|
|
98
98
|
:'active' => :'Boolean',
|
|
99
99
|
:'id' => :'String',
|
|
100
|
-
:'number' => :'String',
|
|
101
100
|
:'revision' => :'Integer',
|
|
101
|
+
:'number' => :'String',
|
|
102
102
|
:'booking_time' => :'Time',
|
|
103
103
|
:'cashier' => :'ModelReference',
|
|
104
104
|
:'comment' => :'String',
|
|
@@ -146,14 +146,14 @@ module KoronaCloudClient
|
|
|
146
146
|
self.id = attributes[:'id']
|
|
147
147
|
end
|
|
148
148
|
|
|
149
|
-
if attributes.key?(:'number')
|
|
150
|
-
self.number = attributes[:'number']
|
|
151
|
-
end
|
|
152
|
-
|
|
153
149
|
if attributes.key?(:'revision')
|
|
154
150
|
self.revision = attributes[:'revision']
|
|
155
151
|
end
|
|
156
152
|
|
|
153
|
+
if attributes.key?(:'number')
|
|
154
|
+
self.number = attributes[:'number']
|
|
155
|
+
end
|
|
156
|
+
|
|
157
157
|
if attributes.key?(:'booking_time')
|
|
158
158
|
self.booking_time = attributes[:'booking_time']
|
|
159
159
|
end
|
|
@@ -241,8 +241,8 @@ module KoronaCloudClient
|
|
|
241
241
|
self.class == o.class &&
|
|
242
242
|
active == o.active &&
|
|
243
243
|
id == o.id &&
|
|
244
|
-
number == o.number &&
|
|
245
244
|
revision == o.revision &&
|
|
245
|
+
number == o.number &&
|
|
246
246
|
booking_time == o.booking_time &&
|
|
247
247
|
cashier == o.cashier &&
|
|
248
248
|
comment == o.comment &&
|
|
@@ -269,7 +269,7 @@ module KoronaCloudClient
|
|
|
269
269
|
# Calculates hash code according to all attributes.
|
|
270
270
|
# @return [Integer] Hash code
|
|
271
271
|
def hash
|
|
272
|
-
[active, id,
|
|
272
|
+
[active, id, revision, number, booking_time, cashier, comment, create_time, customer, customer_data, deposits, finish_time, info_texts, items, organizational_unit, pick_up_time, point_of_sale, ready_for_pick_up, warehouse].hash
|
|
273
273
|
end
|
|
274
274
|
|
|
275
275
|
# Builds the object from hash
|
|
@@ -284,6 +284,7 @@ module KoronaCloudClient
|
|
|
284
284
|
# @return [Object] Returns the model itself
|
|
285
285
|
def build_from_hash(attributes)
|
|
286
286
|
return nil unless attributes.is_a?(Hash)
|
|
287
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
287
288
|
self.class.openapi_types.each_pair do |key, type|
|
|
288
289
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
|
289
290
|
self.send("#{key}=", nil)
|