-
クーポンコード
Declaration
Objective-C
@property (nonatomic, nullable) NSString *code;
Swift
var code: String? { get set }
-
クーポン名
Declaration
Objective-C
@property (nonatomic, nullable) NSString *name;
Swift
var name: String? { get set }
-
クーポン画像
Declaration
Objective-C
@property (nonatomic, nullable) NSString *image;
Swift
var image: String? { get set }
-
クーポン画像(url)
Declaration
Objective-C
@property (nonatomic, nullable) NSString *image_url;
Swift
var image_url: String? { get set }
-
クーポン取得可能日時(FROM)
Declaration
Objective-C
@property (nonatomic, nullable) NSDate *possible_from_dte;
Swift
var possible_from_dte: Date? { get set }
-
クーポン取得可能日時(TO)
Declaration
Objective-C
@property (nonatomic, nullable) NSDate *possible_to_dte;
Swift
var possible_to_dte: Date? { get set }
-
クーポン利用可能日時(FROM)
Declaration
Objective-C
@property (nonatomic, nullable) NSDate *enable_from_dte;
Swift
var enable_from_dte: Date? { get set }
-
クーポン利用可能日時(TO)
Declaration
Objective-C
@property (nonatomic, nullable) NSDate *enable_to_dte;
Swift
var enable_to_dte: Date? { get set }
-
クーポン交換ポイント数
Declaration
Objective-C
@property (nonatomic, nullable) NSNumber *point;
Swift
var point: NSNumber? { get set }
-
ソート番号
Declaration
Objective-C
@property (nonatomic, nullable) NSNumber *sort_no;
Swift
var sort_no: NSNumber? { get set }
-
使用不可フラグ
Declaration
Objective-C
@property (nonatomic) BOOL not_use_flg;
Swift
var not_use_flg: Bool { get set }
-
自由項目
Declaration
Objective-C
@property (nonatomic, nullable) NSDictionary<NSString *, id> *attributes;
Swift
var attributes: [String : Any]? { get set }
-
指定イニシャライザ
Declaration
Objective-C
+ (nonnull instancetype)initWithResultSet:(nonnull NSDictionary *)rs;
Swift
class func initWithResultSet(_ rs: [AnyHashable : Any]) -> Self
Parameters
rs
変数名に対応したKeyを持つ連想配列
Return Value
id 初期化を行ったモデル情報