make account credential items mutable

parent 2c1f0bef
...@@ -55,9 +55,9 @@ NS_ASSUME_NONNULL_BEGIN ...@@ -55,9 +55,9 @@ NS_ASSUME_NONNULL_BEGIN
*/ */
@interface BUYAccountCredentialItem : NSObject @interface BUYAccountCredentialItem : NSObject
@property (nonatomic, assign, readonly, getter=isValid) BOOL valid; @property (nonatomic, assign, getter=isValid) BOOL valid;
@property (nonatomic, strong, readonly) NSString *key; @property (nonatomic, strong, readonly) NSString *key;
@property (nonatomic, strong, readonly) NSString *value; @property (nonatomic, strong) NSString *value;
+ (instancetype)itemWithEmail:(NSString *)value; + (instancetype)itemWithEmail:(NSString *)value;
+ (instancetype)itemWithFirstName:(NSString *)value; + (instancetype)itemWithFirstName:(NSString *)value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment