Package com.onslip360
Class API.ProductGroup
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.ProductGroup>
-
- com.onslip360.API.ProductGroup
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.ProductGroup>>
- Enclosing class:
- API
public static class API.ProductGroup extends Onslip360Object<API.ProductGroup>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
API.ProductGroup.SecondaryKitchenPrinterMode
static class
API.ProductGroup.Type
-
Constructor Summary
Constructors Constructor Description ProductGroup(String name, API.ProductGroup.Type type, Float vatRate)
-
Method Summary
-
Methods inherited from class com.onslip360.Onslip360Object
clone, compareTo, equals, fromJson, fromJson, fromJsonArray, fromJsonArray, fromList, fromMap, fromObject, getExtended, hashCode, setExtended, setExtended, toJson, toJson, toJson, toJson, toList, toMap, toString
-
-
-
-
Constructor Detail
-
ProductGroup
public ProductGroup(String name, API.ProductGroup.Type type, Float vatRate)
-
-
Method Detail
-
kitchenPrinter
@Nonnull public Optional<API.Peripheral.Function> kitchenPrinter()
-
name
@Nonnull public String name()
-
secondaryKitchenPrinterMode
@Nonnull public Optional<API.ProductGroup.SecondaryKitchenPrinterMode> secondaryKitchenPrinterMode()
-
secondaryKitchenPrinters
@Nonnull public Optional<API.Peripheral.Function[]> secondaryKitchenPrinters()
-
type
@Nonnull public API.ProductGroup.Type type()
-
vatRate
@Nonnull public Float vatRate()
-
account
@Nonnull public API.ProductGroup account(@Nullable Integer account)
-
alert
@Nonnull public API.ProductGroup alert(@Nullable String alert)
-
created
@Nonnull public API.ProductGroup created(@Nullable String created)
-
deleted
@Nonnull public API.ProductGroup deleted(@Nullable String deleted)
-
discountAccount
@Nonnull public API.ProductGroup discountAccount(@Nullable Integer discountAccount)
-
id
@Nonnull public API.ProductGroup id(@Nullable Long id)
-
kitchenPrinter
@Nonnull public API.ProductGroup kitchenPrinter(@Nullable API.Peripheral.Function kitchenPrinter)
-
labels
@Nonnull public API.ProductGroup labels(@Nullable Long[] labels)
-
modifiers
@Nonnull public API.ProductGroup modifiers(@Nullable Long[] modifiers)
-
name
@Nonnull public API.ProductGroup name(String name)
-
secondaryKitchenPrinterMode
@Nonnull public API.ProductGroup secondaryKitchenPrinterMode(@Nullable API.ProductGroup.SecondaryKitchenPrinterMode secondaryKitchenPrinterMode)
-
secondaryKitchenPrinters
@Nonnull public API.ProductGroup secondaryKitchenPrinters(@Nullable API.Peripheral.Function[] secondaryKitchenPrinters)
-
tags
@Nonnull public API.ProductGroup tags(@Nullable String[] tags)
-
type
@Nonnull public API.ProductGroup type(API.ProductGroup.Type type)
-
undiscountable
@Nonnull public API.ProductGroup undiscountable(@Nullable Boolean undiscountable)
-
updated
@Nonnull public API.ProductGroup updated(@Nullable String updated)
-
updatedBy
@Nonnull public API.ProductGroup updatedBy(@Nullable Long updatedBy)
-
updatedFrom
@Nonnull public API.ProductGroup updatedFrom(@Nullable Long updatedFrom)
-
vatAccount
@Nonnull public API.ProductGroup vatAccount(@Nullable Integer vatAccount)
-
vatRate
@Nonnull public API.ProductGroup vatRate(Float vatRate)
-
-