lpw
2024-06-24 dbf5355a73461560459217cbc56e74fc8b801879
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//
//  WAIPay.h
//  WASdkIntfUI
//
//  Created by GHW-T-01 on 16/3/1.
//  Copyright © 2016年 GHW-T-01. All rights reserved.
//
 
#import <Foundation/Foundation.h>
#import <StoreKit/StoreKit.h>
 
@protocol WAInventoryDelegate,WAPaymentDelegate;
@interface WAIPay : NSObject
-(void)init4Iap;
-(void)queryInventory:(id<WAInventoryDelegate>)delegate;
-(void)payWithProductId:(NSString *)productId extInfo:(NSString *)extInfo delegate:(id<WAPaymentDelegate>)delegate;
-(void)queryChannelProduct:(NSString *)channel
             callBackBlock:(void(^)(NSArray *channelProductsArray,NSError *error))callBackBlock;
-(BOOL)isPayServiceAvailable;
-(void)fetchProductInformations:(NSDictionary *)waProductIds inventoryDelegate:(id<WAInventoryDelegate>)delegate;
- (void)checkFinishTransactions;
-(SKProduct*)getCurrentProduct;
-(NSData*)getCurrentReceipt;
-(float)getReorderLimitTime;
-(void)payLog:(NSString *)logInfo;
-(void)startRunAppleTransactionObserve;
-(void)removeAppleTransactionObserve;
@end