BRPromotionInfo

Objective-C

@interface BRPromotionInfo : NSObject <BRSerializable>

Swift

class BRPromotionInfo : NSObject, BRSerializable

Represents information about a promotion retrieved for the current user

  • The promotion slug from the PVP dashboard

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull slug;

    Swift

    var slug: String { get }
  • Whether this promotion is targeted to this user or not

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL targeted;

    Swift

    var targeted: Bool { get }