OrderType

@objc(_TtCCC15CloverConnector9CLVModels5Order9OrderType)
public class OrderType : NSObject, NSCoding, Mappable
  • id

    Unique identifier

    Declaration

    Swift

    public var id: String?
  • Label Key

    Declaration

    Swift

    public var labelKey: String?
  • Label Key

    Declaration

    Swift

    public var label: String?
  • If this order type is taxable

    Declaration

    Swift

    public var taxable: Bool?
  • If this order type is the default

    Declaration

    Swift

    public var isDefault: Bool?
  • If set to false, then this order type includes all of the merchant’s categories. Otherwise, it only contains the categories defined in the “categories” field on this object.

    Declaration

    Swift

    public var filterCategories: Bool?
  • If this order type is hidden on the register

    Declaration

    Swift

    public var isHidden: Bool?
  • fee

    The price of a fee added to this order type

    Declaration

    Swift

    public var fee: Int?
  • The minimum amount required for an order to be placed

    Declaration

    Swift

    public var minOrderAmount: Int?
  • The maximum amount for an order allowed

    Declaration

    Swift

    public var maxOrderAmount: Int?
  • The maximum radius allowed for an order (i.e. delivery)

    Declaration

    Swift

    public var maxRadius: Int?
  • The average time it takes to complete the order

    Declaration

    Swift

    public var avgOrderTime: Int?
  • Declaration

    Swift

    public var hoursAvailable: CLVModels.Order.HoursAvailable?
  • Declaration

    Swift

    public var customerIdMethod: CLVModels.Order.CustomerIdMethod?
  • If this order type is deleted

    Declaration

    Swift

    public var isDeleted: Bool?
  • Optional system order type that this order type is associated with.

    Declaration

    Swift

    public var systemOrderTypeId: String?
  • The hours this order type is available (if they differ from normal merchant hours)

    Declaration

    Swift

    public var hours: CLVModels.Hours.HoursSet?
  • The categories of items that can be assigned to this order type

    Declaration

    Swift

    public var categories: [CLVModels.Inventory.Category]?
  • Declaration

    Swift

    public func encode(with aCoder: NSCoder)
  • Declaration

    Swift

    required public init(coder aDecoder: NSCoder)
  • Declaration

    Swift

    override public init()
  • Declaration

    Swift

    required public init?(map: Map)
  • Declaration

    Swift

    public func mapping(map: Map)