dev.atedeg.mdm.pricing.dto

Type members

Classlikes

final case class ClientDTO(code: String)
final case class FixedPromotionLineDTO(product: ProductDTO, discountPercentage: Double)
final case class IncomingOrderLineDTO(quantity: Int, product: ProductDTO)
Companion:
object
Companion:
class
final case class PriceInEuroCentsDTO(price: Int)
Companion:
object
Companion:
class
final case class PriceListDTO(priceList: Map[ProductDTO, PriceInEuroCentsDTO])
Companion:
object
Companion:
class
final case class PromotionDTO(client: ClientDTO, expiryDate: String, lines: List[PromotionLineDTO])
Companion:
object
Companion:
class
final case class PromotionLineDTO(tag: String, fixedDTO: Option[FixedPromotionLineDTO], thresholdDTO: Option[ThresholdPromotionLineDTO])
final case class ThresholdPromotionLineDTO(product: ProductDTO, threshold: Int, discountPercentage: Double)

Givens

Givens