hank
2017-06-14 dcbf70902c8986e8271fd60d25b114e103d8e7f4
commit | author | age
dcdc07 1 //
W 2 //  WAIPay.h
3 //  WASdkIntfUI
4 //
5 //  Created by GHW-T-01 on 16/3/1.
6 //  Copyright © 2016年 GHW-T-01. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10 #import <StoreKit/StoreKit.h>
11
12 @protocol WAInventoryDelegate,WAPaymentDelegate;
13 @interface WAIPay : NSObject
14 -(void)init4Iap;
15 -(void)queryInventory:(id<WAInventoryDelegate>)delegate;
16 -(void)payWithProductId:(NSString *)productId extInfo:(NSString *)extInfo delegate:(id<WAPaymentDelegate>)delegate;
17 -(BOOL)isPayServiceAvailable;
c54d17 18 -(void)fetchProductInformations:(NSDictionary *)waProductIds inventoryDelegate:(id<WAInventoryDelegate>)delegate;
dcdc07 19 -(SKProduct*)getCurrentProduct;
W 20 -(NSData*)getCurrentReceipt;
21 -(float)getReorderLimitTime;
1417b8 22 -(void)payLog:(NSString *)logInfo;
dcdc07 23 @end