Before using this class you must authorize or register with the help of VPNUAuthorizer class. You must pass the same VPNUTransport instance to its constructor as you have passed to VPNUAuthorizer instance constructor.
Extends: NSObject
Declared in: VPNUPurchaseManager.h
- (instancetype)initWithTransport:(VPNUTransport *)transport NS_DESIGNATED_INITIALIZER;
An initialized purchase manager object or nil if the object couldn't be created.
- (NSError *)validatePurchaseItem:(VPNUPurchaseItem *)purchaseItem;
nil if validation succeeded, error object otherwise. Possible error responses: 343, 502, 503, 505
This method blocks a calling thread. This method shouldn't be called from main thread.
+ (instancetype)purchaseManagerWithTransport:(VPNUTransport *)transport;
An initialized purchase manager object or nil if the object couldn't be created.
This method is a convenience constructor.