Releases: unit-finance/unit-openapi-java-sdk
Releases · unit-finance/unit-openapi-java-sdk
Version - 0.2.0
Version - 0.1.2
Version - 0.1.1
What's Changed
Full Changelog: v0.1.0...v0.1.1
For tips regarding the migration from 0.0.x to 0.1.x reference https://github.com/unit-finance/unit-openapi-java-sdk/releases/tag/v0.1.0
Version - 0.1.0
What's Changed
Full Changelog: v0.0.7...v0.1.0
Tips for migration from 0.0.x
- All patches were renamed to updates. E.g. PatchApplication becomes UpdateApplication
- All data type fields are now stored as enums. If you where to use a data field for a customer you would do it as Customer.TypeEnum.INDIVIDUALCUSTOMER instead of manually writing "individualCustomer"
- All requests now have "Request" at the end of their naming. CreateRecurringRepayment => CreateRecurringRepaymentRequest
- Instead of having separate classes for each of the api endpoints they all grouped up in the unitApi class.
E.g.
Before refactor:
ApiClient apiClient = new ApiClient();
CreateIndividualApplication createIndividualApplication = new CreateIndividualApplication();
CreateIndividualApplicationAttributes attr = new CreateIndividualApplicationAttributes();
...
CreateApplication ca = new CreateApplication();
ca.data(new CreateApplicationData(createIndividualApplication));
CreateApplicationApi createApiClient = new CreateApplicationApi(apiClient);
UnitCreateApplicationResponse res = apiClient.execute(request);
After refactor:
ApiClient apiClient = new ApiClient();
CreateIndividualApplication createIndividualApplication = new CreateIndividualApplication();
CreateIndividualApplicationAttributes attr = new CreateIndividualApplicationAttributes();
...
CreateApplicationRequest ca = new CreateApplication();
ca.data(new CreateApplicationRequestData(createIndividualApplication));
UnitApi unitApi = new UnitApi(apiClient);
UnitCreateApplicationResponse res = unitApi.createApplication(request);
// from here on unitApi can be used for
// any requests as needed, e.g. unitApi.createRecurringRepayment(...);
Version - 0.0.7
What's Changed
- Removed unwanted id field for create check payment by @YegorZh in #29
- CI Improvements by @YegorZh in #30
Full Changelog: v0.0.6...v0.0.7
Version - 0.0.6
What's Changed
Full Changelog: v0.0.5...v0.0.6
Version - 0.0.5
What's Changed
Full Changelog: v0.0.4...v0.0.5
Version - 0.0.4
What's Changed
- Updates to account enums and addition of nextExpirationDate for sandbox by @YegorZh in #23
- Update build.sbt by @ilyamerman in #24
New Contributors
- @YegorZh made their first contribution in #23
- @ilyamerman made their first contribution in #24
Full Changelog: v0.0.3...v0.0.4
Version - 0.0.3
Our new Java-SDK version
What's Changed
- Java version 11
- using Native client
- using Jakarta annotations
- removing javax dependency
Full Changelog: 0.0.2...v0.0.3
Version - 0.0.2
Main Changes
- renaming request and response classes
- removed wrong fields
- additionalProperties: false
based on Unit OpenAPI specs - version 0.0.2
@ilyamerman @axshani
New Contributors
- @Yaellever made their first contribution in #12
- @uri-peled-unit made their first contribution in #13
Full Changelog: 0.0.1...0.0.2