# Uses of Class
com.university.bookstore.chain.DiscountRequest

Packages that use DiscountRequest
Package
Description
com.university.bookstore.chain

- ## Uses of DiscountRequest in com.university.bookstore.chain

  Methods in com.university.bookstore.chain that return DiscountRequest
  Modifier and Type
  Method
  Description
  `DiscountRequest`
  DiscountApprovalService.`requestDiscount(Material material, double discountPercent, String customerId, String reason)`
  Processes a discount request through the approval chain.
  Methods in com.university.bookstore.chain that return types with arguments of type DiscountRequest
  Modifier and Type
  Method
  Description
  `List<DiscountRequest>`
  DiscountApprovalService.`getApprovedRequests()`
  Gets approved discount requests.
  `List<DiscountRequest>`
  DiscountApprovalService.`getProcessedRequests()`
  Gets all processed discount requests.
  `List<DiscountRequest>`
  DiscountApprovalService.`getRejectedRequests()`
  Gets rejected discount requests.
  `List<DiscountRequest>`
  DiscountApprovalService.`getRequestsForCustomer(String customerId)`
  Gets discount requests for a specific customer.
  `List<DiscountRequest>`
  DiscountApprovalService.`getRequestsForMaterial(Material material)`
  Gets discount requests for a specific material.
  Methods in com.university.bookstore.chain with parameters of type DiscountRequest
  Modifier and Type
  Method
  Description
  `double`
  DiscountApprovalService.`calculateFinalPrice(DiscountRequest request)`
  Calculates the final price for an approved discount request.
  `void`
  DirectorHandler.`handleRequest(DiscountRequest request)`
  `abstract void`
  DiscountHandler.`handleRequest(DiscountRequest request)`
  Handles a discount request.
  `void`
  ManagerHandler.`handleRequest(DiscountRequest request)`
  `void`
  VPHandler.`handleRequest(DiscountRequest request)`