OrderAmount

public class OrderAmount : NSObject

Wrapper class to manage specific order amount feature

  • Amount without tax

    Declaration

    Swift

    @objc
    public var amountTaxFree: Double
  • Amount with tax

    Declaration

    Swift

    @objc
    public var amountTaxIncluded: Double
  • Tax amount

    Declaration

    Swift

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

    Declaration

    Swift

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

    Parameters

    amountTaxFree

    amount value tax free

    amountTaxIncluded

    amount value tax included

    taxAmount

    tax amount

    Return Value

    the Order instance