lipengwei
2020-05-27 bb7718ed21868b2a766485e3792607973706ccaa
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;