6 files modified
2 files added
| | |
| | | Pod::Spec.new do |s| |
| | | |
| | | s.name = 'WASdkIntf' |
| | | s.version = '3.8.2' |
| | | s.version = '3.8.3' |
| | | s.summary = 'WASdkIntf framework in production environment.' |
| | | s.license = 'MIT' |
| | | s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" } |
New file |
| | |
| | | # |
| | | # Be sure to run `pod spec lint WASdkIntf.podspec' to ensure this is a |
| | | # valid spec and to remove all comments including this before submitting the spec. |
| | | # |
| | | # To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html |
| | | # To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/ |
| | | # |
| | | |
| | | Pod::Spec.new do |s| |
| | | |
| | | s.name = 'WASdkIntf' |
| | | s.version = '3.8.3' |
| | | s.summary = 'WASdkIntf framework in production environment.' |
| | | s.license = 'MIT' |
| | | s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" } |
| | | s.homepage = 'http://repo.wingsdk.cn:8082/summary/WASdkIntf.git' |
| | | s.source = { :git => "http://admin@repo.wingsdk.cn:8082/r/WASdkIntf.git" , :tag => s.version} |
| | | s.platform = :ios |
| | | s.ios.deployment_target = "7.0" |
| | | s.vendored_frameworks = 'frameworks/WASdkIntf.framework' |
| | | s.resources = ['config/*.plist'] |
| | | s.requires_arc = true |
| | | end |
New file |
| | |
| | | // |
| | | // WAChannelProduct.h |
| | | // WASdkIntf |
| | | // |
| | | // Created by LPW on 2019/9/17. |
| | | // Copyright © 2019 GHW-T-01. All rights reserved. |
| | | // |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | @interface WAChannelProduct : NSObject |
| | | @property(nonatomic, strong) NSString *channel; //渠道名称 |
| | | @property(nonatomic, strong) NSString *productIdentifier; //平台商品id |
| | | @property(nonatomic, strong) NSString *localeCurrencyCode; //当前币种code USD 、CNY |
| | | @property(nonatomic, strong) NSString *localFormattedPrice;//格式化价格 $999.99 ¥6,498.00 |
| | | @property(nonatomic, strong) NSDecimalNumber * price ; //价格 999.99 6498 |
| | | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | |
| | | -(void)init4Iap; |
| | | -(void)queryInventory:(id<WAInventoryDelegate>)delegate; |
| | | -(void)payWithProductId:(NSString *)productId extInfo:(NSString *)extInfo delegate:(id<WAPaymentDelegate>)delegate; |
| | | -(void)queryChannelProduct:(NSString *)channel |
| | | callBackBlock:(void(^)(NSArray *channelProductsArray,NSError *error))callBackBlock; |
| | | -(BOOL)isPayServiceAvailable; |
| | | -(void)fetchProductInformations:(NSDictionary *)waProductIds inventoryDelegate:(id<WAInventoryDelegate>)delegate; |
| | | - (void)checkFinishTransactions; |
| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | #import "WAIPay.h" |
| | | @class WAIapProduct,WAIapResult; |
| | | @class WAIapProduct,WAIapResult,WAChannelProduct; |
| | | |
| | | /*! |
| | | @discussion 查询商品库存协议 |
| | |
| | | @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 |
| | |
| | | |
| | | +(void)payLog:(NSString *)logInfo; |
| | | |
| | | |
| | | |
| | | @end |
| | |
| | | #import <WASdkIntf/WAIPay.h> |
| | | #import <WASdkIntf/WAPayProxy.h> |
| | | #import <WASdkIntf/WAIapProduct.h> |
| | | #import <WASdkIntf/WAChannelProduct.h> |
| | | #import <WASdkIntf/WAPayChannel.h> |
| | | #import <WASdkIntf/WAIapResult.h> |
| | | #import <WASdkIntf/WAISocial.h> |
| | |
| | | |
| | | // In this header, you should import all the public headers of your framework using statements like #import <WASdkIntf/PublicHeader.h> |
| | | |
| | | //time:2019/06/20 09:15 ver:3.8.2 |
| | | //time:2019/09/19 09:15 ver:3.8.3 |