com.intershop.oms.rest.shared.Configuration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iom-test-framework Show documentation
Show all versions of iom-test-framework Show documentation
An "SDK"-style library improving test automation for Intershop Order Management.
/*
* IOM Order API
* The IOM Order API allows to create orders, view orders, create change requests and view change requests for an order. Furthermore, it is possible to search for order states. ## Changelog - - - ### Version 2.4 * Added new end point `/shops/{shopId}/order-states/modified`. - - - ### Version 2.3 * Added optional search filter `emails` to retrieve `order-states`. - - - ### Version 2.2 * Added operation `getOrder`. * Added operations `createChangeRequest`, `getChangeRequest` and `getChangeRequestViewList`. * Added undocumented constraints to `Price`, `ListPrice`, `UnitPrice`. `net` must not be greater than `gross`, `amountDiscounted` must not be greater than `amount`. * Added undocumented constraint to `OrderPosition`. Optional `number` must not be negative. * Added undocumented attributes to `OrderPositionReturned`. Added `OrderPositionReturnedQuantities` and `OrderPositionReturnedUnits`. - - - ### Version 2.1 * Extended `Tax`. An unknown `type` can be submitted when adding `rate` and `location`. * Added undocumented constraint to `Tax`. `type` has a max length of 512 characters. * Added undocumented constraint. In a list of `Tax` (taxes), each type is allowed once only. * Exceeded length of attributes in `Promotion`. `id` has a max length of 512 `characters`. `name`, `descriptorId`, `code` and `budgetSourceId` have a max length of 1024 characters.
*
* The version of the OpenAPI document: 2.4
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.intershop.oms.rest.shared;
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Configuration {
private static ApiClient defaultApiClient = new ApiClient();
/**
* Get the default API client, which would be used when creating API
* instances without providing an API client.
*
* @return Default API client
*/
public static ApiClient getDefaultApiClient() {
return defaultApiClient;
}
/**
* Set the default API client, which would be used when creating API
* instances without providing an API client.
*
* @param apiClient API client
*/
public static void setDefaultApiClient(ApiClient apiClient) {
defaultApiClient = apiClient;
}
}