RewardDetailController

open class RewardDetailController : DetailController

Undocumented

Properties

  • Award ID for a reward.

    Declaration

    Swift

    open var awardID: Int?
  • Status of the award.

    Declaration

    Swift

    open var awardStatus: String
  • id

    The ID of the reward to get.

    Declaration

    Swift

    open var id: Int
  • Parameter that will used on getting the reward detail.

    Declaration

    Swift

    open var params: [String : Any] { get }
  • Observer for when reward is redeemed.

    Declaration

    Swift

    open var rewardRedeemedListener: NSObjectProtocol?
  • Boolean value if the award is available for redeem.

    Declaration

    Swift

    open var isRedeemable: Bool { get set }
  • Responsible for navigation throughout different reward type responder.

    Declaration

    Swift

    open var responderFactory: RewardResponderFactory.Type
  • Declaration

    Swift

    open var statefulViewController: StatefulViewController?
  • Declaration

    Swift

    open var detailProvider: DetailPresentable?

Initializers

  • Returns a newly initialized reward detail controller with the specified reward ID and award id optionally.

    Declaration

    Swift

    public init(id: Int, awardID: Int? = nil)

    Parameters

    id

    The ID of the reward.

    awardID

    The ID of the award.

    Return Value

    The initialized reward detail controller.

  • Declaration

    Swift

    open func actionButtonPressed(_ actionButton: UIButton)
  • Declaration

    Swift

    open func loadContent()
  • Declaration

    Swift

    open func refreshContent()
  • Setup the listener for when the reward is redeemed.

    Declaration

    Swift

    open func setupRewardRedeemedListener()
  • Check whether the given Reward is Redeemable and sets the isRedeemable property to false if the reward is not redeemable.

    Declaration

    Swift

    open func setupRewardRespondableStatus()
  • Undocumented

    Declaration

    Swift

    open func setupAwardClaimStatus()
  • Undocumented

    Declaration

    Swift

    open func rewardRedeemed()