# Uses of Class
com.university.bookstore.builder.MaterialBundleBuilder

Packages that use MaterialBundleBuilder
Package
Description
com.university.bookstore.builder

- ## Uses of MaterialBundleBuilder in com.university.bookstore.builder

  Methods in com.university.bookstore.builder that return MaterialBundleBuilder
  Modifier and Type
  Method
  Description
  `MaterialBundleBuilder`
  MaterialBundleBuilder.`addBundle(MaterialBundle bundle)`
  Adds a bundle to this bundle (nested bundles).
  `MaterialBundleBuilder`
  MaterialBundleBuilder.`addComponent(MaterialComponent component)`
  Adds a material component to the bundle.
  `MaterialBundleBuilder`
  MaterialBundleBuilder.`addComponents(List<MaterialComponent> components)`
  Adds multiple components to the bundle.
  `MaterialBundleBuilder`
  MaterialBundleBuilder.`addMaterial(Material material)`
  Adds a material to the bundle.
  `MaterialBundleBuilder`
  MaterialBundleBuilder.`addMaterials(List<Material> materials)`
  Adds multiple materials to the bundle.
  `MaterialBundleBuilder`
  MaterialBundleBuilder.`clearComponents()`
  Clears all components from the bundle.
  `MaterialBundleBuilder`
  MaterialDirector.`createBundleBuilder()`
  Creates a new MaterialBundle builder instance.
  `MaterialBundleBuilder`
  MaterialDirector.`getBundleBuilder()`
  Gets the MaterialBundle builder for custom configurations.
  `MaterialBundleBuilder`
  MaterialBundleBuilder.`removeComponent(MaterialComponent component)`
  Removes a component from the bundle.
  `MaterialBundleBuilder`
  MaterialBundleBuilder.`removeMaterial(Material material)`
  Removes a material from the bundle.
  `MaterialBundleBuilder`
  MaterialBundleBuilder.`setBundleDiscount(double discount)`
  Sets the bundle discount rate.
  `MaterialBundleBuilder`
  MaterialBundleBuilder.`setBundleDiscountPercent(double discountPercent)`
  Sets the bundle discount percentage.
  `MaterialBundleBuilder`
  MaterialBundleBuilder.`setBundleName(String bundleName)`
  Sets the bundle name.
  `MaterialBundleBuilder`
  MaterialBundleBuilder.`setLargeDiscount()`
  Sets a 30% discount.
  `MaterialBundleBuilder`
  MaterialBundleBuilder.`setMediumDiscount()`
  Sets a 20% discount.
  `MaterialBundleBuilder`
  MaterialBundleBuilder.`setSmallDiscount()`
  Sets a 10% discount.
  Constructors in com.university.bookstore.builder with parameters of type MaterialBundleBuilder
  Modifier
  Constructor
  Description
  ``
  `MaterialDirector(EBookBuilder eBookBuilder, MaterialBundleBuilder bundleBuilder)`
  Constructs a MaterialDirector with the specified builders.