Discount
@objc(_TtCCC15CloverConnector9CLVModels5Order8Discount)
public class Discount : NSObject, NSCoding, Mappable
-
Unique identifier
Declaration
Swift
public var id: String? -
If this item is based on a standard discount, this will point to the appropriate inventory.Discount
Declaration
Swift
public var discount: CLVModels.Inventory.Discount? -
Name of the discount
Declaration
Swift
public var name: String? -
Discount amount in fraction of currency unit (e.g. cents) based on currency fraction digits supported
Declaration
Swift
public var amount: Int? -
Discount amount in percent
Declaration
Swift
public var percentage: Int? -
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)
Discount Class Reference