VOMerchantManager
@interface VOMerchantManager : NSObject <VOMerchantManagerProtocol>
VOMerchantManager
is the default implementation of VOMerchantManagerProtocol
.
It is responsible for requesting and parsing VOMerchant
s from the VouchrServer.
-
Default initializer for
VOMerchantManager
Declaration
Objective-C
- (nonnull instancetype) initWithNetworkManager:(nonnull id<VONetworkManagerProtocol>)networkManager cacheManager:(nullable id<VOCacheProtocol>)cacheManager;
Parameters
networkManager
- object responsible for facilitating communication with Vouchr Server.
cacheManager
- used to cache
VOMerchant
s. If this is nil, noVOMerchant
s will be cached.