LoyaltyDiscount
public class LoyaltyDiscount : Amount
Loyalty discount.
-
Create amount using minor units.
Declaration
Swift
public init(amount: Int, currency: CCurrency, discountDescription: String?)
-
Create amount using minor units.
Declaration
Swift
public init(amount: Int, currency: CCurrency, exponent: Int, discountDescription: String?) throws
-
Create amount using minor units.
Declaration
Swift
public init(amount: Int64, currency: CCurrency, discountDescription: String?)
-
Create amount using minor units.
Declaration
Swift
public init(amount: Int64, currency: CCurrency, exponent: Int, discountDescription: String?) throws
-
Create amount using major units.
Declaration
Swift
public init(amount: Double, currency: CCurrency, discountDescription: String?)
-
Create amount using major units.
Declaration
Swift
public init(amount: Double, currency: CCurrency, exponent: Int, discountDescription: String?) throws
-
Discount description.
Declaration
Swift
public var discountDescription: String?
-
Textual representation.
Declaration
Swift
override public var description: String { get }