You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.1 KiB
32 lines
1.1 KiB
|
|
#import "UMONItem.h" |
|
#import "UPURProduct.h" |
|
|
|
NS_ASSUME_NONNULL_BEGIN |
|
|
|
@interface UMONPromoMetaDataBuilder : NSObject |
|
@property(strong, nonatomic) NSDate *impressionDate; |
|
@property(nonatomic) NSTimeInterval offerDuration; |
|
@property(strong) UPURProduct *premiumProduct; |
|
@property(strong) NSArray<UMONItem *> *costs; |
|
@property(strong) NSArray<UMONItem *> *payouts; |
|
@property(strong) NSDictionary<NSString *, NSObject *> *userInfo; |
|
@end |
|
|
|
@interface UMONPromoMetaData : NSObject |
|
-(instancetype)initWithBuilder:(UMONPromoMetaDataBuilder *)builder; |
|
|
|
@property(strong, nonatomic, nullable) NSDate *impressionDate; |
|
@property(nonatomic, readonly) NSTimeInterval offerDuration; |
|
@property(strong, readonly, nullable) UPURProduct *premiumProduct; |
|
@property(strong, readonly) NSArray<UMONItem *> *costs; |
|
@property(strong, readonly) NSArray<UMONItem *> *payouts; |
|
@property(strong, readonly) NSDictionary<NSString *, NSObject *> *userInfo; |
|
-(BOOL)isExpired; |
|
-(BOOL)isPremium; |
|
-(NSTimeInterval)timeRemaining; |
|
-(UMONItem *__nullable)cost; |
|
-(UMONItem *__nullable)payout; |
|
@end |
|
|
|
NS_ASSUME_NONNULL_END
|
|
|