def placeholder_type=(placeholder_type)
      validator = EnumAttributeValidator.new('String', ["ALL_ITEMS", "DISCOUNTS_CATEGORY", "REWARDS_FINDER"])
      unless validator.valid?(placeholder_type)
        fail ArgumentError, "invalid value for 'placeholder_type', must be one of #{validator.allowable_values}."
      end
      @placeholder_type = placeholder_type
    end
def placeholder_type=(placeholder_type)
      validator = EnumAttributeValidator.new('String', ["ALL_ITEMS", "DISCOUNTS_CATEGORY", "REWARDS_FINDER"])
      unless validator.valid?(placeholder_type)
        fail ArgumentError, "invalid value for 'placeholder_type', must be one of #{validator.allowable_values}."
      end
      @placeholder_type = placeholder_type
    end
Custom attribute writer method checking allowed values (enum).
 @param [Object] placeholder_type Object to be assigned