korona-cloud-client 1.0.3 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +396 -26
- data/docs/Account.md +36 -29
- data/docs/AccountSummary.md +12 -11
- data/docs/AccountTransaction.md +20 -17
- data/docs/AccountsApi.md +426 -30
- data/docs/AddOrUpdateResult.md +20 -19
- data/docs/AdditionalInfo.md +10 -9
- data/docs/AdditionalReceiptInfoType.md +34 -35
- data/docs/AdditionalReceiptInfoTypesApi.md +426 -30
- data/docs/AddressInformation.md +22 -21
- data/docs/Admission.md +10 -9
- data/docs/Amount.md +16 -15
- data/docs/AmountCountData.md +10 -9
- data/docs/Assortment.md +22 -21
- data/docs/AssortmentsApi.md +204 -86
- data/docs/Attendance.md +26 -25
- data/docs/BadRequestError.md +10 -9
- data/docs/Capacity.md +10 -9
- data/docs/Cashier.md +46 -43
- data/docs/CashierRole.md +18 -17
- data/docs/CashierRolesApi.md +204 -86
- data/docs/CashierSummary.md +18 -17
- data/docs/CashierVerificationRequirement.md +36 -0
- data/docs/CashierVerificationRequirementsApi.md +378 -0
- data/docs/CashierVerificationResult.md +28 -0
- data/docs/CashiersApi.md +208 -90
- data/docs/Category.md +12 -11
- data/docs/CloudSubscription.md +10 -9
- data/docs/CloudSubscriptionDetails.md +10 -9
- data/docs/CommodityGroup.md +20 -17
- data/docs/CommodityGroupSummary.md +14 -13
- data/docs/CommodityGroupsApi.md +204 -86
- data/docs/CompanyIdentification.md +10 -9
- 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/Coupon.md +20 -0
- data/docs/CouponPosition.md +28 -0
- data/docs/CouponsApi.md +159 -0
- data/docs/CreationTask.md +28 -27
- data/docs/CurrenciesApi.md +149 -65
- data/docs/Currency.md +30 -29
- data/docs/CurrencyDenomination.md +10 -9
- data/docs/CurrencyExchangeRate.md +10 -9
- data/docs/Customer.md +54 -47
- data/docs/CustomerCard.md +10 -9
- data/docs/CustomerData.md +10 -9
- data/docs/CustomerDisplayConfiguration.md +50 -0
- data/docs/CustomerDisplayConfigurationsApi.md +450 -0
- data/docs/CustomerGroup.md +18 -17
- data/docs/CustomerGroupSummary.md +14 -13
- data/docs/CustomerGroupsApi.md +426 -30
- data/docs/CustomerInformation.md +12 -11
- data/docs/CustomerOrder.md +44 -43
- data/docs/CustomerOrderItem.md +46 -0
- data/docs/CustomerOrdersApi.md +192 -83
- data/docs/CustomersApi.md +204 -86
- data/docs/DateInterval.md +20 -0
- data/docs/DayRating.md +26 -25
- data/docs/DayTimePeriod.md +10 -9
- data/docs/DeliveryNote.md +38 -37
- data/docs/DeliveryNoteItem.md +22 -21
- data/docs/DeliveryNotesApi.md +230 -73
- data/docs/Deposit.md +16 -15
- data/docs/DeviceConfiguration.md +36 -0
- data/docs/DeviceConfigurationVariable.md +26 -0
- data/docs/DeviceConfigurationVariableValue.md +20 -0
- data/docs/DeviceConfigurationVariablesApi.md +448 -0
- data/docs/DeviceInformation.md +10 -9
- data/docs/DeviceParameterItem.md +22 -0
- data/docs/Discount.md +16 -11
- 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 +62 -0
- data/docs/DispatchNotificationItem.md +36 -0
- data/docs/DispatchNotificationItemAmount.md +20 -0
- data/docs/DispatchNotificationItemContainer.md +20 -0
- data/docs/DispatchNotificationItemIdentification.md +22 -0
- data/docs/DispatchNotificationItemImport.md +30 -0
- data/docs/DispatchNotificationsApi.md +918 -0
- data/docs/EconomicZone.md +16 -15
- data/docs/EconomicZonesApi.md +149 -65
- data/docs/EndOfDayStatement.md +24 -23
- data/docs/EndOfDayStatementSummary.md +18 -17
- data/docs/EntryGate.md +20 -19
- data/docs/Event.md +30 -29
- data/docs/ExternalSystemCall.md +34 -31
- data/docs/ExternalSystemCallsApi.md +204 -86
- data/docs/FiscalTransaction.md +34 -33
- data/docs/FiscalUnit.md +44 -41
- data/docs/FiscalUnitCertificateInfo.md +10 -9
- data/docs/FiscalUnitPreConfiguration.md +28 -0
- data/docs/FiscalUnitState.md +18 -17
- data/docs/FiscalUnitStateUsageLevel.md +14 -13
- data/docs/FiscalUnitStateUsageLevelValue.md +10 -9
- data/docs/FiscalUnitStateVersionInfo.md +12 -11
- data/docs/FiscalUnitsApi.md +152 -68
- data/docs/ForbiddenError.md +10 -9
- data/docs/GeoLocation.md +10 -9
- data/docs/ImagesApi.md +29 -13
- data/docs/InfoText.md +20 -17
- data/docs/InfoTextsApi.md +149 -65
- data/docs/Interval.md +10 -9
- data/docs/InventoriesApi.md +526 -217
- data/docs/Inventory.md +44 -43
- data/docs/InventoryList.md +38 -35
- data/docs/InventoryListItem.md +18 -17
- data/docs/InventoryListItemStock.md +10 -9
- data/docs/ItemSequence.md +26 -0
- data/docs/ItemSequencesApi.md +524 -0
- data/docs/KoronaAccount.md +30 -27
- data/docs/KoronaAccountApi.md +29 -13
- data/docs/LanguageResource.md +28 -0
- data/docs/LanguagesApi.md +524 -0
- data/docs/MediaUrl.md +8 -7
- data/docs/Message.md +22 -0
- data/docs/MessagesApi.md +78 -0
- data/docs/MethodNotAllowedError.md +10 -9
- data/docs/ModelReference.md +12 -11
- data/docs/NotFoundError.md +10 -9
- data/docs/NumberRange.md +26 -0
- data/docs/NumberRangeConfiguration.md +28 -0
- data/docs/NumberRangeConfigurationsApi.md +305 -0
- data/docs/OpeningHours.md +12 -11
- data/docs/OrganizationalUnit.md +36 -33
- data/docs/OrganizationalUnitsApi.md +721 -174
- data/docs/Payment.md +22 -15
- data/docs/PaymentMethod.md +44 -33
- data/docs/PaymentMethodCategoriesApi.md +524 -0
- data/docs/PaymentMethodCategory.md +26 -0
- data/docs/PaymentMethodsApi.md +426 -30
- data/docs/PaymentServiceConfiguration.md +26 -0
- data/docs/PaymentSummary.md +12 -11
- data/docs/PaymentTerminalReceipt.md +20 -0
- data/docs/Period.md +12 -11
- data/docs/PeriodListTopSeller.md +12 -11
- data/docs/PeriodMapStringRevenueData.md +12 -11
- data/docs/PeriodObject.md +12 -11
- data/docs/PeriodRevenueData.md +12 -11
- data/docs/PointsOfSaleApi.md +514 -136
- data/docs/Pos.md +78 -51
- data/docs/PosBalance.md +44 -0
- data/docs/PosBalanceItem.md +26 -0
- data/docs/PosBalanceSummary.md +22 -0
- data/docs/PosBalanceSummaryChangeset.md +26 -0
- data/docs/PosBalanceTotal.md +20 -0
- data/docs/PosButton.md +32 -0
- data/docs/PosButtonFunction.md +40 -0
- data/docs/PosButtonLayout.md +30 -0
- data/docs/PosButtonLayoutsApi.md +524 -0
- data/docs/PosPageLayout.md +26 -0
- data/docs/PosPageLayoutConfiguration.md +34 -0
- data/docs/PosPageLayoutConfigurationsApi.md +524 -0
- data/docs/PosProfile.md +110 -0
- data/docs/PosProfilesApi.md +524 -0
- data/docs/PrepaidCard.md +20 -0
- data/docs/PriceGroup.md +20 -19
- data/docs/PriceGroupsApi.md +149 -65
- data/docs/PriceRule.md +38 -0
- data/docs/PriceRuleCalculation.md +20 -0
- data/docs/PriceRuleCondition.md +30 -0
- data/docs/PriceRuleTimeValidityRepetitionInterval.md +20 -0
- data/docs/PriceRuleValidityPeriod.md +22 -0
- data/docs/PriceRulesApi.md +520 -0
- data/docs/Product.md +100 -93
- data/docs/ProductCode.md +12 -11
- data/docs/ProductDescription.md +12 -11
- data/docs/ProductPrice.md +16 -15
- data/docs/ProductSpecialPrice.md +22 -0
- data/docs/ProductStock.md +16 -15
- data/docs/ProductSubproduct.md +16 -11
- data/docs/ProductSupplierPrice.md +16 -15
- data/docs/ProductTransferInvolvedPartyInformation.md +18 -17
- data/docs/ProductTransferInvolvedPartyInformationData.md +10 -11
- data/docs/ProductionType.md +24 -23
- data/docs/ProductionTypeSetting.md +18 -0
- data/docs/ProductionTypesApi.md +149 -65
- data/docs/ProductsApi.md +330 -111
- data/docs/Promotion.md +44 -0
- data/docs/PromotionApplication.md +22 -0
- data/docs/PromotionBenefit.md +26 -0
- data/docs/PromotionBenefitCommonDiscount.md +34 -0
- data/docs/PromotionBenefitExtendedDiscount.md +20 -0
- data/docs/PromotionBenefitExtendedDiscountDiscountCalculation.md +28 -0
- data/docs/PromotionBenefitExtendedDiscountPositionSelection.md +24 -0
- data/docs/PromotionBenefitExtendedDiscountPositionSelectionCountAmount.md +20 -0
- data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteria.md +24 -0
- data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteriaMinMaxRange.md +20 -0
- data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteriaMinMaxRangeValueComperator.md +20 -0
- data/docs/PromotionBenefitExtendedDiscountPositionSelectionFilter.md +30 -0
- data/docs/PromotionBenefitReduceProductAmount.md +20 -0
- data/docs/PromotionBonuspoint.md +20 -0
- data/docs/PromotionBonuspointCreation.md +24 -0
- data/docs/PromotionBonuspointRedemption.md +24 -0
- data/docs/PromotionBonuspointRedemptionFixedDiscount.md +20 -0
- data/docs/PromotionBonuspointRedemptionPercentageDiscount.md +20 -0
- data/docs/PromotionBonuspointRedemptionTagDiscount.md +20 -0
- data/docs/PromotionCoupon.md +24 -0
- data/docs/PromotionCouponValidity.md +22 -0
- data/docs/PromotionCouponValidityDaysAfterPurchaseInterval.md +20 -0
- data/docs/PromotionLayer.md +20 -0
- data/docs/PromotionStamp.md +22 -0
- data/docs/PromotionTrigger.md +32 -0
- data/docs/PromotionTriggerProductAmountCondition.md +22 -0
- data/docs/PromotionTriggerReceiptProductAmountCondition.md +20 -0
- data/docs/PromotionTriggerReceiptRevenueCondition.md +20 -0
- data/docs/PromotionTriggerTagAmountCondition.md +22 -0
- data/docs/PromotionTriggerTagRevenueCondition.md +22 -0
- data/docs/PromotionValidity.md +26 -0
- data/docs/PromotionsApi.md +520 -0
- data/docs/Rating.md +12 -11
- data/docs/Receipt.md +86 -65
- data/docs/ReceiptItem.md +52 -33
- data/docs/ReceiptItemReturnReason.md +18 -0
- data/docs/ReceiptLayoutConfiguration.md +56 -0
- data/docs/ReceiptLayoutConfigurationsApi.md +524 -0
- data/docs/ReceiptMaxRevisions.md +18 -17
- data/docs/ReceiptRevenue.md +20 -0
- data/docs/ReceiptTotal.md +22 -0
- data/docs/ReceiptsApi.md +155 -47
- data/docs/ReportFile.md +32 -0
- data/docs/ReportFilesApi.md +520 -0
- data/docs/ResultList.md +18 -17
- data/docs/ResultListAccount.md +18 -17
- data/docs/ResultListAdditionalReceiptInfoType.md +18 -17
- data/docs/ResultListAssortment.md +18 -17
- data/docs/ResultListAttendance.md +18 -17
- data/docs/ResultListCashier.md +18 -17
- data/docs/ResultListCashierRole.md +18 -17
- data/docs/ResultListCashierVerificationRequirement.md +28 -0
- data/docs/ResultListCommodityGroup.md +18 -17
- data/docs/ResultListContraAccount.md +28 -0
- data/docs/ResultListCostCenter.md +28 -0
- data/docs/ResultListCoupon.md +28 -0
- data/docs/ResultListCreationTask.md +18 -17
- data/docs/ResultListCurrency.md +18 -17
- data/docs/ResultListCustomer.md +18 -17
- data/docs/ResultListCustomerDisplayConfiguration.md +28 -0
- data/docs/ResultListCustomerGroup.md +18 -17
- data/docs/ResultListCustomerOrder.md +18 -17
- data/docs/ResultListDayRating.md +18 -17
- data/docs/ResultListDeliveryNote.md +18 -17
- data/docs/ResultListDeviceConfigurationVariable.md +28 -0
- data/docs/ResultListDiscountConfiguration.md +28 -0
- data/docs/ResultListDiscountLevel.md +28 -0
- data/docs/ResultListDispatchNotification.md +28 -0
- data/docs/ResultListDispatchNotificationItem.md +28 -0
- data/docs/ResultListEconomicZone.md +18 -17
- data/docs/ResultListEndOfDayStatement.md +18 -17
- data/docs/ResultListEntryGate.md +18 -17
- data/docs/ResultListEvent.md +18 -17
- data/docs/ResultListExternalSystemCall.md +18 -17
- data/docs/ResultListFiscalUnit.md +18 -17
- data/docs/ResultListInfoText.md +18 -17
- data/docs/ResultListInventory.md +18 -17
- data/docs/ResultListInventoryList.md +18 -17
- data/docs/ResultListInventoryListItem.md +18 -17
- data/docs/ResultListItemSequence.md +28 -0
- data/docs/ResultListLanguageResource.md +28 -0
- data/docs/ResultListNumberRangeConfiguration.md +28 -0
- data/docs/ResultListOrganizationalUnit.md +18 -17
- data/docs/ResultListPaymentMethod.md +18 -17
- data/docs/ResultListPaymentMethodCategory.md +28 -0
- data/docs/ResultListPos.md +18 -17
- data/docs/ResultListPosBalance.md +28 -0
- data/docs/ResultListPosButtonLayout.md +28 -0
- data/docs/ResultListPosPageLayoutConfiguration.md +28 -0
- data/docs/ResultListPosProfile.md +28 -0
- data/docs/ResultListPriceGroup.md +18 -17
- data/docs/ResultListPriceRule.md +28 -0
- data/docs/ResultListProduct.md +18 -17
- data/docs/ResultListProductStock.md +18 -17
- data/docs/ResultListProductionType.md +18 -17
- data/docs/ResultListPromotion.md +28 -0
- data/docs/ResultListReceipt.md +18 -17
- data/docs/ResultListReceiptLayoutConfiguration.md +28 -0
- data/docs/ResultListReportFile.md +28 -0
- data/docs/ResultListRevenueAccount.md +28 -0
- data/docs/ResultListSalesTax.md +18 -17
- data/docs/ResultListSector.md +18 -17
- data/docs/ResultListSpecialPriceConfiguration.md +28 -0
- data/docs/ResultListStockAdjustment.md +28 -0
- data/docs/ResultListStockAdjustmentItem.md +28 -0
- data/docs/ResultListStockOrder.md +18 -17
- data/docs/ResultListStockOrderItem.md +28 -0
- data/docs/ResultListStockReceipt.md +18 -17
- data/docs/ResultListStockReceiptItem.md +18 -17
- data/docs/ResultListStoreOrder.md +28 -0
- data/docs/ResultListStoreOrderItem.md +28 -0
- data/docs/ResultListSupplier.md +18 -17
- data/docs/ResultListTag.md +18 -17
- data/docs/ResultListTicket.md +18 -17
- data/docs/ResultListTicketDefinition.md +18 -17
- data/docs/ResultListTimeTrackingEntity.md +18 -17
- data/docs/ResultListTimeTrackingEntry.md +18 -17
- data/docs/ResultListUserRole.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/RevenueData.md +16 -15
- data/docs/SalesTax.md +26 -23
- data/docs/SalesTaxRate.md +10 -9
- data/docs/SalesTaxesApi.md +149 -65
- data/docs/Sector.md +20 -19
- data/docs/SectorRevenueAccountItem.md +10 -9
- data/docs/SectorSalesTaxItem.md +10 -9
- data/docs/SectorsApi.md +149 -65
- data/docs/Service.md +12 -9
- data/docs/Signature.md +12 -11
- data/docs/SpecialPrice.md +22 -0
- data/docs/SpecialPriceConfiguration.md +32 -0
- data/docs/SpecialPriceConfigurationsApi.md +449 -0
- data/docs/Statistic.md +12 -11
- data/docs/StatisticListTopSeller.md +12 -11
- data/docs/StatisticMapStringRevenueData.md +12 -11
- data/docs/StatisticRevenueData.md +12 -11
- data/docs/StatisticsApi.md +123 -56
- data/docs/StockAdjustment.md +44 -0
- data/docs/StockAdjustmentItem.md +24 -0
- data/docs/StockAdjustmentItemReason.md +20 -0
- data/docs/StockAdjustmentsApi.md +834 -0
- data/docs/StockOrder.md +66 -63
- data/docs/StockOrderItem.md +30 -29
- data/docs/StockOrdersApi.md +263 -54
- data/docs/StockReceipt.md +54 -53
- data/docs/StockReceiptItem.md +20 -19
- data/docs/StockReceiptItemAmount.md +10 -9
- data/docs/StockReceiptItemIdentification.md +12 -11
- data/docs/StockReceiptItemPurchasePrice.md +10 -9
- data/docs/StockReceiptsApi.md +336 -150
- data/docs/StoreOrder.md +42 -0
- data/docs/StoreOrderItem.md +24 -0
- data/docs/StoreOrdersApi.md +840 -0
- data/docs/Supplier.md +32 -29
- data/docs/SupplierContact.md +14 -13
- data/docs/SupplierContactPerson.md +20 -19
- data/docs/SupplierPaymentInformation.md +24 -23
- data/docs/SuppliersApi.md +149 -65
- data/docs/Tag.md +16 -15
- data/docs/TagsApi.md +203 -85
- data/docs/TaxPayment.md +14 -13
- data/docs/TaxSummary.md +12 -11
- data/docs/TerminalReceiptPrintLine.md +20 -0
- data/docs/Ticket.md +20 -19
- data/docs/TicketData.md +28 -27
- data/docs/TicketDefinition.md +38 -29
- data/docs/TicketPersonalization.md +14 -13
- data/docs/TicketingApi.md +886 -310
- data/docs/TimeOfDayInterval.md +20 -0
- data/docs/TimePeriod.md +20 -19
- data/docs/TimeTrackingApi.md +214 -113
- data/docs/TimeTrackingEntity.md +18 -17
- data/docs/TimeTrackingEntry.md +20 -19
- data/docs/TooManyRequestsError.md +10 -9
- data/docs/TopSeller.md +16 -15
- data/docs/TotalPeriod.md +10 -9
- data/docs/TotalPrice.md +16 -15
- data/docs/UserRole.md +28 -0
- data/docs/UserRolesApi.md +520 -0
- data/docs/Validity.md +14 -13
- data/docs/VoidedReceiptItem.md +18 -15
- 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 +38 -0
- data/docs/VoucherTransactionResource.md +60 -0
- data/docs/VouchersApi.md +1126 -0
- data/docs/Weather.md +12 -11
- data/git_push.sh +3 -4
- data/korona-cloud-client.gemspec +3 -4
- data/lib/korona-cloud-client/api/accounts_api.rb +380 -10
- data/lib/korona-cloud-client/api/additional_receipt_info_types_api.rb +378 -8
- data/lib/korona-cloud-client/api/assortments_api.rb +46 -27
- data/lib/korona-cloud-client/api/cashier_roles_api.rb +46 -27
- data/lib/korona-cloud-client/api/cashier_verification_requirements_api.rb +387 -0
- data/lib/korona-cloud-client/api/cashiers_api.rb +46 -27
- data/lib/korona-cloud-client/api/commodity_groups_api.rb +46 -27
- 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 +165 -0
- data/lib/korona-cloud-client/api/currencies_api.rb +34 -20
- data/lib/korona-cloud-client/api/customer_display_configurations_api.rb +456 -0
- data/lib/korona-cloud-client/api/customer_groups_api.rb +378 -8
- data/lib/korona-cloud-client/api/customer_orders_api.rb +58 -31
- data/lib/korona-cloud-client/api/customers_api.rb +46 -27
- data/lib/korona-cloud-client/api/delivery_notes_api.rb +107 -26
- data/lib/korona-cloud-client/api/device_configuration_variables_api.rb +454 -0
- 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 +954 -0
- data/lib/korona-cloud-client/api/economic_zones_api.rb +34 -20
- data/lib/korona-cloud-client/api/external_system_calls_api.rb +46 -27
- data/lib/korona-cloud-client/api/fiscal_units_api.rb +34 -20
- data/lib/korona-cloud-client/api/images_api.rb +6 -5
- data/lib/korona-cloud-client/api/info_texts_api.rb +34 -20
- data/lib/korona-cloud-client/api/inventories_api.rb +241 -136
- data/lib/korona-cloud-client/api/item_sequences_api.rb +536 -0
- data/lib/korona-cloud-client/api/korona_account_api.rb +6 -5
- 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 +440 -54
- data/lib/korona-cloud-client/api/payment_method_categories_api.rb +536 -0
- data/lib/korona-cloud-client/api/payment_methods_api.rb +378 -8
- data/lib/korona-cloud-client/api/points_of_sale_api.rb +309 -45
- data/lib/korona-cloud-client/api/pos_button_layouts_api.rb +536 -0
- data/lib/korona-cloud-client/api/pos_page_layout_configurations_api.rb +536 -0
- data/lib/korona-cloud-client/api/pos_profiles_api.rb +536 -0
- data/lib/korona-cloud-client/api/price_groups_api.rb +34 -20
- data/lib/korona-cloud-client/api/price_rules_api.rb +532 -0
- data/lib/korona-cloud-client/api/production_types_api.rb +34 -20
- data/lib/korona-cloud-client/api/products_api.rb +135 -30
- data/lib/korona-cloud-client/api/promotions_api.rb +532 -0
- data/lib/korona-cloud-client/api/receipt_layout_configurations_api.rb +536 -0
- data/lib/korona-cloud-client/api/receipts_api.rb +100 -22
- 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 +34 -20
- data/lib/korona-cloud-client/api/sectors_api.rb +34 -20
- data/lib/korona-cloud-client/api/special_price_configurations_api.rb +454 -0
- data/lib/korona-cloud-client/api/statistics_api.rb +18 -14
- data/lib/korona-cloud-client/api/stock_adjustments_api.rb +875 -0
- data/lib/korona-cloud-client/api/stock_orders_api.rb +177 -19
- data/lib/korona-cloud-client/api/stock_receipts_api.rb +74 -48
- data/lib/korona-cloud-client/api/store_orders_api.rb +886 -0
- data/lib/korona-cloud-client/api/suppliers_api.rb +34 -20
- data/lib/korona-cloud-client/api/tags_api.rb +46 -27
- data/lib/korona-cloud-client/api/ticketing_api.rb +298 -91
- data/lib/korona-cloud-client/api/time_tracking_api.rb +112 -100
- data/lib/korona-cloud-client/api/user_roles_api.rb +532 -0
- 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 +57 -51
- data/lib/korona-cloud-client/api_error.rb +2 -2
- data/lib/korona-cloud-client/configuration.rb +43 -12
- data/lib/korona-cloud-client/models/account.rb +74 -22
- data/lib/korona-cloud-client/models/account_summary.rb +21 -8
- data/lib/korona-cloud-client/models/account_transaction.rb +44 -13
- data/lib/korona-cloud-client/models/add_or_update_result.rb +23 -10
- data/lib/korona-cloud-client/models/additional_info.rb +21 -8
- data/lib/korona-cloud-client/models/additional_receipt_info_type.rb +44 -28
- data/lib/korona-cloud-client/models/address_information.rb +21 -8
- data/lib/korona-cloud-client/models/admission.rb +21 -8
- data/lib/korona-cloud-client/models/amount.rb +21 -8
- data/lib/korona-cloud-client/models/amount_count_data.rb +21 -8
- data/lib/korona-cloud-client/models/assortment.rb +34 -20
- data/lib/korona-cloud-client/models/attendance.rb +36 -21
- data/lib/korona-cloud-client/models/bad_request_error.rb +23 -10
- data/lib/korona-cloud-client/models/capacity.rb +21 -8
- data/lib/korona-cloud-client/models/cashier.rb +51 -19
- data/lib/korona-cloud-client/models/cashier_role.rb +32 -19
- data/lib/korona-cloud-client/models/cashier_summary.rb +21 -8
- data/lib/korona-cloud-client/models/cashier_verification_requirement.rb +346 -0
- data/lib/korona-cloud-client/models/cashier_verification_result.rb +300 -0
- data/lib/korona-cloud-client/models/category.rb +21 -8
- data/lib/korona-cloud-client/models/cloud_subscription.rb +22 -9
- data/lib/korona-cloud-client/models/cloud_subscription_details.rb +23 -10
- data/lib/korona-cloud-client/models/commodity_group.rb +38 -16
- data/lib/korona-cloud-client/models/commodity_group_summary.rb +21 -8
- data/lib/korona-cloud-client/models/company_identification.rb +21 -8
- 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 +228 -0
- data/lib/korona-cloud-client/models/coupon_position.rb +280 -0
- data/lib/korona-cloud-client/models/creation_task.rb +23 -9
- data/lib/korona-cloud-client/models/currency.rb +32 -19
- data/lib/korona-cloud-client/models/currency_denomination.rb +21 -8
- data/lib/korona-cloud-client/models/currency_exchange_rate.rb +23 -9
- data/lib/korona-cloud-client/models/customer.rb +72 -23
- data/lib/korona-cloud-client/models/customer_card.rb +21 -8
- data/lib/korona-cloud-client/models/customer_data.rb +21 -8
- data/lib/korona-cloud-client/models/customer_display_configuration.rb +425 -0
- data/lib/korona-cloud-client/models/customer_group.rb +32 -19
- data/lib/korona-cloud-client/models/customer_group_summary.rb +21 -8
- data/lib/korona-cloud-client/models/customer_information.rb +23 -9
- data/lib/korona-cloud-client/models/customer_order.rb +42 -24
- data/lib/korona-cloud-client/models/customer_order_item.rb +359 -0
- data/lib/korona-cloud-client/models/date_interval.rb +230 -0
- data/lib/korona-cloud-client/models/day_rating.rb +23 -9
- data/lib/korona-cloud-client/models/day_time_period.rb +21 -8
- data/lib/korona-cloud-client/models/delivery_note.rb +36 -21
- data/lib/korona-cloud-client/models/delivery_note_item.rb +21 -8
- data/lib/korona-cloud-client/models/deposit.rb +23 -9
- data/lib/korona-cloud-client/models/device_configuration.rb +374 -0
- data/lib/korona-cloud-client/models/device_configuration_variable.rb +259 -0
- data/lib/korona-cloud-client/models/device_configuration_variable_value.rb +228 -0
- data/lib/korona-cloud-client/models/device_information.rb +23 -8
- data/lib/korona-cloud-client/models/device_parameter_item.rb +237 -0
- data/lib/korona-cloud-client/models/discount.rb +51 -18
- 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 +457 -0
- data/lib/korona-cloud-client/models/dispatch_notification_item.rb +301 -0
- data/lib/korona-cloud-client/models/dispatch_notification_item_amount.rb +228 -0
- data/lib/korona-cloud-client/models/dispatch_notification_item_container.rb +228 -0
- data/lib/korona-cloud-client/models/dispatch_notification_item_identification.rb +237 -0
- data/lib/korona-cloud-client/models/dispatch_notification_item_import.rb +279 -0
- data/lib/korona-cloud-client/models/economic_zone.rb +32 -19
- data/lib/korona-cloud-client/models/end_of_day_statement.rb +34 -20
- data/lib/korona-cloud-client/models/end_of_day_statement_summary.rb +57 -8
- data/lib/korona-cloud-client/models/entry_gate.rb +32 -19
- data/lib/korona-cloud-client/models/event.rb +46 -20
- data/lib/korona-cloud-client/models/external_system_call.rb +44 -22
- data/lib/korona-cloud-client/models/fiscal_transaction.rb +27 -11
- data/lib/korona-cloud-client/models/fiscal_unit.rb +45 -23
- data/lib/korona-cloud-client/models/fiscal_unit_certificate_info.rb +24 -10
- data/lib/korona-cloud-client/models/fiscal_unit_pre_configuration.rb +264 -0
- data/lib/korona-cloud-client/models/fiscal_unit_state.rb +21 -8
- data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level.rb +21 -8
- data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level_value.rb +21 -8
- data/lib/korona-cloud-client/models/fiscal_unit_state_version_info.rb +21 -8
- data/lib/korona-cloud-client/models/forbidden_error.rb +21 -8
- data/lib/korona-cloud-client/models/geo_location.rb +21 -8
- data/lib/korona-cloud-client/models/info_text.rb +46 -24
- data/lib/korona-cloud-client/models/interval.rb +25 -10
- data/lib/korona-cloud-client/models/inventory.rb +42 -21
- data/lib/korona-cloud-client/models/inventory_list.rb +49 -23
- data/lib/korona-cloud-client/models/inventory_list_item.rb +21 -8
- data/lib/korona-cloud-client/models/inventory_list_item_stock.rb +21 -8
- data/lib/korona-cloud-client/models/item_sequence.rb +259 -0
- data/lib/korona-cloud-client/models/korona_account.rb +50 -22
- data/lib/korona-cloud-client/models/language_resource.rb +268 -0
- data/lib/korona-cloud-client/models/media_url.rb +21 -8
- data/lib/korona-cloud-client/models/message.rb +287 -0
- data/lib/korona-cloud-client/models/method_not_allowed_error.rb +21 -8
- data/lib/korona-cloud-client/models/model_reference.rb +22 -9
- data/lib/korona-cloud-client/models/not_found_error.rb +21 -8
- 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 +23 -8
- data/lib/korona-cloud-client/models/organizational_unit.rb +50 -22
- data/lib/korona-cloud-client/models/payment.rb +58 -13
- data/lib/korona-cloud-client/models/payment_method.rb +80 -22
- data/lib/korona-cloud-client/models/payment_method_category.rb +259 -0
- data/lib/korona-cloud-client/models/payment_service_configuration.rb +289 -0
- data/lib/korona-cloud-client/models/payment_summary.rb +21 -8
- data/lib/korona-cloud-client/models/payment_terminal_receipt.rb +264 -0
- data/lib/korona-cloud-client/models/period.rb +25 -10
- data/lib/korona-cloud-client/models/period_list_top_seller.rb +25 -10
- data/lib/korona-cloud-client/models/period_map_string_revenue_data.rb +25 -10
- data/lib/korona-cloud-client/models/period_object.rb +25 -10
- data/lib/korona-cloud-client/models/period_revenue_data.rb +25 -10
- data/lib/korona-cloud-client/models/pos.rb +206 -19
- data/lib/korona-cloud-client/models/pos_balance.rb +366 -0
- data/lib/korona-cloud-client/models/pos_balance_item.rb +289 -0
- data/lib/korona-cloud-client/models/pos_balance_summary.rb +237 -0
- data/lib/korona-cloud-client/models/pos_balance_summary_changeset.rb +256 -0
- data/lib/korona-cloud-client/models/pos_balance_total.rb +228 -0
- data/lib/korona-cloud-client/models/pos_button.rb +330 -0
- data/lib/korona-cloud-client/models/pos_button_function.rb +388 -0
- data/lib/korona-cloud-client/models/pos_button_layout.rb +319 -0
- data/lib/korona-cloud-client/models/pos_page_layout.rb +289 -0
- data/lib/korona-cloud-client/models/pos_page_layout_configuration.rb +303 -0
- data/lib/korona-cloud-client/models/pos_profile.rb +715 -0
- data/lib/korona-cloud-client/models/prepaid_card.rb +228 -0
- data/lib/korona-cloud-client/models/price_group.rb +32 -19
- data/lib/korona-cloud-client/models/price_rule.rb +313 -0
- data/lib/korona-cloud-client/models/price_rule_calculation.rb +262 -0
- data/lib/korona-cloud-client/models/price_rule_condition.rb +307 -0
- data/lib/korona-cloud-client/models/price_rule_time_validity_repetition_interval.rb +262 -0
- data/lib/korona-cloud-client/models/price_rule_validity_period.rb +237 -0
- data/lib/korona-cloud-client/models/product.rb +73 -22
- data/lib/korona-cloud-client/models/product_code.rb +21 -8
- data/lib/korona-cloud-client/models/product_description.rb +21 -8
- data/lib/korona-cloud-client/models/product_price.rb +25 -9
- data/lib/korona-cloud-client/models/product_special_price.rb +238 -0
- data/lib/korona-cloud-client/models/product_stock.rb +21 -8
- data/lib/korona-cloud-client/models/product_subproduct.rb +77 -12
- data/lib/korona-cloud-client/models/product_supplier_price.rb +21 -8
- data/lib/korona-cloud-client/models/product_transfer_involved_party_information.rb +21 -8
- data/lib/korona-cloud-client/models/product_transfer_involved_party_information_data.rb +22 -18
- data/lib/korona-cloud-client/models/production_type.rb +34 -21
- data/lib/korona-cloud-client/models/production_type_setting.rb +219 -0
- data/lib/korona-cloud-client/models/promotion.rb +384 -0
- data/lib/korona-cloud-client/models/promotion_application.rb +237 -0
- data/lib/korona-cloud-client/models/promotion_benefit.rb +289 -0
- data/lib/korona-cloud-client/models/promotion_benefit_common_discount.rb +361 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount.rb +230 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_discount_calculation.rb +322 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection.rb +280 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_count_amount.rb +262 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria.rb +248 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range.rb +228 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_value_comperator.rb +228 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_filter.rb +347 -0
- data/lib/korona-cloud-client/models/promotion_benefit_reduce_product_amount.rb +228 -0
- data/lib/korona-cloud-client/models/promotion_bonuspoint.rb +228 -0
- data/lib/korona-cloud-client/models/promotion_bonuspoint_creation.rb +280 -0
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption.rb +280 -0
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_fixed_discount.rb +228 -0
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_percentage_discount.rb +228 -0
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_tag_discount.rb +228 -0
- data/lib/korona-cloud-client/models/promotion_coupon.rb +288 -0
- data/lib/korona-cloud-client/models/promotion_coupon_validity.rb +271 -0
- data/lib/korona-cloud-client/models/promotion_coupon_validity_days_after_purchase_interval.rb +228 -0
- data/lib/korona-cloud-client/models/promotion_layer.rb +228 -0
- data/lib/korona-cloud-client/models/promotion_stamp.rb +271 -0
- data/lib/korona-cloud-client/models/promotion_trigger.rb +299 -0
- data/lib/korona-cloud-client/models/promotion_trigger_product_amount_condition.rb +271 -0
- data/lib/korona-cloud-client/models/promotion_trigger_receipt_product_amount_condition.rb +262 -0
- data/lib/korona-cloud-client/models/promotion_trigger_receipt_revenue_condition.rb +262 -0
- data/lib/korona-cloud-client/models/promotion_trigger_tag_amount_condition.rb +271 -0
- data/lib/korona-cloud-client/models/promotion_trigger_tag_revenue_condition.rb +271 -0
- data/lib/korona-cloud-client/models/promotion_validity.rb +295 -0
- data/lib/korona-cloud-client/models/rating.rb +21 -8
- data/lib/korona-cloud-client/models/receipt.rb +157 -21
- data/lib/korona-cloud-client/models/receipt_item.rb +177 -37
- data/lib/korona-cloud-client/models/receipt_item_return_reason.rb +219 -0
- data/lib/korona-cloud-client/models/receipt_layout_configuration.rb +428 -0
- data/lib/korona-cloud-client/models/receipt_max_revisions.rb +21 -8
- data/lib/korona-cloud-client/models/receipt_revenue.rb +228 -0
- data/lib/korona-cloud-client/models/receipt_total.rb +237 -0
- data/lib/korona-cloud-client/models/report_file.rb +337 -0
- data/lib/korona-cloud-client/models/result_list.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_account.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_additional_receipt_info_type.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_assortment.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_attendance.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_cashier.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_cashier_role.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_cashier_verification_requirement.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_commodity_group.rb +21 -8
- 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 +304 -0
- data/lib/korona-cloud-client/models/result_list_creation_task.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_currency.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_customer.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_customer_display_configuration.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_customer_group.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_customer_order.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_day_rating.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_delivery_note.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_device_configuration_variable.rb +304 -0
- 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 +304 -0
- data/lib/korona-cloud-client/models/result_list_dispatch_notification_item.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_economic_zone.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_end_of_day_statement.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_entry_gate.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_event.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_external_system_call.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_fiscal_unit.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_info_text.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_inventory.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_inventory_list.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_inventory_list_item.rb +21 -8
- 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 +21 -8
- data/lib/korona-cloud-client/models/result_list_payment_method.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_payment_method_category.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_pos.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_pos_balance.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_pos_button_layout.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_pos_page_layout_configuration.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_pos_profile.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_price_group.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_price_rule.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_product.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_product_stock.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_production_type.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_promotion.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_receipt.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_receipt_layout_configuration.rb +304 -0
- 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 +21 -8
- data/lib/korona-cloud-client/models/result_list_sector.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_special_price_configuration.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_stock_adjustment.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_stock_adjustment_item.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_stock_order.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_stock_order_item.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_stock_receipt.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_stock_receipt_item.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_store_order.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_store_order_item.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_supplier.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_tag.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_ticket.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_ticket_definition.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_time_tracking_entity.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_time_tracking_entry.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_user_role.rb +304 -0
- 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 +21 -8
- data/lib/korona-cloud-client/models/sales_tax.rb +44 -22
- data/lib/korona-cloud-client/models/sales_tax_rate.rb +23 -9
- data/lib/korona-cloud-client/models/sector.rb +32 -19
- data/lib/korona-cloud-client/models/sector_revenue_account_item.rb +21 -8
- data/lib/korona-cloud-client/models/sector_sales_tax_item.rb +21 -8
- data/lib/korona-cloud-client/models/service.rb +46 -12
- data/lib/korona-cloud-client/models/signature.rb +23 -9
- data/lib/korona-cloud-client/models/special_price.rb +238 -0
- data/lib/korona-cloud-client/models/special_price_configuration.rb +296 -0
- data/lib/korona-cloud-client/models/statistic.rb +21 -8
- data/lib/korona-cloud-client/models/statistic_list_top_seller.rb +21 -8
- data/lib/korona-cloud-client/models/statistic_map_string_revenue_data.rb +21 -8
- data/lib/korona-cloud-client/models/statistic_revenue_data.rb +21 -8
- data/lib/korona-cloud-client/models/stock_adjustment.rb +376 -0
- data/lib/korona-cloud-client/models/stock_adjustment_item.rb +246 -0
- data/lib/korona-cloud-client/models/stock_adjustment_item_reason.rb +262 -0
- data/lib/korona-cloud-client/models/stock_order.rb +131 -104
- data/lib/korona-cloud-client/models/stock_order_item.rb +23 -9
- data/lib/korona-cloud-client/models/stock_receipt.rb +38 -22
- data/lib/korona-cloud-client/models/stock_receipt_item.rb +23 -9
- data/lib/korona-cloud-client/models/stock_receipt_item_amount.rb +21 -8
- data/lib/korona-cloud-client/models/stock_receipt_item_identification.rb +21 -8
- data/lib/korona-cloud-client/models/stock_receipt_item_purchase_price.rb +21 -8
- data/lib/korona-cloud-client/models/store_order.rb +334 -0
- data/lib/korona-cloud-client/models/store_order_item.rb +246 -0
- data/lib/korona-cloud-client/models/supplier.rb +44 -22
- data/lib/korona-cloud-client/models/supplier_contact.rb +21 -8
- data/lib/korona-cloud-client/models/supplier_contact_person.rb +21 -8
- data/lib/korona-cloud-client/models/supplier_payment_information.rb +21 -8
- data/lib/korona-cloud-client/models/tag.rb +32 -19
- data/lib/korona-cloud-client/models/tax_payment.rb +21 -8
- data/lib/korona-cloud-client/models/tax_summary.rb +21 -8
- data/lib/korona-cloud-client/models/terminal_receipt_print_line.rb +262 -0
- data/lib/korona-cloud-client/models/ticket.rb +25 -10
- data/lib/korona-cloud-client/models/ticket_data.rb +27 -10
- data/lib/korona-cloud-client/models/ticket_definition.rb +74 -19
- data/lib/korona-cloud-client/models/ticket_personalization.rb +21 -8
- data/lib/korona-cloud-client/models/time_of_day_interval.rb +230 -0
- data/lib/korona-cloud-client/models/time_period.rb +21 -8
- data/lib/korona-cloud-client/models/time_tracking_entity.rb +32 -19
- data/lib/korona-cloud-client/models/time_tracking_entry.rb +23 -9
- data/lib/korona-cloud-client/models/too_many_requests_error.rb +21 -8
- data/lib/korona-cloud-client/models/top_seller.rb +22 -9
- data/lib/korona-cloud-client/models/total_period.rb +25 -10
- data/lib/korona-cloud-client/models/total_price.rb +21 -8
- data/lib/korona-cloud-client/models/user_role.rb +292 -0
- data/lib/korona-cloud-client/models/validity.rb +27 -8
- data/lib/korona-cloud-client/models/voided_receipt_item.rb +36 -12
- 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 +345 -0
- data/lib/korona-cloud-client/models/voucher_transaction_resource.rb +447 -0
- data/lib/korona-cloud-client/models/weather.rb +21 -8
- data/lib/korona-cloud-client/version.rb +3 -3
- data/lib/korona-cloud-client.rb +165 -3
- data/spec/api/accounts_api_spec.rb +67 -3
- 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_requirements_api_spec.rb +101 -0
- data/spec/api/cashiers_api_spec.rb +68 -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 +63 -0
- data/spec/api/currencies_api_spec.rb +39 -2
- data/spec/api/customer_display_configurations_api_spec.rb +114 -0
- data/spec/api/customer_groups_api_spec.rb +66 -2
- data/spec/api/customer_orders_api_spec.rb +10 -6
- data/spec/api/customers_api_spec.rb +2 -2
- data/spec/api/delivery_notes_api_spec.rb +19 -6
- data/spec/api/device_configuration_variables_api_spec.rb +113 -0
- 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 +206 -0
- data/spec/api/economic_zones_api_spec.rb +39 -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 +39 -2
- data/spec/api/inventories_api_spec.rb +37 -24
- 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 +73 -10
- data/spec/api/payment_method_categories_api_spec.rb +128 -0
- data/spec/api/payment_methods_api_spec.rb +66 -2
- data/spec/api/points_of_sale_api_spec.rb +58 -8
- data/spec/api/pos_button_layouts_api_spec.rb +128 -0
- data/spec/api/pos_page_layout_configurations_api_spec.rb +128 -0
- data/spec/api/pos_profiles_api_spec.rb +128 -0
- data/spec/api/price_groups_api_spec.rb +39 -2
- data/spec/api/price_rules_api_spec.rb +126 -0
- data/spec/api/production_types_api_spec.rb +2 -2
- data/spec/api/products_api_spec.rb +19 -2
- data/spec/api/promotions_api_spec.rb +126 -0
- data/spec/api/receipt_layout_configurations_api_spec.rb +128 -0
- data/spec/api/receipts_api_spec.rb +23 -7
- 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 +39 -2
- data/spec/api/sectors_api_spec.rb +14 -2
- data/spec/api/special_price_configurations_api_spec.rb +113 -0
- data/spec/api/statistics_api_spec.rb +2 -2
- data/spec/api/stock_adjustments_api_spec.rb +190 -0
- data/spec/api/stock_orders_api_spec.rb +37 -6
- data/spec/api/stock_receipts_api_spec.rb +6 -6
- data/spec/api/store_orders_api_spec.rb +192 -0
- data/spec/api/suppliers_api_spec.rb +39 -2
- data/spec/api/tags_api_spec.rb +2 -2
- data/spec/api/ticketing_api_spec.rb +81 -4
- data/spec/api/time_tracking_api_spec.rb +24 -24
- data/spec/api/user_roles_api_spec.rb +126 -0
- 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 +30 -15
- data/spec/models/account_summary_spec.rb +5 -12
- data/spec/models/account_transaction_spec.rb +11 -12
- data/spec/models/add_or_update_result_spec.rb +8 -15
- data/spec/models/additional_info_spec.rb +5 -12
- data/spec/models/additional_receipt_info_type_spec.rb +7 -20
- data/spec/models/address_information_spec.rb +11 -12
- data/spec/models/admission_spec.rb +5 -12
- data/spec/models/amount_count_data_spec.rb +5 -12
- data/spec/models/amount_spec.rb +5 -12
- data/spec/models/assortment_spec.rb +7 -14
- data/spec/models/attendance_spec.rb +7 -14
- data/spec/models/bad_request_error_spec.rb +7 -14
- data/spec/models/capacity_spec.rb +5 -12
- data/spec/models/cashier_role_spec.rb +9 -16
- data/spec/models/cashier_spec.rb +47 -18
- data/spec/models/cashier_summary_spec.rb +5 -12
- data/spec/models/cashier_verification_requirement_spec.rb +92 -0
- data/spec/models/cashier_verification_result_spec.rb +68 -0
- data/spec/models/category_spec.rb +5 -12
- data/spec/models/cloud_subscription_details_spec.rb +7 -14
- data/spec/models/cloud_subscription_spec.rb +6 -13
- data/spec/models/commodity_group_spec.rb +12 -13
- data/spec/models/commodity_group_summary_spec.rb +5 -12
- data/spec/models/company_identification_spec.rb +5 -12
- 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 +64 -0
- data/spec/models/coupon_spec.rb +40 -0
- data/spec/models/creation_task_spec.rb +6 -13
- data/spec/models/currency_denomination_spec.rb +6 -13
- data/spec/models/currency_exchange_rate_spec.rb +5 -12
- data/spec/models/currency_spec.rb +7 -14
- data/spec/models/customer_card_spec.rb +6 -13
- data/spec/models/customer_data_spec.rb +5 -12
- data/spec/models/customer_display_configuration_spec.rb +142 -0
- data/spec/models/customer_group_spec.rb +7 -14
- data/spec/models/customer_group_summary_spec.rb +5 -12
- data/spec/models/customer_information_spec.rb +5 -12
- data/spec/models/customer_order_item_spec.rb +118 -0
- data/spec/models/customer_order_spec.rb +7 -14
- data/spec/models/customer_spec.rb +38 -15
- data/spec/models/date_interval_spec.rb +40 -0
- data/spec/models/day_rating_spec.rb +5 -12
- data/spec/models/day_time_period_spec.rb +5 -12
- data/spec/models/delivery_note_item_spec.rb +5 -12
- data/spec/models/delivery_note_spec.rb +7 -14
- data/spec/models/deposit_spec.rb +5 -12
- data/spec/models/device_configuration_spec.rb +100 -0
- data/spec/models/device_configuration_variable_spec.rb +58 -0
- data/spec/models/device_configuration_variable_value_spec.rb +40 -0
- data/spec/models/device_information_spec.rb +5 -12
- data/spec/models/device_parameter_item_spec.rb +46 -0
- data/spec/models/discount_configuration_spec.rb +76 -0
- data/spec/models/discount_level_spec.rb +64 -0
- data/spec/models/discount_spec.rb +18 -13
- data/spec/models/dispatch_notification_item_amount_spec.rb +40 -0
- data/spec/models/dispatch_notification_item_container_spec.rb +40 -0
- data/spec/models/dispatch_notification_item_identification_spec.rb +46 -0
- data/spec/models/dispatch_notification_item_import_spec.rb +70 -0
- data/spec/models/dispatch_notification_item_spec.rb +88 -0
- data/spec/models/dispatch_notification_spec.rb +170 -0
- data/spec/models/economic_zone_spec.rb +7 -14
- data/spec/models/end_of_day_statement_spec.rb +7 -14
- data/spec/models/end_of_day_statement_summary_spec.rb +5 -12
- data/spec/models/entry_gate_spec.rb +7 -14
- data/spec/models/event_spec.rb +7 -14
- data/spec/models/external_system_call_spec.rb +13 -14
- data/spec/models/fiscal_transaction_spec.rb +5 -12
- data/spec/models/fiscal_unit_certificate_info_spec.rb +5 -12
- data/spec/models/fiscal_unit_pre_configuration_spec.rb +64 -0
- data/spec/models/fiscal_unit_spec.rb +14 -15
- data/spec/models/fiscal_unit_state_spec.rb +6 -13
- data/spec/models/fiscal_unit_state_usage_level_spec.rb +5 -12
- data/spec/models/fiscal_unit_state_usage_level_value_spec.rb +5 -12
- data/spec/models/fiscal_unit_state_version_info_spec.rb +5 -12
- data/spec/models/forbidden_error_spec.rb +6 -13
- data/spec/models/geo_location_spec.rb +5 -12
- data/spec/models/info_text_spec.rb +15 -16
- data/spec/models/interval_spec.rb +5 -12
- data/spec/models/inventory_list_item_spec.rb +5 -12
- data/spec/models/inventory_list_item_stock_spec.rb +5 -12
- data/spec/models/inventory_list_spec.rb +14 -15
- data/spec/models/inventory_spec.rb +10 -17
- data/spec/models/item_sequence_spec.rb +58 -0
- data/spec/models/korona_account_spec.rb +20 -15
- data/spec/models/language_resource_spec.rb +64 -0
- data/spec/models/media_url_spec.rb +5 -12
- data/spec/models/message_spec.rb +50 -0
- data/spec/models/method_not_allowed_error_spec.rb +6 -13
- data/spec/models/model_reference_spec.rb +5 -12
- data/spec/models/not_found_error_spec.rb +6 -13
- 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 +6 -13
- data/spec/models/organizational_unit_spec.rb +26 -21
- data/spec/models/payment_method_category_spec.rb +58 -0
- data/spec/models/payment_method_spec.rb +43 -14
- data/spec/models/payment_service_configuration_spec.rb +62 -0
- data/spec/models/payment_spec.rb +23 -12
- data/spec/models/payment_summary_spec.rb +5 -12
- data/spec/models/payment_terminal_receipt_spec.rb +44 -0
- data/spec/models/period_list_top_seller_spec.rb +5 -12
- data/spec/models/period_map_string_revenue_data_spec.rb +5 -12
- data/spec/models/period_object_spec.rb +5 -12
- data/spec/models/period_revenue_data_spec.rb +5 -12
- data/spec/models/period_spec.rb +5 -12
- data/spec/models/pos_balance_item_spec.rb +62 -0
- data/spec/models/pos_balance_spec.rb +112 -0
- data/spec/models/pos_balance_summary_changeset_spec.rb +58 -0
- data/spec/models/pos_balance_summary_spec.rb +46 -0
- data/spec/models/pos_balance_total_spec.rb +40 -0
- data/spec/models/pos_button_function_spec.rb +116 -0
- data/spec/models/pos_button_layout_spec.rb +74 -0
- data/spec/models/pos_button_spec.rb +84 -0
- data/spec/models/pos_page_layout_configuration_spec.rb +82 -0
- data/spec/models/pos_page_layout_spec.rb +62 -0
- data/spec/models/pos_profile_spec.rb +318 -0
- data/spec/models/pos_spec.rb +112 -15
- data/spec/models/prepaid_card_spec.rb +40 -0
- data/spec/models/price_group_spec.rb +7 -14
- data/spec/models/price_rule_calculation_spec.rb +44 -0
- data/spec/models/price_rule_condition_spec.rb +74 -0
- data/spec/models/price_rule_spec.rb +94 -0
- data/spec/models/price_rule_time_validity_repetition_interval_spec.rb +44 -0
- data/spec/models/price_rule_validity_period_spec.rb +46 -0
- data/spec/models/product_code_spec.rb +5 -12
- data/spec/models/product_description_spec.rb +6 -13
- data/spec/models/product_price_spec.rb +5 -12
- data/spec/models/product_spec.rb +28 -17
- data/spec/models/product_special_price_spec.rb +46 -0
- data/spec/models/product_stock_spec.rb +5 -12
- data/spec/models/product_subproduct_spec.rb +21 -12
- data/spec/models/product_supplier_price_spec.rb +5 -12
- data/spec/models/product_transfer_involved_party_information_data_spec.rb +5 -18
- data/spec/models/product_transfer_involved_party_information_spec.rb +5 -12
- data/spec/models/production_type_setting_spec.rb +34 -0
- data/spec/models/production_type_spec.rb +10 -17
- data/spec/models/promotion_application_spec.rb +46 -0
- data/spec/models/promotion_benefit_common_discount_spec.rb +98 -0
- data/spec/models/promotion_benefit_extended_discount_discount_calculation_spec.rb +76 -0
- data/spec/models/promotion_benefit_extended_discount_position_comperator_spec.rb +40 -0
- data/spec/models/promotion_benefit_extended_discount_position_selection_count_amount_spec.rb +44 -0
- data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_spec.rb +40 -0
- data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_spec.rb +52 -0
- data/spec/models/promotion_benefit_extended_discount_position_selection_filter_spec.rb +74 -0
- data/spec/models/promotion_benefit_extended_discount_position_selection_spec.rb +56 -0
- data/spec/models/promotion_benefit_extended_discount_spec.rb +40 -0
- data/spec/models/promotion_benefit_reduce_product_amount_spec.rb +40 -0
- data/spec/models/promotion_benefit_spec.rb +62 -0
- data/spec/models/promotion_bonuspoint_creation_spec.rb +56 -0
- data/spec/models/promotion_bonuspoint_redemption_fixed_discount_spec.rb +40 -0
- data/spec/models/promotion_bonuspoint_redemption_percentage_discount_spec.rb +40 -0
- data/spec/models/promotion_bonuspoint_redemption_spec.rb +56 -0
- data/spec/models/promotion_bonuspoint_redemption_tag_discount_spec.rb +40 -0
- data/spec/models/promotion_bonuspoint_spec.rb +40 -0
- data/spec/models/promotion_coupon_spec.rb +56 -0
- data/spec/models/promotion_coupon_validity_days_after_purchase_interval_spec.rb +40 -0
- data/spec/models/promotion_coupon_validity_spec.rb +50 -0
- data/spec/models/promotion_layer_spec.rb +40 -0
- data/spec/models/promotion_spec.rb +116 -0
- data/spec/models/promotion_stamp_spec.rb +50 -0
- data/spec/models/promotion_trigger_product_amount_condition_spec.rb +50 -0
- data/spec/models/promotion_trigger_receipt_product_amount_condition_spec.rb +44 -0
- data/spec/models/promotion_trigger_receipt_revenue_condition_spec.rb +44 -0
- data/spec/models/promotion_trigger_spec.rb +76 -0
- data/spec/models/promotion_trigger_tag_amount_condition_spec.rb +50 -0
- data/spec/models/promotion_trigger_tag_revenue_condition_spec.rb +50 -0
- data/spec/models/promotion_validity_spec.rb +62 -0
- data/spec/models/rating_spec.rb +5 -12
- data/spec/models/receipt_item_return_reason_spec.rb +34 -0
- data/spec/models/receipt_item_spec.rb +75 -18
- data/spec/models/receipt_layout_configuration_spec.rb +152 -0
- data/spec/models/receipt_max_revisions_spec.rb +5 -12
- data/spec/models/receipt_revenue_spec.rb +40 -0
- data/spec/models/receipt_spec.rb +102 -19
- data/spec/models/receipt_total_spec.rb +46 -0
- data/spec/models/report_file_spec.rb +80 -0
- data/spec/models/result_list_account_spec.rb +5 -12
- data/spec/models/result_list_additional_receipt_info_type_spec.rb +5 -12
- data/spec/models/result_list_assortment_spec.rb +5 -12
- data/spec/models/result_list_attendance_spec.rb +5 -12
- data/spec/models/result_list_cashier_role_spec.rb +5 -12
- data/spec/models/result_list_cashier_spec.rb +5 -12
- data/spec/models/result_list_cashier_verification_requirement_spec.rb +64 -0
- data/spec/models/result_list_commodity_group_spec.rb +5 -12
- 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 +64 -0
- data/spec/models/result_list_creation_task_spec.rb +5 -12
- data/spec/models/result_list_currency_spec.rb +5 -12
- data/spec/models/result_list_customer_display_configuration_spec.rb +64 -0
- data/spec/models/result_list_customer_group_spec.rb +5 -12
- data/spec/models/result_list_customer_order_spec.rb +5 -12
- data/spec/models/result_list_customer_spec.rb +5 -12
- data/spec/models/result_list_day_rating_spec.rb +5 -12
- data/spec/models/result_list_delivery_note_spec.rb +5 -12
- data/spec/models/result_list_device_configuration_variable_spec.rb +64 -0
- 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 +64 -0
- data/spec/models/result_list_dispatch_notification_spec.rb +64 -0
- data/spec/models/result_list_economic_zone_spec.rb +5 -12
- data/spec/models/result_list_end_of_day_statement_spec.rb +5 -12
- data/spec/models/result_list_entry_gate_spec.rb +5 -12
- data/spec/models/result_list_event_spec.rb +5 -12
- data/spec/models/result_list_external_system_call_spec.rb +5 -12
- data/spec/models/result_list_fiscal_unit_spec.rb +5 -12
- data/spec/models/result_list_info_text_spec.rb +5 -12
- data/spec/models/result_list_inventory_list_item_spec.rb +5 -12
- data/spec/models/result_list_inventory_list_spec.rb +5 -12
- data/spec/models/result_list_inventory_spec.rb +5 -12
- 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 +5 -12
- data/spec/models/result_list_payment_method_category_spec.rb +64 -0
- data/spec/models/result_list_payment_method_spec.rb +5 -12
- data/spec/models/result_list_pos_balance_spec.rb +64 -0
- data/spec/models/result_list_pos_button_layout_spec.rb +64 -0
- data/spec/models/result_list_pos_page_layout_configuration_spec.rb +64 -0
- data/spec/models/result_list_pos_profile_spec.rb +64 -0
- data/spec/models/result_list_pos_spec.rb +5 -12
- data/spec/models/result_list_price_group_spec.rb +5 -12
- data/spec/models/result_list_price_rule_spec.rb +64 -0
- data/spec/models/result_list_product_spec.rb +5 -12
- data/spec/models/result_list_product_stock_spec.rb +5 -12
- data/spec/models/result_list_production_type_spec.rb +5 -12
- data/spec/models/result_list_promotion_spec.rb +64 -0
- data/spec/models/result_list_receipt_layout_configuration_spec.rb +64 -0
- data/spec/models/result_list_receipt_spec.rb +5 -12
- 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 +5 -12
- data/spec/models/result_list_sector_spec.rb +5 -12
- data/spec/models/result_list_spec.rb +5 -12
- data/spec/models/result_list_special_price_configuration_spec.rb +64 -0
- data/spec/models/result_list_stock_adjustment_item_spec.rb +64 -0
- data/spec/models/result_list_stock_adjustment_spec.rb +64 -0
- data/spec/models/result_list_stock_order_item_spec.rb +64 -0
- data/spec/models/result_list_stock_order_spec.rb +5 -12
- data/spec/models/result_list_stock_receipt_item_spec.rb +5 -12
- data/spec/models/result_list_stock_receipt_spec.rb +5 -12
- data/spec/models/result_list_store_order_item_spec.rb +64 -0
- data/spec/models/result_list_store_order_spec.rb +64 -0
- data/spec/models/result_list_supplier_spec.rb +5 -12
- data/spec/models/result_list_tag_spec.rb +5 -12
- data/spec/models/result_list_ticket_definition_spec.rb +5 -12
- data/spec/models/result_list_ticket_spec.rb +5 -12
- data/spec/models/result_list_time_tracking_entity_spec.rb +5 -12
- data/spec/models/result_list_time_tracking_entry_spec.rb +5 -12
- data/spec/models/result_list_user_role_spec.rb +64 -0
- 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 +5 -12
- data/spec/models/sales_tax_rate_spec.rb +5 -12
- data/spec/models/sales_tax_spec.rb +22 -13
- data/spec/models/sector_revenue_account_item_spec.rb +5 -12
- data/spec/models/sector_sales_tax_item_spec.rb +5 -12
- data/spec/models/sector_spec.rb +7 -14
- data/spec/models/service_spec.rb +16 -13
- data/spec/models/signature_spec.rb +5 -12
- data/spec/models/special_price_configuration_spec.rb +76 -0
- data/spec/models/special_price_spec.rb +46 -0
- data/spec/models/statistic_list_top_seller_spec.rb +5 -12
- data/spec/models/statistic_map_string_revenue_data_spec.rb +5 -12
- data/spec/models/statistic_revenue_data_spec.rb +5 -12
- data/spec/models/statistic_spec.rb +5 -12
- data/spec/models/stock_adjustment_item_reason_spec.rb +44 -0
- data/spec/models/stock_adjustment_item_spec.rb +52 -0
- data/spec/models/stock_adjustment_spec.rb +116 -0
- data/spec/models/stock_order_item_spec.rb +5 -12
- data/spec/models/stock_order_spec.rb +31 -32
- data/spec/models/stock_receipt_item_amount_spec.rb +5 -12
- data/spec/models/stock_receipt_item_identification_spec.rb +5 -12
- data/spec/models/stock_receipt_item_purchase_price_spec.rb +5 -12
- data/spec/models/stock_receipt_item_spec.rb +5 -12
- data/spec/models/stock_receipt_spec.rb +20 -15
- data/spec/models/store_order_item_spec.rb +52 -0
- data/spec/models/store_order_spec.rb +106 -0
- data/spec/models/supplier_contact_person_spec.rb +5 -12
- data/spec/models/supplier_contact_spec.rb +5 -12
- data/spec/models/supplier_payment_information_spec.rb +6 -13
- data/spec/models/supplier_spec.rb +13 -14
- data/spec/models/tag_spec.rb +7 -14
- data/spec/models/tax_payment_spec.rb +5 -12
- data/spec/models/tax_summary_spec.rb +5 -12
- data/spec/models/terminal_receipt_print_line_spec.rb +44 -0
- data/spec/models/ticket_data_spec.rb +5 -12
- data/spec/models/ticket_definition_spec.rb +31 -14
- data/spec/models/ticket_personalization_spec.rb +5 -12
- data/spec/models/ticket_spec.rb +5 -12
- data/spec/models/time_of_day_interval_spec.rb +40 -0
- data/spec/models/time_period_spec.rb +5 -12
- data/spec/models/time_tracking_entity_spec.rb +7 -14
- data/spec/models/time_tracking_entry_spec.rb +5 -12
- data/spec/models/too_many_requests_error_spec.rb +6 -13
- data/spec/models/top_seller_spec.rb +5 -12
- data/spec/models/total_period_spec.rb +5 -12
- data/spec/models/total_price_spec.rb +5 -12
- data/spec/models/user_role_spec.rb +68 -0
- data/spec/models/validity_spec.rb +6 -13
- data/spec/models/voided_receipt_item_spec.rb +11 -12
- 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 +98 -0
- data/spec/models/weather_spec.rb +6 -13
- data/spec/spec_helper.rb +2 -2
- metadata +659 -35
- data/docs/TicketCreationApi.md +0 -122
- data/korona-cloud-client-1.0.0.gem +0 -0
- data/korona-cloud-client-1.0.1.gem +0 -0
- data/korona-cloud-client-1.0.2.gem +0 -0
- data/lib/korona-cloud-client/api/ticket_creation_api.rb +0 -163
- data/spec/api/ticket_creation_api_spec.rb +0 -61
@@ -0,0 +1,715 @@
|
|
1
|
+
=begin
|
2
|
+
#KORONA.cloud API v3
|
3
|
+
|
4
|
+
#Our api provides access to our cloud services
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2.19.20
|
7
|
+
Contact: support@combase.net
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module KoronaCloudClient
|
17
|
+
class PosProfile
|
18
|
+
# indicates whether the object is active for use or not
|
19
|
+
attr_accessor :active
|
20
|
+
|
21
|
+
# global object uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
|
22
|
+
attr_accessor :id
|
23
|
+
|
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.
|
25
|
+
attr_accessor :revision
|
26
|
+
|
27
|
+
# number of the object, like it is set in backoffice; will be removed when active=false
|
28
|
+
attr_accessor :number
|
29
|
+
|
30
|
+
attr_accessor :name
|
31
|
+
|
32
|
+
attr_accessor :automatic_cashier_logout_interval
|
33
|
+
|
34
|
+
attr_accessor :auto_receipt_print
|
35
|
+
|
36
|
+
attr_accessor :force_closed_drawer
|
37
|
+
|
38
|
+
attr_accessor :max_balance_attempts
|
39
|
+
|
40
|
+
attr_accessor :order_number_required
|
41
|
+
|
42
|
+
attr_accessor :payment_service_configurations
|
43
|
+
|
44
|
+
attr_accessor :device_profile_configurations
|
45
|
+
|
46
|
+
attr_accessor :table_service_interval
|
47
|
+
|
48
|
+
attr_accessor :receipt_layout_configuration
|
49
|
+
|
50
|
+
attr_accessor :automatic_end_of_day_interval
|
51
|
+
|
52
|
+
attr_accessor :cent_input
|
53
|
+
|
54
|
+
attr_accessor :require_payment_amount_input
|
55
|
+
|
56
|
+
attr_accessor :kiosk_mode
|
57
|
+
|
58
|
+
attr_accessor :wide_screen_layout
|
59
|
+
|
60
|
+
attr_accessor :automatic_payment_finalization
|
61
|
+
|
62
|
+
attr_accessor :auto_reset_quick_access_pad
|
63
|
+
|
64
|
+
attr_accessor :easy_repeat_product_enabled
|
65
|
+
|
66
|
+
attr_accessor :external_system_calls_on_book_receipt
|
67
|
+
|
68
|
+
attr_accessor :external_system_calls_on_reject_receipt
|
69
|
+
|
70
|
+
attr_accessor :external_system_calls_on_total_receipt
|
71
|
+
|
72
|
+
attr_accessor :external_system_calls_on_void_receipt
|
73
|
+
|
74
|
+
attr_accessor :external_system_calls_on_book_delivery_note
|
75
|
+
|
76
|
+
attr_accessor :external_system_calls_on_reverse_receipt
|
77
|
+
|
78
|
+
attr_accessor :external_system_calls_on_login_cashier
|
79
|
+
|
80
|
+
attr_accessor :external_system_calls_on_logout_cashier
|
81
|
+
|
82
|
+
attr_accessor :designate_balance_difference
|
83
|
+
|
84
|
+
attr_accessor :end_of_day_report_enabled
|
85
|
+
|
86
|
+
attr_accessor :unknown_number_action
|
87
|
+
|
88
|
+
attr_accessor :unknown_number_external_system_call
|
89
|
+
|
90
|
+
attr_accessor :invoicing_receipt_copies
|
91
|
+
|
92
|
+
attr_accessor :cashier_password_required
|
93
|
+
|
94
|
+
attr_accessor :pos_theme
|
95
|
+
|
96
|
+
attr_accessor :template_product
|
97
|
+
|
98
|
+
attr_accessor :digital_receipt
|
99
|
+
|
100
|
+
attr_accessor :digital_signature
|
101
|
+
|
102
|
+
attr_accessor :automatic_customer_creation_from_customer_order
|
103
|
+
|
104
|
+
attr_accessor :master_data_refresh_interval
|
105
|
+
|
106
|
+
attr_accessor :mandatory_return_reason
|
107
|
+
|
108
|
+
attr_accessor :restrict_to_one_parked_receipt
|
109
|
+
|
110
|
+
attr_accessor :automatic_cashier_logout_lock_cashier
|
111
|
+
|
112
|
+
attr_accessor :report_file
|
113
|
+
|
114
|
+
attr_accessor :show_bank_notes_for_payment_denomination_only
|
115
|
+
|
116
|
+
class EnumAttributeValidator
|
117
|
+
attr_reader :datatype
|
118
|
+
attr_reader :allowable_values
|
119
|
+
|
120
|
+
def initialize(datatype, allowable_values)
|
121
|
+
@allowable_values = allowable_values.map do |value|
|
122
|
+
case datatype.to_s
|
123
|
+
when /Integer/i
|
124
|
+
value.to_i
|
125
|
+
when /Float/i
|
126
|
+
value.to_f
|
127
|
+
else
|
128
|
+
value
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
def valid?(value)
|
134
|
+
!value || allowable_values.include?(value)
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
139
|
+
def self.attribute_map
|
140
|
+
{
|
141
|
+
:'active' => :'active',
|
142
|
+
:'id' => :'id',
|
143
|
+
:'revision' => :'revision',
|
144
|
+
:'number' => :'number',
|
145
|
+
:'name' => :'name',
|
146
|
+
:'automatic_cashier_logout_interval' => :'automaticCashierLogoutInterval',
|
147
|
+
:'auto_receipt_print' => :'autoReceiptPrint',
|
148
|
+
:'force_closed_drawer' => :'forceClosedDrawer',
|
149
|
+
:'max_balance_attempts' => :'maxBalanceAttempts',
|
150
|
+
:'order_number_required' => :'orderNumberRequired',
|
151
|
+
:'payment_service_configurations' => :'paymentServiceConfigurations',
|
152
|
+
:'device_profile_configurations' => :'deviceProfileConfigurations',
|
153
|
+
:'table_service_interval' => :'tableServiceInterval',
|
154
|
+
:'receipt_layout_configuration' => :'receiptLayoutConfiguration',
|
155
|
+
:'automatic_end_of_day_interval' => :'automaticEndOfDayInterval',
|
156
|
+
:'cent_input' => :'centInput',
|
157
|
+
:'require_payment_amount_input' => :'requirePaymentAmountInput',
|
158
|
+
:'kiosk_mode' => :'kioskMode',
|
159
|
+
:'wide_screen_layout' => :'wideScreenLayout',
|
160
|
+
:'automatic_payment_finalization' => :'automaticPaymentFinalization',
|
161
|
+
:'auto_reset_quick_access_pad' => :'autoResetQuickAccessPad',
|
162
|
+
:'easy_repeat_product_enabled' => :'easyRepeatProductEnabled',
|
163
|
+
:'external_system_calls_on_book_receipt' => :'externalSystemCallsOnBookReceipt',
|
164
|
+
:'external_system_calls_on_reject_receipt' => :'externalSystemCallsOnRejectReceipt',
|
165
|
+
:'external_system_calls_on_total_receipt' => :'externalSystemCallsOnTotalReceipt',
|
166
|
+
:'external_system_calls_on_void_receipt' => :'externalSystemCallsOnVoidReceipt',
|
167
|
+
:'external_system_calls_on_book_delivery_note' => :'externalSystemCallsOnBookDeliveryNote',
|
168
|
+
:'external_system_calls_on_reverse_receipt' => :'externalSystemCallsOnReverseReceipt',
|
169
|
+
:'external_system_calls_on_login_cashier' => :'externalSystemCallsOnLoginCashier',
|
170
|
+
:'external_system_calls_on_logout_cashier' => :'externalSystemCallsOnLogoutCashier',
|
171
|
+
:'designate_balance_difference' => :'designateBalanceDifference',
|
172
|
+
:'end_of_day_report_enabled' => :'endOfDayReportEnabled',
|
173
|
+
:'unknown_number_action' => :'unknownNumberAction',
|
174
|
+
:'unknown_number_external_system_call' => :'unknownNumberExternalSystemCall',
|
175
|
+
:'invoicing_receipt_copies' => :'invoicingReceiptCopies',
|
176
|
+
:'cashier_password_required' => :'cashierPasswordRequired',
|
177
|
+
:'pos_theme' => :'posTheme',
|
178
|
+
:'template_product' => :'templateProduct',
|
179
|
+
:'digital_receipt' => :'digitalReceipt',
|
180
|
+
:'digital_signature' => :'digitalSignature',
|
181
|
+
:'automatic_customer_creation_from_customer_order' => :'automaticCustomerCreationFromCustomerOrder',
|
182
|
+
:'master_data_refresh_interval' => :'masterDataRefreshInterval',
|
183
|
+
:'mandatory_return_reason' => :'mandatoryReturnReason',
|
184
|
+
:'restrict_to_one_parked_receipt' => :'restrictToOneParkedReceipt',
|
185
|
+
:'automatic_cashier_logout_lock_cashier' => :'automaticCashierLogoutLockCashier',
|
186
|
+
:'report_file' => :'reportFile',
|
187
|
+
:'show_bank_notes_for_payment_denomination_only' => :'showBankNotesForPaymentDenominationOnly'
|
188
|
+
}
|
189
|
+
end
|
190
|
+
|
191
|
+
# Returns all the JSON keys this model knows about
|
192
|
+
def self.acceptable_attributes
|
193
|
+
attribute_map.values
|
194
|
+
end
|
195
|
+
|
196
|
+
# Attribute type mapping.
|
197
|
+
def self.openapi_types
|
198
|
+
{
|
199
|
+
:'active' => :'Boolean',
|
200
|
+
:'id' => :'String',
|
201
|
+
:'revision' => :'Integer',
|
202
|
+
:'number' => :'String',
|
203
|
+
:'name' => :'String',
|
204
|
+
:'automatic_cashier_logout_interval' => :'TimePeriod',
|
205
|
+
:'auto_receipt_print' => :'Boolean',
|
206
|
+
:'force_closed_drawer' => :'Boolean',
|
207
|
+
:'max_balance_attempts' => :'Integer',
|
208
|
+
:'order_number_required' => :'Boolean',
|
209
|
+
:'payment_service_configurations' => :'Array<PaymentServiceConfiguration>',
|
210
|
+
:'device_profile_configurations' => :'Array<DeviceConfiguration>',
|
211
|
+
:'table_service_interval' => :'TimePeriod',
|
212
|
+
:'receipt_layout_configuration' => :'ModelReference',
|
213
|
+
:'automatic_end_of_day_interval' => :'TimePeriod',
|
214
|
+
:'cent_input' => :'Boolean',
|
215
|
+
:'require_payment_amount_input' => :'Boolean',
|
216
|
+
:'kiosk_mode' => :'Boolean',
|
217
|
+
:'wide_screen_layout' => :'Boolean',
|
218
|
+
:'automatic_payment_finalization' => :'Boolean',
|
219
|
+
:'auto_reset_quick_access_pad' => :'Boolean',
|
220
|
+
:'easy_repeat_product_enabled' => :'Boolean',
|
221
|
+
:'external_system_calls_on_book_receipt' => :'Array<ModelReference>',
|
222
|
+
:'external_system_calls_on_reject_receipt' => :'Array<ModelReference>',
|
223
|
+
:'external_system_calls_on_total_receipt' => :'Array<ModelReference>',
|
224
|
+
:'external_system_calls_on_void_receipt' => :'Array<ModelReference>',
|
225
|
+
:'external_system_calls_on_book_delivery_note' => :'Array<ModelReference>',
|
226
|
+
:'external_system_calls_on_reverse_receipt' => :'Array<ModelReference>',
|
227
|
+
:'external_system_calls_on_login_cashier' => :'Array<ModelReference>',
|
228
|
+
:'external_system_calls_on_logout_cashier' => :'Array<ModelReference>',
|
229
|
+
:'designate_balance_difference' => :'Boolean',
|
230
|
+
:'end_of_day_report_enabled' => :'Boolean',
|
231
|
+
:'unknown_number_action' => :'String',
|
232
|
+
:'unknown_number_external_system_call' => :'ModelReference',
|
233
|
+
:'invoicing_receipt_copies' => :'Integer',
|
234
|
+
:'cashier_password_required' => :'Boolean',
|
235
|
+
:'pos_theme' => :'String',
|
236
|
+
:'template_product' => :'ModelReference',
|
237
|
+
:'digital_receipt' => :'Boolean',
|
238
|
+
:'digital_signature' => :'Boolean',
|
239
|
+
:'automatic_customer_creation_from_customer_order' => :'Boolean',
|
240
|
+
:'master_data_refresh_interval' => :'TimePeriod',
|
241
|
+
:'mandatory_return_reason' => :'Boolean',
|
242
|
+
:'restrict_to_one_parked_receipt' => :'Boolean',
|
243
|
+
:'automatic_cashier_logout_lock_cashier' => :'Boolean',
|
244
|
+
:'report_file' => :'ModelReference',
|
245
|
+
:'show_bank_notes_for_payment_denomination_only' => :'Boolean'
|
246
|
+
}
|
247
|
+
end
|
248
|
+
|
249
|
+
# List of attributes with nullable: true
|
250
|
+
def self.openapi_nullable
|
251
|
+
Set.new([
|
252
|
+
])
|
253
|
+
end
|
254
|
+
|
255
|
+
# Initializes the object
|
256
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
257
|
+
def initialize(attributes = {})
|
258
|
+
if (!attributes.is_a?(Hash))
|
259
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `KoronaCloudClient::PosProfile` initialize method"
|
260
|
+
end
|
261
|
+
|
262
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
263
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
264
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
265
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `KoronaCloudClient::PosProfile`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
266
|
+
end
|
267
|
+
h[k.to_sym] = v
|
268
|
+
}
|
269
|
+
|
270
|
+
if attributes.key?(:'active')
|
271
|
+
self.active = attributes[:'active']
|
272
|
+
end
|
273
|
+
|
274
|
+
if attributes.key?(:'id')
|
275
|
+
self.id = attributes[:'id']
|
276
|
+
end
|
277
|
+
|
278
|
+
if attributes.key?(:'revision')
|
279
|
+
self.revision = attributes[:'revision']
|
280
|
+
end
|
281
|
+
|
282
|
+
if attributes.key?(:'number')
|
283
|
+
self.number = attributes[:'number']
|
284
|
+
end
|
285
|
+
|
286
|
+
if attributes.key?(:'name')
|
287
|
+
self.name = attributes[:'name']
|
288
|
+
end
|
289
|
+
|
290
|
+
if attributes.key?(:'automatic_cashier_logout_interval')
|
291
|
+
self.automatic_cashier_logout_interval = attributes[:'automatic_cashier_logout_interval']
|
292
|
+
end
|
293
|
+
|
294
|
+
if attributes.key?(:'auto_receipt_print')
|
295
|
+
self.auto_receipt_print = attributes[:'auto_receipt_print']
|
296
|
+
end
|
297
|
+
|
298
|
+
if attributes.key?(:'force_closed_drawer')
|
299
|
+
self.force_closed_drawer = attributes[:'force_closed_drawer']
|
300
|
+
end
|
301
|
+
|
302
|
+
if attributes.key?(:'max_balance_attempts')
|
303
|
+
self.max_balance_attempts = attributes[:'max_balance_attempts']
|
304
|
+
end
|
305
|
+
|
306
|
+
if attributes.key?(:'order_number_required')
|
307
|
+
self.order_number_required = attributes[:'order_number_required']
|
308
|
+
end
|
309
|
+
|
310
|
+
if attributes.key?(:'payment_service_configurations')
|
311
|
+
if (value = attributes[:'payment_service_configurations']).is_a?(Array)
|
312
|
+
self.payment_service_configurations = value
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
316
|
+
if attributes.key?(:'device_profile_configurations')
|
317
|
+
if (value = attributes[:'device_profile_configurations']).is_a?(Array)
|
318
|
+
self.device_profile_configurations = value
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
if attributes.key?(:'table_service_interval')
|
323
|
+
self.table_service_interval = attributes[:'table_service_interval']
|
324
|
+
end
|
325
|
+
|
326
|
+
if attributes.key?(:'receipt_layout_configuration')
|
327
|
+
self.receipt_layout_configuration = attributes[:'receipt_layout_configuration']
|
328
|
+
end
|
329
|
+
|
330
|
+
if attributes.key?(:'automatic_end_of_day_interval')
|
331
|
+
self.automatic_end_of_day_interval = attributes[:'automatic_end_of_day_interval']
|
332
|
+
end
|
333
|
+
|
334
|
+
if attributes.key?(:'cent_input')
|
335
|
+
self.cent_input = attributes[:'cent_input']
|
336
|
+
end
|
337
|
+
|
338
|
+
if attributes.key?(:'require_payment_amount_input')
|
339
|
+
self.require_payment_amount_input = attributes[:'require_payment_amount_input']
|
340
|
+
end
|
341
|
+
|
342
|
+
if attributes.key?(:'kiosk_mode')
|
343
|
+
self.kiosk_mode = attributes[:'kiosk_mode']
|
344
|
+
end
|
345
|
+
|
346
|
+
if attributes.key?(:'wide_screen_layout')
|
347
|
+
self.wide_screen_layout = attributes[:'wide_screen_layout']
|
348
|
+
end
|
349
|
+
|
350
|
+
if attributes.key?(:'automatic_payment_finalization')
|
351
|
+
self.automatic_payment_finalization = attributes[:'automatic_payment_finalization']
|
352
|
+
end
|
353
|
+
|
354
|
+
if attributes.key?(:'auto_reset_quick_access_pad')
|
355
|
+
self.auto_reset_quick_access_pad = attributes[:'auto_reset_quick_access_pad']
|
356
|
+
end
|
357
|
+
|
358
|
+
if attributes.key?(:'easy_repeat_product_enabled')
|
359
|
+
self.easy_repeat_product_enabled = attributes[:'easy_repeat_product_enabled']
|
360
|
+
end
|
361
|
+
|
362
|
+
if attributes.key?(:'external_system_calls_on_book_receipt')
|
363
|
+
if (value = attributes[:'external_system_calls_on_book_receipt']).is_a?(Array)
|
364
|
+
self.external_system_calls_on_book_receipt = value
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
if attributes.key?(:'external_system_calls_on_reject_receipt')
|
369
|
+
if (value = attributes[:'external_system_calls_on_reject_receipt']).is_a?(Array)
|
370
|
+
self.external_system_calls_on_reject_receipt = value
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
374
|
+
if attributes.key?(:'external_system_calls_on_total_receipt')
|
375
|
+
if (value = attributes[:'external_system_calls_on_total_receipt']).is_a?(Array)
|
376
|
+
self.external_system_calls_on_total_receipt = value
|
377
|
+
end
|
378
|
+
end
|
379
|
+
|
380
|
+
if attributes.key?(:'external_system_calls_on_void_receipt')
|
381
|
+
if (value = attributes[:'external_system_calls_on_void_receipt']).is_a?(Array)
|
382
|
+
self.external_system_calls_on_void_receipt = value
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
386
|
+
if attributes.key?(:'external_system_calls_on_book_delivery_note')
|
387
|
+
if (value = attributes[:'external_system_calls_on_book_delivery_note']).is_a?(Array)
|
388
|
+
self.external_system_calls_on_book_delivery_note = value
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
392
|
+
if attributes.key?(:'external_system_calls_on_reverse_receipt')
|
393
|
+
if (value = attributes[:'external_system_calls_on_reverse_receipt']).is_a?(Array)
|
394
|
+
self.external_system_calls_on_reverse_receipt = value
|
395
|
+
end
|
396
|
+
end
|
397
|
+
|
398
|
+
if attributes.key?(:'external_system_calls_on_login_cashier')
|
399
|
+
if (value = attributes[:'external_system_calls_on_login_cashier']).is_a?(Array)
|
400
|
+
self.external_system_calls_on_login_cashier = value
|
401
|
+
end
|
402
|
+
end
|
403
|
+
|
404
|
+
if attributes.key?(:'external_system_calls_on_logout_cashier')
|
405
|
+
if (value = attributes[:'external_system_calls_on_logout_cashier']).is_a?(Array)
|
406
|
+
self.external_system_calls_on_logout_cashier = value
|
407
|
+
end
|
408
|
+
end
|
409
|
+
|
410
|
+
if attributes.key?(:'designate_balance_difference')
|
411
|
+
self.designate_balance_difference = attributes[:'designate_balance_difference']
|
412
|
+
end
|
413
|
+
|
414
|
+
if attributes.key?(:'end_of_day_report_enabled')
|
415
|
+
self.end_of_day_report_enabled = attributes[:'end_of_day_report_enabled']
|
416
|
+
end
|
417
|
+
|
418
|
+
if attributes.key?(:'unknown_number_action')
|
419
|
+
self.unknown_number_action = attributes[:'unknown_number_action']
|
420
|
+
end
|
421
|
+
|
422
|
+
if attributes.key?(:'unknown_number_external_system_call')
|
423
|
+
self.unknown_number_external_system_call = attributes[:'unknown_number_external_system_call']
|
424
|
+
end
|
425
|
+
|
426
|
+
if attributes.key?(:'invoicing_receipt_copies')
|
427
|
+
self.invoicing_receipt_copies = attributes[:'invoicing_receipt_copies']
|
428
|
+
end
|
429
|
+
|
430
|
+
if attributes.key?(:'cashier_password_required')
|
431
|
+
self.cashier_password_required = attributes[:'cashier_password_required']
|
432
|
+
end
|
433
|
+
|
434
|
+
if attributes.key?(:'pos_theme')
|
435
|
+
self.pos_theme = attributes[:'pos_theme']
|
436
|
+
end
|
437
|
+
|
438
|
+
if attributes.key?(:'template_product')
|
439
|
+
self.template_product = attributes[:'template_product']
|
440
|
+
end
|
441
|
+
|
442
|
+
if attributes.key?(:'digital_receipt')
|
443
|
+
self.digital_receipt = attributes[:'digital_receipt']
|
444
|
+
end
|
445
|
+
|
446
|
+
if attributes.key?(:'digital_signature')
|
447
|
+
self.digital_signature = attributes[:'digital_signature']
|
448
|
+
end
|
449
|
+
|
450
|
+
if attributes.key?(:'automatic_customer_creation_from_customer_order')
|
451
|
+
self.automatic_customer_creation_from_customer_order = attributes[:'automatic_customer_creation_from_customer_order']
|
452
|
+
end
|
453
|
+
|
454
|
+
if attributes.key?(:'master_data_refresh_interval')
|
455
|
+
self.master_data_refresh_interval = attributes[:'master_data_refresh_interval']
|
456
|
+
end
|
457
|
+
|
458
|
+
if attributes.key?(:'mandatory_return_reason')
|
459
|
+
self.mandatory_return_reason = attributes[:'mandatory_return_reason']
|
460
|
+
end
|
461
|
+
|
462
|
+
if attributes.key?(:'restrict_to_one_parked_receipt')
|
463
|
+
self.restrict_to_one_parked_receipt = attributes[:'restrict_to_one_parked_receipt']
|
464
|
+
end
|
465
|
+
|
466
|
+
if attributes.key?(:'automatic_cashier_logout_lock_cashier')
|
467
|
+
self.automatic_cashier_logout_lock_cashier = attributes[:'automatic_cashier_logout_lock_cashier']
|
468
|
+
end
|
469
|
+
|
470
|
+
if attributes.key?(:'report_file')
|
471
|
+
self.report_file = attributes[:'report_file']
|
472
|
+
end
|
473
|
+
|
474
|
+
if attributes.key?(:'show_bank_notes_for_payment_denomination_only')
|
475
|
+
self.show_bank_notes_for_payment_denomination_only = attributes[:'show_bank_notes_for_payment_denomination_only']
|
476
|
+
end
|
477
|
+
end
|
478
|
+
|
479
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
480
|
+
# @return Array for valid properties with the reasons
|
481
|
+
def list_invalid_properties
|
482
|
+
invalid_properties = Array.new
|
483
|
+
invalid_properties
|
484
|
+
end
|
485
|
+
|
486
|
+
# Check to see if the all the properties in the model are valid
|
487
|
+
# @return true if the model is valid
|
488
|
+
def valid?
|
489
|
+
unknown_number_action_validator = EnumAttributeValidator.new('String', ["CARRY_ON_WITH_MESSAGE", "HOLD_ON_WITH_DIALOG", "EXTERNAL_SYSTEM_CALL"])
|
490
|
+
return false unless unknown_number_action_validator.valid?(@unknown_number_action)
|
491
|
+
pos_theme_validator = EnumAttributeValidator.new('String', ["CLASSIC", "FLAT"])
|
492
|
+
return false unless pos_theme_validator.valid?(@pos_theme)
|
493
|
+
true
|
494
|
+
end
|
495
|
+
|
496
|
+
# Custom attribute writer method with validation
|
497
|
+
# @param [Object] payment_service_configurations Value to be assigned
|
498
|
+
def payment_service_configurations=(payment_service_configurations)
|
499
|
+
@payment_service_configurations = payment_service_configurations
|
500
|
+
end
|
501
|
+
|
502
|
+
# Custom attribute writer method with validation
|
503
|
+
# @param [Object] device_profile_configurations Value to be assigned
|
504
|
+
def device_profile_configurations=(device_profile_configurations)
|
505
|
+
@device_profile_configurations = device_profile_configurations
|
506
|
+
end
|
507
|
+
|
508
|
+
# Custom attribute writer method checking allowed values (enum).
|
509
|
+
# @param [Object] unknown_number_action Object to be assigned
|
510
|
+
def unknown_number_action=(unknown_number_action)
|
511
|
+
validator = EnumAttributeValidator.new('String', ["CARRY_ON_WITH_MESSAGE", "HOLD_ON_WITH_DIALOG", "EXTERNAL_SYSTEM_CALL"])
|
512
|
+
unless validator.valid?(unknown_number_action)
|
513
|
+
fail ArgumentError, "invalid value for \"unknown_number_action\", must be one of #{validator.allowable_values}."
|
514
|
+
end
|
515
|
+
@unknown_number_action = unknown_number_action
|
516
|
+
end
|
517
|
+
|
518
|
+
# Custom attribute writer method checking allowed values (enum).
|
519
|
+
# @param [Object] pos_theme Object to be assigned
|
520
|
+
def pos_theme=(pos_theme)
|
521
|
+
validator = EnumAttributeValidator.new('String', ["CLASSIC", "FLAT"])
|
522
|
+
unless validator.valid?(pos_theme)
|
523
|
+
fail ArgumentError, "invalid value for \"pos_theme\", must be one of #{validator.allowable_values}."
|
524
|
+
end
|
525
|
+
@pos_theme = pos_theme
|
526
|
+
end
|
527
|
+
|
528
|
+
# Checks equality by comparing each attribute.
|
529
|
+
# @param [Object] Object to be compared
|
530
|
+
def ==(o)
|
531
|
+
return true if self.equal?(o)
|
532
|
+
self.class == o.class &&
|
533
|
+
active == o.active &&
|
534
|
+
id == o.id &&
|
535
|
+
revision == o.revision &&
|
536
|
+
number == o.number &&
|
537
|
+
name == o.name &&
|
538
|
+
automatic_cashier_logout_interval == o.automatic_cashier_logout_interval &&
|
539
|
+
auto_receipt_print == o.auto_receipt_print &&
|
540
|
+
force_closed_drawer == o.force_closed_drawer &&
|
541
|
+
max_balance_attempts == o.max_balance_attempts &&
|
542
|
+
order_number_required == o.order_number_required &&
|
543
|
+
payment_service_configurations == o.payment_service_configurations &&
|
544
|
+
device_profile_configurations == o.device_profile_configurations &&
|
545
|
+
table_service_interval == o.table_service_interval &&
|
546
|
+
receipt_layout_configuration == o.receipt_layout_configuration &&
|
547
|
+
automatic_end_of_day_interval == o.automatic_end_of_day_interval &&
|
548
|
+
cent_input == o.cent_input &&
|
549
|
+
require_payment_amount_input == o.require_payment_amount_input &&
|
550
|
+
kiosk_mode == o.kiosk_mode &&
|
551
|
+
wide_screen_layout == o.wide_screen_layout &&
|
552
|
+
automatic_payment_finalization == o.automatic_payment_finalization &&
|
553
|
+
auto_reset_quick_access_pad == o.auto_reset_quick_access_pad &&
|
554
|
+
easy_repeat_product_enabled == o.easy_repeat_product_enabled &&
|
555
|
+
external_system_calls_on_book_receipt == o.external_system_calls_on_book_receipt &&
|
556
|
+
external_system_calls_on_reject_receipt == o.external_system_calls_on_reject_receipt &&
|
557
|
+
external_system_calls_on_total_receipt == o.external_system_calls_on_total_receipt &&
|
558
|
+
external_system_calls_on_void_receipt == o.external_system_calls_on_void_receipt &&
|
559
|
+
external_system_calls_on_book_delivery_note == o.external_system_calls_on_book_delivery_note &&
|
560
|
+
external_system_calls_on_reverse_receipt == o.external_system_calls_on_reverse_receipt &&
|
561
|
+
external_system_calls_on_login_cashier == o.external_system_calls_on_login_cashier &&
|
562
|
+
external_system_calls_on_logout_cashier == o.external_system_calls_on_logout_cashier &&
|
563
|
+
designate_balance_difference == o.designate_balance_difference &&
|
564
|
+
end_of_day_report_enabled == o.end_of_day_report_enabled &&
|
565
|
+
unknown_number_action == o.unknown_number_action &&
|
566
|
+
unknown_number_external_system_call == o.unknown_number_external_system_call &&
|
567
|
+
invoicing_receipt_copies == o.invoicing_receipt_copies &&
|
568
|
+
cashier_password_required == o.cashier_password_required &&
|
569
|
+
pos_theme == o.pos_theme &&
|
570
|
+
template_product == o.template_product &&
|
571
|
+
digital_receipt == o.digital_receipt &&
|
572
|
+
digital_signature == o.digital_signature &&
|
573
|
+
automatic_customer_creation_from_customer_order == o.automatic_customer_creation_from_customer_order &&
|
574
|
+
master_data_refresh_interval == o.master_data_refresh_interval &&
|
575
|
+
mandatory_return_reason == o.mandatory_return_reason &&
|
576
|
+
restrict_to_one_parked_receipt == o.restrict_to_one_parked_receipt &&
|
577
|
+
automatic_cashier_logout_lock_cashier == o.automatic_cashier_logout_lock_cashier &&
|
578
|
+
report_file == o.report_file &&
|
579
|
+
show_bank_notes_for_payment_denomination_only == o.show_bank_notes_for_payment_denomination_only
|
580
|
+
end
|
581
|
+
|
582
|
+
# @see the `==` method
|
583
|
+
# @param [Object] Object to be compared
|
584
|
+
def eql?(o)
|
585
|
+
self == o
|
586
|
+
end
|
587
|
+
|
588
|
+
# Calculates hash code according to all attributes.
|
589
|
+
# @return [Integer] Hash code
|
590
|
+
def hash
|
591
|
+
[active, id, revision, number, name, automatic_cashier_logout_interval, auto_receipt_print, force_closed_drawer, max_balance_attempts, order_number_required, payment_service_configurations, device_profile_configurations, table_service_interval, receipt_layout_configuration, automatic_end_of_day_interval, cent_input, require_payment_amount_input, kiosk_mode, wide_screen_layout, automatic_payment_finalization, auto_reset_quick_access_pad, easy_repeat_product_enabled, external_system_calls_on_book_receipt, external_system_calls_on_reject_receipt, external_system_calls_on_total_receipt, external_system_calls_on_void_receipt, external_system_calls_on_book_delivery_note, external_system_calls_on_reverse_receipt, external_system_calls_on_login_cashier, external_system_calls_on_logout_cashier, designate_balance_difference, end_of_day_report_enabled, unknown_number_action, unknown_number_external_system_call, invoicing_receipt_copies, cashier_password_required, pos_theme, template_product, digital_receipt, digital_signature, automatic_customer_creation_from_customer_order, master_data_refresh_interval, mandatory_return_reason, restrict_to_one_parked_receipt, automatic_cashier_logout_lock_cashier, report_file, show_bank_notes_for_payment_denomination_only].hash
|
592
|
+
end
|
593
|
+
|
594
|
+
# Builds the object from hash
|
595
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
596
|
+
# @return [Object] Returns the model itself
|
597
|
+
def self.build_from_hash(attributes)
|
598
|
+
new.build_from_hash(attributes)
|
599
|
+
end
|
600
|
+
|
601
|
+
# Builds the object from hash
|
602
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
603
|
+
# @return [Object] Returns the model itself
|
604
|
+
def build_from_hash(attributes)
|
605
|
+
return nil unless attributes.is_a?(Hash)
|
606
|
+
attributes = attributes.transform_keys(&:to_sym)
|
607
|
+
self.class.openapi_types.each_pair do |key, type|
|
608
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
609
|
+
self.send("#{key}=", nil)
|
610
|
+
elsif type =~ /\AArray<(.*)>/i
|
611
|
+
# check to ensure the input is an array given that the attribute
|
612
|
+
# is documented as an array but the input is not
|
613
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
614
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
615
|
+
end
|
616
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
617
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
618
|
+
end
|
619
|
+
end
|
620
|
+
|
621
|
+
self
|
622
|
+
end
|
623
|
+
|
624
|
+
# Deserializes the data based on type
|
625
|
+
# @param string type Data type
|
626
|
+
# @param string value Value to be deserialized
|
627
|
+
# @return [Object] Deserialized data
|
628
|
+
def _deserialize(type, value)
|
629
|
+
case type.to_sym
|
630
|
+
when :Time
|
631
|
+
Time.parse(value)
|
632
|
+
when :Date
|
633
|
+
Date.parse(value)
|
634
|
+
when :String
|
635
|
+
value.to_s
|
636
|
+
when :Integer
|
637
|
+
value.to_i
|
638
|
+
when :Float
|
639
|
+
value.to_f
|
640
|
+
when :Boolean
|
641
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
642
|
+
true
|
643
|
+
else
|
644
|
+
false
|
645
|
+
end
|
646
|
+
when :Object
|
647
|
+
# generic object (usually a Hash), return directly
|
648
|
+
value
|
649
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
650
|
+
inner_type = Regexp.last_match[:inner_type]
|
651
|
+
value.map { |v| _deserialize(inner_type, v) }
|
652
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
653
|
+
k_type = Regexp.last_match[:k_type]
|
654
|
+
v_type = Regexp.last_match[:v_type]
|
655
|
+
{}.tap do |hash|
|
656
|
+
value.each do |k, v|
|
657
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
658
|
+
end
|
659
|
+
end
|
660
|
+
else # model
|
661
|
+
# models (e.g. Pet) or oneOf
|
662
|
+
klass = KoronaCloudClient.const_get(type)
|
663
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
664
|
+
end
|
665
|
+
end
|
666
|
+
|
667
|
+
# Returns the string representation of the object
|
668
|
+
# @return [String] String presentation of the object
|
669
|
+
def to_s
|
670
|
+
to_hash.to_s
|
671
|
+
end
|
672
|
+
|
673
|
+
# to_body is an alias to to_hash (backward compatibility)
|
674
|
+
# @return [Hash] Returns the object in the form of hash
|
675
|
+
def to_body
|
676
|
+
to_hash
|
677
|
+
end
|
678
|
+
|
679
|
+
# Returns the object in the form of hash
|
680
|
+
# @return [Hash] Returns the object in the form of hash
|
681
|
+
def to_hash
|
682
|
+
hash = {}
|
683
|
+
self.class.attribute_map.each_pair do |attr, param|
|
684
|
+
value = self.send(attr)
|
685
|
+
if value.nil?
|
686
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
687
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
688
|
+
end
|
689
|
+
|
690
|
+
hash[param] = _to_hash(value)
|
691
|
+
end
|
692
|
+
hash
|
693
|
+
end
|
694
|
+
|
695
|
+
# Outputs non-array value in the form of hash
|
696
|
+
# For object, use to_hash. Otherwise, just return the value
|
697
|
+
# @param [Object] value Any valid value
|
698
|
+
# @return [Hash] Returns the value in the form of hash
|
699
|
+
def _to_hash(value)
|
700
|
+
if value.is_a?(Array)
|
701
|
+
value.compact.map { |v| _to_hash(v) }
|
702
|
+
elsif value.is_a?(Hash)
|
703
|
+
{}.tap do |hash|
|
704
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
705
|
+
end
|
706
|
+
elsif value.respond_to? :to_hash
|
707
|
+
value.to_hash
|
708
|
+
else
|
709
|
+
value
|
710
|
+
end
|
711
|
+
end
|
712
|
+
|
713
|
+
end
|
714
|
+
|
715
|
+
end
|