Skip to content

feat: add submitVehicleSize() for new PUT vehicle-size endpoint#178

Merged
sr4850 merged 1 commit into
mainfrom
fix/add-submit-vehicle-size
May 19, 2026
Merged

feat: add submitVehicleSize() for new PUT vehicle-size endpoint#178
sr4850 merged 1 commit into
mainfrom
fix/add-submit-vehicle-size

Conversation

@sr4850

@sr4850 sr4850 commented May 19, 2026

Copy link
Copy Markdown
Collaborator

VOL-5882 removed the old vehicle-declaration/submit endpoint and replaced it with PUT application/{id}/vehicle-size. This adds:

  • VehicleSizeBuilder class for the request body
  • submitVehicleSize() method that calls PUT vehicle-size for PSV apps
  • Default psvVehicleSize changed from psvvs_both to psvvs_medium_large (psvvs_both triggers a YesNoType null bug in vol-app PHP 8.3)

Description

Related issue: JIRA_TICKET_NUMBER

Before submitting (or marking as "ready for review")

  • Does the pull request title follow the conventional commit specification?
  • Have you performed a self-review of the code
  • Have you have added tests that prove the fix or feature is effective and working
  • Did you make sure to update any documentation relating to this change?

VOL-5882 removed the old vehicle-declaration/submit endpoint and replaced
it with PUT application/{id}/vehicle-size. This adds:

- VehicleSizeBuilder class for the request body
- submitVehicleSize() method that calls PUT vehicle-size for PSV apps
- Default psvVehicleSize changed from psvvs_both to psvvs_medium_large
  (psvvs_both triggers a YesNoType null bug in vol-app PHP 8.3)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sr4850 sr4850 merged commit d15b34c into main May 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant