Adds new CreateUpsCarrierAccount and UpdateUpsCarrierAccount methods and related parameter structs
Add new InvalidFunctionError, raised if users attempt to mix UPS and non-UPS function calls and data
This is the least destructive path to integrating the completely-different payload schema for UPS accounts. Outside of the new error that will be raised if users attempt to mix UPS and non-UPS data, there are no breaking changes (compilation) introduced with this PR.
Testing
New/updated unit tests for UPS and non-UPS creation/update functions
Updated cassettes as needed
Pull Request Type
Please select the option(s) that are relevant to this PR.
[ ] Bug fix (non-breaking change which fixes an issue)
[x] 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.)
Description
CreateUpsCarrierAccount
andUpdateUpsCarrierAccount
methods and related parameter structsInvalidFunctionError
, raised if users attempt to mix UPS and non-UPS function calls and dataThis is the least destructive path to integrating the completely-different payload schema for UPS accounts. Outside of the new error that will be raised if users attempt to mix UPS and non-UPS data, there are no breaking changes (compilation) introduced with this PR.
Testing
Pull Request Type
Please select the option(s) that are relevant to this PR.