lpw
2024-05-16 be2ada40e61b26b4546ba90207dfd7b2479d422c
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;
11ca32 17 -(void)queryChannelProduct:(NSString *)channel
L 18              callBackBlock:(void(^)(NSArray *channelProductsArray,NSError *error))callBackBlock;
dcdc07 19 -(BOOL)isPayServiceAvailable;
c54d17 20 -(void)fetchProductInformations:(NSDictionary *)waProductIds inventoryDelegate:(id<WAInventoryDelegate>)delegate;
99a8fe 21 - (void)checkFinishTransactions;
dcdc07 22 -(SKProduct*)getCurrentProduct;
W 23 -(NSData*)getCurrentReceipt;
24 -(float)getReorderLimitTime;
1417b8 25 -(void)payLog:(NSString *)logInfo;
1ac090 26 -(void)startRunAppleTransactionObserve;
L 27 -(void)removeAppleTransactionObserve;
dcdc07 28 @end