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 msgId
Swift
var msgId: String? { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, copy) NSString * _Nullable redpackId
Swift
var redpackId: String? { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, copy) NSString * _Nullable redCacheId
Swift
var redCacheId: String? { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, copy) NSString *content
Swift
var content: String { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic) NSTimeInterval time
Swift
var time: TimeInterval { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic) PLVRedpackMessageType type
Swift
var type: PLVRedpackMessageType { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic) PLVRedpackState state
Swift
var state: PLVRedpackState { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic) NSInteger number
Swift
var number: Int { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic) float totalAmount
Swift
var totalAmount: Float { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *typeString
Swift
var typeString: String { get }