VOMoneyPersonalizationOptionBuilder

@interface VOMoneyPersonalizationOptionBuilder : VOPersonalizationOptionBuilder

VOMoneyPersonalizationOptionBuilder is used only to help construct the VOMoneyPersonalizationOption and should not be initialized directly. Instances of these properties should be instantiated and set in the VOMoneyPersonalizationOption moneyPersonalizationOptionWithBuilder: method.

  • List of merchants to be highlighted in the VOGiftCardPickerViewController. If nil is passed in, a request will be made to the Vouchr server to get the list of featured merchants.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        NSArray<VOMerchant *> *featuredMerchants;

    Swift

    var featuredMerchants: [VOMerchant]! { get set }
  • A dictionary of participating countries. The key is the 2-letter ISO country code. The value is the name of the country.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        NSDictionary<NSString *, NSString *> *countryAbbreviationsMap;

    Swift

    var countryAbbreviationsMap: [String : String]! { get set }
  • A dictionary of merchants available for a particular country. The key is the 2-letter ISO country code. The values are all the participating merchants for that country. If nil is passed in, a request will be made to the Vouchr server to get the list of merchants.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        NSDictionary<NSString *, NSArray<VOMerchant *> *> *merchantsPerCountry;

    Swift

    var merchantsPerCountry: [String : [VOMerchant]]! { get set }
  • Theme used on the VOActionSheetViewController when the user is selecting a country.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) VOTheme *actionSheetTheme;

    Swift

    var actionSheetTheme: VOTheme! { get set }
  • Theme used on the VOProductDetailsViewController when the user selects a VOMerchant.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) VOTheme *productDetailsTheme;

    Swift

    var productDetailsTheme: VOTheme! { get set }