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.
    See more

    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.

    Money Personalization *

    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.

    Note Personalization *

    See more

    Declaration

    Objective-C

    @interface NotePersonalizationOption : PersonalizationOption

    Swift

    class NotePersonalizationOption : PersonalizationOption
  • AnimatedPersonalizationOption represents a Voucher customization that allows the user to add animated images to their Voucher. Instantiate a AnimatedPersonalizationOption and include it in the VoucherCreationViewController setup if you would like the user to be able to add animated photos.

    Animated Personalization *

    See more

    Declaration

    Objective-C

    @interface AnimatedPersonalizationOption : PersonalizationOption

    Swift

    class AnimatedPersonalizationOption : PersonalizationOption
  • PhotoPersonalizationOption represents a Voucher customization that allows the user to add images to their Voucher. Instantiate a PhotoPersonalizationOption and include it in the VoucherCreationViewController setup if you would like the user to be able to add photos.

    Photo Personalization *

    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.

    Video Personalization Youtube Video Personalization *

    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.

    Recipient Personalization *

    See more

    Declaration

    Objective-C

    @interface RecipientPersonalizationOption : PersonalizationOption

    Swift

    class RecipientPersonalizationOption : PersonalizationOption
  • TitlePersonalizationOption represents a Voucher customization which will allow users to title their Voucher. Instantiate a TitlePersonalizationOption and include it in the VoucherCreationViewController 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.

    Title Personalization *

    See more

    Declaration

    Objective-C

    @interface TitlePersonalizationOption : PersonalizationOption

    Swift

    class TitlePersonalizationOption : PersonalizationOption
  • PersonalizationOptionViewControllerDelegate is the delegate used for passing information between all of the default personalization option view controllers and the VoucherCreationViewController. If an extra personalization option view controller is created, it should call these delegate methods where appropriate.

    See more

    Declaration

    Objective-C

    @protocol PersonalizationOptionViewControllerDelegate <NSObject>

    Swift

    protocol PersonalizationOptionViewControllerDelegate
  • PersonalizationOptionViewControllerProtocol is the interface for all of the default personalization option view controllers.

    See more

    Declaration

    Objective-C

    @protocol PersonalizationOptionViewControllerProtocol <NSObject>

    Swift

    protocol PersonalizationOptionViewControllerProtocol