Order

@objc(_TtCCC15CloverConnector9CLVModels5Order5Order)
public class Order : NSObject, NSCoding, Mappable
  • id

    Unique identifier

    Declaration

    Swift

    public var id: String?
  • Currency of this order

    Declaration

    Swift

    public var currency: String?
  • Declaration

    Swift

    public var customers: [CLVModels.Customers.Customer]?
  • The employee who took this order

    Declaration

    Swift

    public var employee: CLVModels.Employees.Employee?
  • Total price of the order

    Declaration

    Swift

    public var total: Int?
  • Declaration

    Swift

    public var title: String?
  • Declaration

    Swift

    public var note: String?
  • Declaration

    Swift

    public var orderType: CLVModels.Order.OrderType?
  • Declaration

    Swift

    public var taxRemoved: Bool?
  • Declaration

    Swift

    public var isVat: Bool?
  • Declaration

    Swift

    public var state: String?
  • Declaration

    Swift

    public var manualTransaction: Bool?
  • Declaration

    Swift

    public var groupLineItems: Bool?
  • Declaration

    Swift

    public var testMode: Bool?
  • Declaration

    Swift

    public var payType: CLVModels.Order.PayType?
  • Creation timestamp

    Declaration

    Swift

    public var createdTime: Date?
  • Declaration

    Swift

    public var clientCreatedTime: Date?
  • Last modified time of the order

    Declaration

    Swift

    public var modifiedTime: Date?
  • Declaration

    Swift

    public var deletedTimestamp: Date?
  • Optional service charge (gratuity) applied to this order

    Declaration

    Swift

    public var serviceCharge: CLVModels.Base.ServiceCharge?
  • Declaration

    Swift

    public var discounts: [CLVModels.Order.Discount]?
  • Declaration

    Swift

    public var lineItems: [CLVModels.Order.LineItem]?
  • Declaration

    Swift

    public var taxRates: [CLVModels.Order.OrderTaxRate]?
  • Payments that were made for this order

    Declaration

    Swift

    public var payments: [CLVModels.Payments.Payment]?
  • Refunds that were made for this order

    Declaration

    Swift

    public var refunds: [CLVModels.Payments.Refund]?
  • Declaration

    Swift

    public var credits: [CLVModels.Payments.Credit]?
  • Voided payments associated with this order

    Declaration

    Swift

    public var voids: [CLVModels.Payments.Payment]?
  • Device which created the order

    Declaration

    Swift

    public var device: CLVModels.Device.Device?
  • 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)