DeliveryRouteAssignment
The property name constants of the {@see \xyz\oihana\schema\shipping\DeliveryRouteAssignment} class.
Four of the seven keys duplicate values already exposed elsewhere in the
library — byDay by
DeliveryRouteTermTrait,
position by Site,
startTime and endTime by Action among
others — which is intentional : a constant repeated with an identical value
composes without conflict, and each entity keeps a self-contained vocabulary.
route, weekFrom and weekThrough are specific to this class. The two week
bounds are deliberately not named validFrom / validThrough : those carry
dates across the library, whereas these carry ISO week numbers, and reusing
the name would make the type a lie.
Tags
Table of Contents
Constants
- BY_DAY : string = 'byDay'
- END_TIME : string = 'endTime'
- POSITION : string = 'position'
- ROUTE : string = 'route'
- START_TIME : string = 'startTime'
- WEEK_FROM : string = 'weekFrom'
- WEEK_THROUGH : string = 'weekThrough'
Constants
BY_DAY
public
string
BY_DAY
= 'byDay'
END_TIME
public
string
END_TIME
= 'endTime'
POSITION
public
string
POSITION
= 'position'
ROUTE
public
string
ROUTE
= 'route'
START_TIME
public
string
START_TIME
= 'startTime'
WEEK_FROM
public
string
WEEK_FROM
= 'weekFrom'
WEEK_THROUGH
public
string
WEEK_THROUGH
= 'weekThrough'