PLVRedpackMessage
Objective-C
@interface PLVRedpackMessage : NSObject
// 消息ID
@property (nonatomic, copy) NSString * _Nullable msgId;
// 红包ID
@property (nonatomic, copy) NSString * _Nullable redpackId;
// 红包存量ID
@property (nonatomic, copy) NSString * _Nullable redCacheId;
// 红包祝福语
@property (nonatomic, copy) NSString *content;
// 红包消息时间戳
@property (nonatomic, assign) NSTimeInterval time;
// 红包类型
@property (nonatomic, assign) PLVRedpackMessageType type;
// 红包状态
@property (nonatomic, assign) PLVRedpackState state;
// 红包数量
@property (nonatomic, assign) NSInteger number;
// 红包总金额
@property (nonatomic, assign) float totalAmount;
// 红包类型type字符串
@property (nonatomic, copy, readonly) NSString *typeString;
@end
Swift
class PLVRedpackMessage : NSObject
Undocumented
-
Undocumented
Declaration
Objective-C
@property (nonatomic, copy) NSString * _Nullable msgIdSwift
var msgId: String? { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, copy) NSString * _Nullable redpackIdSwift
var redpackId: String? { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, copy) NSString * _Nullable redCacheIdSwift
var redCacheId: String? { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, copy) NSString *contentSwift
var content: String { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic) NSTimeInterval timeSwift
var time: TimeInterval { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic) PLVRedpackMessageType typeSwift
var type: PLVRedpackMessageType { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic) PLVRedpackState stateSwift
var state: PLVRedpackState { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic) NSInteger numberSwift
var number: Int { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic) float totalAmountSwift
var totalAmount: Float { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *typeStringSwift
var typeString: String { get }
View on GitHub
PLVRedpackMessage Class Reference