From bb7718ed21868b2a766485e3792607973706ccaa Mon Sep 17 00:00:00 2001 From: lipengwei <lipengwei@nianben.com> Date: Wed, 27 May 2020 09:47:23 +0800 Subject: [PATCH] 3.8.4 --- frameworks/WAApImpl.framework/Headers/WAAPIapSingleton.h | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/frameworks/WAApImpl.framework/Headers/WAAPIapSingleton.h b/frameworks/WAApImpl.framework/Headers/WAAPIapSingleton.h index 90e38a7..49fe44b 100644 --- a/frameworks/WAApImpl.framework/Headers/WAAPIapSingleton.h +++ b/frameworks/WAApImpl.framework/Headers/WAAPIapSingleton.h @@ -43,19 +43,20 @@ */ +(WAAPIapSingleton *)shareInstance; -/** - * 获取商品列表 - */ -+(void)queryInventory:(id<WAInventoryDelegate>)delegate; +///** +// * 获取商品列表 +// */ +//+(void)queryInventory:(id<WAInventoryDelegate>)delegate; /** * 单个商品购买 * + * @param waProductId 对应wa产品id * @param product 对应苹果商品类 * @param serverId服务器id * @param extInfo一些额外信息 */ -+(void)singlePurchase:(SKProduct*)product withServerId:(NSString*)serverId withExtInfo:(NSString*)extInfo; ++(void)singlePurchaseWithWAProductId:(NSString *)waProductId product:(SKProduct*)product withServerId:(NSString*)serverId withExtInfo:(NSString*)extInfo; /** * 单个商品购买 * @@ -64,7 +65,7 @@ */ +(void)payWithProductId:(NSString *)productId extInfo:(NSString *)extInfo delegate:(id<WAPaymentDelegate>)delegate; -+(void)fetchProductInformations:(NSDictionary *)waProducts; ++(void)fetchProductInformations:(NSDictionary *)waProducts inventoryDelegate:(id<WAInventoryDelegate>)delegate; +(SKProduct*)getCurrentProduct; -- Gitblit v1.8.0