Releases: unit-finance/unit-openapi-java-sdk
Releases · unit-finance/unit-openapi-java-sdk
Version - 0.2.2
What's Changed
- Fix long for financial fields by @YegorZh in #48
Update to this version will be breaking and will require you to substitute the usage of Int for Long in finance related fields
Full Changelog: v0.2.1...v0.2.2
Version - 0.2.1
What's Changed
- Fix business application created naming by @YegorZh in #43
- Temporarily comment out plaid related tests by @YegorZh in #44
Full Changelog: v0.2.0...v0.2.1
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