Skip to content

feat: add Surcharges to Rate model - #230

Merged
Justin Hammond (Justintime50) merged 4 commits into
masterfrom
surcharges
Oct 1, 2026
Merged

Justin Hammond (Justintime50) merged 4 commits into
masterfrom
surcharges

Conversation

@Justintime50

@Justintime50 Justin Hammond (Justintime50) commented Aug 7, 2024 •

Copy link
Copy Markdown
Member

Description

Revives and rebases this PR onto current master and adds surcharge support on rates.

Changes in this PR:

  • Adds Surcharges to the Rate model
  • Adds Category to the Surcharge model (category JSON field)
  • Moves the changelog note into the newest Next Release section at the top of the changelog
  • Adds a unit test for surcharge category deserialization

Testing

  • go test ./... -run TestRateUnmarshalSurchargeCategory -count=1 (compile/selection check)
  • go test ./... -count=1 (fails in local environment due to missing test API fixtures/API key; unrelated to this change)

Pull Request Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Improvement (fixing a typo, updating readme, renaming a variable name, etc.)

@Justintime50
Justin Hammond (Justintime50) requested a review from a team August 7, 2024 16:00
@Justintime50
Justin Hammond (Justintime50) marked this pull request as draft August 7, 2024 19:28
@Justintime50

Copy link
Copy Markdown
Member Author

Going to close until needed

@Justintime50 Justin Hammond (Justintime50) changed the title feat: adds Surcharges property to Rate model feat: add Surcharges (including category) to Rate model Oct 1, 2026
@Justintime50
Justin Hammond (Justintime50) marked this pull request as ready for review October 1, 2026 16:15
@Justintime50 Justin Hammond (Justintime50) changed the title feat: add Surcharges (including category) to Rate model feat: add Surcharges to Rate model Oct 1, 2026
Removed surcharge category detail from changelog entry.
@Justintime50
Justin Hammond (Justintime50) merged commit 179074e into master Oct 1, 2026
17 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.

2 participants