MoneyPersonalizationOptionBuilder

@interface MoneyPersonalizationOptionBuilder : PersonalizationOptionBuilder

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

  • List of merchants to be highlighted in the GiftCardPickerViewController. 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<Merchant *> *featuredMerchants;

    Swift

    var featuredMerchants: [Merchant]! { 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<Merchant *> *> *merchantsPerCountry;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var actionSheetTheme: VouchrTheme! { get set }
  • Theme used on the ProductDetailsViewController when the user selects a Merchant.

    Declaration

    Objective-C

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

    Swift

    var productDetailsTheme: VouchrTheme! { get set }