You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
499 B
15 lines
499 B
@interface UMONItemBuilder : NSObject |
|
@property(strong, nonatomic) NSString *productId; |
|
@property(nonatomic) double quantity; |
|
@property(strong, nonatomic) NSString *type; |
|
@end |
|
|
|
@interface UMONItem : NSObject |
|
+(instancetype)build:(void (^)(UMONItemBuilder *))buildBlock; |
|
|
|
-(instancetype)initWithBuilder:(UMONItemBuilder *)builder; |
|
|
|
@property(nonatomic, strong, readonly) NSString *productId; |
|
@property(nonatomic, readonly) double quantity; |
|
@property(nonatomic, strong, readonly) NSString *type; |
|
@end
|
|
|