Create Personalization Option Customization

Each Create Personalization has a list of configurable options. Create Personalizations subclass from PersonalizationOption. On all PersonalizationOptions there are the following options:

canAddMultiple - Whether this option allows multiple items of this type. The only options that allow multiple are Photo, Video, Animated, Note.
carouselImage - The image shown in the VoucherCreationViewController carousel for this personalization option.
carouselText - The text shown in the VoucherCreationViewController carousel for this personalization option.

PersonalizationOptions are immutable after creation. They are initialized with a PersonalizationOptionBuilder to override any properties.

Example initialization

    PhotoPersonalizationOption *option = [PhotoPersonalizationOption photoPersonalizationOptionWithBuilderBlock:^(PhotoPersonalizationOptionBuilder *builder) {
        // set properties here
        builder.canAddMultiple = NO; // property on all personalization options
        builder.canUploadPhotos = NO; // property only on PhotoPersonalizationOption
        builder.canAddGoogleImages = YES;
        builder.canTakePhotos = YES;
        builder.suggestedSearchTerms = @[@"one", @"two", @"three"];
    }];

Available Personalizations

AnimatedPersonalizationOption

ChallengePersonalizationOption

MoneyPersonalizationOption

NotePersonalizationOption

PhotoPersonalizationOption

RecipientPersonalizationOption

TitlePersonalizationOption

VideoPersonalizationOption

WrappingPersonalizationOption