v2.1.189
·
32 commits
to master
since this release
Added Features
Get Detail of Contract by License
- Introduced a new method
getDetailOfContractByLicenseto theContractClientinterface 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
GetDetailOfContractByLicenseRequestto construct requests for fetching contract details using a License ID. - Introduced new response classes to handle the result of the
getDetailOfContractByLicensemethod: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.