VOVoucherTemplate

@interface VOVoucherTemplate : NSObject

@property (nonatomic) NSURL *headerImageURL;
@property (nonatomic) NSString *headerImageAlt;
@property (nonatomic) NSString *headerText;
@property (nonatomic) NSString *headerDetails;
@property (nonatomic) NSURL *backgroundPhotoURL;
@property (nonatomic) NSDate *dateClaimable;
@property (nonatomic) NSString *title;
@property (nonatomic) NSArray<NSDictionary *> *medias;
@property (nonatomic) VOWrappingPaperMedia *wrappingPaper;
@property (nonatomic) VOMerchant *merchant;
@property (nonatomic) double merchantAmount;
@property (nonatomic) VOGameData *gameData;
@property (nonatomic) long long templateId;
@property (nonatomic) long long templateCategoryId;
@property (nonatomic) BOOL hasSeen;

+ (VOVoucherTemplate *)voucherTemplateFromDictionary:(NSDictionary *)dictionary;
- (VOMutableVoucher *)makeMutableVoucher;

@end

Undocumented

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) NSURL *headerImageURL

    Swift

    var headerImageURL: URL! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) NSString *headerImageAlt

    Swift

    var headerImageAlt: String! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) NSString *headerText

    Swift

    var headerText: String! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) NSString *headerDetails

    Swift

    var headerDetails: String! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) NSURL *backgroundPhotoURL

    Swift

    var backgroundPhotoURL: URL! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) NSDate *dateClaimable

    Swift

    var dateClaimable: Date! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) NSString *title

    Swift

    var title: String! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) NSArray<NSDictionary *> *medias

    Swift

    var medias: [[AnyHashable : Any]]! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) VOWrappingPaperMedia *wrappingPaper

    Swift

    var wrappingPaper: VOWrappingPaperMedia! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) VOMerchant *merchant

    Swift

    var merchant: VOMerchant! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) double merchantAmount

    Swift

    var merchantAmount: Double { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) VOGameData *gameData

    Swift

    var gameData: VOGameData! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) long long templateId

    Swift

    var templateId: Int64 { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) long long templateCategoryId

    Swift

    var templateCategoryId: Int64 { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) BOOL hasSeen

    Swift

    var hasSeen: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    + (VOVoucherTemplate *)voucherTemplateFromDictionary:(NSDictionary *)dictionary;

    Swift

    /*not inherited*/ init!(from dictionary: [AnyHashable : Any]!)
  • Undocumented

    Declaration

    Objective-C

    - (VOMutableVoucher *)makeMutableVoucher;

    Swift

    func makeMutableVoucher() -> VOMutableVoucher!