STProduct

@interface 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

  • Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) double productIdentifier;

    Swift

    var productIdentifier: Double { get set }
  • Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *name;

    Swift

    var name: String! { get set }
  • url

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *url;

    Swift

    var url: String! { get set }
  • Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *image;

    Swift

    var image: String! { get set }