STProduct
Objective-C
@interface STProduct : NSObject <NSCoding, NSCopying>
Swift
class STProduct : NSObject, NSCoding, NSCopying
A model class which represents the product details and to represent the details about product which was associcated to the scanned QR code
-
Identifier for the product
Declaration
Objective-C
@property (nonatomic) double productIdentifier;
Swift
var productIdentifier: Double { get set }
-
Name of the product.
Declaration
Objective-C
@property (nonatomic, strong) NSString *name;
Swift
var name: String! { get set }
-
URL of the product
Declaration
Objective-C
@property (nonatomic, strong) NSString *url;
Swift
var url: String! { get set }
-
Image of the product
Declaration
Objective-C
@property (nonatomic, strong) NSString *image;
Swift
var image: String! { get set }