mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-31 18:34:07 +00:00
invoice-backend
This commit is contained in:
+18
-1
@@ -37,6 +37,9 @@ class FreightForwarderObject
|
||||
/** @var float|null */
|
||||
private $markup_percentage;
|
||||
|
||||
/** @var float|null */
|
||||
private $minimum_cbm;
|
||||
|
||||
/**
|
||||
* FreightForwarderObject constructor.
|
||||
* @param null|string $name
|
||||
@@ -50,8 +53,9 @@ class FreightForwarderObject
|
||||
* @param float|null $shipping_rate
|
||||
* @param int|null $overdue_days
|
||||
* @param float|null $markup_percentage
|
||||
* @param float|null $minimum_cbm
|
||||
*/
|
||||
public function __construct(?string $name = null, ?string $email = null, ?string $street_one = null, ?string $street_two = null, ?string $city = null, ?string $state = null, ?string $post_code = null, ?string $country = null, ?float $shipping_rate = null, ?int $overdue_days = null, ?float $markup_percentage = null)
|
||||
public function __construct(?string $name = null, ?string $email = null, ?string $street_one = null, ?string $street_two = null, ?string $city = null, ?string $state = null, ?string $post_code = null, ?string $country = null, ?float $shipping_rate = null, ?int $overdue_days = null, ?float $markup_percentage = null, ?float $minimum_cbm = null)
|
||||
{
|
||||
$this->name = $name;
|
||||
$this->email = $email;
|
||||
@@ -64,6 +68,7 @@ class FreightForwarderObject
|
||||
$this->shipping_rate = $shipping_rate;
|
||||
$this->overdue_days = $overdue_days;
|
||||
$this->markup_percentage = $markup_percentage;
|
||||
$this->minimum_cbm = $minimum_cbm;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -154,4 +159,16 @@ class FreightForwarderObject
|
||||
return $this->markup_percentage;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return float|null
|
||||
*/
|
||||
public function getMinimumCbm(): ?float
|
||||
{
|
||||
return $this->minimum_cbm;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user