From 2457d93622015b41229cd438bcde68c1bcf729c4 Mon Sep 17 00:00:00 2001 From: lpw Date: Wed, 14 Jun 2023 09:33:00 +0800 Subject: [PATCH] 添加V2.8.0 --- frameworks/WASdkIntf.framework/Headers/WAPayProxy.h | 22 +++++++++++++++++----- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/frameworks/WASdkIntf.framework/Headers/WAPayProxy.h b/frameworks/WASdkIntf.framework/Headers/WAPayProxy.h index d767bc4..a0c71fb 100644 --- a/frameworks/WASdkIntf.framework/Headers/WAPayProxy.h +++ b/frameworks/WASdkIntf.framework/Headers/WAPayProxy.h @@ -8,7 +8,7 @@ #import <Foundation/Foundation.h> #import "WAIPay.h" -@class WAIapProduct,WAIapResult; +@class WAIapProduct,WAIapResult,WAChannelProduct; /*! @discussion 查询商品库存协议 @@ -60,6 +60,15 @@ @param delegate 委托 */ +(void)queryInventoryWithDelegate:(id<WAInventoryDelegate>)delegate; + +/*! +@abstract 查询渠道商品调用方法 +@param callBackBlock 回调 +*/ ++ (void)queryChannelProduct:(NSString *)channel + callBackBlock:(void(^)(NSArray <WAChannelProduct *>*channelProductsArray,NSError *error))callBackBlock; + + /*! @abstract 支付某个商品 @param productId 商品id @@ -68,10 +77,13 @@ */ +(void)payWithProductId:(NSString*)productId extInfo:(NSString*)extInfo delegate:(id<WAPaymentDelegate>)delegate; /*! - @abstract 查询是否某个支付平台 - @param platform 支付平台 - @return bool 是否支持某个支付平台 + @abstract 查询是否支持支付 + @return bool 是否支持支付 */ -+(BOOL)isPayServiceAvailableWithPlatform:(NSString *const)platform; ++(BOOL)isPayServiceAvailable; + ++(void)payLog:(NSString *)logInfo; + + @end -- Gitblit v1.8.0