RecipientPersonalizationOptionBuilder
@interface RecipientPersonalizationOptionBuilder : PersonalizationOptionBuilder
RecipientPersonalizationOptionBuilder is used only to help construct the RecipientPersonalizationOption and should not be initialized directly.
Instances of these properties should be instantiated and set in the RecipientPersonalizationOption recipientPersonalizationOptionWithBuilder: method.
-
Allow the user to enable race mode for their
Voucher(multiple users will compete to unlock the voucher).Declaration
Objective-C
@property (assign, readwrite, nonatomic) BOOL canMakeItARace;Swift
var canMakeItARace: Bool { get set } -
Allow the user to set an unwrap date
Declaration
Objective-C
@property (assign, readwrite, nonatomic) BOOL canChangeUnwrapDate;Swift
var canChangeUnwrapDate: Bool { get set } -
Allow the user to send the gift to an email address.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) BOOL canSendToEmail;Swift
var canSendToEmail: Bool { get set } -
Allow the user to send the gift to a phone number.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) BOOL canSendToPhoneNumber;Swift
var canSendToPhoneNumber: Bool { get set } -
Enum to decide how phone numbers are formatted in the Gift Tag
Declaration
Objective-C
@property (assign, readwrite, nonatomic) VouchrPhoneNumberFormat phoneNumberFormat;Swift
var phoneNumberFormat: VouchrPhoneNumberFormat { get set } -
Set to true if users that have not registered should appear in the friends list.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) BOOL shouldDisplayPendingUsersInFriendsList;Swift
var shouldDisplayPendingUsersInFriendsList: Bool { get set } -
Groups of users that the creator can send the Voucher to. The key of the dictionary is displayed in the header of each group.
View on GitHub
RecipientPersonalizationOptionBuilder Class Reference