Skip to content

v2.1.189

Choose a tag to compare

@mittwald-machine mittwald-machine released this 20 Feb 19:20
· 32 commits to master since this release

Added Features

Get Detail of Contract by License

  • Introduced a new method getDetailOfContractByLicense to the ContractClient interface and its implementation, allowing retrieval of contracts based on License ID.
  • The new method enhances querying capabilities for contracts, improving the overall API usability for clients managing contracts.

New Request and Response Classes

  • Added GetDetailOfContractByLicenseRequest to construct requests for fetching contract details using a License ID.
  • Introduced new response classes to handle the result of the getDetailOfContractByLicense method:
    • GetDetailOfContractByLicenseOKResponse: for successful responses.
    • GetDetailOfContractByLicenseBadRequestResponse: for handling bad requests.
    • GetDetailOfContractByLicenseNotFoundResponse: for scenarios where no contract is found for the given License ID.
    • GetDetailOfContractByLicenseDefaultResponse: for handling any other issues.
    • GetDetailOfContractByLicenseTooManyRequestsResponse: to manage rate limiting scenarios.
    • GetDetailOfContractByLicenseTooManyRequestsResponseBody: to encapsulate the response body for too many requests.

Internal Validation

  • Each new response and request class includes a schema for input validation to ensure data integrity when interacting with the API.