OrderAmount

public class OrderAmount: NSObject

Wrapper class to manage specific order amount feature

  • Amount without tax

    Declaration

    Swift

    @objc public var amountTaxFree: Double = -1
  • Amount with tax

    Declaration

    Swift

    @objc public var amountTaxIncluded: Double = -1
  • Tax amount

    Declaration

    Swift

    @objc public var taxAmount: Double = -1
  • Attach amount object to order

    Declaration

    Swift

    @objc public func set(_ amountTaxFree: Double, amountTaxIncluded: Double, taxAmount: Double) -> Order