ResponseInfo
public struct ResponseInfo : Codable, Equatable
Struct representing reward response info values.
-
The reward response id
Declaration
Swift
public var responseId: Int -
Returns if the reward is respondable or not.
Declaration
Swift
public var isRespondable: Bool -
Respondable info of the reward
Declaration
Swift
public var respondableInfo: RespondableInfo? -
Message from the response.
Declaration
Swift
public var responseMessage: String -
The cerfiticate of the reward response.
Declaration
Swift
public var certificate: Certificate? -
The coupon of the reward response.
Declaration
Swift
public var coupon: Coupon? -
The embedded data of the reward response.
Declaration
Swift
public var embedded: AnyCodable? -
Undocumented
Declaration
Swift
public init(responseId: Int, isRespondable: Bool, respondableInfo: RespondableInfo?, responseMessage: String, certificate: Certificate?, coupon: Coupon?, embedded: AnyCodable?) -
Declaration
Swift
public init(from decoder: Decoder) throws -
Declaration
Swift
public func encode(to encoder: Encoder) throws
View on GitHub
ResponseInfo Structure Reference