$doorToDoorTransitTime
$doorToDoorTransitTime : \AdamRocska\ShippingTier\Entity\DoorToDoorTransitTime
The current shipping method branch's door to door transition time for its encapsulated countries.
Represents a wildcard shipping method branch.
It matches as true for all hasCountry calls. Used to represent an "all other countries" in a shipping method.
$doorToDoorTransitTime : \AdamRocska\ShippingTier\Entity\DoorToDoorTransitTime
The current shipping method branch's door to door transition time for its encapsulated countries.
$tier : \AdamRocska\ShippingTier\Entity\Tier
The tier to which this shipping method branch belongs to.
$shippingMethod : \AdamRocska\ShippingTier\Entity\ShippingMethod
The shipping method to which this shipping method branch belongs to.
__construct(\AdamRocska\ShippingTier\Entity\DoorToDoorTransitTime $doorToDoorTransitTime)
WildCardShippingMethodBranch constructor.
\AdamRocska\ShippingTier\Entity\DoorToDoorTransitTime | $doorToDoorTransitTime | The
|
getDoorToDoorTransitTime() : \AdamRocska\ShippingTier\Entity\DoorToDoorTransitTime
Returns the `DoorToDoorTransitionTime` of the current shipping method branch.
getTier() : \AdamRocska\ShippingTier\Entity\Tier
Returns the `Tier` to which this shipping method branch belongs to.
setTier(\AdamRocska\ShippingTier\Entity\Tier $tier)
Injects the provided `Tier`.
\AdamRocska\ShippingTier\Entity\Tier | $tier |
getCountries() : array<mixed,\AdamRocska\ShippingTier\Entity\Country>
Returns an empty list of countries, since this is a wildcard shipping method branch. It doesn't encapsulate specific countries.
hasCountry(\AdamRocska\ShippingTier\Entity\Country $country) : boolean
Always returns true, to fulfill its wildcard matcher role.
Comparison is done based on the encapsulated countries' and the provided country's ISO codes.
\AdamRocska\ShippingTier\Entity\Country | $country |
getShippingMethod() : \AdamRocska\ShippingTier\Entity\ShippingMethod
Returns the shipping method to which this shipping method branch belongs to.
setShippingMethod(\AdamRocska\ShippingTier\Entity\ShippingMethod $shippingMethod)
Injects the provided `ShippingMethod`.
\AdamRocska\ShippingTier\Entity\ShippingMethod | $shippingMethod |