lpw
2025-03-18 e7ee6f733786ee45a7360776ec2534ffdfb8ef8c
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
29
30
31
32
33
34
35
36
37
38
39
//
//  WAPurchaseEvent.h
//  WASdkImpl
//
//  Created by lpw on 2025/2/27.
//  Copyright © 2025 GHW-T-01. All rights reserved.
//
/**
 * ghw_level_achieved 等级增长事件
 */
#import <WASdkIntf/WAEvent.h>
 
NS_ASSUME_NONNULL_BEGIN
 
@interface WAPurchaseEvent : WAEvent
 
 
/**
 * ghw_purchase 购买完成事件
 * <br>触发时机:购买完成的时调用
 *
 * @param itemName   商品名称 或者 商品ID
 * @param itemAmount 交易的数量,一般为 1
 * @param price      交易的总价
 */
 
- (instancetype)initWithItemName:(NSString *)itemName
                       itemAmount:(int)itemAmount
                           price:(float)price;
 
 
 
 
 
@end
 
 
 
NS_ASSUME_NONNULL_END