Personalization Options
-
PersonalizationOption represents a Voucher customization which will be available to the user in the VoucherCreationViewController. A PersonalizationOption should exist for each personalization the user allowed access to.
Note
PersonalizationOption is used as a base class, instantiate an existing subclass (ex. PhotoPersonalizationOption) for use.Note
Any properties that are not set will have default values set.Declaration
Objective-C
@interface PersonalizationOption : NSObject
Swift
class PersonalizationOption : NSObject
-
MoneyPersonalizationOption represents a Voucher customization which enables the user to add a monetary component to the MutableVoucher. The default implementation of this personalization is a Gift Card Mall. Override this personalization if a custom payment technology is desired.
See more*
Declaration
Objective-C
@interface MoneyPersonalizationOption : PersonalizationOption
Swift
class MoneyPersonalizationOption : PersonalizationOption
-
NotePersonalizationOption represents a Voucher customization which will be available to the user to add notes in the VoucherCreationViewController. Instantiate a NotePersonalizationOption if you would like the user to be able to add notes to their Voucher.
See more*
Declaration
Objective-C
@interface NotePersonalizationOption : PersonalizationOption
Swift
class NotePersonalizationOption : PersonalizationOption
-
ChallengePersonalizationOption
represents aVoucher
customization which will allow users to add a challenge. Instantiate aChallengePersonalizationOption
if a challenge can be added to theirVoucher
.
See more*
Declaration
Objective-C
@interface ChallengePersonalizationOption : PersonalizationOption
Swift
class ChallengePersonalizationOption : PersonalizationOption
-
AnimatedPersonalizationOption
represents aVoucher
customization that allows the user to add animated images to theirVoucher
. Instantiate aAnimatedPersonalizationOption
and include it in theVoucherCreationViewController
setup if you would like the user to be able to add animated photos.
See more*
Declaration
Objective-C
@interface AnimatedPersonalizationOption : PersonalizationOption
Swift
class AnimatedPersonalizationOption : PersonalizationOption
-
WrappingPersonalizationOption
represents aVoucher
customization which will be available to the user to add a custom wrapping paper in theVoucherCreationViewController
.
See more*
Declaration
Objective-C
@interface WrappingPersonalizationOption : PersonalizationOption
Swift
class WrappingPersonalizationOption : PersonalizationOption
-
PhotoPersonalizationOption represents a
Voucher
customization that allows the user to add images to theirVoucher
. Instantiate a PhotoPersonalizationOption and include it in theVoucherCreationViewController
setup if you would like the user to be able to add photos.
See more*
Declaration
Objective-C
@interface PhotoPersonalizationOption : PersonalizationOption
Swift
class PhotoPersonalizationOption : PersonalizationOption
-
VideoPersonalizationOption represents a Voucher customization which will be available to the user to add videos in the VoucherCreationViewController. Instantiate a VideoPersonalizationOption if you would like the user to be able to add videos to their Voucher.
See more*
Declaration
Objective-C
@interface VideoPersonalizationOption : PersonalizationOption
Swift
class VideoPersonalizationOption : PersonalizationOption
-
RecipientPersonalizationOption represents a Voucher customization which will be available to the user to add a recipient to the MutableVoucher. Instantiate a RecipientPersonalizationOption if you would like the user to be able to add a recipient to their Voucher.
See more*
Declaration
Objective-C
@interface RecipientPersonalizationOption : PersonalizationOption
Swift
class RecipientPersonalizationOption : PersonalizationOption
-
TitlePersonalizationOption represents a
Voucher
customization which will allow users to title theirVoucher
. Instantiate aTitlePersonalizationOption
and include it in theVoucherCreationViewController
setup if you would like the user to be able to add a title to their Voucher.Note
The title uses the Display font Style. Title and placeholder text colors are non-customizable.
See more*
Declaration
Objective-C
@interface TitlePersonalizationOption : PersonalizationOption
Swift
class TitlePersonalizationOption : PersonalizationOption
-
SoundPersonalizationOption
represents aVoucher
customization which will be available to the user to add a sound to theMutableVoucher
. Instantiate aSoundPersonalizationOption
if you would like the user to be able to add a sound to theirVoucher
.
See more*
Declaration
Objective-C
@interface SoundPersonalizationOption : PersonalizationOption
Swift
class SoundPersonalizationOption : PersonalizationOption
-
See morePersonalizationOptionViewControllerDelegate
is the delegate used for passing information between all of the default personalization option view controllers and theVoucherCreationViewController
. If an extra personalization option view controller is created, it should call these delegate methods where appropriate.Declaration
Objective-C
@protocol PersonalizationOptionViewControllerDelegate <NSObject>
Swift
protocol PersonalizationOptionViewControllerDelegate
-
See morePersonalizationOptionViewControllerProtocol
is the interface for all of the default personalization option view controllers.Declaration
Objective-C
@protocol PersonalizationOptionViewControllerProtocol <NSObject>
Swift
protocol PersonalizationOptionViewControllerProtocol