# Class RequirementMode (1.15.0)

1.15.0 (latest) 1.14.0 1.13.0 1.12.0 1.11.2 1.10.0 1.9.1 1.8.5 1.7.0 1.6.0 1.5.0 1.4.3 1.3.2 1.2.0 1.1.3 1.0.1 0.1.1

    RequirementMode(value)

Modes defining the appearance of dependent shipments on a
route.

        A "dependent" shipment pickup must therefore have either:

        - A delivery-only "required" shipment delivered on the route
          after, or
        - A "required" shipment picked up on the route before it,
          and if the "required" shipment has a delivery, this
          delivery must be performed after the "dependent"
          shipment's pickup.
    IN_SAME_VEHICLE_AT_DELIVERY_TIME (3):
        Same as before, except the "dependent" shipments need to
        have a "required" shipment on their vehicle at the time of
        their *delivery*.

| ## Enums ||
|---|---|
| **Name** | **Description** |
| `REQUIREMENT_MODE_UNSPECIFIED` | Unspecified requirement mode. This value should never be used. |
| `PERFORMED_BY_SAME_VEHICLE` | In this mode, all "dependent" shipments must share the same vehicle as at least one of their "required" shipments. |
| `IN_SAME_VEHICLE_AT_PICKUP_TIME` | With the \`IN_SAME_VEHICLE_AT_PICKUP_TIME\` mode, all "dependent" shipments need to have at least one "required" shipment on their vehicle at the time of their pickup. |