Oihana PHP System

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
author

Marc Alcaraz (ekameleon)

since
1.4.0

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

On this page

Search results