// // WAIPay.h // WASdkIntfUI // // Created by GHW-T-01 on 16/3/1. // Copyright © 2016年 GHW-T-01. All rights reserved. // #import #import @protocol WAInventoryDelegate,WAPaymentDelegate; @interface WAIPay : NSObject -(void)init4Iap; -(void)queryInventory:(id)delegate; -(void)payWithProductId:(NSString *)productId extInfo:(NSString *)extInfo delegate:(id)delegate; -(void)queryChannelProduct:(NSString *)channel callBackBlock:(void(^)(NSArray *channelProductsArray,NSError *error))callBackBlock; -(BOOL)isPayServiceAvailable; -(void)fetchProductInformations:(NSDictionary *)waProductIds inventoryDelegate:(id)delegate; - (void)checkFinishTransactions; -(SKProduct*)getCurrentProduct; -(NSData*)getCurrentReceipt; -(float)getReorderLimitTime; -(void)payLog:(NSString *)logInfo; @end