Commit ad25818
authored
- Add value-based inter-dependency checks for Parameters, in addition to existing presence-based checks
- Add unit tests to confirm inter-dependency Parameter checks
- Add `RestrictionComments` parameter to `CustomsInfo` create parameter set
- Mark `RestrictionComments` presence as dependent on `RestrictionType` value
- Add unit test to confirm `RestrictionComments` validation based on `RestrictionType`
- Update test fixtures accordingly
1 parent 822932a commit ad25818
File tree
93 files changed
+2306
-1841
lines changed- EasyPost.Tests
- ParametersTests
- ServicesTests/WithParameters
- cassettes
- netstandard
- claim_service_with_parameters
- customs_info_service_with_parameters
- customs_info_service
- shipment_service_with_parameters
- shipment_service
- smartrate_service_with_parameters
- net
- claim_service_with_parameters
- customs_info_service_with_parameters
- customs_info_service
- shipment_service_with_parameters
- shipment_service
- smartrate_service_with_parameters
- EasyPost
- Parameters/CustomsInfo
- Utilities/Internal/Attributes
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
93 files changed
+2306
-1841
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
337 | 344 | | |
338 | 345 | | |
339 | 346 | | |
| |||
342 | 349 | | |
343 | 350 | | |
344 | 351 | | |
345 | | - | |
| 352 | + | |
| 353 | + | |
346 | 354 | | |
347 | 355 | | |
348 | 356 | | |
| |||
Large diffs are not rendered by default.
Lines changed: 45 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
43 | 88 | | |
44 | 89 | | |
45 | 90 | | |
| |||
Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments