HasDeliveryAreas
trait HasDeliveryAreas
Properties
protected Collection | $deliveryAreas |
Methods
static
bootHasDeliveryAreas()
No description
geocodeAddressOnSave()
No description
listDeliveryAreas()
No description
AreaInterface|null
findDeliveryArea($areaId)
No description
AreaInterface|null
AreaInterface|null
AreaInterface|null
getDistanceUnit()
No description
bool
addLocationAreas(array $deliveryAreas)
Create a new or update existing location areas
Details
at line 15
static
bootHasDeliveryAreas()
No description
at line 22
protected
geocodeAddressOnSave()
No description
at line 45
listDeliveryAreas()
No description
at line 55
AreaInterface|null
findDeliveryArea($areaId)
No description
at line 64
AreaInterface|null
searchOrDefaultDeliveryArea(CoordinatesInterface $coordinates)
No description
at line 76
AreaInterface|null
searchOrFirstDeliveryArea(CoordinatesInterface $coordinates)
No description
at line 88
AreaInterface|null
searchDeliveryArea(CoordinatesInterface $coordinates)
No description
at line 100
getDistanceUnit()
No description
at line 116
bool
addLocationAreas(array $deliveryAreas)
Create a new or update existing location areas