Skip to content

Releases: unit-finance/unit-openapi-java-sdk

Version - 0.2.0

04 Dec 07:25
1266d40

Choose a tag to compare

What's Changed

Full Changelog: v0.1.2...v0.2.0

Version - 0.1.2

21 Aug 10:46
d553a48

Choose a tag to compare

What's Changed

  • Application functionality, customer functionality and test updates by @YegorZh in #35
  • Correct credit account relationships by @YegorZh in #37
  • Update to 0.1.2 by @YegorZh in #38

Full Changelog: v0.1.1...v0.1.2

Version - 0.1.1

01 Aug 15:46
a7f075c

Choose a tag to compare

What's Changed

  • Fixed failing tests, renamed BIN.java to Bin.java by @YegorZh in #34

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

01 Aug 15:07
e9f25d8

Choose a tag to compare

What's Changed

  • Major update and version bump to 0.1.0 by @YegorZh in #33

Full Changelog: v0.0.7...v0.1.0

Tips for migration from 0.0.x

  1. All patches were renamed to updates. E.g. PatchApplication becomes UpdateApplication
  2. 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"
  3. All requests now have "Request" at the end of their naming. CreateRecurringRepayment => CreateRecurringRepaymentRequest
  4. 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

25 Jul 09:46
0f1cac9

Choose a tag to compare

What's Changed

Full Changelog: v0.0.6...v0.0.7

Version - 0.0.6

04 Jul 08:53
e6d5757

Choose a tag to compare

What's Changed

  • Recurring repayments and updates to repayments by @YegorZh in #28
  • Update to 0.0.6

Full Changelog: v0.0.5...v0.0.6

Version - 0.0.5

25 Jun 12:39
c660cb0

Choose a tag to compare

What's Changed

  • Fee Reversal and Credit Account Repayment Info by @YegorZh in #25

Full Changelog: v0.0.4...v0.0.5

Version - 0.0.4

21 May 11:48

Choose a tag to compare

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

Full Changelog: v0.0.3...v0.0.4

Version - 0.0.3

12 Feb 11:27
61ea733

Choose a tag to compare

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

17 Jan 10:33
363230a

Choose a tag to compare

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

Full Changelog: 0.0.1...0.0.2