From 2f0847c51cfe186abd2c4fc554108edc1890d222 Mon Sep 17 00:00:00 2001 From: lpw Date: Wed, 25 Sep 2024 14:49:26 +0800 Subject: [PATCH] 提交4.3.0 --- frameworks/WASdkIntf.framework/Headers/WAPayProxy.h | 24 ++++++++++++++++++------ 1 files changed, 18 insertions(+), 6 deletions(-) diff --git a/frameworks/WASdkIntf.framework/Headers/WAPayProxy.h b/frameworks/WASdkIntf.framework/Headers/WAPayProxy.h index d767bc4..0e4d4cd 100644 --- a/frameworks/WASdkIntf.framework/Headers/WAPayProxy.h +++ b/frameworks/WASdkIntf.framework/Headers/WAPayProxy.h @@ -7,8 +7,8 @@ // #import <Foundation/Foundation.h> -#import "WAIPay.h" -@class WAIapProduct,WAIapResult; +#import <WASdkIntf/WAIPay.h> +@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