Skip to content

feat: add surcharges model to Rate - #396

Merged
Justin Hammond (Justintime50) merged 4 commits into
masterfrom
feat/rate-surcharges-model
Oct 1, 2026
Merged

Justin Hammond (Justintime50) merged 4 commits into
masterfrom
feat/rate-surcharges-model

Conversation

@Justintime50

@Justintime50 Justin Hammond (Justintime50) commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

Description

  • Adds surcharges to Rate
  • Adds a new Surcharge model with object, type, category, amount, list_amount, retail_amount, and currency fields
  • Wires Surcharge into object mapping and manual require loading
  • Adds changelog entry under Next Release

Testing

  • ./bin/phpunit --filter "EasyPostObjectTest|RequireTest"

Updated the changelog to reflect the addition of surcharges to Rate and the removal of the deprecated addCreditCard function.
@Justintime50
Justin Hammond (Justintime50) merged commit 8c98092 into master Oct 1, 2026
9 checks passed
@Justintime50
Justin Hammond (Justintime50) deleted the feat/rate-surcharges-model branch October 1, 2026 16:56
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