//
|
// 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
|