19 lines
500 B
Objective-C
19 lines
500 B
Objective-C
//
|
|
// UIViewController+Purchase.h
|
|
// Unity-iPhone
|
|
//
|
|
// Created by Hl Zhang on 2023/3/21.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@interface UIViewController (Purchase)
|
|
- (void)initPurchaseEnv;
|
|
- (void)queryProducts:(NSString *)funId products:(NSString *)products;
|
|
- (void)queryPurchase:(NSString *)funId;
|
|
- (void)finishTransaction:(NSString *)funId transactionId: (NSString *) transactionId;
|
|
- (void)beginBuy:(NSString *)funId productId:(NSString *)productId orderId:(NSString *)orderId;
|
|
@end
|