RedemptionDetailController
open class RedemptionDetailController : DetailController
Undocumented
-
ID of the redemption to display.
Declaration
Swift
open var id: Int -
String to use for setting up the text of the notes label.
Declaration
Swift
open var notes: String { get } -
Declaration
Swift
open var detailProvider: DetailPresentable? -
Declaration
Swift
open var statefulViewController: StatefulViewController?
-
Returns a newly initialized redemption detail controller with the specified redemption ID.
Declaration
Swift
public init(id: Int)Parameters
idThe ID of the redemption.
Return Value
The initialized redemption detail controller.
-
Declaration
Swift
open func actionButtonPressed(_ actionButton: UIButton) -
Declaration
Swift
open func loadContent() -
Declaration
Swift
open func refreshContent() -
Setup the action button depending of the redemption status.
Declaration
Swift
open func setupActionButton() -
Calls an API Request to cancel the redemption.
Declaration
Swift
open func cancelReward()
View on GitHub
RedemptionDetailController Class Reference