VODiscoverManagerProtocol

@protocol VODiscoverManagerProtocol <NSObject>

- (void)requestVoucherTemplateCategoriesWithSuccess:(void(^)(NSArray <VOVoucherTemplate *> *voucherTemplates))onSuccess
                                            failure:(void(^)(NSError *error))onFail;

- (void)requestVoucherTemplatesForCategory:(VOVoucherTemplateCategory *)category
                                 onSuccess:(void (^)(NSArray<VOVoucherTemplate *> *voucherTemplates))onSuccess
                                   failure:(void (^)(NSError *error))onFail;

@end

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (void)requestVoucherTemplateCategoriesWithSuccess:(void(^)(NSArray <VOVoucherTemplate *> *voucherTemplates))onSuccess
                                                failure:(void(^)(NSError *error))onFail;

    Swift

    func requestVoucherTemplateCategories(success onSuccess: ((Int32) -> Void)!, failure onFail: ((UnsafeMutablePointer<Int32>?) -> Void)!)
  • Undocumented

    Declaration

    Objective-C

    - (void)requestVoucherTemplatesForCategory:(VOVoucherTemplateCategory *)category
                                     onSuccess:(void (^)(NSArray<VOVoucherTemplate *> *voucherTemplates))onSuccess
                                       failure:(void (^)(NSError *error))onFail;

    Swift

    func requestVoucherTemplates(for category: VOVoucherTemplateCategory!, onSuccess: ((Int32) -> Void)!, failure onFail: ((UnsafeMutablePointer<Int32>?) -> Void)!)