Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INVD-3805 fixed customer taxes request #31

Merged
merged 2 commits into from
Jan 29, 2024
Merged

INVD-3805 fixed customer taxes request #31

merged 2 commits into from
Jan 29, 2024

Conversation

andriy-invoiced
Copy link
Contributor

@andriy-invoiced andriy-invoiced commented Jan 29, 2024

Executed test script
image

Added UT
src/test/java/com/invoiced/entity/CustomerTest.java

Added request/responsemocks
src/test/resources/mappings/tax_rates_retrieve_2.json
src/test/resources/mappings/customers_edit_3.json

executing example:
https://corp.sandbox.invoicedhq.com/admin?routeName=view_api_request&routeParams%5BtenantId%5D=1350&routeParams%5BrequestId%5D=c2c59bbd-e9ef-e25d-16d9-0bf342417b50

@andriy-invoiced
Copy link
Contributor Author

As a alternative solution, we may change the API, so it accepts tax rate object successfully, as Items do

@coveralls
Copy link

Coverage Status

coverage: 81.958% (+0.2%) from 81.807%
when pulling b4dcc4c on invd-3805
into 0476c72 on master.

@andriy-invoiced andriy-invoiced merged commit d573fff into master Jan 29, 2024
12 checks passed
@andriy-invoiced andriy-invoiced deleted the invd-3805 branch January 29, 2024 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants