From dbf5355a73461560459217cbc56e74fc8b801879 Mon Sep 17 00:00:00 2001 From: lpw Date: Mon, 24 Jun 2024 17:04:02 +0800 Subject: [PATCH] 提交4.0.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