VORecipientPersonalizationOption
@interface VORecipientPersonalizationOption : VOPersonalizationOption
VORecipientPersonalizationOption represents a VOVoucher customization which will be available to the user to add a recipient to the VOMutableVoucher. Instantiate a VORecipientPersonalizationOption if you would like the user to be able to add a recipient to their VOVoucher. *
-
Allow the user to enable race mode for their
VOVoucher(multiple users will compete to unlock the voucher).Note
Default is YES.Declaration
Objective-C
@property (readonly, nonatomic) BOOL canMakeItARace;Swift
var canMakeItARace: Bool { get } -
Allow the user to set an unwrap date
Note
Default is YES.Declaration
Objective-C
@property (readonly, nonatomic) BOOL canChangeUnwrapDate;Swift
var canChangeUnwrapDate: Bool { get } -
Allow the user to send the gift to an email address.
Note
Default is YES.Declaration
Objective-C
@property (readonly, nonatomic) BOOL canSendToEmail;Swift
var canSendToEmail: Bool { get } -
Allow the user to send the gift to a phone number.
Note
Default is YES.Declaration
Objective-C
@property (readonly, nonatomic) BOOL canSendToPhoneNumber;Swift
var canSendToPhoneNumber: Bool { get } -
Enum to decide how phone numbers are formatted in the Gift Tag
Note
Default is VOPhoneNumberFormatNationalDeclaration
Objective-C
@property (readonly, nonatomic) VOPhoneNumberFormat phoneNumberFormat;Swift
var phoneNumberFormat: VOPhoneNumberFormat { get } -
Set to true if users that have not registered should appear in the friends list.
Note
Default is set to NO.Declaration
Objective-C
@property (assign, readwrite, nonatomic) BOOL shouldDisplayPendingUsersInFriendsList;Swift
var shouldDisplayPendingUsersInFriendsList: Bool { get set } -
Creates a Recipient personalization option with the values from the builder. Internally calls initWithBuilder.
Declaration
Objective-C
+ (instancetype)recipientPersonalizationOptionWithBuilderBlock: (void (^)(VORecipientPersonalizationOptionBuilder *))builderBlock;Swift
convenience init!(builderBlock: ((VORecipientPersonalizationOptionBuilder?) -> Void)!)Parameters
builderBlock- the builder block with specified values for each property.
Return Value
instancetype - VORecipientPersonalizationOption object.
View on GitHub
VORecipientPersonalizationOption Class Reference