RedemptionDetailController

open class RedemptionDetailController : DetailController

Undocumented

Properties

  • id

    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?

Initializers

  • Returns a newly initialized redemption detail controller with the specified redemption ID.

    Declaration

    Swift

    public init(id: Int)

    Parameters

    id

    The ID of the redemption.

    Return Value

    The initialized redemption detail controller.

Open Methods

  • 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()