\AdamRocska\ShippingTier\Entity\RuntimeDoorToDoorTransitTime

Represents a simple runtime `DoorToDoorTransitTime` entity implementation.

Summary

Methods
Properties
Constants
__construct()
getMinimumDays()
getMaximumDays()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$minimumDays
$maximumDays
N/A

Properties

$minimumDays

$minimumDays : integer

The minimum amount of days it takes for a shipment to arrive door to door.

Type

integer

$maximumDays

$maximumDays : integer

The maximum amount of days it takes for a shipment to arrive door to door.

Type

integer

Methods

__construct()

__construct(integer  $minimumDays, integer  $maximumDays) 

DoorToDoorTransitTime constructor.

Parameters

integer $minimumDays

The minimum amount of days it takes for a shipment to arrive door to door.

integer $maximumDays

The maximum amount of days it takes for a shipment to arrive door to door.

Throws

\AdamRocska\ShippingTier\Entity\Runtime\DoorToDoorTransitTime\Exception\InvalidBoundaries

getMinimumDays()

getMinimumDays() : integer

Returns the minimum necessary transit time in days.

Returns

integer

getMaximumDays()

getMaximumDays() : integer

Returns the maximum necessary transit time.

Returns

integer