AmountFinal
public class AmountFinal : Amount
Final amount after a Terminal.amtAdjustment has been processed by the terminal.
-
Create amount using minor units.
Declaration
Swift
public init(amount: Int, currency: CCurrency, adjustmentResult: CAdjustmentResult)
-
Create amount using minor units.
Declaration
Swift
public init(amount: Int, currency: CCurrency, exponent: Int, adjustmentResult: CAdjustmentResult) throws
-
Create amount using minor units.
Declaration
Swift
public init(amount: Int64, currency: CCurrency, adjustmentResult: CAdjustmentResult)
-
Create amount using minor units.
Declaration
Swift
public init(amount: Int64, currency: CCurrency, exponent: Int, adjustmentResult: CAdjustmentResult) throws
-
Create amount using major units.
Declaration
Swift
public init(amount: Double, currency: CCurrency, adjustmentResult: CAdjustmentResult)
-
Create amount using major units.
Declaration
Swift
public init(amount: Double, currency: CCurrency, exponent: Int, adjustmentResult: CAdjustmentResult) throws
-
Discount type.
Declaration
Swift
public var adjustmentResult: CAdjustmentResult
-
Textual representation.
Declaration
Swift
override public var description: String { get }