IncentivesSuccessDelegate

public protocol IncentivesSuccessDelegate : AnyObject

Delegate called when an action on a incentive is done.

  • didGetIncentive(_:) Default implementation

    Incentive has been retrieved from user account.

    Default Implementation

    Incentive has been retrieved from user account.

    Declaration

    Swift

    func didGetIncentive(_ incentive: IncentiveRule)

    Parameters

    incentive

    A IncentiveRule model.

  • didListIncentives(_:) Default implementation

    All incentives have been retrieved from user account.

    Default Implementation

    All incentives have been retrieved from user account.

    Declaration

    Swift

    func didListIncentives(_ incentives: [IncentiveRule])

    Parameters

    incentives

    A Array<IncentiveRule> list.