getLabel()
getLabel() : string
Returns the tier's human readable label.
Represents a set of shipping method branches sorted in the same tier / category.
getFastestShippingMethodBranchForCountry(\AdamRocska\ShippingTier\Entity\Country $country) : \AdamRocska\ShippingTier\Entity\ShippingMethodBranch
Returns the shipping method branch for the given country which is of the fastest possible door-to-door transit time.
\AdamRocska\ShippingTier\Entity\Country | $country |
Throws a
NoShippingMethodBranchForCountry
exception when there is no
shipping method branch found
for the provided country.
Throws a
NoShippingMethodBranchesBound
exception when there are no
shipping method branches bound to
the tier at all.