From 3ee0985f4931a0e375f98f9a130779ea4ab698ed Mon Sep 17 00:00:00 2001 From: hank <hank.zhang@proficientcity.com> Date: Wed, 17 Apr 2019 16:25:17 +0800 Subject: [PATCH] [Update] WAApImpl (3.8.0.1) --- 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