VOVoucherManager
@interface VOVoucherManager : NSObject <VOVoucherManagerProtocol>
Default implemenation of the VOVoucherManagerProtocol
.
VOVoucherManager
is responsible for managing anything related to VOVoucher
s.
-
RACSignal that signals anytime a
VOVoucher
is updated (saved to cache) with the updatedVOVoucher
. To receive notifications anytime a VOVoucher is updated, subscribe to this signal.Declaration
Objective-C
@property (readonly, nonatomic) RACSignal *_Nonnull voucherUpdatedSignal;
Swift
var voucherUpdatedSignal: RACSignal { get }
-
Default initializer for
VOVoucherManager
.Declaration
Objective-C
- (nonnull instancetype) initWithNetworkManager:(nonnull id<VONetworkManagerProtocol>)networkManager cacheManager:(nullable id<VOCacheProtocol>)cacheManager mediaUploadManager: (nonnull id<VOMediaUploadManagerProtocol>)mediaUploadManager userManager:(nonnull id<VOUserManagerProtocol>)userManager;