GenericRewardViewController
open class GenericRewardViewController : GenericAlertViewController, RewardResponderDelegate
Class that is use for Basic Reward types.
-
Stack view of the view.
Declaration
Swift
@IBOutlet public weak var containerStackView: UIStackView!
-
Activity indicator of the view.
Declaration
Swift
@IBOutlet public weak var activityIndicator: UIActivityIndicatorView!
-
Message container view of the view.
Declaration
Swift
@IBOutlet public weak var messageContainerView: UIView!
-
Reward Responder object.
Declaration
Swift
open var responder: RewardResponder?
-
Default Response message that will be displayed when response message is not available.
Declaration
Swift
open var defaultResponseMessage: String
-
Parameters for redeeming of the reward.
Declaration
Swift
open var parameters: Parameters?
-
Undocumented
Declaration
Swift
public convenience init(with reward: Reward, awardId: Int? = nil, heading: String? = nil, defaultResponseMessage: String? = nil, reloadCompletion: (() -> Void)? = nil, nibName: String = "GenericRewardViewController")
-
Declaration
Swift
override open func setup()
-
Declaration
Swift
open func onSuccess(with apiResponse: APIResponse<Reward.ResponseInfo>)
-
Declaration
Swift
open func onFailure(with error: Error)