<?php

class CartLineDiscount {
    private string $discountBucket;
    private string $discountCode;
    private float $discountAmount;
    private float $discountPercentage;

    public function __construct($discountBucket, $discountCode, $discountAmount, $discountPercentage) {
        $this->discountBucket = $discountBucket;
        $this->discountCode = $discountCode;
        $this->discountAmount = $discountAmount;
        $this->discountPercentage = $discountPercentage;
    }
}