OrderDiscount
public class OrderDiscount: NSObject
Wrapper class to manage specific order discount feature
-
Discount with tax
Declaration
Swift
@objc public var discountTaxIncluded: Double = -1 -
Discount without tax
Declaration
Swift
@objc public var discountTaxFree: Double = -1 -
Promotional code
Declaration
Swift
@objc public var promotionalCode: String? -
Attach discount to order
Declaration
Swift
@objc public func set(_ discountTaxFree: Double, discountTaxIncluded: Double, promotionalCode: String) -> Order
OrderDiscount Class Reference