LPW
2022-01-05 035a6d2094def3c420ce5cdb0b4949ce1a0b47c7
commit | author | age
d1f6ab 1 //
H 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;
56b891 17 -(void)queryChannelProduct:(NSString *)channel
L 18              callBackBlock:(void(^)(NSArray *channelProductsArray,NSError *error))callBackBlock;
d1f6ab 19 -(BOOL)isPayServiceAvailable;
H 20 -(void)fetchProductInformations:(NSDictionary *)waProductIds inventoryDelegate:(id<WAInventoryDelegate>)delegate;
d8ccc2 21 - (void)checkFinishTransactions;
d1f6ab 22 -(SKProduct*)getCurrentProduct;
H 23 -(NSData*)getCurrentReceipt;
24 -(float)getReorderLimitTime;
8b0e10 25 -(void)payLog:(NSString *)logInfo;
55db1c 26 -(void)startRunAppleTransactionObserve;
L 27 -(void)removeAppleTransactionObserve;
d1f6ab 28 @end