EditVoucherContentsViewController
@interface EditVoucherContentsViewController
: UIViewController <EditVoucherContentsViewControllerProtocol>
The EditVoucherContentsViewController is the screen responsible for presenting all items in a Voucher and gives users the
option to make changes to all editable items.
-
Formats a gift card label with the chosen monetary value.
Declaration
Objective-C
- (void)formatGiftCardLabel:(nonnull NSString *)formattedVoucherMoneyAmount;Swift
func formatGiftCardLabel(_ formattedVoucherMoneyAmount: String)Parameters
formattedVoucherMoneyAmount- The formatted money amount for a gift card.
-
Sets the view controller’s list of
PersonalizationOptions.Declaration
Objective-C
- (void)setPersonalizationOptionsForDisplay: (nonnull NSArray<PersonalizationOption *> *)personalizationOptions;Swift
func setPersonalizationOptionsForDisplay(_ personalizationOptions: [PersonalizationOption])Parameters
personalizationOptions- An array of
PersonalizationOptions containing personalizations accessible to the user.
View on GitHub
EditVoucherContentsViewController Class Reference