RequiredAttributesRewardViewController
open class RequiredAttributesRewardViewController : CollectionViewController, RewardResponderDelegate
Undocumented
-
The redeem in store button.
Declaration
Swift
@IBOutlet public var inStoreButton: UIButton?
-
The redeem in store button.
Declaration
Swift
@IBOutlet public var shipButton: UIButton?
-
Loading alert that is displayed when responding on a challenge.
Declaration
Swift
open var loadingAlert: AlertViewController
-
Initializer assigning the reward object and the selected combination, if any
Declaration
Swift
public convenience init(with reward: Reward, awardId: Int? = nil, collectionController: RequiredAttributesCollectionController? = RequiredAttributesCollectionController(), selectedCombination: Int? = nil)
-
Setup method.
Declaration
Swift
override open func setup()
-
Setup action buttons depending on the supported redeem options.
Declaration
Swift
open func setupActionButtons()
-
Undocumented
Declaration
Swift
open func enableActionButtons(_ enable: Bool)
-
Undocumented
Declaration
Swift
open func close()
-
Declaration
Swift
public func onFailure(with error: Error)
-
Declaration
Swift
public func onSuccess(with apiResponse: APIResponse<Reward.ResponseInfo>)