getDoorToDoorTransitTime()
getDoorToDoorTransitTime() : \AdamRocska\ShippingTier\Entity\DoorToDoorTransitTime
Returns the `DoorToDoorTransitionTime` of the current shipping method branch.
Represents a branch of a shipping method.
A shipping method branch is a cluster of countries supported by a given shipping method, grouped by transit time, and tier.
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.
getCountries() : array<mixed,\AdamRocska\ShippingTier\Entity\Country>
Returns the list of countries handled by the current shipping method branch.
hasCountry(\AdamRocska\ShippingTier\Entity\Country $country) : boolean
Tells whether the queried country is handled by the current shipping method branch.
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.