Commit Graph

10 Commits

Author SHA1 Message Date
Kirill
1494ff5905 Better tests (check that response match the structure) (#52)
Trailing zeros were removed from time in responses because of json marshaling features
2023-12-11 03:19:12 +03:00
Kirill
854d110ab1 Configure HttpClient, added context parameter to all methods (#37)
Context is needed to limit time of execution of a method. Previously, context was passed to structure and it was stored inside structure which is a bad practice. Now we need to pass context to function, which is a best practice
2023-08-05 13:50:34 +03:00
diPhantxm
f81e4ed350 flat structures 2023-06-23 20:57:38 +03:00
Kirill
4139692ac3 Merge pull request #5 from diPhantxm/refactor-enum-types
add enum types where possible
2023-04-02 12:54:17 +03:00
diPhantxm
3507be6ec2 add enum types where possible 2023-04-02 12:52:55 +03:00
diPhantxm
18470fcae5 add Content-Type to request header 2023-03-25 17:18:20 +03:00
diPhantxm
9effb88b5f add all methods for promotions 2023-03-20 01:24:54 +03:00
diPhantxm
2c95f2e4c2 add method for adding product to promotion 2023-03-16 19:51:25 +03:00
diPhantxm
2566f85da3 refactoring. put methods to individual structures 2023-03-15 21:38:17 +03:00
diPhantxm
a082200b4f add get available promotions method 2023-03-14 23:38:14 +03:00