lpw
yesterday 303b8f43a0f25b1bd791061e0d0ba3d862238386
frameworks/WASdkIntf.framework/Headers/WAIapProduct.h
@@ -7,31 +7,54 @@
//
#import <Foundation/Foundation.h>
#import "WAPayChannel.h"
#import <WASdkIntf/WAPayChannel.h>
#import <WACommon/WAPaymentHelper.h>
#import "WAConstants.h"
/*!
 @discussion WAIapProduct 商品类
 - - -
 */
@interface WAIapProduct : NSObject
@property(nonatomic, strong) NSString *localizedDescription NS_AVAILABLE_IOS(3_0);
@property(nonatomic, strong) NSString *localizedDescription NS_AVAILABLE_IOS(3_0); //商品描述
@property(nonatomic, strong) NSString *localizedTitle NS_AVAILABLE_IOS(3_0);
@property(nonatomic, strong) NSString *localizedTitle NS_AVAILABLE_IOS(3_0); //商品标题
@property(nonatomic, strong) NSDecimalNumber *price NS_AVAILABLE_IOS(3_0);
@property(nonatomic, strong) NSDecimalNumber *price NS_AVAILABLE_IOS(3_0); //商品价格
//@property(nonatomic, strong) NSLocale *priceLocale NS_AVAILABLE_IOS(3_0);
@property(nonatomic, strong) NSString *productIdentifier NS_AVAILABLE_IOS(3_0);
@property(nonatomic, strong) NSString *productIdentifier NS_AVAILABLE_IOS(3_0); //商品id
// YES if this product has content downloadable using SKDownload
//@property(nonatomic) BOOL downloadable NS_AVAILABLE_IOS(6_0);
// Sizes in bytes (NSNumber [long long]) of the downloads available for this product
//@property(nonatomic, strong) NSArray<NSNumber *> *downloadContentLengths NS_AVAILABLE_IOS(6_0);
// Version of the downloadable content
//@property(nonatomic, strong) NSString *downloadContentVersion NS_AVAILABLE_IOS(6_0);
// payment method
@property(nonatomic, strong) NSArray<WAPayChannel *> *payChannels NS_AVAILABLE_IOS(6_0);
@property(nonatomic, strong) NSArray<WAPayChannel *> *payChannels NS_AVAILABLE_IOS(6_0); //支付渠道
@property(nonatomic, strong) NSDecimalNumber *productDiscountAmount;//商品打折后的价格”
@property(nonatomic, strong) NSDecimalNumber *productAmount;//商品价格
@property (nonatomic, assign) NSInteger productType;        // 商品类型(1 - 普通商品(默认),2 - 代金券商品)
@property (nonatomic, assign) NSInteger voucherAmount;        // 代金券数额,购买后,可以得到多少数额
@property(nonatomic, strong)  NSString *productCurrencyCode;  //币种
@property(nonatomic, strong)  WAPayChannel *coinsH5payChannel;  //h5支付渠道(目前用于匹配最佳代金券商品金额展示,为了解决充值中心支付方式在app内不开,没有返回这个支付方式,导致匹配最优代金券时候,支付方式为nil)
#pragma mark -  Apple渠道基准价格(分)
- (long long)getAppleAmountIncents;
#pragma mark -  获取代金券渠道
- (nullable WAPayChannel *)getCoinsChannel;
#pragma mark -  获取代金券渠道 扩展
- (nullable WAPayChannel *)getPayChannel:(NSString *_Nonnull)channelName;
#pragma mark - Apple金额显示
- (NSString *_Nullable)getAppleAmountDisplay;
#pragma mark - 充值中心折扣价显示
- (NSString *_Nullable)getRechargeDiscountAmountDisplay;
#pragma mark - 消耗代金券金额(Coins渠道discountAmount)
- (long long)getCostVoucherAmount;
@end