PersonalizationOptionBuilder
@interface PersonalizationOptionBuilder : NSObject
PersonalizationOptionBuilder
is used only to help construct the PersonalizationOption
and should not be initialized directly.
Instances of these properties should be instantiated and set in the PersonalizationOption
personalizationOptionWithBuilder:
method.
-
The type of the personalization option.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) PersonalizationType type;
Swift
var type: PersonalizationType { get set }
-
Specifies whether more than one personalization of this type can be added. The options that support multiple additions are: Photo, Video, Animated, Note
Declaration
Objective-C
@property (assign, readwrite, nonatomic) BOOL canAddMultiple;
Swift
var canAddMultiple: Bool { get set }
-
Theme manager used to style the personalization screen associated with this Personalization Option - default is nil. *
Declaration
Objective-C
@property (readwrite, strong, nonatomic) VouchrTheme *vouchrTheme;
Swift
var vouchrTheme: VouchrTheme! { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSString *actionSheetTitleText
Swift
var actionSheetTitleText: String! { get set }
-
The image that appears in the carousel above the envelope, that the user will browse and select - each personalization type has a default image provided, unique to that type.
Declaration
Objective-C
@property (readwrite, strong, nonatomic) UIImage *carouselImage;
Swift
var carouselImage: UIImage! { get set }
-
The description that appears in the carousel below the carouselImage - default text is provided and is based on the personalization type
Declaration
Objective-C
@property (readwrite, strong, nonatomic) NSString *carouselText;
Swift
var carouselText: String! { get set }
-
The text that shows up on top of the carouselImage - default is nil
Declaration
Objective-C
@property (readwrite, strong, nonatomic) NSString *carouselOverlappingText;
Swift
var carouselOverlappingText: String! { get set }
-
The background color that appears behind the carouselImage - default is clear
Declaration
Objective-C
@property (readwrite, strong, nonatomic) UIColor *carouselBackgroundColor;
Swift
var carouselBackgroundColor: UIColor! { get set }