CardIncentivesRules
public enum CardIncentivesRules : Codable, Sendable
Card incentive value.
-
Array of incentive rule unique identifiers.
Declaration
Swift
case ids([String]) -
Array of incentives.
Declaration
Swift
case rules([CardIncentiveRule]) -
Empty or unknown.
Declaration
Swift
case none -
Creates a new instance by decoding from the given decoder.
Declaration
Swift
public init(from decoder: Decoder) throwsParameters
decoderThe decoder to read data from.
-
Encodes the instance by encoding to the given decoder.
Declaration
Swift
public func encode(to encoder: Encoder) throwsParameters
encoderThe encoder to write data to.
View on GitHub