diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 8ac2bed0..793867d9 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -8,6 +8,19 @@ build.gradle build.sbt docs/AccesstokenApi.md docs/AccesstokenResponse.md +docs/AsyncOrderCreateDTO.md +docs/AsyncOrderCreateDTOAdditionalAttributesInner.md +docs/AsyncOrderCreateDTOEndUserInfo.md +docs/AsyncOrderCreateDTOLinesInner.md +docs/AsyncOrderCreateDTOLinesInnerEndUserInfoInner.md +docs/AsyncOrderCreateDTOResellerInfo.md +docs/AsyncOrderCreateDTOShipToInfo.md +docs/AsyncOrderCreateDTOShipmentDetails.md +docs/AsyncOrderCreateDTOVmfadditionalAttributesInner.md +docs/AsyncOrderCreateDTOWarrantyInfoInner.md +docs/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.md +docs/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.md +docs/AsyncOrderCreateResponse.md docs/AvailabilityAsyncNotificationRequest.md docs/AvailabilityAsyncNotificationRequestResourceInner.md docs/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.md @@ -37,7 +50,6 @@ docs/GetAccesstoken500ResponseFault.md docs/GetAccesstoken500ResponseFaultDetail.md docs/GetResellerV6ValidateQuote400Response.md docs/GetResellerV6ValidateQuote400ResponseFieldsInner.md -docs/GetResellerV6ValidateQuote500Response.md docs/InvoiceDetailsv61Response.md docs/InvoiceDetailsv61ResponseBillToInfo.md docs/InvoiceDetailsv61ResponseFxRateInfo.md @@ -124,8 +136,9 @@ docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsIn docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.md docs/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.md docs/OrdersApi.md -docs/PostQuoteToOrderV6400Response.md -docs/PostQuoteToOrderV6400ResponseFieldsInner.md +docs/PostCreateorderV7400Response.md +docs/PostCreateorderV7400ResponseFieldsInner.md +docs/PostCreateorderV7500Response.md docs/PostRenewalssearch400Response.md docs/PriceAndAvailabilityRequest.md docs/PriceAndAvailabilityRequestAdditionalAttributesInner.md @@ -156,20 +169,15 @@ docs/QuoteDetailsResponse.md docs/QuoteDetailsResponseAdditionalAttributesInner.md docs/QuoteDetailsResponseEndUserInfo.md docs/QuoteDetailsResponseProductsInner.md +docs/QuoteDetailsResponseProductsInnerBillDetailsInner.md docs/QuoteDetailsResponseProductsInnerPrice.md +docs/QuoteDetailsResponseProductsInnerPriceDiscountsInner.md +docs/QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.md docs/QuoteDetailsResponseResellerInfo.md +docs/QuoteDetailsResponseShippingInfo.md docs/QuoteSearchResponse.md docs/QuoteSearchResponseQuotesInner.md docs/QuoteSearchResponseQuotesInnerLinks.md -docs/QuoteToOrderApi.md -docs/QuoteToOrderDetailsDTO.md -docs/QuoteToOrderDetailsDTOAdditionalAttributesInner.md -docs/QuoteToOrderDetailsDTOEndUserInfo.md -docs/QuoteToOrderDetailsDTOLinesInner.md -docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md -docs/QuoteToOrderDetailsDTOShipToInfo.md -docs/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md -docs/QuoteToOrderResponse.md docs/QuotesApi.md docs/RenewalsApi.md docs/RenewalsDetailsResponse.md @@ -202,6 +210,7 @@ docs/ReturnsSearchResponseReturnsClaimsInnerLinksInner.md docs/StockUpdateApi.md docs/ValidateQuoteResponse.md docs/ValidateQuoteResponseLinesInner.md +docs/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md docs/ValidateQuoteResponseVmfAdditionalAttributesInner.md git_push.sh gradle.properties @@ -232,7 +241,6 @@ src/main/java/xiresellers/client/api/InvoicesApi.java src/main/java/xiresellers/client/api/OrderStatusApi.java src/main/java/xiresellers/client/api/OrdersApi.java src/main/java/xiresellers/client/api/ProductCatalogApi.java -src/main/java/xiresellers/client/api/QuoteToOrderApi.java src/main/java/xiresellers/client/api/QuotesApi.java src/main/java/xiresellers/client/api/RenewalsApi.java src/main/java/xiresellers/client/api/ReturnsApi.java @@ -247,6 +255,19 @@ src/main/java/xiresellers/client/auth/OAuthOkHttpClient.java src/main/java/xiresellers/client/auth/RetryingOAuth.java src/main/java/xiresellers/client/model/AbstractOpenApiSchema.java src/main/java/xiresellers/client/model/AccesstokenResponse.java +src/main/java/xiresellers/client/model/AsyncOrderCreateDTO.java +src/main/java/xiresellers/client/model/AsyncOrderCreateDTOAdditionalAttributesInner.java +src/main/java/xiresellers/client/model/AsyncOrderCreateDTOEndUserInfo.java +src/main/java/xiresellers/client/model/AsyncOrderCreateDTOLinesInner.java +src/main/java/xiresellers/client/model/AsyncOrderCreateDTOLinesInnerEndUserInfoInner.java +src/main/java/xiresellers/client/model/AsyncOrderCreateDTOResellerInfo.java +src/main/java/xiresellers/client/model/AsyncOrderCreateDTOShipToInfo.java +src/main/java/xiresellers/client/model/AsyncOrderCreateDTOShipmentDetails.java +src/main/java/xiresellers/client/model/AsyncOrderCreateDTOVmfadditionalAttributesInner.java +src/main/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInner.java +src/main/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.java +src/main/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.java +src/main/java/xiresellers/client/model/AsyncOrderCreateResponse.java src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java @@ -274,7 +295,6 @@ src/main/java/xiresellers/client/model/GetAccesstoken500ResponseFault.java src/main/java/xiresellers/client/model/GetAccesstoken500ResponseFaultDetail.java src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java -src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfo.java @@ -358,8 +378,9 @@ src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResour src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.java src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.java -src/main/java/xiresellers/client/model/PostQuoteToOrderV6400Response.java -src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java +src/main/java/xiresellers/client/model/PostCreateorderV7400Response.java +src/main/java/xiresellers/client/model/PostCreateorderV7400ResponseFieldsInner.java +src/main/java/xiresellers/client/model/PostCreateorderV7500Response.java src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java @@ -389,19 +410,15 @@ src/main/java/xiresellers/client/model/QuoteDetailsResponse.java src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java src/main/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfo.java src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInner.java +src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerBillDetailsInner.java src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java +src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceDiscountsInner.java +src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.java src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java +src/main/java/xiresellers/client/model/QuoteDetailsResponseShippingInfo.java src/main/java/xiresellers/client/model/QuoteSearchResponse.java src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerLinks.java -src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java -src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java -src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfo.java -src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java -src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java -src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfo.java -src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java -src/main/java/xiresellers/client/model/QuoteToOrderResponse.java src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfo.java @@ -430,6 +447,7 @@ src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.j src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java src/main/java/xiresellers/client/model/ValidateQuoteResponse.java src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java +src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.java src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java src/test/java/xiresellers/client/api/AccesstokenApiTest.java src/test/java/xiresellers/client/api/DealsApiTest.java @@ -438,12 +456,24 @@ src/test/java/xiresellers/client/api/InvoicesApiTest.java src/test/java/xiresellers/client/api/OrderStatusApiTest.java src/test/java/xiresellers/client/api/OrdersApiTest.java src/test/java/xiresellers/client/api/ProductCatalogApiTest.java -src/test/java/xiresellers/client/api/QuoteToOrderApiTest.java src/test/java/xiresellers/client/api/QuotesApiTest.java src/test/java/xiresellers/client/api/RenewalsApiTest.java src/test/java/xiresellers/client/api/ReturnsApiTest.java src/test/java/xiresellers/client/api/StockUpdateApiTest.java src/test/java/xiresellers/client/model/AccesstokenResponseTest.java +src/test/java/xiresellers/client/model/AsyncOrderCreateDTOAdditionalAttributesInnerTest.java +src/test/java/xiresellers/client/model/AsyncOrderCreateDTOEndUserInfoTest.java +src/test/java/xiresellers/client/model/AsyncOrderCreateDTOLinesInnerEndUserInfoInnerTest.java +src/test/java/xiresellers/client/model/AsyncOrderCreateDTOLinesInnerTest.java +src/test/java/xiresellers/client/model/AsyncOrderCreateDTOResellerInfoTest.java +src/test/java/xiresellers/client/model/AsyncOrderCreateDTOShipToInfoTest.java +src/test/java/xiresellers/client/model/AsyncOrderCreateDTOShipmentDetailsTest.java +src/test/java/xiresellers/client/model/AsyncOrderCreateDTOTest.java +src/test/java/xiresellers/client/model/AsyncOrderCreateDTOVmfadditionalAttributesInnerTest.java +src/test/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInnerTest.java +src/test/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerTest.java +src/test/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInnerTest.java +src/test/java/xiresellers/client/model/AsyncOrderCreateResponseTest.java src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInnerTest.java src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerTest.java src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestTest.java @@ -471,7 +501,6 @@ src/test/java/xiresellers/client/model/GetAccesstoken500ResponseFaultTest.java src/test/java/xiresellers/client/model/GetAccesstoken500ResponseTest.java src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInnerTest.java src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseTest.java -src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote500ResponseTest.java src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfoTest.java src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfoTest.java src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInnerTest.java @@ -555,8 +584,9 @@ src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResour src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInnerTest.java src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerTest.java src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestTest.java -src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInnerTest.java -src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseTest.java +src/test/java/xiresellers/client/model/PostCreateorderV7400ResponseFieldsInnerTest.java +src/test/java/xiresellers/client/model/PostCreateorderV7400ResponseTest.java +src/test/java/xiresellers/client/model/PostCreateorderV7500ResponseTest.java src/test/java/xiresellers/client/model/PostRenewalssearch400ResponseTest.java src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInnerTest.java src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInnerTest.java @@ -584,21 +614,17 @@ src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerTest.jav src/test/java/xiresellers/client/model/ProductSearchResponseTest.java src/test/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInnerTest.java src/test/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfoTest.java +src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerBillDetailsInnerTest.java +src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceDiscountsInnerTest.java +src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInnerTest.java src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceTest.java src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerTest.java src/test/java/xiresellers/client/model/QuoteDetailsResponseResellerInfoTest.java +src/test/java/xiresellers/client/model/QuoteDetailsResponseShippingInfoTest.java src/test/java/xiresellers/client/model/QuoteDetailsResponseTest.java src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerLinksTest.java src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerTest.java src/test/java/xiresellers/client/model/QuoteSearchResponseTest.java -src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInnerTest.java -src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoTest.java -src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerTest.java -src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInnerTest.java -src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoTest.java -src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOTest.java -src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInnerTest.java -src/test/java/xiresellers/client/model/QuoteToOrderResponseTest.java src/test/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInnerTest.java src/test/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoTest.java src/test/java/xiresellers/client/model/RenewalsDetailsResponseProductsInnerTest.java @@ -626,5 +652,6 @@ src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLi src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerTest.java src/test/java/xiresellers/client/model/ReturnsSearchResponseTest.java src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerTest.java +src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerTest.java src/test/java/xiresellers/client/model/ValidateQuoteResponseTest.java src/test/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInnerTest.java diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 8b23b8d4..93c8ddab 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.6.0 diff --git a/README.md b/README.md index 44fd7a17..b951c58d 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ + # xi.sdk.resellers -XI Sdk Resellers -- API version: 1.0.0 - - Build date: 2024-02-27T08:54:45.542575Z[Etc/UTC] For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of APIs and webhooks to craft a seamless journey for your customers. @@ -78,7 +76,7 @@ Add this dependency to your project's POM: xi.sdk.resellers xi.sdk.resellers - 1.0.0 + 1.1.0 compile ``` @@ -163,11 +161,11 @@ Class | Method | HTTP request | Description *OrdersApi* | [**getOrderdetailsV61**](docs/OrdersApi.md#getOrderdetailsV61) | **GET** /resellers/v6.1/orders/{ordernumber} | Get Order Details v6.1 *OrdersApi* | [**getResellersV6Ordersearch**](docs/OrdersApi.md#getResellersV6Ordersearch) | **GET** /resellers/v6/orders/search | Search your Orders *OrdersApi* | [**postCreateorderV6**](docs/OrdersApi.md#postCreateorderV6) | **POST** /resellers/v6/orders | Create your Order +*OrdersApi* | [**postCreateorderV7**](docs/OrdersApi.md#postCreateorderV7) | **POST** /resellers/v7/orders | Create your Order v7 *OrdersApi* | [**putOrdermodify**](docs/OrdersApi.md#putOrdermodify) | **PUT** /resellers/v6/orders/{orderNumber} | Modify your Order *ProductCatalogApi* | [**getResellerV6Productdetail**](docs/ProductCatalogApi.md#getResellerV6Productdetail) | **GET** /resellers/v6/catalog/details/{ingramPartNumber} | Product Details *ProductCatalogApi* | [**getResellerV6Productsearch**](docs/ProductCatalogApi.md#getResellerV6Productsearch) | **GET** /resellers/v6/catalog | Search Products *ProductCatalogApi* | [**postPriceandavailability**](docs/ProductCatalogApi.md#postPriceandavailability) | **POST** /resellers/v6/catalog/priceandavailability | Price and Availability -*QuoteToOrderApi* | [**postQuoteToOrderV6**](docs/QuoteToOrderApi.md#postQuoteToOrderV6) | **POST** /resellers/v6/q2o/orders | Quote To Order *QuotesApi* | [**getQuotessearchV6**](docs/QuotesApi.md#getQuotessearchV6) | **GET** /resellers/v6/quotes/search | Quote Search *QuotesApi* | [**getResellerV6ValidateQuote**](docs/QuotesApi.md#getResellerV6ValidateQuote) | **GET** /resellers/v6/q2o/validatequote | Validate Quote *QuotesApi* | [**getResellersV6Quotes**](docs/QuotesApi.md#getResellersV6Quotes) | **GET** /resellers/v6/quotes/{quoteNumber} | Get Quote Details @@ -182,6 +180,19 @@ Class | Method | HTTP request | Description ## Documentation for Models - [AccesstokenResponse](docs/AccesstokenResponse.md) + - [AsyncOrderCreateDTO](docs/AsyncOrderCreateDTO.md) + - [AsyncOrderCreateDTOAdditionalAttributesInner](docs/AsyncOrderCreateDTOAdditionalAttributesInner.md) + - [AsyncOrderCreateDTOEndUserInfo](docs/AsyncOrderCreateDTOEndUserInfo.md) + - [AsyncOrderCreateDTOLinesInner](docs/AsyncOrderCreateDTOLinesInner.md) + - [AsyncOrderCreateDTOLinesInnerEndUserInfoInner](docs/AsyncOrderCreateDTOLinesInnerEndUserInfoInner.md) + - [AsyncOrderCreateDTOResellerInfo](docs/AsyncOrderCreateDTOResellerInfo.md) + - [AsyncOrderCreateDTOShipToInfo](docs/AsyncOrderCreateDTOShipToInfo.md) + - [AsyncOrderCreateDTOShipmentDetails](docs/AsyncOrderCreateDTOShipmentDetails.md) + - [AsyncOrderCreateDTOVmfadditionalAttributesInner](docs/AsyncOrderCreateDTOVmfadditionalAttributesInner.md) + - [AsyncOrderCreateDTOWarrantyInfoInner](docs/AsyncOrderCreateDTOWarrantyInfoInner.md) + - [AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner](docs/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.md) + - [AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner](docs/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.md) + - [AsyncOrderCreateResponse](docs/AsyncOrderCreateResponse.md) - [AvailabilityAsyncNotificationRequest](docs/AvailabilityAsyncNotificationRequest.md) - [AvailabilityAsyncNotificationRequestResourceInner](docs/AvailabilityAsyncNotificationRequestResourceInner.md) - [AvailabilityAsyncNotificationRequestResourceInnerLinksInner](docs/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.md) @@ -209,7 +220,6 @@ Class | Method | HTTP request | Description - [GetAccesstoken500ResponseFaultDetail](docs/GetAccesstoken500ResponseFaultDetail.md) - [GetResellerV6ValidateQuote400Response](docs/GetResellerV6ValidateQuote400Response.md) - [GetResellerV6ValidateQuote400ResponseFieldsInner](docs/GetResellerV6ValidateQuote400ResponseFieldsInner.md) - - [GetResellerV6ValidateQuote500Response](docs/GetResellerV6ValidateQuote500Response.md) - [InvoiceDetailsv61Response](docs/InvoiceDetailsv61Response.md) - [InvoiceDetailsv61ResponseBillToInfo](docs/InvoiceDetailsv61ResponseBillToInfo.md) - [InvoiceDetailsv61ResponseFxRateInfo](docs/InvoiceDetailsv61ResponseFxRateInfo.md) @@ -293,8 +303,9 @@ Class | Method | HTTP request | Description - [OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner](docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.md) - [OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner](docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.md) - [OrderStatusAsyncNotificationRequestResourceInnerLinksInner](docs/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.md) - - [PostQuoteToOrderV6400Response](docs/PostQuoteToOrderV6400Response.md) - - [PostQuoteToOrderV6400ResponseFieldsInner](docs/PostQuoteToOrderV6400ResponseFieldsInner.md) + - [PostCreateorderV7400Response](docs/PostCreateorderV7400Response.md) + - [PostCreateorderV7400ResponseFieldsInner](docs/PostCreateorderV7400ResponseFieldsInner.md) + - [PostCreateorderV7500Response](docs/PostCreateorderV7500Response.md) - [PostRenewalssearch400Response](docs/PostRenewalssearch400Response.md) - [PriceAndAvailabilityRequest](docs/PriceAndAvailabilityRequest.md) - [PriceAndAvailabilityRequestAdditionalAttributesInner](docs/PriceAndAvailabilityRequestAdditionalAttributesInner.md) @@ -324,19 +335,15 @@ Class | Method | HTTP request | Description - [QuoteDetailsResponseAdditionalAttributesInner](docs/QuoteDetailsResponseAdditionalAttributesInner.md) - [QuoteDetailsResponseEndUserInfo](docs/QuoteDetailsResponseEndUserInfo.md) - [QuoteDetailsResponseProductsInner](docs/QuoteDetailsResponseProductsInner.md) + - [QuoteDetailsResponseProductsInnerBillDetailsInner](docs/QuoteDetailsResponseProductsInnerBillDetailsInner.md) - [QuoteDetailsResponseProductsInnerPrice](docs/QuoteDetailsResponseProductsInnerPrice.md) + - [QuoteDetailsResponseProductsInnerPriceDiscountsInner](docs/QuoteDetailsResponseProductsInnerPriceDiscountsInner.md) + - [QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner](docs/QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.md) - [QuoteDetailsResponseResellerInfo](docs/QuoteDetailsResponseResellerInfo.md) + - [QuoteDetailsResponseShippingInfo](docs/QuoteDetailsResponseShippingInfo.md) - [QuoteSearchResponse](docs/QuoteSearchResponse.md) - [QuoteSearchResponseQuotesInner](docs/QuoteSearchResponseQuotesInner.md) - [QuoteSearchResponseQuotesInnerLinks](docs/QuoteSearchResponseQuotesInnerLinks.md) - - [QuoteToOrderDetailsDTO](docs/QuoteToOrderDetailsDTO.md) - - [QuoteToOrderDetailsDTOAdditionalAttributesInner](docs/QuoteToOrderDetailsDTOAdditionalAttributesInner.md) - - [QuoteToOrderDetailsDTOEndUserInfo](docs/QuoteToOrderDetailsDTOEndUserInfo.md) - - [QuoteToOrderDetailsDTOLinesInner](docs/QuoteToOrderDetailsDTOLinesInner.md) - - [QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner](docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md) - - [QuoteToOrderDetailsDTOShipToInfo](docs/QuoteToOrderDetailsDTOShipToInfo.md) - - [QuoteToOrderDetailsDTOVmfadditionalAttributesInner](docs/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md) - - [QuoteToOrderResponse](docs/QuoteToOrderResponse.md) - [RenewalsDetailsResponse](docs/RenewalsDetailsResponse.md) - [RenewalsDetailsResponseAdditionalAttributesInner](docs/RenewalsDetailsResponseAdditionalAttributesInner.md) - [RenewalsDetailsResponseEndUserInfo](docs/RenewalsDetailsResponseEndUserInfo.md) @@ -365,6 +372,7 @@ Class | Method | HTTP request | Description - [ReturnsSearchResponseReturnsClaimsInnerLinksInner](docs/ReturnsSearchResponseReturnsClaimsInnerLinksInner.md) - [ValidateQuoteResponse](docs/ValidateQuoteResponse.md) - [ValidateQuoteResponseLinesInner](docs/ValidateQuoteResponseLinesInner.md) + - [ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner](docs/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md) - [ValidateQuoteResponseVmfAdditionalAttributesInner](docs/ValidateQuoteResponseVmfAdditionalAttributesInner.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index dd9b95a7..1203f593 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.0 info: - description: For Resellers. Who are looking to Innovate with Ingram Micro's API - SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create - a seamless experience for your customers. + description: "For resellers seeking to innovate with Ingram Micro's API solutions,\ + \ automate your eCommerce experience with our array of API's and webhooks to craft\ + \ a seamless journey for your customers." title: XI Sdk Resellers version: 1.0.0 servers: @@ -33,8 +33,6 @@ tags: \ not accessible through this API.\n \n*Host Production URL - https://api.ingrammicro.com:443/resellers/v6*\ \ " name: Quotes -- description: ' ' - name: Quote To Order - description: |2 The Ingram Micro Invoice v6 API endpoint provide real-time information for invoices. Users can: @@ -117,7 +115,8 @@ paths: summary: Accesstoken tags: - Accesstoken - x-accepts: application/json + x-accepts: + - application/json /resellers/v6/catalog/priceandavailability: post: description: "The PriceAndAvailability API, will retrieve Pricing, Availability,\ @@ -429,7 +428,8 @@ paths: tags: - Product Catalog x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /resellers/v6/catalog: get: description: Search the Ingram Micro product catalog by providing any of the @@ -728,7 +728,8 @@ paths: summary: Search Products tags: - Product Catalog - x-accepts: application/json + x-accepts: + - application/json /resellers/v6/catalog/details/{ingramPartNumber}: get: description: "Search all the product-related details using a unique Ingram Part\ @@ -1369,7 +1370,8 @@ paths: summary: Product Details tags: - Product Catalog - x-accepts: application/json + x-accepts: + - application/json /resellers/v1/webhooks/availabilityupdate: post: parameters: @@ -1446,7 +1448,8 @@ paths: tags: - StockUpdate x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /resellers/v1/webhooks/orderstatusevent: post: parameters: @@ -1528,7 +1531,170 @@ paths: tags: - OrderStatus x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json + /resellers/v7/orders: + post: + description: | + This API will allow customers to perform both standard ordering and quote to order functionality via a single API enabling them to have a single endpoint to cater to all types of orders. + + This approach will standardize the ordering flow for customers where they will get the response for all orders on to their webhooks. + + It provides the much-awaited async ordering flow for Reseller API where large orders can also be placed via a single API with guaranteed delivery. + operationId: post-createorder_v7 + parameters: + - description: Your unique Ingram Micro customer number. + explode: false + in: header + name: IM-CustomerNumber + required: true + schema: + example: 20-222222 + maxLength: 10 + type: string + style: simple + - description: Two-character ISO country code. + explode: false + in: header + name: IM-CountryCode + required: true + schema: + example: US + maxLength: 2 + minLength: 2 + type: string + style: simple + - description: Unique value used to identify the sender of the transaction. + explode: false + in: header + name: IM-SenderID + required: false + schema: + example: MyCompany + maxLength: 32 + type: string + style: simple + - description: Unique transaction number to identify each transaction accross + all the systems. + explode: false + in: header + name: IM-CorrelationID + required: true + schema: + example: fbac82ba-cf0a-4bcf-fc03-0c5084 + maxLength: 32 + type: string + style: simple + requestBody: + content: + application/json: + examples: + Sample: + value: + quoteNumber: QUO-14551943-D2Y9L9 + customerOrderNumber: "12345" + enduserOrderNumber: "" + billToAddressId: XYZ + endUserInfo: + companyName: ABC TECH + contact: "44045678" + addressLine1: Texas + addressLine2: "4" + addressLine3: "" + city: "" + state: "" + postalCode: "" + countryCode: US + email: abc@gmail.com + phoneNumber: "445678901" + shipToInfo: + addressId: "12345" + companyName: "" + contact: "" + addressLine1: Texas + addressLine2: "4" + addressLine3: "" + city: "" + state: "" + postalCode: "" + countryCode: US + email: abc@gmail.com + additionalAttributes: + - attributeName: VEND_AUTH_NBR_FLG + attributeValue: ABC1234 + vmfAdditionalAttributes: + - attributeName: "" + attributeValue: "" + attributeDescription: "" + lines: + - customerLineNumber: "12" + ingramPartNumber: YN6231 + quantity: "2" + vmfAdditionalAttributesLines: + - attributeName: "" + attributeValue: "" + attributeDescription: "" + schema: + $ref: '#/components/schemas/AsyncOrderCreateDTO' + required: true + responses: + "200": + content: + application/json: + examples: + "200": + description: OK + value: + quoteNumber: QUO-148378-R0M3Z6 + confirmationNumber: 1669783293 + message: "Thank you for submitting the order request, it’s currently\ + \ under process.We will notify you of the status via the Order\ + \ Status webhook." + schema: + $ref: '#/components/schemas/AsyncOrderCreateResponse' + description: Success + "400": + content: + application/json: + examples: + "400": + description: Bad Request + value: + errors: + - traceid: "123456" + type: /errors/validation-failed + message: customer validation failed + fields: + - field: IM-CountryCode + message: Required field is missing + value: null + schema: + $ref: '#/components/schemas/post_createorder_v7_400_response' + description: Bad Request + "500": + content: + application/json: + examples: + "500": + description: Internal Server Error + value: + errors: + - traceid: "123456" + type: /errors/system-errors + message: "Some unexpected error occured, please contact support\ + \ team for more details" + schema: + $ref: '#/components/schemas/post_createorder_v7_500_response' + description: Server Error + security: + - application: + - read + summary: Create your Order v7 + tags: + - Orders + x-content-type: application/json + x-accepts: + - application/json /resellers/v6/orders: post: description: "Instantly create and place orders. The POST API supports stocked\ @@ -3274,7 +3440,8 @@ paths: tags: - Orders x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /resellers/v6/orders/{orderNumber}: put: description: "The Order Modify API endpoint allows for changes to be made to\ @@ -4061,7 +4228,8 @@ paths: tags: - Orders x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /resellers/v6.1/orders/{ordernumber}: get: description: |+ @@ -4376,7 +4544,8 @@ paths: summary: Get Order Details v6.1 tags: - Orders - x-accepts: application/json + x-accepts: + - application/json /resellers/v6/orders/search: get: description: "The Orders Search API endpoint allows a customer to search their\ @@ -4706,7 +4875,8 @@ paths: summary: Search your Orders tags: - Orders - x-accepts: application/json + x-accepts: + - application/json /resellers/v6/orders/{OrderNumber}: delete: description: This call must be submitted before the order is released to Ingram @@ -4921,7 +5091,8 @@ paths: summary: Cancel your Order tags: - Orders - x-accepts: application/json + x-accepts: + - application/json /resellers/v6/quotes/search: get: description: "The Quote Search API, by default, will retrieve quotes modified\ @@ -5297,7 +5468,8 @@ paths: summary: Quote Search tags: - Quotes - x-accepts: application/json + x-accepts: + - application/json /resellers/v6/quotes/{quoteNumber}: get: description: "The quote details API provides all quote details associated with\ @@ -5519,7 +5691,8 @@ paths: summary: Get Quote Details tags: - Quotes - x-accepts: application/json + x-accepts: + - application/json /resellers/v6/q2o/validatequote: get: description: "The validate quote helps the customer validate the quote created\ @@ -5653,7 +5826,7 @@ paths: message: "Some unexpected error occured, please contact support\ \ team for more details" schema: - $ref: '#/components/schemas/get_reseller_v6_validateQuote_500_response' + $ref: '#/components/schemas/post_createorder_v7_500_response' description: Internal Server Error security: - application: @@ -5661,35 +5834,25 @@ paths: summary: Validate Quote tags: - Quotes - x-accepts: application/json - /resellers/v6/q2o/orders: - post: - description: "The “Quote to Order” (QTO) endpoint allows a customer to create\ - \ an order using the existing quote which is in “Ready to Order” status. A\ - \ customer can create an order using Configure to order (CTO) quote or a non-configure\ - \ to order (Non-CTO) quote. Upon successful submission of the order create\ - \ request, a confirmation message will be returned as an API response.
Ingram Micro offers webhooks as a method to send notifications to\ - \ Resellers once the order creation request is received. All the updates related\ - \ to Order creation will be pushed as a notification to the customer via a\ - \ pre-defined callback URL as an HTTP post.

**Prerequisite:**\ - \ Pre-defined callback URL

Before creating an order using the\ - \ quote, it’s recommended to validate the quote using the “Validate Quote”\ - \ endpoint. Validate Quote endpoint will not only validate the quote but also\ - \ outline all the mandatory fields required by the vendor at a header level\ - \ and at the line level which a customer need to pass to the Quote To Order\ - \ endpoint request. For a detailed understanding of the “Validate Quote”\ - \ endpoint, review the “Validate Quote” endpoint documentation.

\ - \ **How it works:**

- The customer validates the quote with a quote\ - \ number from Validate Quote endpoint.
- The customer copies all the\ - \ mandatory fields required by the vendor and adds them to the QTO request\ - \ body.
- The customer provides all the values for Vendor mandatory\ - \ fields along with other required information for QTO to create an order.\ - \
- After the order creation request receipt acknowledgment from the\ - \ QTO endpoint, all further order creation updates will be provided via webhook\ - \ push notification." - operationId: post-QuoteToOrder_v6 + x-accepts: + - application/json + /resellers/v6/invoices: + get: + description: Search your Ingram Micro invoices. This endpoint searches by multiple + invoice parameters and supports pagination of results. + operationId: get-resellers-v6-invoicesearch parameters: + - description: "Unique value used to identify the sender of the transaction.\ + \ Example: MyCompany" + explode: false + in: header + name: IM-ApplicationID + required: true + schema: + example: MyCompany + maxLength: 32 + type: string + style: simple - description: Your unique Ingram Micro customer number. explode: false in: header @@ -5711,175 +5874,7 @@ paths: minLength: 2 type: string style: simple - - description: Unique value used to identify the sender of the transaction. - explode: false - in: header - name: IM-SenderID - required: false - schema: - example: MyCompany - maxLength: 32 - type: string - style: simple - - description: Unique transaction number to identify each transaction accross - all the systems. - explode: false - in: header - name: IM-CorrelationID - required: true - schema: - example: fbac82ba-cf0a-4bcf-fc03-0c5084 - maxLength: 32 - type: string - style: simple - requestBody: - content: - application/json: - examples: - Sample: - value: - quoteNumber: QUO-14551943-D2Y9L9 - customerOrderNumber: "12345" - enduserOrderNumber: "" - billToAddressId: XYZ - endUserInfo: - companyName: ABC TECH - contact: "44045678" - addressLine1: Texas - addressLine2: "4" - addressLine3: "" - city: "" - state: "" - postalCode: "" - countryCode: US - email: abc@gmail.com - phoneNumber: "445678901" - shipToInfo: - addressId: "12345" - companyName: "" - contact: "" - addressLine1: Texas - addressLine2: "4" - addressLine3: "" - city: "" - state: "" - postalCode: "" - countryCode: US - email: abc@gmail.com - additionalAttributes: - - attributeName: VEND_AUTH_NBR_FLG - attributeValue: ABC1234 - vmfAdditionalAttributes: - - attributeName: "" - attributeValue: "" - attributeDescription: "" - lines: - - customerLineNumber: "12" - ingramPartNumber: YN6231 - quantity: "2" - vmfAdditionalAttributesLines: - - attributeName: "" - attributeValue: "" - attributeDescription: "" - schema: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO' - required: true - responses: - "200": - content: - application/json: - examples: - "200": - description: OK - value: - quoteNumber: QUO-148378-R0M3Z6 - confirmationNumber: 1669783293 - message: "Thank you for submitting the order request, it’s currently\ - \ under process.We will notify you of the status via the Order\ - \ Status webhook." - schema: - $ref: '#/components/schemas/QuoteToOrderResponse' - description: Success - "400": - content: - application/json: - examples: - "400": - description: Bad Request - value: - errors: - - traceid: "123456" - type: /errors/validation-failed - message: customer validation failed - fields: - - field: IM-CountryCode - message: Required field is missing - value: null - schema: - $ref: '#/components/schemas/post_QuoteToOrder_v6_400_response' - description: Bad Request - "500": - content: - application/json: - examples: - "500": - description: Internal Server Error - value: - errors: - - traceid: "123456" - type: /errors/system-errors - message: "Some unexpected error occured, please contact support\ - \ team for more details" - schema: - $ref: '#/components/schemas/get_reseller_v6_validateQuote_500_response' - description: Server Error - security: - - application: - - read - summary: Quote To Order - tags: - - Quote To Order - x-content-type: application/json - x-accepts: application/json - /resellers/v6/invoices: - get: - description: Search your Ingram Micro invoices. This endpoint searches by multiple - invoice parameters and supports pagination of results. - operationId: get-resellers-v6-invoicesearch - parameters: - - description: "Unique value used to identify the sender of the transaction.\ - \ Example: MyCompany" - explode: false - in: header - name: IM-ApplicationID - required: true - schema: - example: MyCompany - maxLength: 32 - type: string - style: simple - - description: Your unique Ingram Micro customer number. - explode: false - in: header - name: IM-CustomerNumber - required: true - schema: - example: 20-222222 - maxLength: 10 - type: string - style: simple - - description: Two-character ISO country code. - explode: false - in: header - name: IM-CountryCode - required: true - schema: - example: US - maxLength: 2 - minLength: 2 - type: string - style: simple - - description: Unique transaction number to identify each transaction across + - description: Unique transaction number to identify each transaction across all the systems. explode: false in: header @@ -6165,7 +6160,8 @@ paths: summary: Search your invoice tags: - Invoices - x-accepts: application/json + x-accepts: + - application/json /resellers/v6.1/invoices/{invoiceNumber}: get: description: |- @@ -6424,7 +6420,8 @@ paths: summary: Get Invoice Details v6.1 tags: - Invoices - x-accepts: application/json + x-accepts: + - application/json /resellers/v6/renewals/search: post: description: "The Renewal Search API, by default, will retrieve all the renewals\ @@ -6614,7 +6611,7 @@ paths: Micro API support team fields: [] schema: - $ref: '#/components/schemas/get_reseller_v6_validateQuote_500_response' + $ref: '#/components/schemas/post_createorder_v7_500_response' description: Internal Server Error security: - application: @@ -6623,7 +6620,8 @@ paths: tags: - Renewals x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /resellers/v6/renewals/{renewalId}: get: description: The Renewal Details API endpoint will retrieve all the details @@ -6783,7 +6781,7 @@ paths: Micro API support team fields: [] schema: - $ref: '#/components/schemas/get_reseller_v6_validateQuote_500_response' + $ref: '#/components/schemas/post_createorder_v7_500_response' description: Internal Server Error security: - application: @@ -6791,7 +6789,8 @@ paths: summary: Renewals Details tags: - Renewals - x-accepts: application/json + x-accepts: + - application/json /resellers/v6/deals/search: get: description: "The Deals Search API, by default, will retrieve all the deals\ @@ -6869,6 +6868,25 @@ paths: example: "12345678" type: string style: form + - description: The number of records required in the call - max records 100 + per page. + explode: true + in: query + name: Size + required: false + schema: + format: int32 + type: integer + style: form + - description: The page number reference. + explode: true + in: query + name: Page + required: false + schema: + format: int32 + type: integer + style: form responses: "200": content: @@ -6936,7 +6954,7 @@ paths: Micro API support team fields: [] schema: - $ref: '#/components/schemas/get_reseller_v6_validateQuote_500_response' + $ref: '#/components/schemas/post_createorder_v7_500_response' description: Internal Server Error security: - application: @@ -6944,7 +6962,8 @@ paths: summary: Deals Search tags: - Deals - x-accepts: application/json + x-accepts: + - application/json /resellers/v6/deals/{dealId}: get: description: The Deals Details API will retrieve all the details related to @@ -7095,7 +7114,7 @@ paths: Micro API support team fields: [] schema: - $ref: '#/components/schemas/get_reseller_v6_validateQuote_500_response' + $ref: '#/components/schemas/post_createorder_v7_500_response' description: Internal Server Error security: - application: @@ -7103,7 +7122,8 @@ paths: summary: Deals Details tags: - Deals - x-accepts: application/json + x-accepts: + - application/json /resellers/v6/returns/search: get: description: "The Returns Search API, by default, will retrieve all the returns\ @@ -7356,7 +7376,7 @@ paths: Micro API support team fields: [] schema: - $ref: '#/components/schemas/get_reseller_v6_validateQuote_500_response' + $ref: '#/components/schemas/post_createorder_v7_500_response' description: Internal Server Error security: - application: @@ -7364,7 +7384,8 @@ paths: summary: Returns Search tags: - Returns - x-accepts: application/json + x-accepts: + - application/json /resellers/v6/returns/{caseRequestNumber}: get: description: The Returns Details API will retrieve all the details related to @@ -7500,7 +7521,7 @@ paths: Micro API support team fields: [] schema: - $ref: '#/components/schemas/get_reseller_v6_validateQuote_500_response' + $ref: '#/components/schemas/post_createorder_v7_500_response' description: Internal Server Error security: - application: @@ -7508,7 +7529,8 @@ paths: summary: Returns Details tags: - Returns - x-accepts: application/json + x-accepts: + - application/json /resellers/v6/returns/create: post: description: "Return create endpoint will allow customers to create a return\ @@ -7654,7 +7676,7 @@ paths: Micro API support team fields: [] schema: - $ref: '#/components/schemas/get_reseller_v6_validateQuote_500_response' + $ref: '#/components/schemas/post_createorder_v7_500_response' description: Internal Server Error security: - application: @@ -7663,7 +7685,8 @@ paths: tags: - Returns x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /resellers/v6/freightestimate: post: description: The freight estimator endpoint will allow customers to understand @@ -7849,7 +7872,7 @@ paths: Micro API support team fields: [] schema: - $ref: '#/components/schemas/get_reseller_v6_validateQuote_500_response' + $ref: '#/components/schemas/post_createorder_v7_500_response' description: Internal Server Error security: - application: @@ -7858,7 +7881,8 @@ paths: tags: - Freight Estimate x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json components: schemas: AccesstokenResponse: @@ -7882,7 +7906,7 @@ components: city: city companyName: companyName postalCode: postalCode - phoneNumber: 6 + phoneNumber: phoneNumber countryCode: countryCode contact: contact addressLine1: addressLine1 @@ -7938,8 +7962,8 @@ components: acceptBackOrder: true lines: - ingramPartNumber: ingramPartNumber - unitPrice: 5.962133916683182 - quantity: 1 + unitPrice: 1.4658129805029452 + quantity: 6 specialBidNumber: specialBidNumber notes: notes endUserInfo: @@ -7947,7 +7971,7 @@ components: city: city companyName: companyName postalCode: postalCode - phoneNumber: 2.3021358869347655 + phoneNumber: 5.637376656633329 countryCode: countryCode contact: contact addressLine1: addressLine1 @@ -7963,7 +7987,7 @@ components: city: city companyName: companyName postalCode: postalCode - phoneNumber: 2.3021358869347655 + phoneNumber: 5.637376656633329 countryCode: countryCode contact: contact addressLine1: addressLine1 @@ -7975,7 +7999,7 @@ components: addressLine4: addressLine4 name1: name1 email: email - endUserPrice: 5.637376656633329 + endUserPrice: 5.962133916683182 warrantyInfo: - hardwareLineLink: hardwareLineLink directLineLink: directLineLink @@ -8008,8 +8032,8 @@ components: - attributeValue: attributeValue attributeName: attributeName - ingramPartNumber: ingramPartNumber - unitPrice: 5.962133916683182 - quantity: 1 + unitPrice: 1.4658129805029452 + quantity: 6 specialBidNumber: specialBidNumber notes: notes endUserInfo: @@ -8017,7 +8041,7 @@ components: city: city companyName: companyName postalCode: postalCode - phoneNumber: 2.3021358869347655 + phoneNumber: 5.637376656633329 countryCode: countryCode contact: contact addressLine1: addressLine1 @@ -8033,7 +8057,7 @@ components: city: city companyName: companyName postalCode: postalCode - phoneNumber: 2.3021358869347655 + phoneNumber: 5.637376656633329 countryCode: countryCode contact: contact addressLine1: addressLine1 @@ -8045,7 +8069,7 @@ components: addressLine4: addressLine4 name1: name1 email: email - endUserPrice: 5.637376656633329 + endUserPrice: 5.962133916683182 warrantyInfo: - hardwareLineLink: hardwareLineLink directLineLink: directLineLink @@ -8133,128 +8157,302 @@ components: required: - customerOrderNumber type: object - QuoteToOrderDetailsDTO: - additionalProperties: false + AsyncOrderCreateDTO: example: + internalComments: internalComments + notes: notes endUserInfo: - phoneNumber: phoneNumber + endUserId: endUserId city: city - countryCode: countryCode companyName: companyName - contact: contact postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - shipToInfo: - city: city + name3: name3 + phoneNumber: phoneNumber countryCode: countryCode - companyName: companyName contact: contact - postalCode: postalCode addressLine1: addressLine1 addressLine2: addressLine2 addressLine3: addressLine3 state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 email: email - addressId: addressId + vendAuthNumber: vendAuthNumber + endCustomerOrderNumber: endCustomerOrderNumber billToAddressId: billToAddressId - enduserOrderNumber: enduserOrderNumber - lines: - - ingramPartNumber: ingramPartNumber + warrantyInfo: + - hardwareLineLink: hardwareLineLink vmfAdditionalAttributesLines: - attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription - attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription - quantity: quantity - customerLineNumber: customerLineNumber - - ingramPartNumber: ingramPartNumber + warrantyLineLink: warrantyLineLink + directLineLink: directLineLink + serialInfo: + - dateOfPurchase: dateOfPurchase + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: shipDate + - dateOfPurchase: dateOfPurchase + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: shipDate + - hardwareLineLink: hardwareLineLink vmfAdditionalAttributesLines: - attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription - attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription - quantity: quantity - customerLineNumber: customerLineNumber + warrantyLineLink: warrantyLineLink + directLineLink: directLineLink + serialInfo: + - dateOfPurchase: dateOfPurchase + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: shipDate + - dateOfPurchase: dateOfPurchase + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: shipDate customerOrderNumber: customerOrderNumber vmfadditionalAttributes: - attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription - attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription quoteNumber: quoteNumber - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - properties: - quoteNumber: - description: A unique identifier generated by Ingram Micro's CRM specific - to each quote. - maxLength: 35 - nullable: true - type: string - customerOrderNumber: - description: The reseller's order number for reference in their system. - maxLength: 35 - nullable: true - type: string - enduserOrderNumber: - description: The end customer's order number for reference in their system. - maxLength: 35 - nullable: true - type: string - billToAddressId: - description: Suffix used to identify billing address. Created during onboarding. - Resellers are provided with one or more address IDs depending on how many - bill to addresses they need for various flooring companies they are using - for credit. - nullable: true - type: string - endUserInfo: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO_endUserInfo' + specialBidNumber: specialBidNumber shipToInfo: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO_shipToInfo' - additionalAttributes: - description: Additional order create attributes. - items: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO_additionalAttributes_inner' - type: array - vmfadditionalAttributes: - description: The object containing the list of fields required at a header - level by the vendor. - items: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO_vmfadditionalAttributes_inner' - type: array - lines: - description: The object containing the lines that require vendor mandatory - fields. - items: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO_lines_inner' - type: array - type: object - ValidateQuoteResponse: - example: - vmfAdditionalAttributes: - - attributeValue: ABC1234 - attributeName: VEND_AUTH_NBR_FLG - attributeDescription: Authorization Number - - attributeValue: ABC1234 - attributeName: VEND_AUTH_NBR_FLG - attributeDescription: Authorization Number - vendorMasterNumber: vendorMasterNumber - vendorName: Cisco + shippingNotes: shippingNotes + city: city + companyName: companyName + postalCode: postalCode + addressId: addressId + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + addressLine4: addressLine4 + name2: name2 + name1: name1 + email: email + shipmentDetails: + shipComplete: shipComplete + freightAccountNumber: freightAccountNumber + shippingInstructions: shippingInstructions + carrierCode: carrierCode + signatureRequired: true + requestedDeliveryDate: requestedDeliveryDate + resellerInfo: + city: city + companyName: companyName + postalCode: postalCode + resellerId: resellerId + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + addressLine4: addressLine4 + email: email + acceptBackOrder: true lines: + - ingramPartNumber: ingramPartNumber + unitPrice: unitPrice + quantity: quantity + specialBidNumber: specialBidNumber + notes: notes + endUserInfo: + - endUserId: endUserId + contactId: contactId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + - endUserId: endUserId + contactId: contactId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + endUserPrice: endUserPrice + customerLineNumber: customerLineNumber + - ingramPartNumber: ingramPartNumber + unitPrice: unitPrice + quantity: quantity + specialBidNumber: specialBidNumber + notes: notes + endUserInfo: + - endUserId: endUserId + contactId: contactId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + - endUserId: endUserId + contactId: contactId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + endUserPrice: endUserPrice + customerLineNumber: customerLineNumber + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName + properties: + quoteNumber: + description: A unique identifier generated by Ingram Micro's CRM specific + to each quote. + maxLength: 35 + nullable: true + type: string + customerOrderNumber: + description: The reseller's order number for reference in their system. + maxLength: 35 + nullable: true + type: string + endCustomerOrderNumber: + description: The end customer's order number for reference in their system. + maxLength: 35 + nullable: true + type: string + notes: + description: Order header level notes. + type: string + billToAddressId: + description: Suffix used to identify billing address. Created during onboarding. + Resellers are provided with one or more address IDs depending on how many + bill to addresses they need for various flooring companies they are using + for credit. + nullable: true + type: string + specialBidNumber: + description: The bid number is provided to the reseller by the vendor for + special pricing and discounts. Line-level bid numbers take precedence + over header-level bid numbers. + type: string + internalComments: + description: need to replace with actual description + type: string + acceptBackOrder: + description: "ENUM [\"true\",\"false\"] - accept order if this item is backordered.\ + \ This field along with shipComplete field decides the value of backorderflag.\ + \ The value of this field is ignored when shipComplete field is present." + type: boolean + vendAuthNumber: + description: "Authorization number provided by vendor to Ingram's reseller.\ + \ Orders will be placed on hold without this value, vendor specific mandatory\ + \ field - please reach out Ingram Sales team for list of vendor for whom\ + \ this is mandatory." + type: string + resellerInfo: + $ref: '#/components/schemas/AsyncOrderCreateDTO_resellerInfo' + endUserInfo: + $ref: '#/components/schemas/AsyncOrderCreateDTO_endUserInfo' + shipToInfo: + $ref: '#/components/schemas/AsyncOrderCreateDTO_shipToInfo' + shipmentDetails: + $ref: '#/components/schemas/AsyncOrderCreateDTO_shipmentDetails' + additionalAttributes: + description: Additional order create attributes. + items: + $ref: '#/components/schemas/AsyncOrderCreateDTO_additionalAttributes_inner' + type: array + vmfadditionalAttributes: + description: The object containing the list of fields required at a header + level by the vendor. + items: + $ref: '#/components/schemas/AsyncOrderCreateDTO_vmfadditionalAttributes_inner' + type: array + lines: + description: The object containing the lines that require vendor mandatory + fields. + items: + $ref: '#/components/schemas/AsyncOrderCreateDTO_lines_inner' + type: array + warrantyInfo: + description: Warranty Information + items: + $ref: '#/components/schemas/AsyncOrderCreateDTO_warrantyInfo_inner' + type: array + type: object + ValidateQuoteResponse: + example: + vmfAdditionalAttributes: + - attributeValue: ABC1234 + attributeName: VEND_AUTH_NBR_FLG + attributeDescription: Authorization Number + - attributeValue: ABC1234 + attributeName: VEND_AUTH_NBR_FLG + attributeDescription: Authorization Number + vendorMasterNumber: vendorMasterNumber + vendorName: Cisco + lines: + - ingramPartNumber: YN6551 + vmfAdditionalAttributesLines: + - attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + - attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + quantity: 1 + customerLineNumber: "11" - ingramPartNumber: YN6551 vmfAdditionalAttributesLines: - attributeValue: attributeValue @@ -8263,17 +8461,7 @@ components: - attributeValue: attributeValue attributeName: attributeName attributeDescription: attributeDescription - quantity: "1" - customerLineNumber: "11" - - ingramPartNumber: YN6551 - vmfAdditionalAttributesLines: - - attributeValue: attributeValue - attributeName: attributeName - attributeDescription: attributeDescription - - attributeValue: attributeValue - attributeName: attributeName - attributeDescription: attributeDescription - quantity: "1" + quantity: 1 customerLineNumber: "11" quoteType: 0 quoteNumber: QUO-14551943-D2Y9L9 @@ -9771,15 +9959,15 @@ components: totalTaxAmount: 6.027456183070403 distribution: - carrierList: - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode freightRate: 2.3021358869347655 shipVia: shipVia @@ -9788,15 +9976,15 @@ components: shipFromBranchNumber: shipFromBranchNumber transitDays: 9 - carrierList: - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode freightRate: 2.3021358869347655 shipVia: shipVia @@ -9806,16 +9994,16 @@ components: transitDays: 9 lines: - ingramPartNumber: ingramPartNumber - unitPrice: 7.386281948385884 - quantity: 4 + unitPrice: 2.027123023002322 + quantity: 3 warehouseId: warehouseId - netAmount: 1.2315135367772556 + netAmount: 4.145608029883936 vendorPartNumber: vendorPartNumber - ingramPartNumber: ingramPartNumber - unitPrice: 7.386281948385884 - quantity: 4 + unitPrice: 2.027123023002322 + quantity: 3 warehouseId: warehouseId - netAmount: 1.2315135367772556 + netAmount: 4.145608029883936 vendorPartNumber: vendorPartNumber currencyCode: currencyCode properties: @@ -9825,8 +10013,10 @@ components: QuoteSearchResponse: example: pageNumber: 1 + nextPage: nextPage pageSize: 6 recordsFound: 0 + prevPage: prevPage quotes: - lastModifiedDate: lastModifiedDate endUserName: endUserName @@ -9845,6 +10035,7 @@ components: href: href type: type quoteTotal: 5.962133916683182 + currencyCode: currencyCode quoteName: quoteName ingramQuoteDate: ingramQuoteDate - lastModifiedDate: lastModifiedDate @@ -9864,6 +10055,7 @@ components: href: href type: type quoteTotal: 5.962133916683182 + currencyCode: currencyCode quoteName: quoteName ingramQuoteDate: ingramQuoteDate properties: @@ -9882,75 +10074,183 @@ components: items: $ref: '#/components/schemas/QuoteSearchResponse_quotes_inner' type: array + nextPage: + type: string + prevPage: + type: string type: object QuoteDetailsResponse: example: quantityTotal: 7 - quoteSubType: quoteSubType + shippingInfo: + phoneNumber: phoneNumber + city: city + companyName: companyName + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + shpToGstinNumber: shpToGstinNumber + email: email + taxTotal: 4.965218492984954 leaseInfo: leaseInfo dateClosed: dateClosed + imWarehouse: imWarehouse quoteType: quoteType products: - - ingramPartNumber: ingramPartNumber - coo: coo + - coo: coo vpnCategory: vpnCategory - quantity: 0 notes: notes - resellerMargin: resellerMargin + endDate: endDate description: description - weight: 6 - vendorName: vendorName + requestedStartDate: requestedStartDate isSubscription: true ean: ean terms: terms price: - quotePrice: 1 - totalVisibleReserveQuantity: 3 - extendedvendorprice: 9.301444243932576 - msrp: 5 - extendedQuotePrice: 2 + quotePrice: 1.4658129805029452 + extrafees: 9.301444243932576 + unitOfMeasure: unitOfMeasure + discounts: + - amount: 2.027123023002322 + description: description + avaliableQunatity: 4 + bidVersion: bidVersion + validFrom: validFrom + type: type + bidNumber: bidNumber + minimumQuantity: 7 + discountOffList: 1.2315135367772556 + expirationDate: expirationDate + validTo: validTo + - amount: 2.027123023002322 + description: description + avaliableQunatity: 4 + bidVersion: bidVersion + validFrom: validFrom + type: type + bidNumber: bidNumber + minimumQuantity: 7 + discountOffList: 1.2315135367772556 + expirationDate: expirationDate + validTo: validTo + msrp: 5.962133916683182 + extendedQuotePrice: 2.3021358869347655 recurringPriceModel: recurringPriceModel - vendorprice: 7.061401241503109 + tax: 7.061401241503109 type: type - extendedMsrp: 5 + extraFeesDetails: + - extraFeesAmount: 3.616076749251911 + extraFeesDescription: extraFeesDescription + - extraFeesAmount: 3.616076749251911 + extraFeesDescription: extraFeesDescription + extendedMsrp: 5.637376656633329 discountOffList: discountOffList - quoteProductGuid: quoteProductGuid vendorPartNumber: vendorPartNumber - lineNumber: lineNumber - weightUom: weightUom quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId isSuggestionProduct: true - - ingramPartNumber: ingramPartNumber - coo: coo - vpnCategory: vpnCategory + ingramPartNumber: ingramPartNumber + billDetails: + - unit: unit + type: type + frequency: 1 + unitValue: unitValue + - unit: unit + type: type + frequency: 1 + unitValue: unitValue quantity: 0 - notes: notes + serialNumber: serialNumber resellerMargin: resellerMargin - description: description - weight: 6 + weight: 6.027456183070403 vendorName: vendorName + quoteProductGuid: quoteProductGuid + planDescription: planDescription + lineNumber: lineNumber + weightUom: weightUom + startDate: startDate + - coo: coo + vpnCategory: vpnCategory + notes: notes + endDate: endDate + description: description + requestedStartDate: requestedStartDate isSubscription: true ean: ean terms: terms price: - quotePrice: 1 - totalVisibleReserveQuantity: 3 - extendedvendorprice: 9.301444243932576 - msrp: 5 - extendedQuotePrice: 2 + quotePrice: 1.4658129805029452 + extrafees: 9.301444243932576 + unitOfMeasure: unitOfMeasure + discounts: + - amount: 2.027123023002322 + description: description + avaliableQunatity: 4 + bidVersion: bidVersion + validFrom: validFrom + type: type + bidNumber: bidNumber + minimumQuantity: 7 + discountOffList: 1.2315135367772556 + expirationDate: expirationDate + validTo: validTo + - amount: 2.027123023002322 + description: description + avaliableQunatity: 4 + bidVersion: bidVersion + validFrom: validFrom + type: type + bidNumber: bidNumber + minimumQuantity: 7 + discountOffList: 1.2315135367772556 + expirationDate: expirationDate + validTo: validTo + msrp: 5.962133916683182 + extendedQuotePrice: 2.3021358869347655 recurringPriceModel: recurringPriceModel - vendorprice: 7.061401241503109 + tax: 7.061401241503109 type: type - extendedMsrp: 5 + extraFeesDetails: + - extraFeesAmount: 3.616076749251911 + extraFeesDescription: extraFeesDescription + - extraFeesAmount: 3.616076749251911 + extraFeesDescription: extraFeesDescription + extendedMsrp: 5.637376656633329 discountOffList: discountOffList - quoteProductGuid: quoteProductGuid vendorPartNumber: vendorPartNumber - lineNumber: lineNumber - weightUom: weightUom quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId isSuggestionProduct: true + ingramPartNumber: ingramPartNumber + billDetails: + - unit: unit + type: type + frequency: 1 + unitValue: unitValue + - unit: unit + type: type + frequency: 1 + unitValue: unitValue + quantity: 0 + serialNumber: serialNumber + resellerMargin: resellerMargin + weight: 6.027456183070403 + vendorName: vendorName + quoteProductGuid: quoteProductGuid + planDescription: planDescription + lineNumber: lineNumber + weightUom: weightUom + startDate: startDate + statusReason: statusReason + imWarehouseGstNumber: imWarehouseGstNumber leasingInstructions: leasingInstructions - productsCount: 2 + productsCount: 1 + extraFeesTotalDetails: + - extraFeesAmount: 3.616076749251911 + extraFeesDescription: extraFeesDescription + - extraFeesAmount: 3.616076749251911 + extraFeesDescription: extraFeesDescription + vendorQuoteNumber: vendorQuoteNumber specialBidEffectiveDate: specialBidEffectiveDate endUserInfo: phoneNumber: phoneNumber @@ -9965,14 +10265,18 @@ components: email: email marketSegment: marketSegment introPreamble: introPreamble - extendedMsrpTotal: 4 + extendedMsrpTotal: 6.84685269835264 + freightAmount: 9.965781217890562 lastModifiedDate: lastModifiedDate legalTerms: legalTerms specialBidExpirationDate: specialBidExpirationDate quoteNumber: quoteNumber + extraFeesTotal: 1.1730742509559433 revision: revision - extendedQuotePriceTotal: 1 + quoteGuid: quoteGuid + extendedQuotePriceTotal: 5.025004791520295 customerNeed: customerNeed + paymentTermsName: paymentTermsName resellerInfo: phoneNumber: phoneNumber contact: contact @@ -10006,6 +10310,8 @@ components: \ included in the filter can be retrieved as a subset of all available\ \ customer quotes." type: string + quoteGuid: + type: string revision: description: "When a quote has been revised and updated, the quote number\ \ remains the same throughout the lifecycle of the quote, however, a Revision\ @@ -10038,10 +10344,14 @@ components: description: If a price discount has been applied to the quote - The date the discount expires and will no longer be applicable. type: string + vendorQuoteNumber: + type: string status: description: This refers to the primary status of the quote. API responses will return type: string + statusReason: + type: string closingReason: description: Closing Reason for quote. type: string @@ -10074,12 +10384,20 @@ components: leasingInstructions: description: Leasing information type: string - quoteSubType: + imWarehouse: + description: Warehouse name and Address + type: string + imWarehouseGstNumber: + description: Warehouse GST Number + type: string + paymentTermsName: type: string resellerInfo: $ref: '#/components/schemas/QuoteDetailsResponse_resellerInfo' endUserInfo: $ref: '#/components/schemas/QuoteDetailsResponse_endUserInfo' + shippingInfo: + $ref: '#/components/schemas/QuoteDetailsResponse_shippingInfo' products: items: $ref: '#/components/schemas/QuoteDetailsResponse_products_inner' @@ -10089,14 +10407,31 @@ components: type: integer extendedMsrpTotal: description: Total extended MSRP for all products included in the quote - type: integer + format: decimal + type: number quantityTotal: description: Total quantity of all items in the quote. type: integer + extraFeesTotal: + format: deciaml + type: number + extraFeesTotalDetails: + items: + $ref: '#/components/schemas/QuoteDetailsResponse_products_inner_price_extraFeesDetails_inner' + type: array + taxTotal: + format: decimal + nullable: true + type: number extendedQuotePriceTotal: description: Total amount of quoted price for all products in the quote including both solution products and suggested products. - type: integer + format: decimal + type: number + freightAmount: + format: decimal + nullable: true + type: number totalQuoteAmount: type: string additionalAttributes: @@ -10368,6 +10703,9 @@ components: invoicedAmountDue: 5.962133916683182 endCustomerOrderNumber: endCustomerOrderNumber invoiceAmountInclTax: 5.637376656633329 + specialBidNumbers: + - specialBidNumbers + - specialBidNumbers invoiceDate: invoiceDate customerOrderNumber: customerOrderNumber invoiceDueDate: invoiceDueDate @@ -10382,6 +10720,9 @@ components: invoicedAmountDue: 5.962133916683182 endCustomerOrderNumber: endCustomerOrderNumber invoiceAmountInclTax: 5.637376656633329 + specialBidNumbers: + - specialBidNumbers + - specialBidNumbers invoiceDate: invoiceDate customerOrderNumber: customerOrderNumber invoiceDueDate: invoiceDueDate @@ -10432,7 +10773,7 @@ components: totals: netInvoiceAmount: 1.4894159098541704 freightAmount: 4.965218492984954 - invoicesAmountDue: 1.1730742509559433 + invoicedAmountDue: 1.1730742509559433 discountAmount: 6.84685269835264 discountType: discountType totalTaxAmount: 7.457744773683766 @@ -10627,7 +10968,7 @@ components: $ref: '#/components/schemas/ErrorResponse_errors_inner' type: array type: object - QuoteToOrderResponse: + AsyncOrderCreateResponse: example: confirmationNumber: "987654322" message: message @@ -10842,10 +11183,10 @@ components: ingramOrderLineNumber: ingramOrderLineNumber estimatedDates: - delivery: - deliveredDate: deliveredDate deliveryDescription: deliveryDescription deliveryDateType: deliveryDateType deliverySource: deliverySource + deliveryDate: deliveryDate deliveryDateRange: endDate: endDate startDate: startDate @@ -10858,10 +11199,10 @@ components: shipDateType: shipDateType shipDescription: shipDescription - delivery: - deliveredDate: deliveredDate deliveryDescription: deliveryDescription deliveryDateType: deliveryDateType deliverySource: deliverySource + deliveryDate: deliveryDate deliveryDateRange: endDate: endDate startDate: startDate @@ -10873,6 +11214,7 @@ components: shipDate: shipDate shipDateType: shipDateType shipDescription: shipDescription + defaultCarrierName: FEDEX GROUND serviceContractInfo: subscriptions: renewalTerm: renewalTerm @@ -11085,10 +11427,10 @@ components: ingramOrderLineNumber: ingramOrderLineNumber estimatedDates: - delivery: - deliveredDate: deliveredDate deliveryDescription: deliveryDescription deliveryDateType: deliveryDateType deliverySource: deliverySource + deliveryDate: deliveryDate deliveryDateRange: endDate: endDate startDate: startDate @@ -11101,10 +11443,10 @@ components: shipDateType: shipDateType shipDescription: shipDescription - delivery: - deliveredDate: deliveredDate deliveryDescription: deliveryDescription deliveryDateType: deliveryDateType deliverySource: deliverySource + deliveryDate: deliveryDate deliveryDateRange: endDate: endDate startDate: startDate @@ -11116,6 +11458,7 @@ components: shipDate: shipDate shipDateType: shipDateType shipDescription: shipDescription + defaultCarrierName: FEDEX GROUND serviceContractInfo: subscriptions: renewalTerm: renewalTerm @@ -11403,23 +11746,23 @@ components: fault: $ref: '#/components/schemas/get_accesstoken_500_response_fault' type: object - get_reseller_v6_validateQuote_400_response_fields_inner: + post_createorder_v7_400_response_fields_inner: example: field: field message: message value: value properties: field: - description: Contains the name of the field. + description: Name of the field. type: string message: - description: Gives the description of the field message. + description: A filed level error message. type: string value: - description: Value sent in the input for the specific field. + description: Value of the message. type: string type: object - get_reseller_v6_validateQuote_400_response: + post_createorder_v7_400_response: example: traceid: traceid type: type @@ -11433,20 +11776,20 @@ components: value: value properties: traceid: - description: Unique Id to identify error. + description: A unique trace id to identify the issue. type: string type: - description: Describes the type of the error. + description: Type of the error message. type: string message: description: A detailed error message. type: string fields: items: - $ref: '#/components/schemas/get_reseller_v6_validateQuote_400_response_fields_inner' + $ref: '#/components/schemas/post_createorder_v7_400_response_fields_inner' type: array type: object - get_reseller_v6_validateQuote_500_response: + post_createorder_v7_500_response: example: traceid: traceid type: type @@ -11469,23 +11812,23 @@ components: type: object type: array type: object - post_QuoteToOrder_v6_400_response_fields_inner: + get_reseller_v6_validateQuote_400_response_fields_inner: example: field: field message: message value: value properties: field: - description: Name of the field. + description: Contains the name of the field. type: string message: - description: A filed level error message. + description: Gives the description of the field message. type: string value: - description: Value of the message. + description: Value sent in the input for the specific field. type: string type: object - post_QuoteToOrder_v6_400_response: + get_reseller_v6_validateQuote_400_response: example: traceid: traceid type: type @@ -11499,17 +11842,17 @@ components: value: value properties: traceid: - description: A unique trace id to identify the issue. + description: Unique Id to identify error. type: string type: - description: Type of the error message. + description: Describes the type of the error. type: string message: description: A detailed error message. type: string fields: items: - $ref: '#/components/schemas/post_QuoteToOrder_v6_400_response_fields_inner' + $ref: '#/components/schemas/get_reseller_v6_validateQuote_400_response_fields_inner' type: array type: object post_renewalssearch_400_response: @@ -11695,7 +12038,7 @@ components: city: city companyName: companyName postalCode: postalCode - phoneNumber: 6 + phoneNumber: phoneNumber countryCode: countryCode contact: contact addressLine1: addressLine1 @@ -11761,7 +12104,7 @@ components: type: string phoneNumber: description: The end user/customer's phone number. - type: integer + type: string email: description: The end user/customer's email. type: string @@ -11843,7 +12186,7 @@ components: city: city companyName: companyName postalCode: postalCode - phoneNumber: 2.3021358869347655 + phoneNumber: 5.637376656633329 countryCode: countryCode contact: contact addressLine1: addressLine1 @@ -11914,8 +12257,8 @@ components: OrderCreateRequest_lines_inner: example: ingramPartNumber: ingramPartNumber - unitPrice: 5.962133916683182 - quantity: 1 + unitPrice: 1.4658129805029452 + quantity: 6 specialBidNumber: specialBidNumber notes: notes endUserInfo: @@ -11923,7 +12266,7 @@ components: city: city companyName: companyName postalCode: postalCode - phoneNumber: 2.3021358869347655 + phoneNumber: 5.637376656633329 countryCode: countryCode contact: contact addressLine1: addressLine1 @@ -11939,7 +12282,7 @@ components: city: city companyName: companyName postalCode: postalCode - phoneNumber: 2.3021358869347655 + phoneNumber: 5.637376656633329 countryCode: countryCode contact: contact addressLine1: addressLine1 @@ -11951,7 +12294,7 @@ components: addressLine4: addressLine4 name1: name1 email: email - endUserPrice: 5.637376656633329 + endUserPrice: 5.962133916683182 warrantyInfo: - hardwareLineLink: hardwareLineLink directLineLink: directLineLink @@ -12119,27 +12462,97 @@ components: description: attributefield data type: string type: object - QuoteToOrderDetailsDTO_endUserInfo: + AsyncOrderCreateDTO_resellerInfo: + description: The address and contact information provided by the reseller. + example: + city: city + companyName: companyName + postalCode: postalCode + resellerId: resellerId + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + addressLine4: addressLine4 + email: email + properties: + resellerId: + description: The reseller's Id. + type: string + companyName: + description: The reseller's company name. + type: string + contact: + description: The reseller's contact name. + type: string + addressLine1: + description: The reseller's address line 1. + type: string + addressLine2: + description: The reseller's address line 2. + type: string + addressLine3: + description: The reseller's address line 3. + type: string + addressLine4: + description: The reseller's address line 4. + type: string + city: + description: The reseller's city. + type: string + state: + description: The reseller's state. + type: string + postalCode: + description: The reseller's zip or postal code. + type: string + countryCode: + description: The reseller's two-character ISO country code. + type: string + phoneNumber: + description: The reseller's phone number. + type: string + email: + description: The reseller's Email Address. + type: string + type: object + AsyncOrderCreateDTO_endUserInfo: description: The contact information for the end user/customer provided by the reseller. Used to determine pricing and discounts. example: - phoneNumber: phoneNumber + endUserId: endUserId city: city - countryCode: countryCode companyName: companyName - contact: contact postalCode: postalCode + name3: name3 + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact addressLine1: addressLine1 addressLine2: addressLine2 addressLine3: addressLine3 state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 email: email properties: + endUserId: + description: ID for the end user/customer in Ingram Micro's system. + type: string + endUserType: + description: End user type + type: string companyName: description: The company name for the end user/customer. type: string - contact: - description: The contact name for the end user/customer. + name1: + type: string + name2: type: string addressLine1: description: The address line 1 for the end user/customer. @@ -12150,6 +12563,11 @@ components: addressLine3: description: The address line 3 for the end user/customer. type: string + contact: + description: The contact name for the end user/customer. + type: string + name3: + type: string city: description: The end user/customer's city. type: string @@ -12159,40 +12577,48 @@ components: postalCode: description: The end user/customer's zip or postal code. type: string + addressLine4: + description: The address line 4 for the end user/customer. + type: string countryCode: description: The end user/customer's two character ISO country code. type: string - email: + phoneNumber: description: The end user/customer's phone number. type: string - phoneNumber: + email: description: The end user/customer's phone number. type: string type: object - QuoteToOrderDetailsDTO_shipToInfo: + AsyncOrderCreateDTO_shipToInfo: description: The shipping information provided by the reseller for order delivery. example: + shippingNotes: shippingNotes city: city - countryCode: countryCode companyName: companyName - contact: contact postalCode: postalCode + addressId: addressId + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact addressLine1: addressLine1 addressLine2: addressLine2 addressLine3: addressLine3 state: state + addressLine4: addressLine4 + name2: name2 + name1: name1 email: email - addressId: addressId properties: addressId: description: The company contact provided by the reseller. type: string - companyName: - description: The name of the company the order will be shipped to. - type: string contact: description: The contact name for the order will be shipped to. type: string + companyName: + description: The name of the company the order will be shipped to. + type: string addressLine1: description: The address line 1 the order will be shipped to. type: string @@ -12203,60 +12629,262 @@ components: description: The address line 3 the order will be shipped to. nullable: true type: string + addressLine4: + description: The address line 4 the order will be shipped to. + nullable: true + type: string + name1: + description: Need description + type: string + name2: + description: Need description + type: string city: description: The city the order will be shipped to. type: string state: description: The state the order will be shipped to. type: string - postalCode: - description: The zip or postal code the order will be shipped to. + postalCode: + description: The zip or postal code the order will be shipped to. + type: string + countryCode: + description: The two-character ISO country code the order will be shipped + to. + type: string + email: + description: The company contact email address. + nullable: true + type: string + shippingNotes: + description: Shipping Notes + type: string + phoneNumber: + description: Phone number for shipping + type: string + type: object + AsyncOrderCreateDTO_shipmentDetails: + description: Shipping details for the order provided by the customer. + example: + shipComplete: shipComplete + freightAccountNumber: freightAccountNumber + shippingInstructions: shippingInstructions + carrierCode: carrierCode + signatureRequired: true + requestedDeliveryDate: requestedDeliveryDate + properties: + carrierCode: + description: The code for the shipping carrier for the line item. + type: string + requestedDeliveryDate: + description: The reseller-requested delivery date in UTC format. Delivery + date is not guaranteed. + type: string + shipComplete: + description: "Specifies whether the shipment will be shipped only when all\ + \ products are fulfilled. The value of this field along with acceptBackOrder\ + \ field decides the value of backorderflag. If this field is set, acceptBackOrder\ + \ field is ignored. Possible values for this field are true, C, P, E." + type: string + shippingInstructions: + description: Any special shipping instructions for the order. + type: string + freightAccountNumber: + description: The reseller 's shipping account number with carrier. Used + to bill the shipping carrier directly from the reseller's account with + the carrier. + type: string + signatureRequired: + description: Specifies whether a signature is required for delivery. Default + is False. + type: boolean + type: object + AsyncOrderCreateDTO_additionalAttributes_inner: + example: + attributeValue: attributeValue + attributeName: attributeName + properties: + attributeName: + description: "The attribute name. allowDuplicateCustomerOrderNumber: Allow\ + \ orders with duplicate customer PO numbers. Enables resellers to have\ + \ the same PO number for multiple orders. enableCommentsAsLines: It will\ + \ enable comments as lines." + type: string + attributeValue: + description: The attribute field data. + type: string + AsyncOrderCreateDTO_vmfadditionalAttributes_inner: + example: + attributeValue: attributeValue + attributeName: attributeName + properties: + attributeName: + description: The name of the header level field. + type: string + attributeValue: + description: The value of the header level field. + type: string + type: object + AsyncOrderCreateDTO_lines_inner_endUserInfo_inner: + example: + endUserId: endUserId + contactId: contactId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + properties: + endUserId: + description: ID for the end user/customer in Ingram Micro's system. + type: string + endUserType: + description: End user type + type: string + companyName: + description: The company name for the end user/customer. + type: string + name1: + type: string + name2: + type: string + contactId: + description: The contact Id for the end user/customer. + type: string + addressLine1: + description: The address line 1 for the end user/customer. + type: string + addressLine2: + description: The address line 2 for the end user/customer. + type: string + addressLine3: + description: The address line 3 for the end user/customer. + type: string + contact: + description: The contact name for the end user/customer. + type: string + city: + description: The end user/customer's city. + type: string + state: + description: The end user/customer's state. + type: string + postalCode: + description: The end user/customer's zip or postal code. + type: string + addressLine4: + description: The address line 4 for the end user/customer. + type: string + countryCode: + description: The end user/customer's two character ISO country code. + type: string + phoneNumber: + description: The end user/customer's phone number. + type: string + email: + description: The end user/customer's phone number. + type: string + type: object + AsyncOrderCreateDTO_lines_inner: + example: + ingramPartNumber: ingramPartNumber + unitPrice: unitPrice + quantity: quantity + specialBidNumber: specialBidNumber + notes: notes + endUserInfo: + - endUserId: endUserId + contactId: contactId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + - endUserId: endUserId + contactId: contactId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + endUserPrice: endUserPrice + customerLineNumber: customerLineNumber + properties: + customerLineNumber: + description: The reseller's line item number for reference in their system. + type: string + ingramPartNumber: + description: Unique IngramMicro part number. + type: string + quantity: + description: The quantity of the line item. + type: string + unitPrice: + description: Unit Price of Item type: string - countryCode: - description: The two-character ISO country code the order will be shipped - to. + specialBidNumber: type: string - email: - description: The company contact email address. - nullable: true + endUserPrice: + type: string + notes: type: string + endUserInfo: + description: The contact information for the end user/customer provided + by the reseller. Used to determine pricing and discounts. + items: + $ref: '#/components/schemas/AsyncOrderCreateDTO_lines_inner_endUserInfo_inner' + type: array type: object - QuoteToOrderDetailsDTO_additionalAttributes_inner: + AsyncOrderCreateDTO_warrantyInfo_inner_serialInfo_inner: example: - attributeValue: attributeValue - attributeName: attributeName + dateOfPurchase: dateOfPurchase + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: shipDate properties: - attributeName: - description: "The attribute name. allowDuplicateCustomerOrderNumber: Allow\ - \ orders with duplicate customer PO numbers. Enables resellers to have\ - \ the same PO number for multiple orders. enableCommentsAsLines: It will\ - \ enable comments as lines." - type: string - attributeValue: - description: The attribute field data. + dateOfPurchase: type: string - QuoteToOrderDetailsDTO_vmfadditionalAttributes_inner: - additionalProperties: false - example: - attributeValue: attributeValue - attributeName: attributeName - attributeDescription: attributeDescription - properties: - attributeName: - description: The name of the header level field. + shipDate: type: string - attributeValue: - description: The value of the header level field. + primarySerialNumber: type: string - attributeDescription: - description: The description of the header level field. + secondarySerialNumber: type: string type: object - QuoteToOrderDetailsDTO_lines_inner_vmfAdditionalAttributesLines_inner: + AsyncOrderCreateDTO_warrantyInfo_inner_vmfAdditionalAttributesLines_inner: example: attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription properties: attributeName: description: The name of the line level field. @@ -12264,37 +12892,42 @@ components: attributeValue: description: The value of the line level field. type: string - attributeDescription: - description: The description of the line level field. - type: string type: object - QuoteToOrderDetailsDTO_lines_inner: + AsyncOrderCreateDTO_warrantyInfo_inner: example: - ingramPartNumber: ingramPartNumber + hardwareLineLink: hardwareLineLink vmfAdditionalAttributesLines: - attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription - attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription - quantity: quantity - customerLineNumber: customerLineNumber + warrantyLineLink: warrantyLineLink + directLineLink: directLineLink + serialInfo: + - dateOfPurchase: dateOfPurchase + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: shipDate + - dateOfPurchase: dateOfPurchase + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: shipDate properties: - customerLineNumber: - description: The reseller's line item number for reference in their system. + hardwareLineLink: type: string - ingramPartNumber: - description: Unique IngramMicro part number. + warrantyLineLink: type: string - quantity: - description: The quantity of the line item. + directLineLink: type: string + serialInfo: + items: + $ref: '#/components/schemas/AsyncOrderCreateDTO_warrantyInfo_inner_serialInfo_inner' + type: array vmfAdditionalAttributesLines: description: The object containing the list of fields required at a line level by the vendor. items: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO_lines_inner_vmfAdditionalAttributesLines_inner' + $ref: '#/components/schemas/AsyncOrderCreateDTO_warrantyInfo_inner_vmfAdditionalAttributesLines_inner' type: array type: object ValidateQuoteResponse_vmfAdditionalAttributes_inner: @@ -12316,6 +12949,22 @@ components: example: Authorization Number type: string type: object + ValidateQuoteResponse_lines_inner_vmfAdditionalAttributesLines_inner: + example: + attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + properties: + attributeName: + description: The name of the line level field. + type: string + attributeValue: + description: The value of the line level field. + type: string + attributeDescription: + description: The description of the line level field. + type: string + type: object ValidateQuoteResponse_lines_inner: example: ingramPartNumber: YN6551 @@ -12326,7 +12975,7 @@ components: - attributeValue: attributeValue attributeName: attributeName attributeDescription: attributeDescription - quantity: "1" + quantity: 1 customerLineNumber: "11" properties: customerLineNumber: @@ -12339,13 +12988,13 @@ components: type: string quantity: description: The quantity of the line item. - example: "1" - type: string + example: 1 + type: integer vmfAdditionalAttributesLines: description: The object containing the list of fields required at a line level by the vendor. items: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO_lines_inner_vmfAdditionalAttributesLines_inner' + $ref: '#/components/schemas/ValidateQuoteResponse_lines_inner_vmfAdditionalAttributesLines_inner' type: array type: object OrderCreateResponse_shipToInfo: @@ -15042,10 +15691,10 @@ components: type: object freightResponse_freightEstimateResponse_distribution_inner_carrierList_inner: example: - daysInTransit: 2 + daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode properties: carrierCode: @@ -15059,24 +15708,23 @@ components: type: string estimatedFreightCharge: description: Estimated freight charge. - format: decimal - type: number + type: string daysInTransit: description: Number of transit days. - type: integer + type: string type: object freightResponse_freightEstimateResponse_distribution_inner: example: carrierList: - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode freightRate: 2.3021358869347655 shipVia: shipVia @@ -15113,10 +15761,10 @@ components: freightResponse_freightEstimateResponse_lines_inner: example: ingramPartNumber: ingramPartNumber - unitPrice: 7.386281948385884 - quantity: 4 + unitPrice: 2.027123023002322 + quantity: 3 warehouseId: warehouseId - netAmount: 1.2315135367772556 + netAmount: 4.145608029883936 vendorPartNumber: vendorPartNumber properties: ingramPartNumber: @@ -15149,15 +15797,15 @@ components: totalTaxAmount: 6.027456183070403 distribution: - carrierList: - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode freightRate: 2.3021358869347655 shipVia: shipVia @@ -15166,15 +15814,15 @@ components: shipFromBranchNumber: shipFromBranchNumber transitDays: 9 - carrierList: - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode freightRate: 2.3021358869347655 shipVia: shipVia @@ -15184,16 +15832,16 @@ components: transitDays: 9 lines: - ingramPartNumber: ingramPartNumber - unitPrice: 7.386281948385884 - quantity: 4 + unitPrice: 2.027123023002322 + quantity: 3 warehouseId: warehouseId - netAmount: 1.2315135367772556 + netAmount: 4.145608029883936 vendorPartNumber: vendorPartNumber - ingramPartNumber: ingramPartNumber - unitPrice: 7.386281948385884 - quantity: 4 + unitPrice: 2.027123023002322 + quantity: 3 warehouseId: warehouseId - netAmount: 1.2315135367772556 + netAmount: 4.145608029883936 vendorPartNumber: vendorPartNumber currencyCode: currencyCode properties: @@ -15262,6 +15910,7 @@ components: href: href type: type quoteTotal: 5.962133916683182 + currencyCode: currencyCode quoteName: quoteName ingramQuoteDate: ingramQuoteDate properties: @@ -15284,6 +15933,10 @@ components: \ number is updated for each revision of the quote. The revision numbers\ \ is associated with the Unique Quote Number." type: string + currencyCode: + description: The country-specific three digit ISO 4217 currency code for + the order. + type: string endUserContact: description: End User Name is the end customer name that is associated with a quote in Ingram Micros CRM. @@ -15399,78 +16052,272 @@ components: \ may receive special pricing due to their segmentation." type: string type: object + QuoteDetailsResponse_shippingInfo: + example: + phoneNumber: phoneNumber + city: city + companyName: companyName + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + shpToGstinNumber: shpToGstinNumber + email: email + properties: + companyName: + description: Contact name of shipping info associated with the quote. + type: string + addressLine1: + description: Address line 1 for shipping info associated with the quote + type: string + addressLine2: + description: Address line 2 for shipping info associated with the quote. + type: string + addressLine3: + description: Address line 3 for shipping info associated with the quote. + type: string + city: + description: City for shipping info associated with the quote + type: string + state: + description: Two letter state abreviation for shipping info associated with + the quote + type: string + email: + description: Email of shipping info the quote associated with the quote. + type: string + phoneNumber: + description: Phone number of shipping info associated with the quote. + type: string + postalCode: + description: Zip code of shipping info associated with the quote. + type: string + shpToGstinNumber: + type: string + type: object + QuoteDetailsResponse_products_inner_price_extraFeesDetails_inner: + example: + extraFeesAmount: 3.616076749251911 + extraFeesDescription: extraFeesDescription + properties: + extraFeesDescription: + type: string + extraFeesAmount: + format: decimal + type: number + type: object + QuoteDetailsResponse_products_inner_price_discounts_inner: + example: + amount: 2.027123023002322 + description: description + avaliableQunatity: 4 + bidVersion: bidVersion + validFrom: validFrom + type: type + bidNumber: bidNumber + minimumQuantity: 7 + discountOffList: 1.2315135367772556 + expirationDate: expirationDate + validTo: validTo + properties: + type: + type: string + amount: + format: decimal + type: number + expirationDate: + type: string + description: + type: string + avaliableQunatity: + type: integer + minimumQuantity: + type: integer + bidNumber: + type: string + bidVersion: + type: string + validFrom: + type: string + validTo: + type: string + discountOffList: + format: decimal + type: number + type: object QuoteDetailsResponse_products_inner_price: example: - quotePrice: 1 - totalVisibleReserveQuantity: 3 - extendedvendorprice: 9.301444243932576 - msrp: 5 - extendedQuotePrice: 2 + quotePrice: 1.4658129805029452 + extrafees: 9.301444243932576 + unitOfMeasure: unitOfMeasure + discounts: + - amount: 2.027123023002322 + description: description + avaliableQunatity: 4 + bidVersion: bidVersion + validFrom: validFrom + type: type + bidNumber: bidNumber + minimumQuantity: 7 + discountOffList: 1.2315135367772556 + expirationDate: expirationDate + validTo: validTo + - amount: 2.027123023002322 + description: description + avaliableQunatity: 4 + bidVersion: bidVersion + validFrom: validFrom + type: type + bidNumber: bidNumber + minimumQuantity: 7 + discountOffList: 1.2315135367772556 + expirationDate: expirationDate + validTo: validTo + msrp: 5.962133916683182 + extendedQuotePrice: 2.3021358869347655 recurringPriceModel: recurringPriceModel - vendorprice: 7.061401241503109 + tax: 7.061401241503109 type: type - extendedMsrp: 5 + extraFeesDetails: + - extraFeesAmount: 3.616076749251911 + extraFeesDescription: extraFeesDescription + - extraFeesAmount: 3.616076749251911 + extraFeesDescription: extraFeesDescription + extendedMsrp: 5.637376656633329 discountOffList: discountOffList properties: quotePrice: description: Ingram Micro quoted price specific to the reseller and quote. - type: integer + format: decimal + type: number msrp: description: Manufacturer Suggested Retail Price - type: integer + format: decimal + type: number extendedMsrp: description: Extended MSRP - Manufacturer Suggested Retail Price X Quantity - type: integer + format: decimal + type: number extendedQuotePrice: description: Extended reseller quoted price (cost to reseller) X Quantity - type: integer + format: decimal + type: number discountOffList: description: Discount off list percentage extended type: string - vendorprice: + type: + type: string + recurringPriceModel: + type: string + unitOfMeasure: + type: string + tax: format: decimal + nullable: true type: number - extendedvendorprice: + extrafees: format: decimal + nullable: true type: number - totalVisibleReserveQuantity: - type: integer + extraFeesDetails: + items: + $ref: '#/components/schemas/QuoteDetailsResponse_products_inner_price_extraFeesDetails_inner' + type: array + discounts: + items: + $ref: '#/components/schemas/QuoteDetailsResponse_products_inner_price_discounts_inner' + type: array + type: object + QuoteDetailsResponse_products_inner_billDetails_inner: + example: + unit: unit + type: type + frequency: 1 + unitValue: unitValue + properties: type: type: string - recurringPriceModel: + unit: + type: string + frequency: + type: integer + unitValue: type: string type: object QuoteDetailsResponse_products_inner: example: - ingramPartNumber: ingramPartNumber coo: coo vpnCategory: vpnCategory - quantity: 0 notes: notes - resellerMargin: resellerMargin + endDate: endDate description: description - weight: 6 - vendorName: vendorName + requestedStartDate: requestedStartDate isSubscription: true ean: ean terms: terms price: - quotePrice: 1 - totalVisibleReserveQuantity: 3 - extendedvendorprice: 9.301444243932576 - msrp: 5 - extendedQuotePrice: 2 + quotePrice: 1.4658129805029452 + extrafees: 9.301444243932576 + unitOfMeasure: unitOfMeasure + discounts: + - amount: 2.027123023002322 + description: description + avaliableQunatity: 4 + bidVersion: bidVersion + validFrom: validFrom + type: type + bidNumber: bidNumber + minimumQuantity: 7 + discountOffList: 1.2315135367772556 + expirationDate: expirationDate + validTo: validTo + - amount: 2.027123023002322 + description: description + avaliableQunatity: 4 + bidVersion: bidVersion + validFrom: validFrom + type: type + bidNumber: bidNumber + minimumQuantity: 7 + discountOffList: 1.2315135367772556 + expirationDate: expirationDate + validTo: validTo + msrp: 5.962133916683182 + extendedQuotePrice: 2.3021358869347655 recurringPriceModel: recurringPriceModel - vendorprice: 7.061401241503109 + tax: 7.061401241503109 type: type - extendedMsrp: 5 + extraFeesDetails: + - extraFeesAmount: 3.616076749251911 + extraFeesDescription: extraFeesDescription + - extraFeesAmount: 3.616076749251911 + extraFeesDescription: extraFeesDescription + extendedMsrp: 5.637376656633329 discountOffList: discountOffList - quoteProductGuid: quoteProductGuid vendorPartNumber: vendorPartNumber - lineNumber: lineNumber - weightUom: weightUom quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId isSuggestionProduct: true + ingramPartNumber: ingramPartNumber + billDetails: + - unit: unit + type: type + frequency: 1 + unitValue: unitValue + - unit: unit + type: type + frequency: 1 + unitValue: unitValue + quantity: 0 + serialNumber: serialNumber + resellerMargin: resellerMargin + weight: 6.027456183070403 + vendorName: vendorName + quoteProductGuid: quoteProductGuid + planDescription: planDescription + lineNumber: lineNumber + weightUom: weightUom + startDate: startDate properties: quoteProductGuid: description: Quote Product GUID is the primary quote key in Ingram Micro's @@ -15511,7 +16358,8 @@ components: \ following Imperial standards - weight is presented as pounds with decimal.\ \ In countries following metric standards, weight is provided as kilograms\ \ with decimal." - type: integer + format: decimal + type: number weightUom: description: Unit of measure type: string @@ -15534,12 +16382,26 @@ components: terms: description: Terms of the quote type: string + planDescription: + type: string isSubscription: type: boolean resellerMargin: type: string + requestedStartDate: + type: string + startDate: + type: string + endDate: + type: string + serialNumber: + type: string price: $ref: '#/components/schemas/QuoteDetailsResponse_products_inner_price' + billDetails: + items: + $ref: '#/components/schemas/QuoteDetailsResponse_products_inner_billDetails_inner' + type: array type: object QuoteDetailsResponse_additionalAttributes_inner: example: @@ -15897,6 +16759,9 @@ components: invoicedAmountDue: 5.962133916683182 endCustomerOrderNumber: endCustomerOrderNumber invoiceAmountInclTax: 5.637376656633329 + specialBidNumbers: + - specialBidNumbers + - specialBidNumbers invoiceDate: invoiceDate customerOrderNumber: customerOrderNumber invoiceDueDate: invoiceDueDate @@ -15911,6 +16776,11 @@ components: paymentTermsDueDate: description: Payment Terms Due date. type: string + specialBidNumbers: + items: + description: List of Ingram Micro Special Bid Number + type: string + type: array erpOrderNumber: description: Order number type: string @@ -16246,7 +17116,7 @@ components: example: netInvoiceAmount: 1.4894159098541704 freightAmount: 4.965218492984954 - invoicesAmountDue: 1.1730742509559433 + invoicedAmountDue: 1.1730742509559433 discountAmount: 6.84685269835264 discountType: discountType totalTaxAmount: 7.457744773683766 @@ -16266,7 +17136,7 @@ components: description: Total Tax amount. format: double type: number - invoicesAmountDue: + invoicedAmountDue: description: Total amount due for the invoice. format: double type: number @@ -16319,7 +17189,7 @@ components: totals: netInvoiceAmount: 1.4894159098541704 freightAmount: 4.965218492984954 - invoicesAmountDue: 1.1730742509559433 + invoicedAmountDue: 1.1730742509559433 discountAmount: 6.84685269835264 discountType: discountType totalTaxAmount: 7.457744773683766 @@ -16943,10 +17813,10 @@ components: type: string OrderDetailB2B_lines_inner_estimatedDates_inner_delivery: example: - deliveredDate: deliveredDate deliveryDescription: deliveryDescription deliveryDateType: deliveryDateType deliverySource: deliverySource + deliveryDate: deliveryDate deliveryDateRange: endDate: endDate startDate: startDate @@ -16962,17 +17832,17 @@ components: deliveryDescription: description: Delivery description. type: string - deliveredDate: + deliveryDate: description: Delivery date. type: string type: object OrderDetailB2B_lines_inner_estimatedDates_inner: example: delivery: - deliveredDate: deliveredDate deliveryDescription: deliveryDescription deliveryDateType: deliveryDateType deliverySource: deliverySource + deliveryDate: deliveryDate deliveryDateRange: endDate: endDate startDate: startDate @@ -17114,10 +17984,10 @@ components: ingramOrderLineNumber: ingramOrderLineNumber estimatedDates: - delivery: - deliveredDate: deliveredDate deliveryDescription: deliveryDescription deliveryDateType: deliveryDateType deliverySource: deliverySource + deliveryDate: deliveryDate deliveryDateRange: endDate: endDate startDate: startDate @@ -17130,10 +18000,10 @@ components: shipDateType: shipDateType shipDescription: shipDescription - delivery: - deliveredDate: deliveredDate deliveryDescription: deliveryDescription deliveryDateType: deliveryDateType deliverySource: deliverySource + deliveryDate: deliveryDate deliveryDateRange: endDate: endDate startDate: startDate @@ -17145,6 +18015,7 @@ components: shipDate: shipDate shipDateType: shipDateType shipDescription: shipDescription + defaultCarrierName: FEDEX GROUND serviceContractInfo: subscriptions: renewalTerm: renewalTerm @@ -17419,6 +18290,9 @@ components: items: $ref: '#/components/schemas/OrderDetailB2B_lines_inner_multipleShipments_inner' type: array + defaultCarrierName: + example: FEDEX GROUND + type: string type: object OrderDetailB2B_miscellaneousCharges_inner: additionalProperties: false @@ -17467,12 +18341,14 @@ components: tokenUrl: https://api.ingrammicro.com:443/oauth/oauth30/token type: oauth2 x-tagGroups: +- name: Reseller API (Version 7) + tags: + - AyncOrderCreate - name: Reseller API (Version 6) tags: - Product Catalog - Orders - Quotes - - Quote To Order - Invoices - Renewals - Deals diff --git a/build.gradle b/build.gradle index 10a6389c..2fe479b5 100644 --- a/build.gradle +++ b/build.gradle @@ -108,8 +108,8 @@ ext { dependencies { implementation 'io.swagger:swagger-annotations:1.6.8' implementation "com.google.code.findbugs:jsr305:3.0.2" - implementation 'com.squareup.okhttp3:okhttp:4.10.0' - implementation 'com.squareup.okhttp3:logging-interceptor:4.10.0' + implementation 'com.squareup.okhttp3:okhttp:4.12.0' + implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0' implementation 'com.google.code.gson:gson:2.9.1' implementation 'io.gsonfire:gson-fire:1.9.0' implementation 'javax.ws.rs:jsr311-api:1.1.1' @@ -118,9 +118,9 @@ dependencies { implementation group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.2' implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0' implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version" - testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1' + testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2' testImplementation 'org.mockito:mockito-core:3.12.4' - testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1' + testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2' } javadoc { diff --git a/build.sbt b/build.sbt index 3ee09616..bbfc804b 100644 --- a/build.sbt +++ b/build.sbt @@ -10,8 +10,8 @@ lazy val root = (project in file(".")). resolvers += Resolver.mavenLocal, libraryDependencies ++= Seq( "io.swagger" % "swagger-annotations" % "1.6.5", - "com.squareup.okhttp3" % "okhttp" % "4.10.0", - "com.squareup.okhttp3" % "logging-interceptor" % "4.10.0", + "com.squareup.okhttp3" % "okhttp" % "4.12.0", + "com.squareup.okhttp3" % "logging-interceptor" % "4.12.0", "com.google.code.gson" % "gson" % "2.9.1", "org.apache.commons" % "commons-lang3" % "3.12.0", "javax.ws.rs" % "jsr311-api" % "1.1.1", @@ -22,7 +22,7 @@ lazy val root = (project in file(".")). "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", "com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile", "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", - "org.junit.jupiter" % "junit-jupiter-api" % "5.9.1" % "test", + "org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test", "com.novocode" % "junit-interface" % "0.10" % "test", "org.mockito" % "mockito-core" % "3.12.4" % "test" ) diff --git a/docs/AsyncOrderCreateDTO.md b/docs/AsyncOrderCreateDTO.md new file mode 100644 index 00000000..d9dd214d --- /dev/null +++ b/docs/AsyncOrderCreateDTO.md @@ -0,0 +1,29 @@ + + +# AsyncOrderCreateDTO + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**quoteNumber** | **String** | A unique identifier generated by Ingram Micro's CRM specific to each quote. | [optional] | +|**customerOrderNumber** | **String** | The reseller's order number for reference in their system. | [optional] | +|**endCustomerOrderNumber** | **String** | The end customer's order number for reference in their system. | [optional] | +|**notes** | **String** | Order header level notes. | [optional] | +|**billToAddressId** | **String** | Suffix used to identify billing address. Created during onboarding. Resellers are provided with one or more address IDs depending on how many bill to addresses they need for various flooring companies they are using for credit. | [optional] | +|**specialBidNumber** | **String** | The bid number is provided to the reseller by the vendor for special pricing and discounts. Line-level bid numbers take precedence over header-level bid numbers. | [optional] | +|**internalComments** | **String** | need to replace with actual description | [optional] | +|**acceptBackOrder** | **Boolean** | ENUM [\"true\",\"false\"] - accept order if this item is backordered. This field along with shipComplete field decides the value of backorderflag. The value of this field is ignored when shipComplete field is present. | [optional] | +|**vendAuthNumber** | **String** | Authorization number provided by vendor to Ingram's reseller. Orders will be placed on hold without this value, vendor specific mandatory field - please reach out Ingram Sales team for list of vendor for whom this is mandatory. | [optional] | +|**resellerInfo** | [**AsyncOrderCreateDTOResellerInfo**](AsyncOrderCreateDTOResellerInfo.md) | | [optional] | +|**endUserInfo** | [**AsyncOrderCreateDTOEndUserInfo**](AsyncOrderCreateDTOEndUserInfo.md) | | [optional] | +|**shipToInfo** | [**AsyncOrderCreateDTOShipToInfo**](AsyncOrderCreateDTOShipToInfo.md) | | [optional] | +|**shipmentDetails** | [**AsyncOrderCreateDTOShipmentDetails**](AsyncOrderCreateDTOShipmentDetails.md) | | [optional] | +|**additionalAttributes** | [**List<AsyncOrderCreateDTOAdditionalAttributesInner>**](AsyncOrderCreateDTOAdditionalAttributesInner.md) | Additional order create attributes. | [optional] | +|**vmfadditionalAttributes** | [**List<AsyncOrderCreateDTOVmfadditionalAttributesInner>**](AsyncOrderCreateDTOVmfadditionalAttributesInner.md) | The object containing the list of fields required at a header level by the vendor. | [optional] | +|**lines** | [**List<AsyncOrderCreateDTOLinesInner>**](AsyncOrderCreateDTOLinesInner.md) | The object containing the lines that require vendor mandatory fields. | [optional] | +|**warrantyInfo** | [**List<AsyncOrderCreateDTOWarrantyInfoInner>**](AsyncOrderCreateDTOWarrantyInfoInner.md) | Warranty Information | [optional] | + + + diff --git a/docs/QuoteToOrderDetailsDTOAdditionalAttributesInner.md b/docs/AsyncOrderCreateDTOAdditionalAttributesInner.md similarity index 90% rename from docs/QuoteToOrderDetailsDTOAdditionalAttributesInner.md rename to docs/AsyncOrderCreateDTOAdditionalAttributesInner.md index 9080e107..ee6556ca 100644 --- a/docs/QuoteToOrderDetailsDTOAdditionalAttributesInner.md +++ b/docs/AsyncOrderCreateDTOAdditionalAttributesInner.md @@ -1,6 +1,6 @@ -# QuoteToOrderDetailsDTOAdditionalAttributesInner +# AsyncOrderCreateDTOAdditionalAttributesInner ## Properties diff --git a/docs/QuoteToOrderDetailsDTOEndUserInfo.md b/docs/AsyncOrderCreateDTOEndUserInfo.md similarity index 74% rename from docs/QuoteToOrderDetailsDTOEndUserInfo.md rename to docs/AsyncOrderCreateDTOEndUserInfo.md index 7541ce29..fe16708f 100644 --- a/docs/QuoteToOrderDetailsDTOEndUserInfo.md +++ b/docs/AsyncOrderCreateDTOEndUserInfo.md @@ -1,6 +1,6 @@ -# QuoteToOrderDetailsDTOEndUserInfo +# AsyncOrderCreateDTOEndUserInfo The contact information for the end user/customer provided by the reseller. Used to determine pricing and discounts. @@ -8,17 +8,23 @@ The contact information for the end user/customer provided by the reseller. Used | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| +|**endUserId** | **String** | ID for the end user/customer in Ingram Micro's system. | [optional] | +|**endUserType** | **String** | End user type | [optional] | |**companyName** | **String** | The company name for the end user/customer. | [optional] | -|**contact** | **String** | The contact name for the end user/customer. | [optional] | +|**name1** | **String** | | [optional] | +|**name2** | **String** | | [optional] | |**addressLine1** | **String** | The address line 1 for the end user/customer. | [optional] | |**addressLine2** | **String** | The address line 2 for the end user/customer. | [optional] | |**addressLine3** | **String** | The address line 3 for the end user/customer. | [optional] | +|**contact** | **String** | The contact name for the end user/customer. | [optional] | +|**name3** | **String** | | [optional] | |**city** | **String** | The end user/customer's city. | [optional] | |**state** | **String** | The end user/customer's state. | [optional] | |**postalCode** | **String** | The end user/customer's zip or postal code. | [optional] | +|**addressLine4** | **String** | The address line 4 for the end user/customer. | [optional] | |**countryCode** | **String** | The end user/customer's two character ISO country code. | [optional] | -|**email** | **String** | The end user/customer's phone number. | [optional] | |**phoneNumber** | **String** | The end user/customer's phone number. | [optional] | +|**email** | **String** | The end user/customer's phone number. | [optional] | diff --git a/docs/AsyncOrderCreateDTOLinesInner.md b/docs/AsyncOrderCreateDTOLinesInner.md new file mode 100644 index 00000000..4635bdb7 --- /dev/null +++ b/docs/AsyncOrderCreateDTOLinesInner.md @@ -0,0 +1,20 @@ + + +# AsyncOrderCreateDTOLinesInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**customerLineNumber** | **String** | The reseller's line item number for reference in their system. | [optional] | +|**ingramPartNumber** | **String** | Unique IngramMicro part number. | [optional] | +|**quantity** | **String** | The quantity of the line item. | [optional] | +|**unitPrice** | **String** | Unit Price of Item | [optional] | +|**specialBidNumber** | **String** | | [optional] | +|**endUserPrice** | **String** | | [optional] | +|**notes** | **String** | | [optional] | +|**endUserInfo** | [**List<AsyncOrderCreateDTOLinesInnerEndUserInfoInner>**](AsyncOrderCreateDTOLinesInnerEndUserInfoInner.md) | The contact information for the end user/customer provided by the reseller. Used to determine pricing and discounts. | [optional] | + + + diff --git a/docs/AsyncOrderCreateDTOLinesInnerEndUserInfoInner.md b/docs/AsyncOrderCreateDTOLinesInnerEndUserInfoInner.md new file mode 100644 index 00000000..81e1070f --- /dev/null +++ b/docs/AsyncOrderCreateDTOLinesInnerEndUserInfoInner.md @@ -0,0 +1,29 @@ + + +# AsyncOrderCreateDTOLinesInnerEndUserInfoInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**endUserId** | **String** | ID for the end user/customer in Ingram Micro's system. | [optional] | +|**endUserType** | **String** | End user type | [optional] | +|**companyName** | **String** | The company name for the end user/customer. | [optional] | +|**name1** | **String** | | [optional] | +|**name2** | **String** | | [optional] | +|**contactId** | **String** | The contact Id for the end user/customer. | [optional] | +|**addressLine1** | **String** | The address line 1 for the end user/customer. | [optional] | +|**addressLine2** | **String** | The address line 2 for the end user/customer. | [optional] | +|**addressLine3** | **String** | The address line 3 for the end user/customer. | [optional] | +|**contact** | **String** | The contact name for the end user/customer. | [optional] | +|**city** | **String** | The end user/customer's city. | [optional] | +|**state** | **String** | The end user/customer's state. | [optional] | +|**postalCode** | **String** | The end user/customer's zip or postal code. | [optional] | +|**addressLine4** | **String** | The address line 4 for the end user/customer. | [optional] | +|**countryCode** | **String** | The end user/customer's two character ISO country code. | [optional] | +|**phoneNumber** | **String** | The end user/customer's phone number. | [optional] | +|**email** | **String** | The end user/customer's phone number. | [optional] | + + + diff --git a/docs/AsyncOrderCreateDTOResellerInfo.md b/docs/AsyncOrderCreateDTOResellerInfo.md new file mode 100644 index 00000000..f13abe44 --- /dev/null +++ b/docs/AsyncOrderCreateDTOResellerInfo.md @@ -0,0 +1,26 @@ + + +# AsyncOrderCreateDTOResellerInfo + +The address and contact information provided by the reseller. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**resellerId** | **String** | The reseller's Id. | [optional] | +|**companyName** | **String** | The reseller's company name. | [optional] | +|**contact** | **String** | The reseller's contact name. | [optional] | +|**addressLine1** | **String** | The reseller's address line 1. | [optional] | +|**addressLine2** | **String** | The reseller's address line 2. | [optional] | +|**addressLine3** | **String** | The reseller's address line 3. | [optional] | +|**addressLine4** | **String** | The reseller's address line 4. | [optional] | +|**city** | **String** | The reseller's city. | [optional] | +|**state** | **String** | The reseller's state. | [optional] | +|**postalCode** | **String** | The reseller's zip or postal code. | [optional] | +|**countryCode** | **String** | The reseller's two-character ISO country code. | [optional] | +|**phoneNumber** | **String** | The reseller's phone number. | [optional] | +|**email** | **String** | The reseller's Email Address. | [optional] | + + + diff --git a/docs/QuoteToOrderDetailsDTOShipToInfo.md b/docs/AsyncOrderCreateDTOShipToInfo.md similarity index 76% rename from docs/QuoteToOrderDetailsDTOShipToInfo.md rename to docs/AsyncOrderCreateDTOShipToInfo.md index 58e7137f..c6a584c4 100644 --- a/docs/QuoteToOrderDetailsDTOShipToInfo.md +++ b/docs/AsyncOrderCreateDTOShipToInfo.md @@ -1,6 +1,6 @@ -# QuoteToOrderDetailsDTOShipToInfo +# AsyncOrderCreateDTOShipToInfo The shipping information provided by the reseller for order delivery. @@ -9,16 +9,21 @@ The shipping information provided by the reseller for order delivery. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**addressId** | **String** | The company contact provided by the reseller. | [optional] | -|**companyName** | **String** | The name of the company the order will be shipped to. | [optional] | |**contact** | **String** | The contact name for the order will be shipped to. | [optional] | +|**companyName** | **String** | The name of the company the order will be shipped to. | [optional] | |**addressLine1** | **String** | The address line 1 the order will be shipped to. | [optional] | |**addressLine2** | **String** | The address line 2 the order will be shipped to. | [optional] | |**addressLine3** | **String** | The address line 3 the order will be shipped to. | [optional] | +|**addressLine4** | **String** | The address line 4 the order will be shipped to. | [optional] | +|**name1** | **String** | Need description | [optional] | +|**name2** | **String** | Need description | [optional] | |**city** | **String** | The city the order will be shipped to. | [optional] | |**state** | **String** | The state the order will be shipped to. | [optional] | |**postalCode** | **String** | The zip or postal code the order will be shipped to. | [optional] | |**countryCode** | **String** | The two-character ISO country code the order will be shipped to. | [optional] | |**email** | **String** | The company contact email address. | [optional] | +|**shippingNotes** | **String** | Shipping Notes | [optional] | +|**phoneNumber** | **String** | Phone number for shipping | [optional] | diff --git a/docs/AsyncOrderCreateDTOShipmentDetails.md b/docs/AsyncOrderCreateDTOShipmentDetails.md new file mode 100644 index 00000000..d7dd3167 --- /dev/null +++ b/docs/AsyncOrderCreateDTOShipmentDetails.md @@ -0,0 +1,19 @@ + + +# AsyncOrderCreateDTOShipmentDetails + +Shipping details for the order provided by the customer. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**carrierCode** | **String** | The code for the shipping carrier for the line item. | [optional] | +|**requestedDeliveryDate** | **String** | The reseller-requested delivery date in UTC format. Delivery date is not guaranteed. | [optional] | +|**shipComplete** | **String** | Specifies whether the shipment will be shipped only when all products are fulfilled. The value of this field along with acceptBackOrder field decides the value of backorderflag. If this field is set, acceptBackOrder field is ignored. Possible values for this field are true, C, P, E. | [optional] | +|**shippingInstructions** | **String** | Any special shipping instructions for the order. | [optional] | +|**freightAccountNumber** | **String** | The reseller 's shipping account number with carrier. Used to bill the shipping carrier directly from the reseller's account with the carrier. | [optional] | +|**signatureRequired** | **Boolean** | Specifies whether a signature is required for delivery. Default is False. | [optional] | + + + diff --git a/docs/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md b/docs/AsyncOrderCreateDTOVmfadditionalAttributesInner.md similarity index 66% rename from docs/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md rename to docs/AsyncOrderCreateDTOVmfadditionalAttributesInner.md index 4fdd524d..2c24dda7 100644 --- a/docs/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md +++ b/docs/AsyncOrderCreateDTOVmfadditionalAttributesInner.md @@ -1,6 +1,6 @@ -# QuoteToOrderDetailsDTOVmfadditionalAttributesInner +# AsyncOrderCreateDTOVmfadditionalAttributesInner ## Properties @@ -9,7 +9,6 @@ |------------ | ------------- | ------------- | -------------| |**attributeName** | **String** | The name of the header level field. | [optional] | |**attributeValue** | **String** | The value of the header level field. | [optional] | -|**attributeDescription** | **String** | The description of the header level field. | [optional] | diff --git a/docs/AsyncOrderCreateDTOWarrantyInfoInner.md b/docs/AsyncOrderCreateDTOWarrantyInfoInner.md new file mode 100644 index 00000000..a19c58af --- /dev/null +++ b/docs/AsyncOrderCreateDTOWarrantyInfoInner.md @@ -0,0 +1,17 @@ + + +# AsyncOrderCreateDTOWarrantyInfoInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**hardwareLineLink** | **String** | | [optional] | +|**warrantyLineLink** | **String** | | [optional] | +|**directLineLink** | **String** | | [optional] | +|**serialInfo** | [**List<AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner>**](AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.md) | | [optional] | +|**vmfAdditionalAttributesLines** | [**List<AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner>**](AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.md) | The object containing the list of fields required at a line level by the vendor. | [optional] | + + + diff --git a/docs/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.md b/docs/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.md new file mode 100644 index 00000000..6b348b90 --- /dev/null +++ b/docs/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.md @@ -0,0 +1,16 @@ + + +# AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**dateOfPurchase** | **String** | | [optional] | +|**shipDate** | **String** | | [optional] | +|**primarySerialNumber** | **String** | | [optional] | +|**secondarySerialNumber** | **String** | | [optional] | + + + diff --git a/docs/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.md b/docs/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.md new file mode 100644 index 00000000..c391da70 --- /dev/null +++ b/docs/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.md @@ -0,0 +1,14 @@ + + +# AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**attributeName** | **String** | The name of the line level field. | [optional] | +|**attributeValue** | **String** | The value of the line level field. | [optional] | + + + diff --git a/docs/QuoteToOrderResponse.md b/docs/AsyncOrderCreateResponse.md similarity index 94% rename from docs/QuoteToOrderResponse.md rename to docs/AsyncOrderCreateResponse.md index 33f9d429..6a00071e 100644 --- a/docs/QuoteToOrderResponse.md +++ b/docs/AsyncOrderCreateResponse.md @@ -1,6 +1,6 @@ -# QuoteToOrderResponse +# AsyncOrderCreateResponse ## Properties diff --git a/docs/DealsApi.md b/docs/DealsApi.md index 8fd0349e..e8e16eb1 100644 --- a/docs/DealsApi.md +++ b/docs/DealsApi.md @@ -89,7 +89,7 @@ public class Example { # **getResellersV6Dealssearch** -> DealsSearchResponse getResellersV6Dealssearch(imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, endUser, vendor, dealId) +> DealsSearchResponse getResellersV6Dealssearch(imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, endUser, vendor, dealId, size, page) Deals Search @@ -122,8 +122,10 @@ public class Example { String endUser = "EnduserCompany"; // String | The end user/customer's name. String vendor = "Cisco"; // String | The vendor's name. String dealId = "12345678"; // String | Deal/Special bid number. + Integer size = 56; // Integer | The number of records required in the call - max records 100 per page. + Integer page = 56; // Integer | The page number reference. try { - DealsSearchResponse result = apiInstance.getResellersV6Dealssearch(imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, endUser, vendor, dealId); + DealsSearchResponse result = apiInstance.getResellersV6Dealssearch(imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, endUser, vendor, dealId, size, page); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DealsApi#getResellersV6Dealssearch"); @@ -147,6 +149,8 @@ public class Example { | **endUser** | **String**| The end user/customer's name. | [optional] | | **vendor** | **String**| The vendor's name. | [optional] | | **dealId** | **String**| Deal/Special bid number. | [optional] | +| **size** | **Integer**| The number of records required in the call - max records 100 per page. | [optional] | +| **page** | **Integer**| The page number reference. | [optional] | ### Return type diff --git a/docs/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.md b/docs/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.md index f62a7114..8373dec6 100644 --- a/docs/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.md +++ b/docs/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.md @@ -10,8 +10,8 @@ |**carrierCode** | **String** | The code for the shipping carrier for the line item. | [optional] | |**shipVia** | **String** | The name of the shipping carrier. | [optional] | |**carrierMode** | **String** | Mode of the carrier. | [optional] | -|**estimatedFreightCharge** | **BigDecimal** | Estimated freight charge. | [optional] | -|**daysInTransit** | **Integer** | Number of transit days. | [optional] | +|**estimatedFreightCharge** | **String** | Estimated freight charge. | [optional] | +|**daysInTransit** | **String** | Number of transit days. | [optional] | diff --git a/docs/InvoiceDetailsv61ResponseSummaryTotals.md b/docs/InvoiceDetailsv61ResponseSummaryTotals.md index 81888d40..01a9fb0a 100644 --- a/docs/InvoiceDetailsv61ResponseSummaryTotals.md +++ b/docs/InvoiceDetailsv61ResponseSummaryTotals.md @@ -11,7 +11,7 @@ |**discountAmount** | **Double** | Discount amount. | [optional] | |**discountType** | **String** | Type of discount. | [optional] | |**totalTaxAmount** | **Double** | Total Tax amount. | [optional] | -|**invoicesAmountDue** | **Double** | Total amount due for the invoice. | [optional] | +|**invoicedAmountDue** | **Double** | Total amount due for the invoice. | [optional] | |**freightAmount** | **Double** | Freight amount | [optional] | diff --git a/docs/InvoiceSearchResponseInvoicesInner.md b/docs/InvoiceSearchResponseInvoicesInner.md index 1893b832..fee07167 100644 --- a/docs/InvoiceSearchResponseInvoicesInner.md +++ b/docs/InvoiceSearchResponseInvoicesInner.md @@ -8,6 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**paymentTermsDueDate** | **String** | Payment Terms Due date. | [optional] | +|**specialBidNumbers** | **List<String>** | | [optional] | |**erpOrderNumber** | **String** | Order number | [optional] | |**invoiceNumber** | **String** | Invoice no. | [optional] | |**invoiceStatus** | **String** | Invoice Status. | [optional] | diff --git a/docs/OrderCreateRequestEndUserInfo.md b/docs/OrderCreateRequestEndUserInfo.md index 12398188..f02c9c2e 100644 --- a/docs/OrderCreateRequestEndUserInfo.md +++ b/docs/OrderCreateRequestEndUserInfo.md @@ -21,7 +21,7 @@ The contact information for the end user/customer provided by the reseller. Used |**state** | **String** | The end user/customer's state. Required for Impulse countries but optional for EMEA countries. | [optional] | |**postalCode** | **String** | The end user/customer's zip or postal code. Required for Impulse countries. | [optional] | |**countryCode** | **String** | The end user/customer's two-character ISO country code. | [optional] | -|**phoneNumber** | **Integer** | The end user/customer's phone number. | [optional] | +|**phoneNumber** | **String** | The end user/customer's phone number. | [optional] | |**email** | **String** | The end user/customer's email. | [optional] | diff --git a/docs/OrderDetailB2BLinesInner.md b/docs/OrderDetailB2BLinesInner.md index 2fbe55c4..b33ef459 100644 --- a/docs/OrderDetailB2BLinesInner.md +++ b/docs/OrderDetailB2BLinesInner.md @@ -38,6 +38,7 @@ |**estimatedDates** | [**List<OrderDetailB2BLinesInnerEstimatedDatesInner>**](OrderDetailB2BLinesInnerEstimatedDatesInner.md) | | [optional] | |**scheduleLines** | [**List<OrderDetailB2BLinesInnerScheduleLinesInner>**](OrderDetailB2BLinesInnerScheduleLinesInner.md) | | [optional] | |**multipleShipments** | [**List<OrderDetailB2BLinesInnerMultipleShipmentsInner>**](OrderDetailB2BLinesInnerMultipleShipmentsInner.md) | | [optional] | +|**defaultCarrierName** | **String** | | [optional] | diff --git a/docs/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.md b/docs/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.md index 2157ceef..56bae08f 100644 --- a/docs/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.md +++ b/docs/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.md @@ -11,7 +11,7 @@ |**deliveryDateRange** | [**OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange**](OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.md) | | [optional] | |**deliverySource** | **String** | Source of the delivery. | [optional] | |**deliveryDescription** | **String** | Delivery description. | [optional] | -|**deliveredDate** | **String** | Delivery date. | [optional] | +|**deliveryDate** | **String** | Delivery date. | [optional] | diff --git a/docs/OrdersApi.md b/docs/OrdersApi.md index b2d0da49..da57c5d6 100644 --- a/docs/OrdersApi.md +++ b/docs/OrdersApi.md @@ -8,6 +8,7 @@ All URIs are relative to *https://api.ingrammicro.com:443* | [**getOrderdetailsV61**](OrdersApi.md#getOrderdetailsV61) | **GET** /resellers/v6.1/orders/{ordernumber} | Get Order Details v6.1 | | [**getResellersV6Ordersearch**](OrdersApi.md#getResellersV6Ordersearch) | **GET** /resellers/v6/orders/search | Search your Orders | | [**postCreateorderV6**](OrdersApi.md#postCreateorderV6) | **POST** /resellers/v6/orders | Create your Order | +| [**postCreateorderV7**](OrdersApi.md#postCreateorderV7) | **POST** /resellers/v7/orders | Create your Order v7 | | [**putOrdermodify**](OrdersApi.md#putOrdermodify) | **PUT** /resellers/v6/orders/{orderNumber} | Modify your Order | @@ -367,6 +368,83 @@ public class Example { | **400** | Bad Request | * IM-CorrelationID - Unique transaction number to identify each transaction across all the systems.
* IM-SenderID - Unique value used to identify the sender of the transaction. Example: MyCompany
| | **500** | Internal Server Error | * IM-CorrelationID - Unique transaction number to identify each transaction across all the systems.
* IM-SenderID - Unique value used to identify the sender of the transaction. Example: MyCompany
| + +# **postCreateorderV7** +> AsyncOrderCreateResponse postCreateorderV7(imCustomerNumber, imCountryCode, imCorrelationID, asyncOrderCreateDTO, imSenderID) + +Create your Order v7 + +This API will allow customers to perform both standard ordering and quote to order functionality via a single API enabling them to have a single endpoint to cater to all types of orders. This approach will standardize the ordering flow for customers where they will get the response for all orders on to their webhooks. It provides the much-awaited async ordering flow for Reseller API where large orders can also be placed via a single API with guaranteed delivery. + +### Example +```java +// Import classes: +import xiresellers.client.ApiClient; +import xiresellers.client.ApiException; +import xiresellers.client.Configuration; +import xiresellers.client.auth.*; +import xiresellers.client.models.*; +import xiresellers.client.api.OrdersApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.ingrammicro.com:443"); + + // Configure OAuth2 access token for authorization: application + OAuth application = (OAuth) defaultClient.getAuthentication("application"); + application.setAccessToken("YOUR ACCESS TOKEN"); + + OrdersApi apiInstance = new OrdersApi(defaultClient); + String imCustomerNumber = "20-222222"; // String | Your unique Ingram Micro customer number. + String imCountryCode = "US"; // String | Two-character ISO country code. + String imCorrelationID = "fbac82ba-cf0a-4bcf-fc03-0c5084"; // String | Unique transaction number to identify each transaction accross all the systems. + AsyncOrderCreateDTO asyncOrderCreateDTO = new AsyncOrderCreateDTO(); // AsyncOrderCreateDTO | + String imSenderID = "MyCompany"; // String | Unique value used to identify the sender of the transaction. + try { + AsyncOrderCreateResponse result = apiInstance.postCreateorderV7(imCustomerNumber, imCountryCode, imCorrelationID, asyncOrderCreateDTO, imSenderID); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling OrdersApi#postCreateorderV7"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **imCustomerNumber** | **String**| Your unique Ingram Micro customer number. | | +| **imCountryCode** | **String**| Two-character ISO country code. | | +| **imCorrelationID** | **String**| Unique transaction number to identify each transaction accross all the systems. | | +| **asyncOrderCreateDTO** | [**AsyncOrderCreateDTO**](AsyncOrderCreateDTO.md)| | | +| **imSenderID** | **String**| Unique value used to identify the sender of the transaction. | [optional] | + +### Return type + +[**AsyncOrderCreateResponse**](AsyncOrderCreateResponse.md) + +### Authorization + +[application](../README.md#application) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Success | - | +| **400** | Bad Request | - | +| **500** | Server Error | - | + # **putOrdermodify** > OrderModifyResponse putOrdermodify(orderNumber, imCustomerNumber, imCountryCode, imCorrelationID, orderModifyRequest, actionCode, regionCode, imSenderID) diff --git a/docs/PostQuoteToOrderV6400Response.md b/docs/PostCreateorderV7400Response.md similarity index 67% rename from docs/PostQuoteToOrderV6400Response.md rename to docs/PostCreateorderV7400Response.md index 99f7aad7..b78a9bd7 100644 --- a/docs/PostQuoteToOrderV6400Response.md +++ b/docs/PostCreateorderV7400Response.md @@ -1,6 +1,6 @@ -# PostQuoteToOrderV6400Response +# PostCreateorderV7400Response ## Properties @@ -10,7 +10,7 @@ |**traceid** | **String** | A unique trace id to identify the issue. | [optional] | |**type** | **String** | Type of the error message. | [optional] | |**message** | **String** | A detailed error message. | [optional] | -|**fields** | [**List<PostQuoteToOrderV6400ResponseFieldsInner>**](PostQuoteToOrderV6400ResponseFieldsInner.md) | | [optional] | +|**fields** | [**List<PostCreateorderV7400ResponseFieldsInner>**](PostCreateorderV7400ResponseFieldsInner.md) | | [optional] | diff --git a/docs/PostQuoteToOrderV6400ResponseFieldsInner.md b/docs/PostCreateorderV7400ResponseFieldsInner.md similarity index 88% rename from docs/PostQuoteToOrderV6400ResponseFieldsInner.md rename to docs/PostCreateorderV7400ResponseFieldsInner.md index 023401c1..645fc4ae 100644 --- a/docs/PostQuoteToOrderV6400ResponseFieldsInner.md +++ b/docs/PostCreateorderV7400ResponseFieldsInner.md @@ -1,6 +1,6 @@ -# PostQuoteToOrderV6400ResponseFieldsInner +# PostCreateorderV7400ResponseFieldsInner ## Properties diff --git a/docs/GetResellerV6ValidateQuote500Response.md b/docs/PostCreateorderV7500Response.md similarity index 90% rename from docs/GetResellerV6ValidateQuote500Response.md rename to docs/PostCreateorderV7500Response.md index c22ab9f6..004ef5e7 100644 --- a/docs/GetResellerV6ValidateQuote500Response.md +++ b/docs/PostCreateorderV7500Response.md @@ -1,6 +1,6 @@ -# GetResellerV6ValidateQuote500Response +# PostCreateorderV7500Response ## Properties diff --git a/docs/QuoteDetailsResponse.md b/docs/QuoteDetailsResponse.md index 5367c5c5..7e42b1c9 100644 --- a/docs/QuoteDetailsResponse.md +++ b/docs/QuoteDetailsResponse.md @@ -9,6 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**quoteName** | **String** | Quote Name given to quote by sales team or system generated. Generally used as a reference to identify the quote. | [optional] | |**quoteNumber** | **String** | Unique identifier generated by Ingram Micro's CRM specific to each quote. When applying a filter to the quoteNumber and including a partial quote number in the filter, all quotes containing any information included in the filter can be retrieved as a subset of all available customer quotes. | [optional] | +|**quoteGuid** | **String** | | [optional] | |**revision** | **String** | When a quote has been revised and updated, the quote number remains the same throughout the lifecycle of the quote, however, a Revision number is updated for each revision of the quote. The revision numbers is associated with the Unique Quote Number. | [optional] | |**ingramQuoteDate** | **String** | Date the Quote was initially Created. | [optional] | |**lastModifiedDate** | **String** | Date the Quote was last updated or modified. | [optional] | @@ -17,7 +18,9 @@ |**specialBidId** | **String** | Price discount identifyer to specify a pricing discount that has been applied to the quote. If present - the priceDeviationStartDate and priceDeviationExpiryDate must be presented. Cisco refers to this as a Dart | [optional] | |**specialBidEffectiveDate** | **String** | If price discount has been applied to the quote - the starting date the discount begins. | [optional] | |**specialBidExpirationDate** | **String** | If a price discount has been applied to the quote - The date the discount expires and will no longer be applicable. | [optional] | +|**vendorQuoteNumber** | **String** | | [optional] | |**status** | **String** | This refers to the primary status of the quote. API responses will return | [optional] | +|**statusReason** | **String** | | [optional] | |**closingReason** | **String** | Closing Reason for quote. | [optional] | |**dateClosed** | **String** | | [optional] | |**customerNeed** | **String** | Details related to the customer's request for the quote entered by the sales representative or system generated. | [optional] | @@ -28,14 +31,21 @@ |**quoteType** | **String** | | [optional] | |**leaseInfo** | **String** | Lease information. | [optional] | |**leasingInstructions** | **String** | Leasing information | [optional] | -|**quoteSubType** | **String** | | [optional] | +|**imWarehouse** | **String** | Warehouse name and Address | [optional] | +|**imWarehouseGstNumber** | **String** | Warehouse GST Number | [optional] | +|**paymentTermsName** | **String** | | [optional] | |**resellerInfo** | [**QuoteDetailsResponseResellerInfo**](QuoteDetailsResponseResellerInfo.md) | | [optional] | |**endUserInfo** | [**QuoteDetailsResponseEndUserInfo**](QuoteDetailsResponseEndUserInfo.md) | | [optional] | +|**shippingInfo** | [**QuoteDetailsResponseShippingInfo**](QuoteDetailsResponseShippingInfo.md) | | [optional] | |**products** | [**List<QuoteDetailsResponseProductsInner>**](QuoteDetailsResponseProductsInner.md) | | [optional] | |**productsCount** | **Integer** | Total number of products included in the quote | [optional] | -|**extendedMsrpTotal** | **Integer** | Total extended MSRP for all products included in the quote | [optional] | +|**extendedMsrpTotal** | **BigDecimal** | Total extended MSRP for all products included in the quote | [optional] | |**quantityTotal** | **Integer** | Total quantity of all items in the quote. | [optional] | -|**extendedQuotePriceTotal** | **Integer** | Total amount of quoted price for all products in the quote including both solution products and suggested products. | [optional] | +|**extraFeesTotal** | **BigDecimal** | | [optional] | +|**extraFeesTotalDetails** | [**List<QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner>**](QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.md) | | [optional] | +|**taxTotal** | **BigDecimal** | | [optional] | +|**extendedQuotePriceTotal** | **BigDecimal** | Total amount of quoted price for all products in the quote including both solution products and suggested products. | [optional] | +|**freightAmount** | **BigDecimal** | | [optional] | |**totalQuoteAmount** | **String** | | [optional] | |**additionalAttributes** | [**List<QuoteDetailsResponseAdditionalAttributesInner>**](QuoteDetailsResponseAdditionalAttributesInner.md) | | [optional] | diff --git a/docs/QuoteDetailsResponseProductsInner.md b/docs/QuoteDetailsResponseProductsInner.md index de96d4d1..f120546c 100644 --- a/docs/QuoteDetailsResponseProductsInner.md +++ b/docs/QuoteDetailsResponseProductsInner.md @@ -16,16 +16,22 @@ |**ingramPartNumber** | **String** | Ingram Micro SKU (stock keeping unit). An identification, usually alphanumeric, of a particular product that allows it to be tracked for inventory purposes | [optional] | |**vendorPartNumber** | **String** | Vendor Part Number | [optional] | |**description** | **String** | Product description. Note - The quote view api returns only the product short description as maintained in Ingram Micro's crm system. For long descriptions, please refer to alternative information sources. | [optional] | -|**weight** | **Integer** | Weight is provided based on country standard. For countries following Imperial standards - weight is presented as pounds with decimal. In countries following metric standards, weight is provided as kilograms with decimal. | [optional] | +|**weight** | **BigDecimal** | Weight is provided based on country standard. For countries following Imperial standards - weight is presented as pounds with decimal. In countries following metric standards, weight is provided as kilograms with decimal. | [optional] | |**weightUom** | **String** | Unit of measure | [optional] | |**isSuggestionProduct** | **Boolean** | Flag to indicate if a product line item is a suggested product. The suggested product is provided in addition to the requested quoted products and a suggested option. Suggested products are grouped together for subtotal and total calculations. | [optional] | |**vpnCategory** | **String** | Vendor product category specific to Cisco. HWDW (hardware) or service. | [optional] | |**quoteProductsSupplierPartAuxiliaryId** | **String** | Vendor product configuration ID specific to Cisco. | [optional] | |**vendorName** | **String** | Vendor name of the product | [optional] | |**terms** | **String** | Terms of the quote | [optional] | +|**planDescription** | **String** | | [optional] | |**isSubscription** | **Boolean** | | [optional] | |**resellerMargin** | **String** | | [optional] | +|**requestedStartDate** | **String** | | [optional] | +|**startDate** | **String** | | [optional] | +|**endDate** | **String** | | [optional] | +|**serialNumber** | **String** | | [optional] | |**price** | [**QuoteDetailsResponseProductsInnerPrice**](QuoteDetailsResponseProductsInnerPrice.md) | | [optional] | +|**billDetails** | [**List<QuoteDetailsResponseProductsInnerBillDetailsInner>**](QuoteDetailsResponseProductsInnerBillDetailsInner.md) | | [optional] | diff --git a/docs/QuoteDetailsResponseProductsInnerBillDetailsInner.md b/docs/QuoteDetailsResponseProductsInnerBillDetailsInner.md new file mode 100644 index 00000000..1c21a596 --- /dev/null +++ b/docs/QuoteDetailsResponseProductsInnerBillDetailsInner.md @@ -0,0 +1,16 @@ + + +# QuoteDetailsResponseProductsInnerBillDetailsInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**type** | **String** | | [optional] | +|**unit** | **String** | | [optional] | +|**frequency** | **Integer** | | [optional] | +|**unitValue** | **String** | | [optional] | + + + diff --git a/docs/QuoteDetailsResponseProductsInnerPrice.md b/docs/QuoteDetailsResponseProductsInnerPrice.md index 92241a3a..558104ca 100644 --- a/docs/QuoteDetailsResponseProductsInnerPrice.md +++ b/docs/QuoteDetailsResponseProductsInnerPrice.md @@ -7,16 +7,18 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**quotePrice** | **Integer** | Ingram Micro quoted price specific to the reseller and quote. | [optional] | -|**msrp** | **Integer** | Manufacturer Suggested Retail Price | [optional] | -|**extendedMsrp** | **Integer** | Extended MSRP - Manufacturer Suggested Retail Price X Quantity | [optional] | -|**extendedQuotePrice** | **Integer** | Extended reseller quoted price (cost to reseller) X Quantity | [optional] | +|**quotePrice** | **BigDecimal** | Ingram Micro quoted price specific to the reseller and quote. | [optional] | +|**msrp** | **BigDecimal** | Manufacturer Suggested Retail Price | [optional] | +|**extendedMsrp** | **BigDecimal** | Extended MSRP - Manufacturer Suggested Retail Price X Quantity | [optional] | +|**extendedQuotePrice** | **BigDecimal** | Extended reseller quoted price (cost to reseller) X Quantity | [optional] | |**discountOffList** | **String** | Discount off list percentage extended | [optional] | -|**vendorprice** | **BigDecimal** | | [optional] | -|**extendedvendorprice** | **BigDecimal** | | [optional] | -|**totalVisibleReserveQuantity** | **Integer** | | [optional] | |**type** | **String** | | [optional] | |**recurringPriceModel** | **String** | | [optional] | +|**unitOfMeasure** | **String** | | [optional] | +|**tax** | **BigDecimal** | | [optional] | +|**extrafees** | **BigDecimal** | | [optional] | +|**extraFeesDetails** | [**List<QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner>**](QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.md) | | [optional] | +|**discounts** | [**List<QuoteDetailsResponseProductsInnerPriceDiscountsInner>**](QuoteDetailsResponseProductsInnerPriceDiscountsInner.md) | | [optional] | diff --git a/docs/QuoteDetailsResponseProductsInnerPriceDiscountsInner.md b/docs/QuoteDetailsResponseProductsInnerPriceDiscountsInner.md new file mode 100644 index 00000000..4a115e29 --- /dev/null +++ b/docs/QuoteDetailsResponseProductsInnerPriceDiscountsInner.md @@ -0,0 +1,23 @@ + + +# QuoteDetailsResponseProductsInnerPriceDiscountsInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**type** | **String** | | [optional] | +|**amount** | **BigDecimal** | | [optional] | +|**expirationDate** | **String** | | [optional] | +|**description** | **String** | | [optional] | +|**avaliableQunatity** | **Integer** | | [optional] | +|**minimumQuantity** | **Integer** | | [optional] | +|**bidNumber** | **String** | | [optional] | +|**bidVersion** | **String** | | [optional] | +|**validFrom** | **String** | | [optional] | +|**validTo** | **String** | | [optional] | +|**discountOffList** | **BigDecimal** | | [optional] | + + + diff --git a/docs/QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.md b/docs/QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.md new file mode 100644 index 00000000..2b46a296 --- /dev/null +++ b/docs/QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.md @@ -0,0 +1,14 @@ + + +# QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**extraFeesDescription** | **String** | | [optional] | +|**extraFeesAmount** | **BigDecimal** | | [optional] | + + + diff --git a/docs/QuoteDetailsResponseShippingInfo.md b/docs/QuoteDetailsResponseShippingInfo.md new file mode 100644 index 00000000..8c1610ac --- /dev/null +++ b/docs/QuoteDetailsResponseShippingInfo.md @@ -0,0 +1,22 @@ + + +# QuoteDetailsResponseShippingInfo + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**companyName** | **String** | Contact name of shipping info associated with the quote. | [optional] | +|**addressLine1** | **String** | Address line 1 for shipping info associated with the quote | [optional] | +|**addressLine2** | **String** | Address line 2 for shipping info associated with the quote. | [optional] | +|**addressLine3** | **String** | Address line 3 for shipping info associated with the quote. | [optional] | +|**city** | **String** | City for shipping info associated with the quote | [optional] | +|**state** | **String** | Two letter state abreviation for shipping info associated with the quote | [optional] | +|**email** | **String** | Email of shipping info the quote associated with the quote. | [optional] | +|**phoneNumber** | **String** | Phone number of shipping info associated with the quote. | [optional] | +|**postalCode** | **String** | Zip code of shipping info associated with the quote. | [optional] | +|**shpToGstinNumber** | **String** | | [optional] | + + + diff --git a/docs/QuoteSearchResponse.md b/docs/QuoteSearchResponse.md index e34b7abb..6dd22e08 100644 --- a/docs/QuoteSearchResponse.md +++ b/docs/QuoteSearchResponse.md @@ -11,6 +11,8 @@ |**pageSize** | **Integer** | Number of records (quotes) displayed per page in the quote list. | [optional] | |**pageNumber** | **Integer** | Page index or page number for the list of quotes being returned. | [optional] | |**quotes** | [**List<QuoteSearchResponseQuotesInner>**](QuoteSearchResponseQuotesInner.md) | The quote details for the requested criteria. | [optional] | +|**nextPage** | **String** | | [optional] | +|**prevPage** | **String** | | [optional] | diff --git a/docs/QuoteSearchResponseQuotesInner.md b/docs/QuoteSearchResponseQuotesInner.md index 5bd41787..652193da 100644 --- a/docs/QuoteSearchResponseQuotesInner.md +++ b/docs/QuoteSearchResponseQuotesInner.md @@ -11,6 +11,7 @@ |**quoteName** | **String** | Quote Name given to quote by sales team or system generated. Generally used as a reference to identify the quote. | [optional] | |**quoteNumber** | **String** | Unique identifier generated by Ingram Micros CRM specific to each quote. When applying a filter to the quoteNumber and including a partial quote number in the filter, all quotes containing any information included in the filter can be retrieved as a subset of all available customer quotes. | [optional] | |**revision** | **String** | When a quote has been revised and updated, the quote number remains the same throughout the lifecycle of the quote, however, a Revision number is updated for each revision of the quote. The revision numbers is associated with the Unique Quote Number. | [optional] | +|**currencyCode** | **String** | The country-specific three digit ISO 4217 currency code for the order. | [optional] | |**endUserContact** | **String** | End User Name is the end customer name that is associated with a quote in Ingram Micros CRM. | [optional] | |**specialBidNumber** | **String** | Special Pricing Bid Number, also refers to as Dart Number relates to a unique pricing deal associated with a vendor for the quote. | [optional] | |**quoteTotal** | **BigDecimal** | Total amount of quoted price for all products in the quote. | [optional] | diff --git a/docs/QuoteToOrderApi.md b/docs/QuoteToOrderApi.md deleted file mode 100644 index a8f683ef..00000000 --- a/docs/QuoteToOrderApi.md +++ /dev/null @@ -1,86 +0,0 @@ -# QuoteToOrderApi - -All URIs are relative to *https://api.ingrammicro.com:443* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**postQuoteToOrderV6**](QuoteToOrderApi.md#postQuoteToOrderV6) | **POST** /resellers/v6/q2o/orders | Quote To Order | - - - -# **postQuoteToOrderV6** -> QuoteToOrderResponse postQuoteToOrderV6(imCustomerNumber, imCountryCode, imCorrelationID, quoteToOrderDetailsDTO, imSenderID) - -Quote To Order - -The “Quote to Order” (QTO) endpoint allows a customer to create an order using the existing quote which is in “Ready to Order” status. A customer can create an order using Configure to order (CTO) quote or a non-configure to order (Non-CTO) quote. Upon successful submission of the order create request, a confirmation message will be returned as an API response. <br > <br >Ingram Micro offers webhooks as a method to send notifications to Resellers once the order creation request is received. All the updates related to Order creation will be pushed as a notification to the customer via a pre-defined callback URL as an HTTP post. <br > <br > **Prerequisite:** Pre-defined callback URL <br > <br > Before creating an order using the quote, it’s recommended to validate the quote using the “Validate Quote” endpoint. Validate Quote endpoint will not only validate the quote but also outline all the mandatory fields required by the vendor at a header level and at the line level which a customer need to pass to the Quote To Order endpoint request. For a detailed understanding of the “Validate Quote” endpoint, review the “Validate Quote” endpoint documentation. <br ><br > **How it works:** <br ><br > - The customer validates the quote with a quote number from Validate Quote endpoint. <br > - The customer copies all the mandatory fields required by the vendor and adds them to the QTO request body. <br > - The customer provides all the values for Vendor mandatory fields along with other required information for QTO to create an order. <br > - After the order creation request receipt acknowledgment from the QTO endpoint, all further order creation updates will be provided via webhook push notification. - -### Example -```java -// Import classes: -import xiresellers.client.ApiClient; -import xiresellers.client.ApiException; -import xiresellers.client.Configuration; -import xiresellers.client.auth.*; -import xiresellers.client.models.*; -import xiresellers.client.api.QuoteToOrderApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.ingrammicro.com:443"); - - // Configure OAuth2 access token for authorization: application - OAuth application = (OAuth) defaultClient.getAuthentication("application"); - application.setAccessToken("YOUR ACCESS TOKEN"); - - QuoteToOrderApi apiInstance = new QuoteToOrderApi(defaultClient); - String imCustomerNumber = "20-222222"; // String | Your unique Ingram Micro customer number. - String imCountryCode = "US"; // String | Two-character ISO country code. - String imCorrelationID = "fbac82ba-cf0a-4bcf-fc03-0c5084"; // String | Unique transaction number to identify each transaction accross all the systems. - QuoteToOrderDetailsDTO quoteToOrderDetailsDTO = new QuoteToOrderDetailsDTO(); // QuoteToOrderDetailsDTO | - String imSenderID = "MyCompany"; // String | Unique value used to identify the sender of the transaction. - try { - QuoteToOrderResponse result = apiInstance.postQuoteToOrderV6(imCustomerNumber, imCountryCode, imCorrelationID, quoteToOrderDetailsDTO, imSenderID); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling QuoteToOrderApi#postQuoteToOrderV6"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **imCustomerNumber** | **String**| Your unique Ingram Micro customer number. | | -| **imCountryCode** | **String**| Two-character ISO country code. | | -| **imCorrelationID** | **String**| Unique transaction number to identify each transaction accross all the systems. | | -| **quoteToOrderDetailsDTO** | [**QuoteToOrderDetailsDTO**](QuoteToOrderDetailsDTO.md)| | | -| **imSenderID** | **String**| Unique value used to identify the sender of the transaction. | [optional] | - -### Return type - -[**QuoteToOrderResponse**](QuoteToOrderResponse.md) - -### Authorization - -[application](../README.md#application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **400** | Bad Request | - | -| **500** | Server Error | - | - diff --git a/docs/QuoteToOrderDetailsDTO.md b/docs/QuoteToOrderDetailsDTO.md deleted file mode 100644 index fec4e0a9..00000000 --- a/docs/QuoteToOrderDetailsDTO.md +++ /dev/null @@ -1,21 +0,0 @@ - - -# QuoteToOrderDetailsDTO - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**quoteNumber** | **String** | A unique identifier generated by Ingram Micro's CRM specific to each quote. | [optional] | -|**customerOrderNumber** | **String** | The reseller's order number for reference in their system. | [optional] | -|**enduserOrderNumber** | **String** | The end customer's order number for reference in their system. | [optional] | -|**billToAddressId** | **String** | Suffix used to identify billing address. Created during onboarding. Resellers are provided with one or more address IDs depending on how many bill to addresses they need for various flooring companies they are using for credit. | [optional] | -|**endUserInfo** | [**QuoteToOrderDetailsDTOEndUserInfo**](QuoteToOrderDetailsDTOEndUserInfo.md) | | [optional] | -|**shipToInfo** | [**QuoteToOrderDetailsDTOShipToInfo**](QuoteToOrderDetailsDTOShipToInfo.md) | | [optional] | -|**additionalAttributes** | [**List<QuoteToOrderDetailsDTOAdditionalAttributesInner>**](QuoteToOrderDetailsDTOAdditionalAttributesInner.md) | Additional order create attributes. | [optional] | -|**vmfadditionalAttributes** | [**List<QuoteToOrderDetailsDTOVmfadditionalAttributesInner>**](QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md) | The object containing the list of fields required at a header level by the vendor. | [optional] | -|**lines** | [**List<QuoteToOrderDetailsDTOLinesInner>**](QuoteToOrderDetailsDTOLinesInner.md) | The object containing the lines that require vendor mandatory fields. | [optional] | - - - diff --git a/docs/QuoteToOrderDetailsDTOLinesInner.md b/docs/QuoteToOrderDetailsDTOLinesInner.md deleted file mode 100644 index d5623092..00000000 --- a/docs/QuoteToOrderDetailsDTOLinesInner.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# QuoteToOrderDetailsDTOLinesInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**customerLineNumber** | **String** | The reseller's line item number for reference in their system. | [optional] | -|**ingramPartNumber** | **String** | Unique IngramMicro part number. | [optional] | -|**quantity** | **String** | The quantity of the line item. | [optional] | -|**vmfAdditionalAttributesLines** | [**List<QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner>**](QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md) | The object containing the list of fields required at a line level by the vendor. | [optional] | - - - diff --git a/docs/ValidateQuoteResponseLinesInner.md b/docs/ValidateQuoteResponseLinesInner.md index 857e5553..bc379c2f 100644 --- a/docs/ValidateQuoteResponseLinesInner.md +++ b/docs/ValidateQuoteResponseLinesInner.md @@ -9,8 +9,8 @@ |------------ | ------------- | ------------- | -------------| |**customerLineNumber** | **String** | The reseller's line item number for reference in their system. | [optional] | |**ingramPartNumber** | **String** | Unique Ingram Micro part number. | [optional] | -|**quantity** | **String** | The quantity of the line item. | [optional] | -|**vmfAdditionalAttributesLines** | [**List<QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner>**](QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md) | The object containing the list of fields required at a line level by the vendor. | [optional] | +|**quantity** | **Integer** | The quantity of the line item. | [optional] | +|**vmfAdditionalAttributesLines** | [**List<ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner>**](ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md) | The object containing the list of fields required at a line level by the vendor. | [optional] | diff --git a/docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md b/docs/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md similarity index 85% rename from docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md rename to docs/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md index 9cd88422..d9c9ca4b 100644 --- a/docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md +++ b/docs/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md @@ -1,6 +1,6 @@ -# QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner +# ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner ## Properties diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 7454180f..e6441136 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ffed3a25..b82aa23a 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip +networkTimeout=10000 +validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew index 005bcde0..9d0ce634 100644 --- a/gradlew +++ b/gradlew @@ -55,7 +55,7 @@ # Darwin, MinGW, and NonStop. # # (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # within the Gradle project. # # You can find Gradle at https://github.com/gradle/gradle/. @@ -69,37 +69,35 @@ app_path=$0 # Need this for daisy-chained symlinks. while - APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path - [ -h "$app_path" ] +APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path +[ -h "$app_path" ] do - ls=$( ls -ld "$app_path" ) - link=${ls#*' -> '} - case $link in #( - /*) app_path=$link ;; #( - *) app_path=$APP_HOME$link ;; - esac +ls=$( ls -ld "$app_path" ) +link=${ls#*' -> '} +case $link in #( +/*) app_path=$link ;; #( +*) app_path=$APP_HOME$link ;; +esac done -APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit - -APP_NAME="Gradle" +# This is normally unused +# shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='-Dfile.encoding=UTF-8 "-Xmx64m" "-Xms64m"' +# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) +APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum warn () { - echo "$*" +echo "$*" } >&2 die () { - echo - echo "$*" - echo - exit 1 +echo +echo "$*" +echo +exit 1 } >&2 # OS specific support (must be 'true' or 'false'). @@ -108,10 +106,10 @@ msys=false darwin=false nonstop=false case "$( uname )" in #( - CYGWIN* ) cygwin=true ;; #( - Darwin* ) darwin=true ;; #( - MSYS* | MINGW* ) msys=true ;; #( - NONSTOP* ) nonstop=true ;; +CYGWIN* ) cygwin=true ;; #( +Darwin* ) darwin=true ;; #( +MSYS* | MINGW* ) msys=true ;; #( +NONSTOP* ) nonstop=true ;; esac CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar @@ -119,39 +117,46 @@ CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar # Determine the Java command to use to start the JVM. if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD=$JAVA_HOME/jre/sh/java - else - JAVACMD=$JAVA_HOME/bin/java - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME +if [ -x "$JAVA_HOME/jre/sh/java" ] ; then +# IBM's JDK on AIX uses strange locations for the executables +JAVACMD=$JAVA_HOME/jre/sh/java +else +JAVACMD=$JAVA_HOME/bin/java +fi +if [ ! -x "$JAVACMD" ] ; then +die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME Please set the JAVA_HOME variable in your environment to match the location of your Java installation." - fi +fi else - JAVACMD=java - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +JAVACMD=java +if ! command -v java >/dev/null 2>&1 +then +die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation." fi +fi # Increase the maximum file descriptors if we can. if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then - case $MAX_FD in #( - max*) - MAX_FD=$( ulimit -H -n ) || - warn "Could not query maximum file descriptor limit" - esac - case $MAX_FD in #( - '' | soft) :;; #( - *) - ulimit -n "$MAX_FD" || - warn "Could not set maximum file descriptor limit to $MAX_FD" - esac +case $MAX_FD in #( +max*) +# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. +# shellcheck disable=SC2039,SC3045 +MAX_FD=$( ulimit -H -n ) || +warn "Could not query maximum file descriptor limit" +esac +case $MAX_FD in #( +'' | soft) :;; #( +*) +# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. +# shellcheck disable=SC2039,SC3045 +ulimit -n "$MAX_FD" || +warn "Could not set maximum file descriptor limit to $MAX_FD" +esac fi # Collect all arguments for the java command, stacking in reverse order: @@ -164,46 +169,56 @@ fi # For Cygwin or MSYS, switch paths to Windows format before running java if "$cygwin" || "$msys" ; then - APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) - CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) - - JAVACMD=$( cygpath --unix "$JAVACMD" ) - - # Now convert the arguments - kludge to limit ourselves to /bin/sh - for arg do - if - case $arg in #( - -*) false ;; # don't mess with options #( - /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath - [ -e "$t" ] ;; #( - *) false ;; - esac - then - arg=$( cygpath --path --ignore --mixed "$arg" ) - fi - # Roll the args list around exactly as many times as the number of - # args, so each arg winds up back in the position where it started, but - # possibly modified. - # - # NB: a `for` loop captures its iteration list before it begins, so - # changing the positional parameters here affects neither the number of - # iterations, nor the values presented in `arg`. - shift # remove old arg - set -- "$@" "$arg" # push replacement arg - done +APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) +CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) + +JAVACMD=$( cygpath --unix "$JAVACMD" ) + +# Now convert the arguments - kludge to limit ourselves to /bin/sh +for arg do +if +case $arg in #( +-*) false ;; # don't mess with options #( +/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath +[ -e "$t" ] ;; #( +*) false ;; +esac +then +arg=$( cygpath --path --ignore --mixed "$arg" ) +fi +# Roll the args list around exactly as many times as the number of +# args, so each arg winds up back in the position where it started, but +# possibly modified. +# +# NB: a `for` loop captures its iteration list before it begins, so +# changing the positional parameters here affects neither the number of +# iterations, nor the values presented in `arg`. +shift # remove old arg +set -- "$@" "$arg" # push replacement arg +done fi -# Collect all arguments for the java command; -# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of -# shell script including quotes and variable substitutions, so put them in -# double quotes to make sure that they get re-expanded; and -# * put everything else in single quotes, so that it's not re-expanded. + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Collect all arguments for the java command: +# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, +# and any embedded shellness will be escaped. +# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be +# treated as '${Hostname}' itself on the command line. set -- \ - "-Dorg.gradle.appname=$APP_BASE_NAME" \ - -classpath "$CLASSPATH" \ - org.gradle.wrapper.GradleWrapperMain \ - "$@" +"-Dorg.gradle.appname=$APP_BASE_NAME" \ +-classpath "$CLASSPATH" \ +org.gradle.wrapper.GradleWrapperMain \ +"$@" + +# Stop when "xargs" is not available. +if ! command -v xargs >/dev/null 2>&1 +then +die "xargs is not available" +fi # Use "xargs" to parse quoted args. # @@ -225,10 +240,10 @@ set -- \ # eval "set -- $( - printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | - xargs -n1 | - sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | - tr '\n' ' ' - )" '"$@"' +printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | +xargs -n1 | +sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | +tr '\n' ' ' +)" '"$@"' exec "$JAVACMD" "$@" diff --git a/gradlew.bat b/gradlew.bat index 6a68175e..25da30db 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -14,7 +14,7 @@ @rem limitations under the License. @rem -@if "%DEBUG%" == "" @echo off +@if "%DEBUG%"=="" @echo off @rem ########################################################################## @rem @rem Gradle startup script for Windows @@ -25,7 +25,8 @@ if "%OS%"=="Windows_NT" setlocal set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. +if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused set APP_BASE_NAME=%~n0 set APP_HOME=%DIRNAME% @@ -33,20 +34,20 @@ set APP_HOME=%DIRNAME% for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS=-Dfile.encoding=UTF-8 "-Xmx64m" "-Xms64m" +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" @rem Find java.exe if defined JAVA_HOME goto findJavaFromJavaHome set JAVA_EXE=java.exe %JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto execute +if %ERRORLEVEL% equ 0 goto execute -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 goto fail @@ -56,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe if exist "%JAVA_EXE%" goto execute -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 goto fail @@ -75,13 +76,15 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar :end @rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd +if %ERRORLEVEL% equ 0 goto mainEnd :fail rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of rem the _cmd.exe /c_ return code! -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 -exit /b 1 +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% :mainEnd if "%OS%"=="Windows_NT" endlocal diff --git a/pom.xml b/pom.xml index 62876d61..a6d29533 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ xi.sdk.resellers jar xi.sdk.resellers - 1.0.0 + 1.1.0 https://github.com/ingrammicro-xvantage/xi-sdk-resellers-java diff --git a/src/main/java/xiresellers/client/ApiCallback.java b/src/main/java/xiresellers/client/ApiCallback.java index 2a27fc34..fcaf0616 100644 --- a/src/main/java/xiresellers/client/ApiCallback.java +++ b/src/main/java/xiresellers/client/ApiCallback.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/main/java/xiresellers/client/ApiClient.java b/src/main/java/xiresellers/client/ApiClient.java index 9fca53e5..ad13627d 100644 --- a/src/main/java/xiresellers/client/ApiClient.java +++ b/src/main/java/xiresellers/client/ApiClient.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -544,6 +544,19 @@ public void setAWS4Configuration(String accessKey, String secretKey, String regi throw new RuntimeException("No AWS4 authentication configured!"); } + /** + * Helper method to set credentials for AWSV4 Signature + * + * @param accessKey Access Key + * @param secretKey Secret Key + * @param sessionToken Session Token + * @param region Region + * @param service Service to access to + */ + public void setAWS4Configuration(String accessKey, String secretKey, String sessionToken, String region, String service) { + throw new RuntimeException("No AWS4 authentication configured!"); + } + /** * Set the User-Agent header's value (by adding to the default header map). * diff --git a/src/main/java/xiresellers/client/ApiException.java b/src/main/java/xiresellers/client/ApiException.java index 0f5df301..fe7705a6 100644 --- a/src/main/java/xiresellers/client/ApiException.java +++ b/src/main/java/xiresellers/client/ApiException.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -21,7 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ApiException extends Exception { private static final long serialVersionUID = 1L; diff --git a/src/main/java/xiresellers/client/ApiResponse.java b/src/main/java/xiresellers/client/ApiResponse.java index 5c973b30..1c4c7410 100644 --- a/src/main/java/xiresellers/client/ApiResponse.java +++ b/src/main/java/xiresellers/client/ApiResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/main/java/xiresellers/client/Configuration.java b/src/main/java/xiresellers/client/Configuration.java index 6b49e82b..20c998b5 100644 --- a/src/main/java/xiresellers/client/Configuration.java +++ b/src/main/java/xiresellers/client/Configuration.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -13,7 +13,7 @@ package xiresellers.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class Configuration { public static final String VERSION = "1.0.0"; diff --git a/src/main/java/xiresellers/client/GzipRequestInterceptor.java b/src/main/java/xiresellers/client/GzipRequestInterceptor.java index e86f99bd..999f08b3 100644 --- a/src/main/java/xiresellers/client/GzipRequestInterceptor.java +++ b/src/main/java/xiresellers/client/GzipRequestInterceptor.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/main/java/xiresellers/client/JSON.java b/src/main/java/xiresellers/client/JSON.java index 5d3b7cee..f65539da 100644 --- a/src/main/java/xiresellers/client/JSON.java +++ b/src/main/java/xiresellers/client/JSON.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -93,7 +93,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri return clazz; } - { + static { GsonBuilder gsonBuilder = createGson(); gsonBuilder.registerTypeAdapter(Date.class, dateTypeAdapter); gsonBuilder.registerTypeAdapter(java.sql.Date.class, sqlDateTypeAdapter); @@ -101,6 +101,19 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapter(LocalDate.class, localDateTypeAdapter); gsonBuilder.registerTypeAdapter(byte[].class, byteArrayAdapter); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.AccesstokenResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.AsyncOrderCreateDTO.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.AsyncOrderCreateDTOAdditionalAttributesInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.AsyncOrderCreateDTOEndUserInfo.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.AsyncOrderCreateDTOLinesInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.AsyncOrderCreateDTOLinesInnerEndUserInfoInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.AsyncOrderCreateDTOResellerInfo.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.AsyncOrderCreateDTOShipToInfo.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.AsyncOrderCreateDTOShipmentDetails.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.AsyncOrderCreateDTOVmfadditionalAttributesInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.AsyncOrderCreateDTOWarrantyInfoInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.AsyncOrderCreateResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.AvailabilityAsyncNotificationRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.AvailabilityAsyncNotificationRequestResourceInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.AvailabilityAsyncNotificationRequestResourceInnerLinksInner.CustomTypeAdapterFactory()); @@ -128,7 +141,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.GetAccesstoken500ResponseFaultDetail.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.GetResellerV6ValidateQuote400Response.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.GetResellerV6ValidateQuote400ResponseFieldsInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.GetResellerV6ValidateQuote500Response.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetailsv61Response.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetailsv61ResponseBillToInfo.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetailsv61ResponseFxRateInfo.CustomTypeAdapterFactory()); @@ -212,8 +224,9 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderStatusAsyncNotificationRequestResourceInnerLinksInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PostQuoteToOrderV6400Response.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PostQuoteToOrderV6400ResponseFieldsInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PostCreateorderV7400Response.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PostCreateorderV7400ResponseFieldsInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PostCreateorderV7500Response.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PostRenewalssearch400Response.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityRequestAdditionalAttributesInner.CustomTypeAdapterFactory()); @@ -243,19 +256,15 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsResponseAdditionalAttributesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsResponseEndUserInfo.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsResponseProductsInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsResponseProductsInnerBillDetailsInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsResponseProductsInnerPrice.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsResponseProductsInnerPriceDiscountsInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsResponseResellerInfo.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsResponseShippingInfo.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteSearchResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteSearchResponseQuotesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteSearchResponseQuotesInnerLinks.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTO.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOAdditionalAttributesInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOEndUserInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOLinesInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOShipToInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOVmfadditionalAttributesInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsDetailsResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsDetailsResponseAdditionalAttributesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsDetailsResponseEndUserInfo.CustomTypeAdapterFactory()); @@ -284,6 +293,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ReturnsSearchResponseReturnsClaimsInnerLinksInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ValidateQuoteResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ValidateQuoteResponseLinesInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ValidateQuoteResponseVmfAdditionalAttributesInner.CustomTypeAdapterFactory()); gson = gsonBuilder.create(); } diff --git a/src/main/java/xiresellers/client/Pair.java b/src/main/java/xiresellers/client/Pair.java index 9e08afa2..d3f00dde 100644 --- a/src/main/java/xiresellers/client/Pair.java +++ b/src/main/java/xiresellers/client/Pair.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -13,7 +13,7 @@ package xiresellers.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/xiresellers/client/ProgressRequestBody.java b/src/main/java/xiresellers/client/ProgressRequestBody.java index eebd806d..1a566f1e 100644 --- a/src/main/java/xiresellers/client/ProgressRequestBody.java +++ b/src/main/java/xiresellers/client/ProgressRequestBody.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/main/java/xiresellers/client/ProgressResponseBody.java b/src/main/java/xiresellers/client/ProgressResponseBody.java index 1d8fab3b..b4f0c770 100644 --- a/src/main/java/xiresellers/client/ProgressResponseBody.java +++ b/src/main/java/xiresellers/client/ProgressResponseBody.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/main/java/xiresellers/client/ServerConfiguration.java b/src/main/java/xiresellers/client/ServerConfiguration.java index 5f1aed47..5763cb0c 100644 --- a/src/main/java/xiresellers/client/ServerConfiguration.java +++ b/src/main/java/xiresellers/client/ServerConfiguration.java @@ -5,6 +5,7 @@ /** * Representing a Server configuration. */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ServerConfiguration { public String URL; public String description; diff --git a/src/main/java/xiresellers/client/ServerVariable.java b/src/main/java/xiresellers/client/ServerVariable.java index f231caed..fa216e6b 100644 --- a/src/main/java/xiresellers/client/ServerVariable.java +++ b/src/main/java/xiresellers/client/ServerVariable.java @@ -5,6 +5,7 @@ /** * Representing a Server Variable for server URL template substitution. */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ServerVariable { public String description; public String defaultValue; diff --git a/src/main/java/xiresellers/client/StringUtil.java b/src/main/java/xiresellers/client/StringUtil.java index 2c45ffef..5930f479 100644 --- a/src/main/java/xiresellers/client/StringUtil.java +++ b/src/main/java/xiresellers/client/StringUtil.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/xiresellers/client/api/AccesstokenApi.java b/src/main/java/xiresellers/client/api/AccesstokenApi.java index 61da7968..ce1f6f50 100644 --- a/src/main/java/xiresellers/client/api/AccesstokenApi.java +++ b/src/main/java/xiresellers/client/api/AccesstokenApi.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/main/java/xiresellers/client/api/DealsApi.java b/src/main/java/xiresellers/client/api/DealsApi.java index 40ac41dd..f733a3b6 100644 --- a/src/main/java/xiresellers/client/api/DealsApi.java +++ b/src/main/java/xiresellers/client/api/DealsApi.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -29,7 +29,7 @@ import xiresellers.client.model.DealsDetailsResponse; import xiresellers.client.model.DealsSearchResponse; -import xiresellers.client.model.GetResellerV6ValidateQuote500Response; +import xiresellers.client.model.PostCreateorderV7500Response; import xiresellers.client.model.PostRenewalssearch400Response; import java.lang.reflect.Type; @@ -280,6 +280,8 @@ public okhttp3.Call getResellersV6DealsdetailsAsync(String imCustomerNumber, Str * @param endUser The end user/customer's name. (optional) * @param vendor The vendor's name. (optional) * @param dealId Deal/Special bid number. (optional) + * @param size The number of records required in the call - max records 100 per page. (optional) + * @param page The page number reference. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -291,7 +293,7 @@ public okhttp3.Call getResellersV6DealsdetailsAsync(String imCustomerNumber, Str 500 Internal Server Error - */ - public okhttp3.Call getResellersV6DealssearchCall(String imCustomerNumber, String imCountryCode, String imCorrelationID, String imSenderID, String endUser, String vendor, String dealId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getResellersV6DealssearchCall(String imCustomerNumber, String imCountryCode, String imCorrelationID, String imSenderID, String endUser, String vendor, String dealId, Integer size, Integer page, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -328,6 +330,14 @@ public okhttp3.Call getResellersV6DealssearchCall(String imCustomerNumber, Strin localVarQueryParams.addAll(localVarApiClient.parameterToPair("dealId", dealId)); } + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("Size", size)); + } + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("Page", page)); + } + if (imCustomerNumber != null) { localVarHeaderParams.put("IM-CustomerNumber", localVarApiClient.parameterToString(imCustomerNumber)); } @@ -364,7 +374,7 @@ public okhttp3.Call getResellersV6DealssearchCall(String imCustomerNumber, Strin } @SuppressWarnings("rawtypes") - private okhttp3.Call getResellersV6DealssearchValidateBeforeCall(String imCustomerNumber, String imCountryCode, String imCorrelationID, String imSenderID, String endUser, String vendor, String dealId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getResellersV6DealssearchValidateBeforeCall(String imCustomerNumber, String imCountryCode, String imCorrelationID, String imSenderID, String endUser, String vendor, String dealId, Integer size, Integer page, final ApiCallback _callback) throws ApiException { // verify the required parameter 'imCustomerNumber' is set if (imCustomerNumber == null) { throw new ApiException("Missing the required parameter 'imCustomerNumber' when calling getResellersV6Dealssearch(Async)"); @@ -380,7 +390,7 @@ private okhttp3.Call getResellersV6DealssearchValidateBeforeCall(String imCustom throw new ApiException("Missing the required parameter 'imCorrelationID' when calling getResellersV6Dealssearch(Async)"); } - return getResellersV6DealssearchCall(imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, endUser, vendor, dealId, _callback); + return getResellersV6DealssearchCall(imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, endUser, vendor, dealId, size, page, _callback); } @@ -394,6 +404,8 @@ private okhttp3.Call getResellersV6DealssearchValidateBeforeCall(String imCustom * @param endUser The end user/customer's name. (optional) * @param vendor The vendor's name. (optional) * @param dealId Deal/Special bid number. (optional) + * @param size The number of records required in the call - max records 100 per page. (optional) + * @param page The page number reference. (optional) * @return DealsSearchResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -404,8 +416,8 @@ private okhttp3.Call getResellersV6DealssearchValidateBeforeCall(String imCustom 500 Internal Server Error - */ - public DealsSearchResponse getResellersV6Dealssearch(String imCustomerNumber, String imCountryCode, String imCorrelationID, String imSenderID, String endUser, String vendor, String dealId) throws ApiException { - ApiResponse localVarResp = getResellersV6DealssearchWithHttpInfo(imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, endUser, vendor, dealId); + public DealsSearchResponse getResellersV6Dealssearch(String imCustomerNumber, String imCountryCode, String imCorrelationID, String imSenderID, String endUser, String vendor, String dealId, Integer size, Integer page) throws ApiException { + ApiResponse localVarResp = getResellersV6DealssearchWithHttpInfo(imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, endUser, vendor, dealId, size, page); return localVarResp.getData(); } @@ -419,6 +431,8 @@ public DealsSearchResponse getResellersV6Dealssearch(String imCustomerNumber, St * @param endUser The end user/customer's name. (optional) * @param vendor The vendor's name. (optional) * @param dealId Deal/Special bid number. (optional) + * @param size The number of records required in the call - max records 100 per page. (optional) + * @param page The page number reference. (optional) * @return ApiResponse<DealsSearchResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -429,8 +443,8 @@ public DealsSearchResponse getResellersV6Dealssearch(String imCustomerNumber, St 500 Internal Server Error - */ - public ApiResponse getResellersV6DealssearchWithHttpInfo(String imCustomerNumber, String imCountryCode, String imCorrelationID, String imSenderID, String endUser, String vendor, String dealId) throws ApiException { - okhttp3.Call localVarCall = getResellersV6DealssearchValidateBeforeCall(imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, endUser, vendor, dealId, null); + public ApiResponse getResellersV6DealssearchWithHttpInfo(String imCustomerNumber, String imCountryCode, String imCorrelationID, String imSenderID, String endUser, String vendor, String dealId, Integer size, Integer page) throws ApiException { + okhttp3.Call localVarCall = getResellersV6DealssearchValidateBeforeCall(imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, endUser, vendor, dealId, size, page, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -445,6 +459,8 @@ public ApiResponse getResellersV6DealssearchWithHttpInfo(St * @param endUser The end user/customer's name. (optional) * @param vendor The vendor's name. (optional) * @param dealId Deal/Special bid number. (optional) + * @param size The number of records required in the call - max records 100 per page. (optional) + * @param page The page number reference. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -456,9 +472,9 @@ public ApiResponse getResellersV6DealssearchWithHttpInfo(St 500 Internal Server Error - */ - public okhttp3.Call getResellersV6DealssearchAsync(String imCustomerNumber, String imCountryCode, String imCorrelationID, String imSenderID, String endUser, String vendor, String dealId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getResellersV6DealssearchAsync(String imCustomerNumber, String imCountryCode, String imCorrelationID, String imSenderID, String endUser, String vendor, String dealId, Integer size, Integer page, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getResellersV6DealssearchValidateBeforeCall(imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, endUser, vendor, dealId, _callback); + okhttp3.Call localVarCall = getResellersV6DealssearchValidateBeforeCall(imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, endUser, vendor, dealId, size, page, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/src/main/java/xiresellers/client/api/FreightEstimateApi.java b/src/main/java/xiresellers/client/api/FreightEstimateApi.java index b386dcca..b68861f8 100644 --- a/src/main/java/xiresellers/client/api/FreightEstimateApi.java +++ b/src/main/java/xiresellers/client/api/FreightEstimateApi.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -29,7 +29,7 @@ import xiresellers.client.model.FreightRequest; import xiresellers.client.model.FreightResponse; -import xiresellers.client.model.GetResellerV6ValidateQuote500Response; +import xiresellers.client.model.PostCreateorderV7500Response; import xiresellers.client.model.PostRenewalssearch400Response; import java.lang.reflect.Type; diff --git a/src/main/java/xiresellers/client/api/InvoicesApi.java b/src/main/java/xiresellers/client/api/InvoicesApi.java index ab22af29..efa63541 100644 --- a/src/main/java/xiresellers/client/api/InvoicesApi.java +++ b/src/main/java/xiresellers/client/api/InvoicesApi.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/main/java/xiresellers/client/api/OrderStatusApi.java b/src/main/java/xiresellers/client/api/OrderStatusApi.java index f1685555..af8556d5 100644 --- a/src/main/java/xiresellers/client/api/OrderStatusApi.java +++ b/src/main/java/xiresellers/client/api/OrderStatusApi.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/main/java/xiresellers/client/api/OrdersApi.java b/src/main/java/xiresellers/client/api/OrdersApi.java index 4406831b..0e2463c7 100644 --- a/src/main/java/xiresellers/client/api/OrdersApi.java +++ b/src/main/java/xiresellers/client/api/OrdersApi.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -27,6 +27,8 @@ import java.io.IOException; +import xiresellers.client.model.AsyncOrderCreateDTO; +import xiresellers.client.model.AsyncOrderCreateResponse; import xiresellers.client.model.ErrorResponse; import xiresellers.client.model.ErrorResponseDTO; import java.time.LocalDate; @@ -36,6 +38,8 @@ import xiresellers.client.model.OrderModifyRequest; import xiresellers.client.model.OrderModifyResponse; import xiresellers.client.model.OrderSearchResponse; +import xiresellers.client.model.PostCreateorderV7400Response; +import xiresellers.client.model.PostCreateorderV7500Response; import java.lang.reflect.Type; import java.util.ArrayList; @@ -982,6 +986,184 @@ public okhttp3.Call postCreateorderV6Async(String imCustomerNumber, String imCou localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + /** + * Build call for postCreateorderV7 + * @param imCustomerNumber Your unique Ingram Micro customer number. (required) + * @param imCountryCode Two-character ISO country code. (required) + * @param imCorrelationID Unique transaction number to identify each transaction accross all the systems. (required) + * @param asyncOrderCreateDTO (required) + * @param imSenderID Unique value used to identify the sender of the transaction. (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Success -
400 Bad Request -
500 Server Error -
+ */ + public okhttp3.Call postCreateorderV7Call(String imCustomerNumber, String imCountryCode, String imCorrelationID, AsyncOrderCreateDTO asyncOrderCreateDTO, String imSenderID, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = asyncOrderCreateDTO; + + // create path and map variables + String localVarPath = "/resellers/v7/orders"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (imCustomerNumber != null) { + localVarHeaderParams.put("IM-CustomerNumber", localVarApiClient.parameterToString(imCustomerNumber)); + } + + if (imCountryCode != null) { + localVarHeaderParams.put("IM-CountryCode", localVarApiClient.parameterToString(imCountryCode)); + } + + if (imSenderID != null) { + localVarHeaderParams.put("IM-SenderID", localVarApiClient.parameterToString(imSenderID)); + } + + if (imCorrelationID != null) { + localVarHeaderParams.put("IM-CorrelationID", localVarApiClient.parameterToString(imCorrelationID)); + } + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "application" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call postCreateorderV7ValidateBeforeCall(String imCustomerNumber, String imCountryCode, String imCorrelationID, AsyncOrderCreateDTO asyncOrderCreateDTO, String imSenderID, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'imCustomerNumber' is set + if (imCustomerNumber == null) { + throw new ApiException("Missing the required parameter 'imCustomerNumber' when calling postCreateorderV7(Async)"); + } + + // verify the required parameter 'imCountryCode' is set + if (imCountryCode == null) { + throw new ApiException("Missing the required parameter 'imCountryCode' when calling postCreateorderV7(Async)"); + } + + // verify the required parameter 'imCorrelationID' is set + if (imCorrelationID == null) { + throw new ApiException("Missing the required parameter 'imCorrelationID' when calling postCreateorderV7(Async)"); + } + + // verify the required parameter 'asyncOrderCreateDTO' is set + if (asyncOrderCreateDTO == null) { + throw new ApiException("Missing the required parameter 'asyncOrderCreateDTO' when calling postCreateorderV7(Async)"); + } + + return postCreateorderV7Call(imCustomerNumber, imCountryCode, imCorrelationID, asyncOrderCreateDTO, imSenderID, _callback); + + } + + /** + * Create your Order v7 + * This API will allow customers to perform both standard ordering and quote to order functionality via a single API enabling them to have a single endpoint to cater to all types of orders. This approach will standardize the ordering flow for customers where they will get the response for all orders on to their webhooks. It provides the much-awaited async ordering flow for Reseller API where large orders can also be placed via a single API with guaranteed delivery. + * @param imCustomerNumber Your unique Ingram Micro customer number. (required) + * @param imCountryCode Two-character ISO country code. (required) + * @param imCorrelationID Unique transaction number to identify each transaction accross all the systems. (required) + * @param asyncOrderCreateDTO (required) + * @param imSenderID Unique value used to identify the sender of the transaction. (optional) + * @return AsyncOrderCreateResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Success -
400 Bad Request -
500 Server Error -
+ */ + public AsyncOrderCreateResponse postCreateorderV7(String imCustomerNumber, String imCountryCode, String imCorrelationID, AsyncOrderCreateDTO asyncOrderCreateDTO, String imSenderID) throws ApiException { + ApiResponse localVarResp = postCreateorderV7WithHttpInfo(imCustomerNumber, imCountryCode, imCorrelationID, asyncOrderCreateDTO, imSenderID); + return localVarResp.getData(); + } + + /** + * Create your Order v7 + * This API will allow customers to perform both standard ordering and quote to order functionality via a single API enabling them to have a single endpoint to cater to all types of orders. This approach will standardize the ordering flow for customers where they will get the response for all orders on to their webhooks. It provides the much-awaited async ordering flow for Reseller API where large orders can also be placed via a single API with guaranteed delivery. + * @param imCustomerNumber Your unique Ingram Micro customer number. (required) + * @param imCountryCode Two-character ISO country code. (required) + * @param imCorrelationID Unique transaction number to identify each transaction accross all the systems. (required) + * @param asyncOrderCreateDTO (required) + * @param imSenderID Unique value used to identify the sender of the transaction. (optional) + * @return ApiResponse<AsyncOrderCreateResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Success -
400 Bad Request -
500 Server Error -
+ */ + public ApiResponse postCreateorderV7WithHttpInfo(String imCustomerNumber, String imCountryCode, String imCorrelationID, AsyncOrderCreateDTO asyncOrderCreateDTO, String imSenderID) throws ApiException { + okhttp3.Call localVarCall = postCreateorderV7ValidateBeforeCall(imCustomerNumber, imCountryCode, imCorrelationID, asyncOrderCreateDTO, imSenderID, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create your Order v7 (asynchronously) + * This API will allow customers to perform both standard ordering and quote to order functionality via a single API enabling them to have a single endpoint to cater to all types of orders. This approach will standardize the ordering flow for customers where they will get the response for all orders on to their webhooks. It provides the much-awaited async ordering flow for Reseller API where large orders can also be placed via a single API with guaranteed delivery. + * @param imCustomerNumber Your unique Ingram Micro customer number. (required) + * @param imCountryCode Two-character ISO country code. (required) + * @param imCorrelationID Unique transaction number to identify each transaction accross all the systems. (required) + * @param asyncOrderCreateDTO (required) + * @param imSenderID Unique value used to identify the sender of the transaction. (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Success -
400 Bad Request -
500 Server Error -
+ */ + public okhttp3.Call postCreateorderV7Async(String imCustomerNumber, String imCountryCode, String imCorrelationID, AsyncOrderCreateDTO asyncOrderCreateDTO, String imSenderID, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = postCreateorderV7ValidateBeforeCall(imCustomerNumber, imCountryCode, imCorrelationID, asyncOrderCreateDTO, imSenderID, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } /** * Build call for putOrdermodify * @param orderNumber Ingram sales order number. (required) diff --git a/src/main/java/xiresellers/client/api/ProductCatalogApi.java b/src/main/java/xiresellers/client/api/ProductCatalogApi.java index 020acf01..8c9f58b7 100644 --- a/src/main/java/xiresellers/client/api/ProductCatalogApi.java +++ b/src/main/java/xiresellers/client/api/ProductCatalogApi.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/main/java/xiresellers/client/api/QuoteToOrderApi.java b/src/main/java/xiresellers/client/api/QuoteToOrderApi.java deleted file mode 100644 index 25db6fa8..00000000 --- a/src/main/java/xiresellers/client/api/QuoteToOrderApi.java +++ /dev/null @@ -1,256 +0,0 @@ -/* - * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package xiresellers.client.api; - -import xiresellers.client.ApiCallback; -import xiresellers.client.ApiClient; -import xiresellers.client.ApiException; -import xiresellers.client.ApiResponse; -import xiresellers.client.Configuration; -import xiresellers.client.Pair; -import xiresellers.client.ProgressRequestBody; -import xiresellers.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import xiresellers.client.model.GetResellerV6ValidateQuote500Response; -import xiresellers.client.model.PostQuoteToOrderV6400Response; -import xiresellers.client.model.QuoteToOrderDetailsDTO; -import xiresellers.client.model.QuoteToOrderResponse; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class QuoteToOrderApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public QuoteToOrderApi() { - this(Configuration.getDefaultApiClient()); - } - - public QuoteToOrderApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for postQuoteToOrderV6 - * @param imCustomerNumber Your unique Ingram Micro customer number. (required) - * @param imCountryCode Two-character ISO country code. (required) - * @param imCorrelationID Unique transaction number to identify each transaction accross all the systems. (required) - * @param quoteToOrderDetailsDTO (required) - * @param imSenderID Unique value used to identify the sender of the transaction. (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Status Code Description Response Headers
200 Success -
400 Bad Request -
500 Server Error -
- */ - public okhttp3.Call postQuoteToOrderV6Call(String imCustomerNumber, String imCountryCode, String imCorrelationID, QuoteToOrderDetailsDTO quoteToOrderDetailsDTO, String imSenderID, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = quoteToOrderDetailsDTO; - - // create path and map variables - String localVarPath = "/resellers/v6/q2o/orders"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (imCustomerNumber != null) { - localVarHeaderParams.put("IM-CustomerNumber", localVarApiClient.parameterToString(imCustomerNumber)); - } - - if (imCountryCode != null) { - localVarHeaderParams.put("IM-CountryCode", localVarApiClient.parameterToString(imCountryCode)); - } - - if (imSenderID != null) { - localVarHeaderParams.put("IM-SenderID", localVarApiClient.parameterToString(imSenderID)); - } - - if (imCorrelationID != null) { - localVarHeaderParams.put("IM-CorrelationID", localVarApiClient.parameterToString(imCorrelationID)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "application" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call postQuoteToOrderV6ValidateBeforeCall(String imCustomerNumber, String imCountryCode, String imCorrelationID, QuoteToOrderDetailsDTO quoteToOrderDetailsDTO, String imSenderID, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'imCustomerNumber' is set - if (imCustomerNumber == null) { - throw new ApiException("Missing the required parameter 'imCustomerNumber' when calling postQuoteToOrderV6(Async)"); - } - - // verify the required parameter 'imCountryCode' is set - if (imCountryCode == null) { - throw new ApiException("Missing the required parameter 'imCountryCode' when calling postQuoteToOrderV6(Async)"); - } - - // verify the required parameter 'imCorrelationID' is set - if (imCorrelationID == null) { - throw new ApiException("Missing the required parameter 'imCorrelationID' when calling postQuoteToOrderV6(Async)"); - } - - // verify the required parameter 'quoteToOrderDetailsDTO' is set - if (quoteToOrderDetailsDTO == null) { - throw new ApiException("Missing the required parameter 'quoteToOrderDetailsDTO' when calling postQuoteToOrderV6(Async)"); - } - - return postQuoteToOrderV6Call(imCustomerNumber, imCountryCode, imCorrelationID, quoteToOrderDetailsDTO, imSenderID, _callback); - - } - - /** - * Quote To Order - * The “Quote to Order” (QTO) endpoint allows a customer to create an order using the existing quote which is in “Ready to Order” status. A customer can create an order using Configure to order (CTO) quote or a non-configure to order (Non-CTO) quote. Upon successful submission of the order create request, a confirmation message will be returned as an API response. <br > <br >Ingram Micro offers webhooks as a method to send notifications to Resellers once the order creation request is received. All the updates related to Order creation will be pushed as a notification to the customer via a pre-defined callback URL as an HTTP post. <br > <br > **Prerequisite:** Pre-defined callback URL <br > <br > Before creating an order using the quote, it’s recommended to validate the quote using the “Validate Quote” endpoint. Validate Quote endpoint will not only validate the quote but also outline all the mandatory fields required by the vendor at a header level and at the line level which a customer need to pass to the Quote To Order endpoint request. For a detailed understanding of the “Validate Quote” endpoint, review the “Validate Quote” endpoint documentation. <br ><br > **How it works:** <br ><br > - The customer validates the quote with a quote number from Validate Quote endpoint. <br > - The customer copies all the mandatory fields required by the vendor and adds them to the QTO request body. <br > - The customer provides all the values for Vendor mandatory fields along with other required information for QTO to create an order. <br > - After the order creation request receipt acknowledgment from the QTO endpoint, all further order creation updates will be provided via webhook push notification. - * @param imCustomerNumber Your unique Ingram Micro customer number. (required) - * @param imCountryCode Two-character ISO country code. (required) - * @param imCorrelationID Unique transaction number to identify each transaction accross all the systems. (required) - * @param quoteToOrderDetailsDTO (required) - * @param imSenderID Unique value used to identify the sender of the transaction. (optional) - * @return QuoteToOrderResponse - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Status Code Description Response Headers
200 Success -
400 Bad Request -
500 Server Error -
- */ - public QuoteToOrderResponse postQuoteToOrderV6(String imCustomerNumber, String imCountryCode, String imCorrelationID, QuoteToOrderDetailsDTO quoteToOrderDetailsDTO, String imSenderID) throws ApiException { - ApiResponse localVarResp = postQuoteToOrderV6WithHttpInfo(imCustomerNumber, imCountryCode, imCorrelationID, quoteToOrderDetailsDTO, imSenderID); - return localVarResp.getData(); - } - - /** - * Quote To Order - * The “Quote to Order” (QTO) endpoint allows a customer to create an order using the existing quote which is in “Ready to Order” status. A customer can create an order using Configure to order (CTO) quote or a non-configure to order (Non-CTO) quote. Upon successful submission of the order create request, a confirmation message will be returned as an API response. <br > <br >Ingram Micro offers webhooks as a method to send notifications to Resellers once the order creation request is received. All the updates related to Order creation will be pushed as a notification to the customer via a pre-defined callback URL as an HTTP post. <br > <br > **Prerequisite:** Pre-defined callback URL <br > <br > Before creating an order using the quote, it’s recommended to validate the quote using the “Validate Quote” endpoint. Validate Quote endpoint will not only validate the quote but also outline all the mandatory fields required by the vendor at a header level and at the line level which a customer need to pass to the Quote To Order endpoint request. For a detailed understanding of the “Validate Quote” endpoint, review the “Validate Quote” endpoint documentation. <br ><br > **How it works:** <br ><br > - The customer validates the quote with a quote number from Validate Quote endpoint. <br > - The customer copies all the mandatory fields required by the vendor and adds them to the QTO request body. <br > - The customer provides all the values for Vendor mandatory fields along with other required information for QTO to create an order. <br > - After the order creation request receipt acknowledgment from the QTO endpoint, all further order creation updates will be provided via webhook push notification. - * @param imCustomerNumber Your unique Ingram Micro customer number. (required) - * @param imCountryCode Two-character ISO country code. (required) - * @param imCorrelationID Unique transaction number to identify each transaction accross all the systems. (required) - * @param quoteToOrderDetailsDTO (required) - * @param imSenderID Unique value used to identify the sender of the transaction. (optional) - * @return ApiResponse<QuoteToOrderResponse> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Status Code Description Response Headers
200 Success -
400 Bad Request -
500 Server Error -
- */ - public ApiResponse postQuoteToOrderV6WithHttpInfo(String imCustomerNumber, String imCountryCode, String imCorrelationID, QuoteToOrderDetailsDTO quoteToOrderDetailsDTO, String imSenderID) throws ApiException { - okhttp3.Call localVarCall = postQuoteToOrderV6ValidateBeforeCall(imCustomerNumber, imCountryCode, imCorrelationID, quoteToOrderDetailsDTO, imSenderID, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Quote To Order (asynchronously) - * The “Quote to Order” (QTO) endpoint allows a customer to create an order using the existing quote which is in “Ready to Order” status. A customer can create an order using Configure to order (CTO) quote or a non-configure to order (Non-CTO) quote. Upon successful submission of the order create request, a confirmation message will be returned as an API response. <br > <br >Ingram Micro offers webhooks as a method to send notifications to Resellers once the order creation request is received. All the updates related to Order creation will be pushed as a notification to the customer via a pre-defined callback URL as an HTTP post. <br > <br > **Prerequisite:** Pre-defined callback URL <br > <br > Before creating an order using the quote, it’s recommended to validate the quote using the “Validate Quote” endpoint. Validate Quote endpoint will not only validate the quote but also outline all the mandatory fields required by the vendor at a header level and at the line level which a customer need to pass to the Quote To Order endpoint request. For a detailed understanding of the “Validate Quote” endpoint, review the “Validate Quote” endpoint documentation. <br ><br > **How it works:** <br ><br > - The customer validates the quote with a quote number from Validate Quote endpoint. <br > - The customer copies all the mandatory fields required by the vendor and adds them to the QTO request body. <br > - The customer provides all the values for Vendor mandatory fields along with other required information for QTO to create an order. <br > - After the order creation request receipt acknowledgment from the QTO endpoint, all further order creation updates will be provided via webhook push notification. - * @param imCustomerNumber Your unique Ingram Micro customer number. (required) - * @param imCountryCode Two-character ISO country code. (required) - * @param imCorrelationID Unique transaction number to identify each transaction accross all the systems. (required) - * @param quoteToOrderDetailsDTO (required) - * @param imSenderID Unique value used to identify the sender of the transaction. (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Status Code Description Response Headers
200 Success -
400 Bad Request -
500 Server Error -
- */ - public okhttp3.Call postQuoteToOrderV6Async(String imCustomerNumber, String imCountryCode, String imCorrelationID, QuoteToOrderDetailsDTO quoteToOrderDetailsDTO, String imSenderID, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = postQuoteToOrderV6ValidateBeforeCall(imCustomerNumber, imCountryCode, imCorrelationID, quoteToOrderDetailsDTO, imSenderID, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/xiresellers/client/api/QuotesApi.java b/src/main/java/xiresellers/client/api/QuotesApi.java index e7451780..5268a431 100644 --- a/src/main/java/xiresellers/client/api/QuotesApi.java +++ b/src/main/java/xiresellers/client/api/QuotesApi.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -29,7 +29,7 @@ import xiresellers.client.model.ErrorResponse; import xiresellers.client.model.GetResellerV6ValidateQuote400Response; -import xiresellers.client.model.GetResellerV6ValidateQuote500Response; +import xiresellers.client.model.PostCreateorderV7500Response; import xiresellers.client.model.QuoteDetailsResponse; import xiresellers.client.model.QuoteSearchResponse; import xiresellers.client.model.ValidateQuoteResponse; diff --git a/src/main/java/xiresellers/client/api/RenewalsApi.java b/src/main/java/xiresellers/client/api/RenewalsApi.java index 9242fad3..cb713ac0 100644 --- a/src/main/java/xiresellers/client/api/RenewalsApi.java +++ b/src/main/java/xiresellers/client/api/RenewalsApi.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -27,7 +27,7 @@ import java.io.IOException; -import xiresellers.client.model.GetResellerV6ValidateQuote500Response; +import xiresellers.client.model.PostCreateorderV7500Response; import xiresellers.client.model.PostRenewalssearch400Response; import xiresellers.client.model.RenewalsDetailsResponse; import xiresellers.client.model.RenewalsSearchRequest; diff --git a/src/main/java/xiresellers/client/api/ReturnsApi.java b/src/main/java/xiresellers/client/api/ReturnsApi.java index 9f46cb7e..30cb3e95 100644 --- a/src/main/java/xiresellers/client/api/ReturnsApi.java +++ b/src/main/java/xiresellers/client/api/ReturnsApi.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -27,7 +27,7 @@ import java.io.IOException; -import xiresellers.client.model.GetResellerV6ValidateQuote500Response; +import xiresellers.client.model.PostCreateorderV7500Response; import xiresellers.client.model.PostRenewalssearch400Response; import xiresellers.client.model.ReturnsCreateRequest; import xiresellers.client.model.ReturnsCreateResponse; diff --git a/src/main/java/xiresellers/client/api/StockUpdateApi.java b/src/main/java/xiresellers/client/api/StockUpdateApi.java index 79aaa612..2e2f581a 100644 --- a/src/main/java/xiresellers/client/api/StockUpdateApi.java +++ b/src/main/java/xiresellers/client/api/StockUpdateApi.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/main/java/xiresellers/client/auth/ApiKeyAuth.java b/src/main/java/xiresellers/client/auth/ApiKeyAuth.java index 7f1bc9ac..c9091251 100644 --- a/src/main/java/xiresellers/client/auth/ApiKeyAuth.java +++ b/src/main/java/xiresellers/client/auth/ApiKeyAuth.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/xiresellers/client/auth/Authentication.java b/src/main/java/xiresellers/client/auth/Authentication.java index 56dcd66e..f26f0c0f 100644 --- a/src/main/java/xiresellers/client/auth/Authentication.java +++ b/src/main/java/xiresellers/client/auth/Authentication.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/main/java/xiresellers/client/auth/HttpBasicAuth.java b/src/main/java/xiresellers/client/auth/HttpBasicAuth.java index 096c9f24..38d592b9 100644 --- a/src/main/java/xiresellers/client/auth/HttpBasicAuth.java +++ b/src/main/java/xiresellers/client/auth/HttpBasicAuth.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/main/java/xiresellers/client/auth/HttpBearerAuth.java b/src/main/java/xiresellers/client/auth/HttpBearerAuth.java index ab817e21..f2e1087d 100644 --- a/src/main/java/xiresellers/client/auth/HttpBearerAuth.java +++ b/src/main/java/xiresellers/client/auth/HttpBearerAuth.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -22,7 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/src/main/java/xiresellers/client/auth/OAuth.java b/src/main/java/xiresellers/client/auth/OAuth.java index 78ec48f3..95d8536c 100644 --- a/src/main/java/xiresellers/client/auth/OAuth.java +++ b/src/main/java/xiresellers/client/auth/OAuth.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OAuth implements Authentication { private String accessToken; diff --git a/src/main/java/xiresellers/client/auth/OAuthFlow.java b/src/main/java/xiresellers/client/auth/OAuthFlow.java index 6080cc80..e445edff 100644 --- a/src/main/java/xiresellers/client/auth/OAuthFlow.java +++ b/src/main/java/xiresellers/client/auth/OAuthFlow.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -16,7 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public enum OAuthFlow { ACCESS_CODE, //called authorizationCode in OpenAPI 3.0 IMPLICIT, diff --git a/src/main/java/xiresellers/client/model/AbstractOpenApiSchema.java b/src/main/java/xiresellers/client/model/AbstractOpenApiSchema.java index b04ebe0c..63807a0a 100644 --- a/src/main/java/xiresellers/client/model/AbstractOpenApiSchema.java +++ b/src/main/java/xiresellers/client/model/AbstractOpenApiSchema.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -21,7 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/xiresellers/client/model/AccesstokenResponse.java b/src/main/java/xiresellers/client/model/AccesstokenResponse.java index 35d685de..2d434ef9 100644 --- a/src/main/java/xiresellers/client/model/AccesstokenResponse.java +++ b/src/main/java/xiresellers/client/model/AccesstokenResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * AccesstokenResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class AccesstokenResponse { public static final String SERIALIZED_NAME_ACCESS_TOKEN = "access_token"; @SerializedName(SERIALIZED_NAME_ACCESS_TOKEN) diff --git a/src/main/java/xiresellers/client/model/AsyncOrderCreateDTO.java b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTO.java new file mode 100644 index 00000000..d7e039ca --- /dev/null +++ b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTO.java @@ -0,0 +1,769 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import xiresellers.client.model.AsyncOrderCreateDTOAdditionalAttributesInner; +import xiresellers.client.model.AsyncOrderCreateDTOEndUserInfo; +import xiresellers.client.model.AsyncOrderCreateDTOLinesInner; +import xiresellers.client.model.AsyncOrderCreateDTOResellerInfo; +import xiresellers.client.model.AsyncOrderCreateDTOShipToInfo; +import xiresellers.client.model.AsyncOrderCreateDTOShipmentDetails; +import xiresellers.client.model.AsyncOrderCreateDTOVmfadditionalAttributesInner; +import xiresellers.client.model.AsyncOrderCreateDTOWarrantyInfoInner; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import xiresellers.client.JSON; + +/** + * AsyncOrderCreateDTO + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class AsyncOrderCreateDTO { + public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; + @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) + private String quoteNumber; + + public static final String SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER = "customerOrderNumber"; + @SerializedName(SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER) + private String customerOrderNumber; + + public static final String SERIALIZED_NAME_END_CUSTOMER_ORDER_NUMBER = "endCustomerOrderNumber"; + @SerializedName(SERIALIZED_NAME_END_CUSTOMER_ORDER_NUMBER) + private String endCustomerOrderNumber; + + public static final String SERIALIZED_NAME_NOTES = "notes"; + @SerializedName(SERIALIZED_NAME_NOTES) + private String notes; + + public static final String SERIALIZED_NAME_BILL_TO_ADDRESS_ID = "billToAddressId"; + @SerializedName(SERIALIZED_NAME_BILL_TO_ADDRESS_ID) + private String billToAddressId; + + public static final String SERIALIZED_NAME_SPECIAL_BID_NUMBER = "specialBidNumber"; + @SerializedName(SERIALIZED_NAME_SPECIAL_BID_NUMBER) + private String specialBidNumber; + + public static final String SERIALIZED_NAME_INTERNAL_COMMENTS = "internalComments"; + @SerializedName(SERIALIZED_NAME_INTERNAL_COMMENTS) + private String internalComments; + + public static final String SERIALIZED_NAME_ACCEPT_BACK_ORDER = "acceptBackOrder"; + @SerializedName(SERIALIZED_NAME_ACCEPT_BACK_ORDER) + private Boolean acceptBackOrder; + + public static final String SERIALIZED_NAME_VEND_AUTH_NUMBER = "vendAuthNumber"; + @SerializedName(SERIALIZED_NAME_VEND_AUTH_NUMBER) + private String vendAuthNumber; + + public static final String SERIALIZED_NAME_RESELLER_INFO = "resellerInfo"; + @SerializedName(SERIALIZED_NAME_RESELLER_INFO) + private AsyncOrderCreateDTOResellerInfo resellerInfo; + + public static final String SERIALIZED_NAME_END_USER_INFO = "endUserInfo"; + @SerializedName(SERIALIZED_NAME_END_USER_INFO) + private AsyncOrderCreateDTOEndUserInfo endUserInfo; + + public static final String SERIALIZED_NAME_SHIP_TO_INFO = "shipToInfo"; + @SerializedName(SERIALIZED_NAME_SHIP_TO_INFO) + private AsyncOrderCreateDTOShipToInfo shipToInfo; + + public static final String SERIALIZED_NAME_SHIPMENT_DETAILS = "shipmentDetails"; + @SerializedName(SERIALIZED_NAME_SHIPMENT_DETAILS) + private AsyncOrderCreateDTOShipmentDetails shipmentDetails; + + public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; + @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) + private List additionalAttributes = new ArrayList<>(); + + public static final String SERIALIZED_NAME_VMFADDITIONAL_ATTRIBUTES = "vmfadditionalAttributes"; + @SerializedName(SERIALIZED_NAME_VMFADDITIONAL_ATTRIBUTES) + private List vmfadditionalAttributes = new ArrayList<>(); + + public static final String SERIALIZED_NAME_LINES = "lines"; + @SerializedName(SERIALIZED_NAME_LINES) + private List lines = new ArrayList<>(); + + public static final String SERIALIZED_NAME_WARRANTY_INFO = "warrantyInfo"; + @SerializedName(SERIALIZED_NAME_WARRANTY_INFO) + private List warrantyInfo = new ArrayList<>(); + + public AsyncOrderCreateDTO() { + } + + public AsyncOrderCreateDTO quoteNumber(String quoteNumber) { + this.quoteNumber = quoteNumber; + return this; + } + + /** + * A unique identifier generated by Ingram Micro's CRM specific to each quote. + * @return quoteNumber + **/ + @javax.annotation.Nullable + public String getQuoteNumber() { + return quoteNumber; + } + + public void setQuoteNumber(String quoteNumber) { + this.quoteNumber = quoteNumber; + } + + + public AsyncOrderCreateDTO customerOrderNumber(String customerOrderNumber) { + this.customerOrderNumber = customerOrderNumber; + return this; + } + + /** + * The reseller's order number for reference in their system. + * @return customerOrderNumber + **/ + @javax.annotation.Nullable + public String getCustomerOrderNumber() { + return customerOrderNumber; + } + + public void setCustomerOrderNumber(String customerOrderNumber) { + this.customerOrderNumber = customerOrderNumber; + } + + + public AsyncOrderCreateDTO endCustomerOrderNumber(String endCustomerOrderNumber) { + this.endCustomerOrderNumber = endCustomerOrderNumber; + return this; + } + + /** + * The end customer's order number for reference in their system. + * @return endCustomerOrderNumber + **/ + @javax.annotation.Nullable + public String getEndCustomerOrderNumber() { + return endCustomerOrderNumber; + } + + public void setEndCustomerOrderNumber(String endCustomerOrderNumber) { + this.endCustomerOrderNumber = endCustomerOrderNumber; + } + + + public AsyncOrderCreateDTO notes(String notes) { + this.notes = notes; + return this; + } + + /** + * Order header level notes. + * @return notes + **/ + @javax.annotation.Nullable + public String getNotes() { + return notes; + } + + public void setNotes(String notes) { + this.notes = notes; + } + + + public AsyncOrderCreateDTO billToAddressId(String billToAddressId) { + this.billToAddressId = billToAddressId; + return this; + } + + /** + * Suffix used to identify billing address. Created during onboarding. Resellers are provided with one or more address IDs depending on how many bill to addresses they need for various flooring companies they are using for credit. + * @return billToAddressId + **/ + @javax.annotation.Nullable + public String getBillToAddressId() { + return billToAddressId; + } + + public void setBillToAddressId(String billToAddressId) { + this.billToAddressId = billToAddressId; + } + + + public AsyncOrderCreateDTO specialBidNumber(String specialBidNumber) { + this.specialBidNumber = specialBidNumber; + return this; + } + + /** + * The bid number is provided to the reseller by the vendor for special pricing and discounts. Line-level bid numbers take precedence over header-level bid numbers. + * @return specialBidNumber + **/ + @javax.annotation.Nullable + public String getSpecialBidNumber() { + return specialBidNumber; + } + + public void setSpecialBidNumber(String specialBidNumber) { + this.specialBidNumber = specialBidNumber; + } + + + public AsyncOrderCreateDTO internalComments(String internalComments) { + this.internalComments = internalComments; + return this; + } + + /** + * need to replace with actual description + * @return internalComments + **/ + @javax.annotation.Nullable + public String getInternalComments() { + return internalComments; + } + + public void setInternalComments(String internalComments) { + this.internalComments = internalComments; + } + + + public AsyncOrderCreateDTO acceptBackOrder(Boolean acceptBackOrder) { + this.acceptBackOrder = acceptBackOrder; + return this; + } + + /** + * ENUM [\"true\",\"false\"] - accept order if this item is backordered. This field along with shipComplete field decides the value of backorderflag. The value of this field is ignored when shipComplete field is present. + * @return acceptBackOrder + **/ + @javax.annotation.Nullable + public Boolean getAcceptBackOrder() { + return acceptBackOrder; + } + + public void setAcceptBackOrder(Boolean acceptBackOrder) { + this.acceptBackOrder = acceptBackOrder; + } + + + public AsyncOrderCreateDTO vendAuthNumber(String vendAuthNumber) { + this.vendAuthNumber = vendAuthNumber; + return this; + } + + /** + * Authorization number provided by vendor to Ingram's reseller. Orders will be placed on hold without this value, vendor specific mandatory field - please reach out Ingram Sales team for list of vendor for whom this is mandatory. + * @return vendAuthNumber + **/ + @javax.annotation.Nullable + public String getVendAuthNumber() { + return vendAuthNumber; + } + + public void setVendAuthNumber(String vendAuthNumber) { + this.vendAuthNumber = vendAuthNumber; + } + + + public AsyncOrderCreateDTO resellerInfo(AsyncOrderCreateDTOResellerInfo resellerInfo) { + this.resellerInfo = resellerInfo; + return this; + } + + /** + * Get resellerInfo + * @return resellerInfo + **/ + @javax.annotation.Nullable + public AsyncOrderCreateDTOResellerInfo getResellerInfo() { + return resellerInfo; + } + + public void setResellerInfo(AsyncOrderCreateDTOResellerInfo resellerInfo) { + this.resellerInfo = resellerInfo; + } + + + public AsyncOrderCreateDTO endUserInfo(AsyncOrderCreateDTOEndUserInfo endUserInfo) { + this.endUserInfo = endUserInfo; + return this; + } + + /** + * Get endUserInfo + * @return endUserInfo + **/ + @javax.annotation.Nullable + public AsyncOrderCreateDTOEndUserInfo getEndUserInfo() { + return endUserInfo; + } + + public void setEndUserInfo(AsyncOrderCreateDTOEndUserInfo endUserInfo) { + this.endUserInfo = endUserInfo; + } + + + public AsyncOrderCreateDTO shipToInfo(AsyncOrderCreateDTOShipToInfo shipToInfo) { + this.shipToInfo = shipToInfo; + return this; + } + + /** + * Get shipToInfo + * @return shipToInfo + **/ + @javax.annotation.Nullable + public AsyncOrderCreateDTOShipToInfo getShipToInfo() { + return shipToInfo; + } + + public void setShipToInfo(AsyncOrderCreateDTOShipToInfo shipToInfo) { + this.shipToInfo = shipToInfo; + } + + + public AsyncOrderCreateDTO shipmentDetails(AsyncOrderCreateDTOShipmentDetails shipmentDetails) { + this.shipmentDetails = shipmentDetails; + return this; + } + + /** + * Get shipmentDetails + * @return shipmentDetails + **/ + @javax.annotation.Nullable + public AsyncOrderCreateDTOShipmentDetails getShipmentDetails() { + return shipmentDetails; + } + + public void setShipmentDetails(AsyncOrderCreateDTOShipmentDetails shipmentDetails) { + this.shipmentDetails = shipmentDetails; + } + + + public AsyncOrderCreateDTO additionalAttributes(List additionalAttributes) { + this.additionalAttributes = additionalAttributes; + return this; + } + + public AsyncOrderCreateDTO addAdditionalAttributesItem(AsyncOrderCreateDTOAdditionalAttributesInner additionalAttributesItem) { + if (this.additionalAttributes == null) { + this.additionalAttributes = new ArrayList<>(); + } + this.additionalAttributes.add(additionalAttributesItem); + return this; + } + + /** + * Additional order create attributes. + * @return additionalAttributes + **/ + @javax.annotation.Nullable + public List getAdditionalAttributes() { + return additionalAttributes; + } + + public void setAdditionalAttributes(List additionalAttributes) { + this.additionalAttributes = additionalAttributes; + } + + + public AsyncOrderCreateDTO vmfadditionalAttributes(List vmfadditionalAttributes) { + this.vmfadditionalAttributes = vmfadditionalAttributes; + return this; + } + + public AsyncOrderCreateDTO addVmfadditionalAttributesItem(AsyncOrderCreateDTOVmfadditionalAttributesInner vmfadditionalAttributesItem) { + if (this.vmfadditionalAttributes == null) { + this.vmfadditionalAttributes = new ArrayList<>(); + } + this.vmfadditionalAttributes.add(vmfadditionalAttributesItem); + return this; + } + + /** + * The object containing the list of fields required at a header level by the vendor. + * @return vmfadditionalAttributes + **/ + @javax.annotation.Nullable + public List getVmfadditionalAttributes() { + return vmfadditionalAttributes; + } + + public void setVmfadditionalAttributes(List vmfadditionalAttributes) { + this.vmfadditionalAttributes = vmfadditionalAttributes; + } + + + public AsyncOrderCreateDTO lines(List lines) { + this.lines = lines; + return this; + } + + public AsyncOrderCreateDTO addLinesItem(AsyncOrderCreateDTOLinesInner linesItem) { + if (this.lines == null) { + this.lines = new ArrayList<>(); + } + this.lines.add(linesItem); + return this; + } + + /** + * The object containing the lines that require vendor mandatory fields. + * @return lines + **/ + @javax.annotation.Nullable + public List getLines() { + return lines; + } + + public void setLines(List lines) { + this.lines = lines; + } + + + public AsyncOrderCreateDTO warrantyInfo(List warrantyInfo) { + this.warrantyInfo = warrantyInfo; + return this; + } + + public AsyncOrderCreateDTO addWarrantyInfoItem(AsyncOrderCreateDTOWarrantyInfoInner warrantyInfoItem) { + if (this.warrantyInfo == null) { + this.warrantyInfo = new ArrayList<>(); + } + this.warrantyInfo.add(warrantyInfoItem); + return this; + } + + /** + * Warranty Information + * @return warrantyInfo + **/ + @javax.annotation.Nullable + public List getWarrantyInfo() { + return warrantyInfo; + } + + public void setWarrantyInfo(List warrantyInfo) { + this.warrantyInfo = warrantyInfo; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AsyncOrderCreateDTO asyncOrderCreateDTO = (AsyncOrderCreateDTO) o; + return Objects.equals(this.quoteNumber, asyncOrderCreateDTO.quoteNumber) && + Objects.equals(this.customerOrderNumber, asyncOrderCreateDTO.customerOrderNumber) && + Objects.equals(this.endCustomerOrderNumber, asyncOrderCreateDTO.endCustomerOrderNumber) && + Objects.equals(this.notes, asyncOrderCreateDTO.notes) && + Objects.equals(this.billToAddressId, asyncOrderCreateDTO.billToAddressId) && + Objects.equals(this.specialBidNumber, asyncOrderCreateDTO.specialBidNumber) && + Objects.equals(this.internalComments, asyncOrderCreateDTO.internalComments) && + Objects.equals(this.acceptBackOrder, asyncOrderCreateDTO.acceptBackOrder) && + Objects.equals(this.vendAuthNumber, asyncOrderCreateDTO.vendAuthNumber) && + Objects.equals(this.resellerInfo, asyncOrderCreateDTO.resellerInfo) && + Objects.equals(this.endUserInfo, asyncOrderCreateDTO.endUserInfo) && + Objects.equals(this.shipToInfo, asyncOrderCreateDTO.shipToInfo) && + Objects.equals(this.shipmentDetails, asyncOrderCreateDTO.shipmentDetails) && + Objects.equals(this.additionalAttributes, asyncOrderCreateDTO.additionalAttributes) && + Objects.equals(this.vmfadditionalAttributes, asyncOrderCreateDTO.vmfadditionalAttributes) && + Objects.equals(this.lines, asyncOrderCreateDTO.lines) && + Objects.equals(this.warrantyInfo, asyncOrderCreateDTO.warrantyInfo); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(quoteNumber, customerOrderNumber, endCustomerOrderNumber, notes, billToAddressId, specialBidNumber, internalComments, acceptBackOrder, vendAuthNumber, resellerInfo, endUserInfo, shipToInfo, shipmentDetails, additionalAttributes, vmfadditionalAttributes, lines, warrantyInfo); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AsyncOrderCreateDTO {\n"); + sb.append(" quoteNumber: ").append(toIndentedString(quoteNumber)).append("\n"); + sb.append(" customerOrderNumber: ").append(toIndentedString(customerOrderNumber)).append("\n"); + sb.append(" endCustomerOrderNumber: ").append(toIndentedString(endCustomerOrderNumber)).append("\n"); + sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); + sb.append(" billToAddressId: ").append(toIndentedString(billToAddressId)).append("\n"); + sb.append(" specialBidNumber: ").append(toIndentedString(specialBidNumber)).append("\n"); + sb.append(" internalComments: ").append(toIndentedString(internalComments)).append("\n"); + sb.append(" acceptBackOrder: ").append(toIndentedString(acceptBackOrder)).append("\n"); + sb.append(" vendAuthNumber: ").append(toIndentedString(vendAuthNumber)).append("\n"); + sb.append(" resellerInfo: ").append(toIndentedString(resellerInfo)).append("\n"); + sb.append(" endUserInfo: ").append(toIndentedString(endUserInfo)).append("\n"); + sb.append(" shipToInfo: ").append(toIndentedString(shipToInfo)).append("\n"); + sb.append(" shipmentDetails: ").append(toIndentedString(shipmentDetails)).append("\n"); + sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); + sb.append(" vmfadditionalAttributes: ").append(toIndentedString(vmfadditionalAttributes)).append("\n"); + sb.append(" lines: ").append(toIndentedString(lines)).append("\n"); + sb.append(" warrantyInfo: ").append(toIndentedString(warrantyInfo)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("quoteNumber"); + openapiFields.add("customerOrderNumber"); + openapiFields.add("endCustomerOrderNumber"); + openapiFields.add("notes"); + openapiFields.add("billToAddressId"); + openapiFields.add("specialBidNumber"); + openapiFields.add("internalComments"); + openapiFields.add("acceptBackOrder"); + openapiFields.add("vendAuthNumber"); + openapiFields.add("resellerInfo"); + openapiFields.add("endUserInfo"); + openapiFields.add("shipToInfo"); + openapiFields.add("shipmentDetails"); + openapiFields.add("additionalAttributes"); + openapiFields.add("vmfadditionalAttributes"); + openapiFields.add("lines"); + openapiFields.add("warrantyInfo"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AsyncOrderCreateDTO + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AsyncOrderCreateDTO.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AsyncOrderCreateDTO is not found in the empty JSON string", AsyncOrderCreateDTO.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!AsyncOrderCreateDTO.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AsyncOrderCreateDTO` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("quoteNumber") != null && !jsonObj.get("quoteNumber").isJsonNull()) && !jsonObj.get("quoteNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `quoteNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quoteNumber").toString())); + } + if ((jsonObj.get("customerOrderNumber") != null && !jsonObj.get("customerOrderNumber").isJsonNull()) && !jsonObj.get("customerOrderNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `customerOrderNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerOrderNumber").toString())); + } + if ((jsonObj.get("endCustomerOrderNumber") != null && !jsonObj.get("endCustomerOrderNumber").isJsonNull()) && !jsonObj.get("endCustomerOrderNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `endCustomerOrderNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endCustomerOrderNumber").toString())); + } + if ((jsonObj.get("notes") != null && !jsonObj.get("notes").isJsonNull()) && !jsonObj.get("notes").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `notes` to be a primitive type in the JSON string but got `%s`", jsonObj.get("notes").toString())); + } + if ((jsonObj.get("billToAddressId") != null && !jsonObj.get("billToAddressId").isJsonNull()) && !jsonObj.get("billToAddressId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `billToAddressId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("billToAddressId").toString())); + } + if ((jsonObj.get("specialBidNumber") != null && !jsonObj.get("specialBidNumber").isJsonNull()) && !jsonObj.get("specialBidNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `specialBidNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("specialBidNumber").toString())); + } + if ((jsonObj.get("internalComments") != null && !jsonObj.get("internalComments").isJsonNull()) && !jsonObj.get("internalComments").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `internalComments` to be a primitive type in the JSON string but got `%s`", jsonObj.get("internalComments").toString())); + } + if ((jsonObj.get("vendAuthNumber") != null && !jsonObj.get("vendAuthNumber").isJsonNull()) && !jsonObj.get("vendAuthNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `vendAuthNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendAuthNumber").toString())); + } + // validate the optional field `resellerInfo` + if (jsonObj.get("resellerInfo") != null && !jsonObj.get("resellerInfo").isJsonNull()) { + AsyncOrderCreateDTOResellerInfo.validateJsonElement(jsonObj.get("resellerInfo")); + } + // validate the optional field `endUserInfo` + if (jsonObj.get("endUserInfo") != null && !jsonObj.get("endUserInfo").isJsonNull()) { + AsyncOrderCreateDTOEndUserInfo.validateJsonElement(jsonObj.get("endUserInfo")); + } + // validate the optional field `shipToInfo` + if (jsonObj.get("shipToInfo") != null && !jsonObj.get("shipToInfo").isJsonNull()) { + AsyncOrderCreateDTOShipToInfo.validateJsonElement(jsonObj.get("shipToInfo")); + } + // validate the optional field `shipmentDetails` + if (jsonObj.get("shipmentDetails") != null && !jsonObj.get("shipmentDetails").isJsonNull()) { + AsyncOrderCreateDTOShipmentDetails.validateJsonElement(jsonObj.get("shipmentDetails")); + } + if (jsonObj.get("additionalAttributes") != null && !jsonObj.get("additionalAttributes").isJsonNull()) { + JsonArray jsonArrayadditionalAttributes = jsonObj.getAsJsonArray("additionalAttributes"); + if (jsonArrayadditionalAttributes != null) { + // ensure the json data is an array + if (!jsonObj.get("additionalAttributes").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `additionalAttributes` to be an array in the JSON string but got `%s`", jsonObj.get("additionalAttributes").toString())); + } + + // validate the optional field `additionalAttributes` (array) + for (int i = 0; i < jsonArrayadditionalAttributes.size(); i++) { + AsyncOrderCreateDTOAdditionalAttributesInner.validateJsonElement(jsonArrayadditionalAttributes.get(i)); + }; + } + } + if (jsonObj.get("vmfadditionalAttributes") != null && !jsonObj.get("vmfadditionalAttributes").isJsonNull()) { + JsonArray jsonArrayvmfadditionalAttributes = jsonObj.getAsJsonArray("vmfadditionalAttributes"); + if (jsonArrayvmfadditionalAttributes != null) { + // ensure the json data is an array + if (!jsonObj.get("vmfadditionalAttributes").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `vmfadditionalAttributes` to be an array in the JSON string but got `%s`", jsonObj.get("vmfadditionalAttributes").toString())); + } + + // validate the optional field `vmfadditionalAttributes` (array) + for (int i = 0; i < jsonArrayvmfadditionalAttributes.size(); i++) { + AsyncOrderCreateDTOVmfadditionalAttributesInner.validateJsonElement(jsonArrayvmfadditionalAttributes.get(i)); + }; + } + } + if (jsonObj.get("lines") != null && !jsonObj.get("lines").isJsonNull()) { + JsonArray jsonArraylines = jsonObj.getAsJsonArray("lines"); + if (jsonArraylines != null) { + // ensure the json data is an array + if (!jsonObj.get("lines").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `lines` to be an array in the JSON string but got `%s`", jsonObj.get("lines").toString())); + } + + // validate the optional field `lines` (array) + for (int i = 0; i < jsonArraylines.size(); i++) { + AsyncOrderCreateDTOLinesInner.validateJsonElement(jsonArraylines.get(i)); + }; + } + } + if (jsonObj.get("warrantyInfo") != null && !jsonObj.get("warrantyInfo").isJsonNull()) { + JsonArray jsonArraywarrantyInfo = jsonObj.getAsJsonArray("warrantyInfo"); + if (jsonArraywarrantyInfo != null) { + // ensure the json data is an array + if (!jsonObj.get("warrantyInfo").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `warrantyInfo` to be an array in the JSON string but got `%s`", jsonObj.get("warrantyInfo").toString())); + } + + // validate the optional field `warrantyInfo` (array) + for (int i = 0; i < jsonArraywarrantyInfo.size(); i++) { + AsyncOrderCreateDTOWarrantyInfoInner.validateJsonElement(jsonArraywarrantyInfo.get(i)); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AsyncOrderCreateDTO.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AsyncOrderCreateDTO' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AsyncOrderCreateDTO.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AsyncOrderCreateDTO value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AsyncOrderCreateDTO read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AsyncOrderCreateDTO given an JSON string + * + * @param jsonString JSON string + * @return An instance of AsyncOrderCreateDTO + * @throws IOException if the JSON string is invalid with respect to AsyncOrderCreateDTO + */ + public static AsyncOrderCreateDTO fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AsyncOrderCreateDTO.class); + } + + /** + * Convert an instance of AsyncOrderCreateDTO to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOAdditionalAttributesInner.java new file mode 100644 index 00000000..da340957 --- /dev/null +++ b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOAdditionalAttributesInner.java @@ -0,0 +1,235 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import xiresellers.client.JSON; + +/** + * AsyncOrderCreateDTOAdditionalAttributesInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class AsyncOrderCreateDTOAdditionalAttributesInner { + public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; + @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) + private String attributeName; + + public static final String SERIALIZED_NAME_ATTRIBUTE_VALUE = "attributeValue"; + @SerializedName(SERIALIZED_NAME_ATTRIBUTE_VALUE) + private String attributeValue; + + public AsyncOrderCreateDTOAdditionalAttributesInner() { + } + + public AsyncOrderCreateDTOAdditionalAttributesInner attributeName(String attributeName) { + this.attributeName = attributeName; + return this; + } + + /** + * The attribute name. allowDuplicateCustomerOrderNumber: Allow orders with duplicate customer PO numbers. Enables resellers to have the same PO number for multiple orders. enableCommentsAsLines: It will enable comments as lines. + * @return attributeName + **/ + @javax.annotation.Nullable + public String getAttributeName() { + return attributeName; + } + + public void setAttributeName(String attributeName) { + this.attributeName = attributeName; + } + + + public AsyncOrderCreateDTOAdditionalAttributesInner attributeValue(String attributeValue) { + this.attributeValue = attributeValue; + return this; + } + + /** + * The attribute field data. + * @return attributeValue + **/ + @javax.annotation.Nullable + public String getAttributeValue() { + return attributeValue; + } + + public void setAttributeValue(String attributeValue) { + this.attributeValue = attributeValue; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AsyncOrderCreateDTOAdditionalAttributesInner asyncOrderCreateDTOAdditionalAttributesInner = (AsyncOrderCreateDTOAdditionalAttributesInner) o; + return Objects.equals(this.attributeName, asyncOrderCreateDTOAdditionalAttributesInner.attributeName) && + Objects.equals(this.attributeValue, asyncOrderCreateDTOAdditionalAttributesInner.attributeValue); + } + + @Override + public int hashCode() { + return Objects.hash(attributeName, attributeValue); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AsyncOrderCreateDTOAdditionalAttributesInner {\n"); + sb.append(" attributeName: ").append(toIndentedString(attributeName)).append("\n"); + sb.append(" attributeValue: ").append(toIndentedString(attributeValue)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("attributeName"); + openapiFields.add("attributeValue"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AsyncOrderCreateDTOAdditionalAttributesInner + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AsyncOrderCreateDTOAdditionalAttributesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AsyncOrderCreateDTOAdditionalAttributesInner is not found in the empty JSON string", AsyncOrderCreateDTOAdditionalAttributesInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!AsyncOrderCreateDTOAdditionalAttributesInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AsyncOrderCreateDTOAdditionalAttributesInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("attributeName") != null && !jsonObj.get("attributeName").isJsonNull()) && !jsonObj.get("attributeName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `attributeName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attributeName").toString())); + } + if ((jsonObj.get("attributeValue") != null && !jsonObj.get("attributeValue").isJsonNull()) && !jsonObj.get("attributeValue").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `attributeValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attributeValue").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AsyncOrderCreateDTOAdditionalAttributesInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AsyncOrderCreateDTOAdditionalAttributesInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AsyncOrderCreateDTOAdditionalAttributesInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AsyncOrderCreateDTOAdditionalAttributesInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AsyncOrderCreateDTOAdditionalAttributesInner read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AsyncOrderCreateDTOAdditionalAttributesInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of AsyncOrderCreateDTOAdditionalAttributesInner + * @throws IOException if the JSON string is invalid with respect to AsyncOrderCreateDTOAdditionalAttributesInner + */ + public static AsyncOrderCreateDTOAdditionalAttributesInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AsyncOrderCreateDTOAdditionalAttributesInner.class); + } + + /** + * Convert an instance of AsyncOrderCreateDTOAdditionalAttributesInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOEndUserInfo.java b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOEndUserInfo.java new file mode 100644 index 00000000..367a7cbe --- /dev/null +++ b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOEndUserInfo.java @@ -0,0 +1,670 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import xiresellers.client.JSON; + +/** + * The contact information for the end user/customer provided by the reseller. Used to determine pricing and discounts. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class AsyncOrderCreateDTOEndUserInfo { + public static final String SERIALIZED_NAME_END_USER_ID = "endUserId"; + @SerializedName(SERIALIZED_NAME_END_USER_ID) + private String endUserId; + + public static final String SERIALIZED_NAME_END_USER_TYPE = "endUserType"; + @SerializedName(SERIALIZED_NAME_END_USER_TYPE) + private String endUserType; + + public static final String SERIALIZED_NAME_COMPANY_NAME = "companyName"; + @SerializedName(SERIALIZED_NAME_COMPANY_NAME) + private String companyName; + + public static final String SERIALIZED_NAME_NAME1 = "name1"; + @SerializedName(SERIALIZED_NAME_NAME1) + private String name1; + + public static final String SERIALIZED_NAME_NAME2 = "name2"; + @SerializedName(SERIALIZED_NAME_NAME2) + private String name2; + + public static final String SERIALIZED_NAME_ADDRESS_LINE1 = "addressLine1"; + @SerializedName(SERIALIZED_NAME_ADDRESS_LINE1) + private String addressLine1; + + public static final String SERIALIZED_NAME_ADDRESS_LINE2 = "addressLine2"; + @SerializedName(SERIALIZED_NAME_ADDRESS_LINE2) + private String addressLine2; + + public static final String SERIALIZED_NAME_ADDRESS_LINE3 = "addressLine3"; + @SerializedName(SERIALIZED_NAME_ADDRESS_LINE3) + private String addressLine3; + + public static final String SERIALIZED_NAME_CONTACT = "contact"; + @SerializedName(SERIALIZED_NAME_CONTACT) + private String contact; + + public static final String SERIALIZED_NAME_NAME3 = "name3"; + @SerializedName(SERIALIZED_NAME_NAME3) + private String name3; + + public static final String SERIALIZED_NAME_CITY = "city"; + @SerializedName(SERIALIZED_NAME_CITY) + private String city; + + public static final String SERIALIZED_NAME_STATE = "state"; + @SerializedName(SERIALIZED_NAME_STATE) + private String state; + + public static final String SERIALIZED_NAME_POSTAL_CODE = "postalCode"; + @SerializedName(SERIALIZED_NAME_POSTAL_CODE) + private String postalCode; + + public static final String SERIALIZED_NAME_ADDRESS_LINE4 = "addressLine4"; + @SerializedName(SERIALIZED_NAME_ADDRESS_LINE4) + private String addressLine4; + + public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode"; + @SerializedName(SERIALIZED_NAME_COUNTRY_CODE) + private String countryCode; + + public static final String SERIALIZED_NAME_PHONE_NUMBER = "phoneNumber"; + @SerializedName(SERIALIZED_NAME_PHONE_NUMBER) + private String phoneNumber; + + public static final String SERIALIZED_NAME_EMAIL = "email"; + @SerializedName(SERIALIZED_NAME_EMAIL) + private String email; + + public AsyncOrderCreateDTOEndUserInfo() { + } + + public AsyncOrderCreateDTOEndUserInfo endUserId(String endUserId) { + this.endUserId = endUserId; + return this; + } + + /** + * ID for the end user/customer in Ingram Micro's system. + * @return endUserId + **/ + @javax.annotation.Nullable + public String getEndUserId() { + return endUserId; + } + + public void setEndUserId(String endUserId) { + this.endUserId = endUserId; + } + + + public AsyncOrderCreateDTOEndUserInfo endUserType(String endUserType) { + this.endUserType = endUserType; + return this; + } + + /** + * End user type + * @return endUserType + **/ + @javax.annotation.Nullable + public String getEndUserType() { + return endUserType; + } + + public void setEndUserType(String endUserType) { + this.endUserType = endUserType; + } + + + public AsyncOrderCreateDTOEndUserInfo companyName(String companyName) { + this.companyName = companyName; + return this; + } + + /** + * The company name for the end user/customer. + * @return companyName + **/ + @javax.annotation.Nullable + public String getCompanyName() { + return companyName; + } + + public void setCompanyName(String companyName) { + this.companyName = companyName; + } + + + public AsyncOrderCreateDTOEndUserInfo name1(String name1) { + this.name1 = name1; + return this; + } + + /** + * Get name1 + * @return name1 + **/ + @javax.annotation.Nullable + public String getName1() { + return name1; + } + + public void setName1(String name1) { + this.name1 = name1; + } + + + public AsyncOrderCreateDTOEndUserInfo name2(String name2) { + this.name2 = name2; + return this; + } + + /** + * Get name2 + * @return name2 + **/ + @javax.annotation.Nullable + public String getName2() { + return name2; + } + + public void setName2(String name2) { + this.name2 = name2; + } + + + public AsyncOrderCreateDTOEndUserInfo addressLine1(String addressLine1) { + this.addressLine1 = addressLine1; + return this; + } + + /** + * The address line 1 for the end user/customer. + * @return addressLine1 + **/ + @javax.annotation.Nullable + public String getAddressLine1() { + return addressLine1; + } + + public void setAddressLine1(String addressLine1) { + this.addressLine1 = addressLine1; + } + + + public AsyncOrderCreateDTOEndUserInfo addressLine2(String addressLine2) { + this.addressLine2 = addressLine2; + return this; + } + + /** + * The address line 2 for the end user/customer. + * @return addressLine2 + **/ + @javax.annotation.Nullable + public String getAddressLine2() { + return addressLine2; + } + + public void setAddressLine2(String addressLine2) { + this.addressLine2 = addressLine2; + } + + + public AsyncOrderCreateDTOEndUserInfo addressLine3(String addressLine3) { + this.addressLine3 = addressLine3; + return this; + } + + /** + * The address line 3 for the end user/customer. + * @return addressLine3 + **/ + @javax.annotation.Nullable + public String getAddressLine3() { + return addressLine3; + } + + public void setAddressLine3(String addressLine3) { + this.addressLine3 = addressLine3; + } + + + public AsyncOrderCreateDTOEndUserInfo contact(String contact) { + this.contact = contact; + return this; + } + + /** + * The contact name for the end user/customer. + * @return contact + **/ + @javax.annotation.Nullable + public String getContact() { + return contact; + } + + public void setContact(String contact) { + this.contact = contact; + } + + + public AsyncOrderCreateDTOEndUserInfo name3(String name3) { + this.name3 = name3; + return this; + } + + /** + * Get name3 + * @return name3 + **/ + @javax.annotation.Nullable + public String getName3() { + return name3; + } + + public void setName3(String name3) { + this.name3 = name3; + } + + + public AsyncOrderCreateDTOEndUserInfo city(String city) { + this.city = city; + return this; + } + + /** + * The end user/customer's city. + * @return city + **/ + @javax.annotation.Nullable + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + + public AsyncOrderCreateDTOEndUserInfo state(String state) { + this.state = state; + return this; + } + + /** + * The end user/customer's state. + * @return state + **/ + @javax.annotation.Nullable + public String getState() { + return state; + } + + public void setState(String state) { + this.state = state; + } + + + public AsyncOrderCreateDTOEndUserInfo postalCode(String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * The end user/customer's zip or postal code. + * @return postalCode + **/ + @javax.annotation.Nullable + public String getPostalCode() { + return postalCode; + } + + public void setPostalCode(String postalCode) { + this.postalCode = postalCode; + } + + + public AsyncOrderCreateDTOEndUserInfo addressLine4(String addressLine4) { + this.addressLine4 = addressLine4; + return this; + } + + /** + * The address line 4 for the end user/customer. + * @return addressLine4 + **/ + @javax.annotation.Nullable + public String getAddressLine4() { + return addressLine4; + } + + public void setAddressLine4(String addressLine4) { + this.addressLine4 = addressLine4; + } + + + public AsyncOrderCreateDTOEndUserInfo countryCode(String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * The end user/customer's two character ISO country code. + * @return countryCode + **/ + @javax.annotation.Nullable + public String getCountryCode() { + return countryCode; + } + + public void setCountryCode(String countryCode) { + this.countryCode = countryCode; + } + + + public AsyncOrderCreateDTOEndUserInfo phoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + /** + * The end user/customer's phone number. + * @return phoneNumber + **/ + @javax.annotation.Nullable + public String getPhoneNumber() { + return phoneNumber; + } + + public void setPhoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + } + + + public AsyncOrderCreateDTOEndUserInfo email(String email) { + this.email = email; + return this; + } + + /** + * The end user/customer's phone number. + * @return email + **/ + @javax.annotation.Nullable + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AsyncOrderCreateDTOEndUserInfo asyncOrderCreateDTOEndUserInfo = (AsyncOrderCreateDTOEndUserInfo) o; + return Objects.equals(this.endUserId, asyncOrderCreateDTOEndUserInfo.endUserId) && + Objects.equals(this.endUserType, asyncOrderCreateDTOEndUserInfo.endUserType) && + Objects.equals(this.companyName, asyncOrderCreateDTOEndUserInfo.companyName) && + Objects.equals(this.name1, asyncOrderCreateDTOEndUserInfo.name1) && + Objects.equals(this.name2, asyncOrderCreateDTOEndUserInfo.name2) && + Objects.equals(this.addressLine1, asyncOrderCreateDTOEndUserInfo.addressLine1) && + Objects.equals(this.addressLine2, asyncOrderCreateDTOEndUserInfo.addressLine2) && + Objects.equals(this.addressLine3, asyncOrderCreateDTOEndUserInfo.addressLine3) && + Objects.equals(this.contact, asyncOrderCreateDTOEndUserInfo.contact) && + Objects.equals(this.name3, asyncOrderCreateDTOEndUserInfo.name3) && + Objects.equals(this.city, asyncOrderCreateDTOEndUserInfo.city) && + Objects.equals(this.state, asyncOrderCreateDTOEndUserInfo.state) && + Objects.equals(this.postalCode, asyncOrderCreateDTOEndUserInfo.postalCode) && + Objects.equals(this.addressLine4, asyncOrderCreateDTOEndUserInfo.addressLine4) && + Objects.equals(this.countryCode, asyncOrderCreateDTOEndUserInfo.countryCode) && + Objects.equals(this.phoneNumber, asyncOrderCreateDTOEndUserInfo.phoneNumber) && + Objects.equals(this.email, asyncOrderCreateDTOEndUserInfo.email); + } + + @Override + public int hashCode() { + return Objects.hash(endUserId, endUserType, companyName, name1, name2, addressLine1, addressLine2, addressLine3, contact, name3, city, state, postalCode, addressLine4, countryCode, phoneNumber, email); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AsyncOrderCreateDTOEndUserInfo {\n"); + sb.append(" endUserId: ").append(toIndentedString(endUserId)).append("\n"); + sb.append(" endUserType: ").append(toIndentedString(endUserType)).append("\n"); + sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n"); + sb.append(" name1: ").append(toIndentedString(name1)).append("\n"); + sb.append(" name2: ").append(toIndentedString(name2)).append("\n"); + sb.append(" addressLine1: ").append(toIndentedString(addressLine1)).append("\n"); + sb.append(" addressLine2: ").append(toIndentedString(addressLine2)).append("\n"); + sb.append(" addressLine3: ").append(toIndentedString(addressLine3)).append("\n"); + sb.append(" contact: ").append(toIndentedString(contact)).append("\n"); + sb.append(" name3: ").append(toIndentedString(name3)).append("\n"); + sb.append(" city: ").append(toIndentedString(city)).append("\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); + sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + sb.append(" addressLine4: ").append(toIndentedString(addressLine4)).append("\n"); + sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); + sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + sb.append(" email: ").append(toIndentedString(email)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("endUserId"); + openapiFields.add("endUserType"); + openapiFields.add("companyName"); + openapiFields.add("name1"); + openapiFields.add("name2"); + openapiFields.add("addressLine1"); + openapiFields.add("addressLine2"); + openapiFields.add("addressLine3"); + openapiFields.add("contact"); + openapiFields.add("name3"); + openapiFields.add("city"); + openapiFields.add("state"); + openapiFields.add("postalCode"); + openapiFields.add("addressLine4"); + openapiFields.add("countryCode"); + openapiFields.add("phoneNumber"); + openapiFields.add("email"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AsyncOrderCreateDTOEndUserInfo + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AsyncOrderCreateDTOEndUserInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AsyncOrderCreateDTOEndUserInfo is not found in the empty JSON string", AsyncOrderCreateDTOEndUserInfo.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!AsyncOrderCreateDTOEndUserInfo.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AsyncOrderCreateDTOEndUserInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("endUserId") != null && !jsonObj.get("endUserId").isJsonNull()) && !jsonObj.get("endUserId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `endUserId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserId").toString())); + } + if ((jsonObj.get("endUserType") != null && !jsonObj.get("endUserType").isJsonNull()) && !jsonObj.get("endUserType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `endUserType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserType").toString())); + } + if ((jsonObj.get("companyName") != null && !jsonObj.get("companyName").isJsonNull()) && !jsonObj.get("companyName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `companyName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("companyName").toString())); + } + if ((jsonObj.get("name1") != null && !jsonObj.get("name1").isJsonNull()) && !jsonObj.get("name1").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name1").toString())); + } + if ((jsonObj.get("name2") != null && !jsonObj.get("name2").isJsonNull()) && !jsonObj.get("name2").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name2` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name2").toString())); + } + if ((jsonObj.get("addressLine1") != null && !jsonObj.get("addressLine1").isJsonNull()) && !jsonObj.get("addressLine1").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `addressLine1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressLine1").toString())); + } + if ((jsonObj.get("addressLine2") != null && !jsonObj.get("addressLine2").isJsonNull()) && !jsonObj.get("addressLine2").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `addressLine2` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressLine2").toString())); + } + if ((jsonObj.get("addressLine3") != null && !jsonObj.get("addressLine3").isJsonNull()) && !jsonObj.get("addressLine3").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `addressLine3` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressLine3").toString())); + } + if ((jsonObj.get("contact") != null && !jsonObj.get("contact").isJsonNull()) && !jsonObj.get("contact").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `contact` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contact").toString())); + } + if ((jsonObj.get("name3") != null && !jsonObj.get("name3").isJsonNull()) && !jsonObj.get("name3").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name3` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name3").toString())); + } + if ((jsonObj.get("city") != null && !jsonObj.get("city").isJsonNull()) && !jsonObj.get("city").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `city` to be a primitive type in the JSON string but got `%s`", jsonObj.get("city").toString())); + } + if ((jsonObj.get("state") != null && !jsonObj.get("state").isJsonNull()) && !jsonObj.get("state").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `state` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state").toString())); + } + if ((jsonObj.get("postalCode") != null && !jsonObj.get("postalCode").isJsonNull()) && !jsonObj.get("postalCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `postalCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postalCode").toString())); + } + if ((jsonObj.get("addressLine4") != null && !jsonObj.get("addressLine4").isJsonNull()) && !jsonObj.get("addressLine4").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `addressLine4` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressLine4").toString())); + } + if ((jsonObj.get("countryCode") != null && !jsonObj.get("countryCode").isJsonNull()) && !jsonObj.get("countryCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString())); + } + if ((jsonObj.get("phoneNumber") != null && !jsonObj.get("phoneNumber").isJsonNull()) && !jsonObj.get("phoneNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneNumber").toString())); + } + if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AsyncOrderCreateDTOEndUserInfo.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AsyncOrderCreateDTOEndUserInfo' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AsyncOrderCreateDTOEndUserInfo.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AsyncOrderCreateDTOEndUserInfo value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AsyncOrderCreateDTOEndUserInfo read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AsyncOrderCreateDTOEndUserInfo given an JSON string + * + * @param jsonString JSON string + * @return An instance of AsyncOrderCreateDTOEndUserInfo + * @throws IOException if the JSON string is invalid with respect to AsyncOrderCreateDTOEndUserInfo + */ + public static AsyncOrderCreateDTOEndUserInfo fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AsyncOrderCreateDTOEndUserInfo.class); + } + + /** + * Convert an instance of AsyncOrderCreateDTOEndUserInfo to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOLinesInner.java b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOLinesInner.java new file mode 100644 index 00000000..3eb995df --- /dev/null +++ b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOLinesInner.java @@ -0,0 +1,431 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import xiresellers.client.model.AsyncOrderCreateDTOLinesInnerEndUserInfoInner; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import xiresellers.client.JSON; + +/** + * AsyncOrderCreateDTOLinesInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class AsyncOrderCreateDTOLinesInner { + public static final String SERIALIZED_NAME_CUSTOMER_LINE_NUMBER = "customerLineNumber"; + @SerializedName(SERIALIZED_NAME_CUSTOMER_LINE_NUMBER) + private String customerLineNumber; + + public static final String SERIALIZED_NAME_INGRAM_PART_NUMBER = "ingramPartNumber"; + @SerializedName(SERIALIZED_NAME_INGRAM_PART_NUMBER) + private String ingramPartNumber; + + public static final String SERIALIZED_NAME_QUANTITY = "quantity"; + @SerializedName(SERIALIZED_NAME_QUANTITY) + private String quantity; + + public static final String SERIALIZED_NAME_UNIT_PRICE = "unitPrice"; + @SerializedName(SERIALIZED_NAME_UNIT_PRICE) + private String unitPrice; + + public static final String SERIALIZED_NAME_SPECIAL_BID_NUMBER = "specialBidNumber"; + @SerializedName(SERIALIZED_NAME_SPECIAL_BID_NUMBER) + private String specialBidNumber; + + public static final String SERIALIZED_NAME_END_USER_PRICE = "endUserPrice"; + @SerializedName(SERIALIZED_NAME_END_USER_PRICE) + private String endUserPrice; + + public static final String SERIALIZED_NAME_NOTES = "notes"; + @SerializedName(SERIALIZED_NAME_NOTES) + private String notes; + + public static final String SERIALIZED_NAME_END_USER_INFO = "endUserInfo"; + @SerializedName(SERIALIZED_NAME_END_USER_INFO) + private List endUserInfo = new ArrayList<>(); + + public AsyncOrderCreateDTOLinesInner() { + } + + public AsyncOrderCreateDTOLinesInner customerLineNumber(String customerLineNumber) { + this.customerLineNumber = customerLineNumber; + return this; + } + + /** + * The reseller's line item number for reference in their system. + * @return customerLineNumber + **/ + @javax.annotation.Nullable + public String getCustomerLineNumber() { + return customerLineNumber; + } + + public void setCustomerLineNumber(String customerLineNumber) { + this.customerLineNumber = customerLineNumber; + } + + + public AsyncOrderCreateDTOLinesInner ingramPartNumber(String ingramPartNumber) { + this.ingramPartNumber = ingramPartNumber; + return this; + } + + /** + * Unique IngramMicro part number. + * @return ingramPartNumber + **/ + @javax.annotation.Nullable + public String getIngramPartNumber() { + return ingramPartNumber; + } + + public void setIngramPartNumber(String ingramPartNumber) { + this.ingramPartNumber = ingramPartNumber; + } + + + public AsyncOrderCreateDTOLinesInner quantity(String quantity) { + this.quantity = quantity; + return this; + } + + /** + * The quantity of the line item. + * @return quantity + **/ + @javax.annotation.Nullable + public String getQuantity() { + return quantity; + } + + public void setQuantity(String quantity) { + this.quantity = quantity; + } + + + public AsyncOrderCreateDTOLinesInner unitPrice(String unitPrice) { + this.unitPrice = unitPrice; + return this; + } + + /** + * Unit Price of Item + * @return unitPrice + **/ + @javax.annotation.Nullable + public String getUnitPrice() { + return unitPrice; + } + + public void setUnitPrice(String unitPrice) { + this.unitPrice = unitPrice; + } + + + public AsyncOrderCreateDTOLinesInner specialBidNumber(String specialBidNumber) { + this.specialBidNumber = specialBidNumber; + return this; + } + + /** + * Get specialBidNumber + * @return specialBidNumber + **/ + @javax.annotation.Nullable + public String getSpecialBidNumber() { + return specialBidNumber; + } + + public void setSpecialBidNumber(String specialBidNumber) { + this.specialBidNumber = specialBidNumber; + } + + + public AsyncOrderCreateDTOLinesInner endUserPrice(String endUserPrice) { + this.endUserPrice = endUserPrice; + return this; + } + + /** + * Get endUserPrice + * @return endUserPrice + **/ + @javax.annotation.Nullable + public String getEndUserPrice() { + return endUserPrice; + } + + public void setEndUserPrice(String endUserPrice) { + this.endUserPrice = endUserPrice; + } + + + public AsyncOrderCreateDTOLinesInner notes(String notes) { + this.notes = notes; + return this; + } + + /** + * Get notes + * @return notes + **/ + @javax.annotation.Nullable + public String getNotes() { + return notes; + } + + public void setNotes(String notes) { + this.notes = notes; + } + + + public AsyncOrderCreateDTOLinesInner endUserInfo(List endUserInfo) { + this.endUserInfo = endUserInfo; + return this; + } + + public AsyncOrderCreateDTOLinesInner addEndUserInfoItem(AsyncOrderCreateDTOLinesInnerEndUserInfoInner endUserInfoItem) { + if (this.endUserInfo == null) { + this.endUserInfo = new ArrayList<>(); + } + this.endUserInfo.add(endUserInfoItem); + return this; + } + + /** + * The contact information for the end user/customer provided by the reseller. Used to determine pricing and discounts. + * @return endUserInfo + **/ + @javax.annotation.Nullable + public List getEndUserInfo() { + return endUserInfo; + } + + public void setEndUserInfo(List endUserInfo) { + this.endUserInfo = endUserInfo; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AsyncOrderCreateDTOLinesInner asyncOrderCreateDTOLinesInner = (AsyncOrderCreateDTOLinesInner) o; + return Objects.equals(this.customerLineNumber, asyncOrderCreateDTOLinesInner.customerLineNumber) && + Objects.equals(this.ingramPartNumber, asyncOrderCreateDTOLinesInner.ingramPartNumber) && + Objects.equals(this.quantity, asyncOrderCreateDTOLinesInner.quantity) && + Objects.equals(this.unitPrice, asyncOrderCreateDTOLinesInner.unitPrice) && + Objects.equals(this.specialBidNumber, asyncOrderCreateDTOLinesInner.specialBidNumber) && + Objects.equals(this.endUserPrice, asyncOrderCreateDTOLinesInner.endUserPrice) && + Objects.equals(this.notes, asyncOrderCreateDTOLinesInner.notes) && + Objects.equals(this.endUserInfo, asyncOrderCreateDTOLinesInner.endUserInfo); + } + + @Override + public int hashCode() { + return Objects.hash(customerLineNumber, ingramPartNumber, quantity, unitPrice, specialBidNumber, endUserPrice, notes, endUserInfo); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AsyncOrderCreateDTOLinesInner {\n"); + sb.append(" customerLineNumber: ").append(toIndentedString(customerLineNumber)).append("\n"); + sb.append(" ingramPartNumber: ").append(toIndentedString(ingramPartNumber)).append("\n"); + sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); + sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); + sb.append(" specialBidNumber: ").append(toIndentedString(specialBidNumber)).append("\n"); + sb.append(" endUserPrice: ").append(toIndentedString(endUserPrice)).append("\n"); + sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); + sb.append(" endUserInfo: ").append(toIndentedString(endUserInfo)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("customerLineNumber"); + openapiFields.add("ingramPartNumber"); + openapiFields.add("quantity"); + openapiFields.add("unitPrice"); + openapiFields.add("specialBidNumber"); + openapiFields.add("endUserPrice"); + openapiFields.add("notes"); + openapiFields.add("endUserInfo"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AsyncOrderCreateDTOLinesInner + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AsyncOrderCreateDTOLinesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AsyncOrderCreateDTOLinesInner is not found in the empty JSON string", AsyncOrderCreateDTOLinesInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!AsyncOrderCreateDTOLinesInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AsyncOrderCreateDTOLinesInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("customerLineNumber") != null && !jsonObj.get("customerLineNumber").isJsonNull()) && !jsonObj.get("customerLineNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `customerLineNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerLineNumber").toString())); + } + if ((jsonObj.get("ingramPartNumber") != null && !jsonObj.get("ingramPartNumber").isJsonNull()) && !jsonObj.get("ingramPartNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `ingramPartNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ingramPartNumber").toString())); + } + if ((jsonObj.get("quantity") != null && !jsonObj.get("quantity").isJsonNull()) && !jsonObj.get("quantity").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `quantity` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quantity").toString())); + } + if ((jsonObj.get("unitPrice") != null && !jsonObj.get("unitPrice").isJsonNull()) && !jsonObj.get("unitPrice").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `unitPrice` to be a primitive type in the JSON string but got `%s`", jsonObj.get("unitPrice").toString())); + } + if ((jsonObj.get("specialBidNumber") != null && !jsonObj.get("specialBidNumber").isJsonNull()) && !jsonObj.get("specialBidNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `specialBidNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("specialBidNumber").toString())); + } + if ((jsonObj.get("endUserPrice") != null && !jsonObj.get("endUserPrice").isJsonNull()) && !jsonObj.get("endUserPrice").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `endUserPrice` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserPrice").toString())); + } + if ((jsonObj.get("notes") != null && !jsonObj.get("notes").isJsonNull()) && !jsonObj.get("notes").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `notes` to be a primitive type in the JSON string but got `%s`", jsonObj.get("notes").toString())); + } + if (jsonObj.get("endUserInfo") != null && !jsonObj.get("endUserInfo").isJsonNull()) { + JsonArray jsonArrayendUserInfo = jsonObj.getAsJsonArray("endUserInfo"); + if (jsonArrayendUserInfo != null) { + // ensure the json data is an array + if (!jsonObj.get("endUserInfo").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `endUserInfo` to be an array in the JSON string but got `%s`", jsonObj.get("endUserInfo").toString())); + } + + // validate the optional field `endUserInfo` (array) + for (int i = 0; i < jsonArrayendUserInfo.size(); i++) { + AsyncOrderCreateDTOLinesInnerEndUserInfoInner.validateJsonElement(jsonArrayendUserInfo.get(i)); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AsyncOrderCreateDTOLinesInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AsyncOrderCreateDTOLinesInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AsyncOrderCreateDTOLinesInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AsyncOrderCreateDTOLinesInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AsyncOrderCreateDTOLinesInner read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AsyncOrderCreateDTOLinesInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of AsyncOrderCreateDTOLinesInner + * @throws IOException if the JSON string is invalid with respect to AsyncOrderCreateDTOLinesInner + */ + public static AsyncOrderCreateDTOLinesInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AsyncOrderCreateDTOLinesInner.class); + } + + /** + * Convert an instance of AsyncOrderCreateDTOLinesInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOLinesInnerEndUserInfoInner.java b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOLinesInnerEndUserInfoInner.java new file mode 100644 index 00000000..d8aa1ba7 --- /dev/null +++ b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOLinesInnerEndUserInfoInner.java @@ -0,0 +1,670 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import xiresellers.client.JSON; + +/** + * AsyncOrderCreateDTOLinesInnerEndUserInfoInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class AsyncOrderCreateDTOLinesInnerEndUserInfoInner { + public static final String SERIALIZED_NAME_END_USER_ID = "endUserId"; + @SerializedName(SERIALIZED_NAME_END_USER_ID) + private String endUserId; + + public static final String SERIALIZED_NAME_END_USER_TYPE = "endUserType"; + @SerializedName(SERIALIZED_NAME_END_USER_TYPE) + private String endUserType; + + public static final String SERIALIZED_NAME_COMPANY_NAME = "companyName"; + @SerializedName(SERIALIZED_NAME_COMPANY_NAME) + private String companyName; + + public static final String SERIALIZED_NAME_NAME1 = "name1"; + @SerializedName(SERIALIZED_NAME_NAME1) + private String name1; + + public static final String SERIALIZED_NAME_NAME2 = "name2"; + @SerializedName(SERIALIZED_NAME_NAME2) + private String name2; + + public static final String SERIALIZED_NAME_CONTACT_ID = "contactId"; + @SerializedName(SERIALIZED_NAME_CONTACT_ID) + private String contactId; + + public static final String SERIALIZED_NAME_ADDRESS_LINE1 = "addressLine1"; + @SerializedName(SERIALIZED_NAME_ADDRESS_LINE1) + private String addressLine1; + + public static final String SERIALIZED_NAME_ADDRESS_LINE2 = "addressLine2"; + @SerializedName(SERIALIZED_NAME_ADDRESS_LINE2) + private String addressLine2; + + public static final String SERIALIZED_NAME_ADDRESS_LINE3 = "addressLine3"; + @SerializedName(SERIALIZED_NAME_ADDRESS_LINE3) + private String addressLine3; + + public static final String SERIALIZED_NAME_CONTACT = "contact"; + @SerializedName(SERIALIZED_NAME_CONTACT) + private String contact; + + public static final String SERIALIZED_NAME_CITY = "city"; + @SerializedName(SERIALIZED_NAME_CITY) + private String city; + + public static final String SERIALIZED_NAME_STATE = "state"; + @SerializedName(SERIALIZED_NAME_STATE) + private String state; + + public static final String SERIALIZED_NAME_POSTAL_CODE = "postalCode"; + @SerializedName(SERIALIZED_NAME_POSTAL_CODE) + private String postalCode; + + public static final String SERIALIZED_NAME_ADDRESS_LINE4 = "addressLine4"; + @SerializedName(SERIALIZED_NAME_ADDRESS_LINE4) + private String addressLine4; + + public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode"; + @SerializedName(SERIALIZED_NAME_COUNTRY_CODE) + private String countryCode; + + public static final String SERIALIZED_NAME_PHONE_NUMBER = "phoneNumber"; + @SerializedName(SERIALIZED_NAME_PHONE_NUMBER) + private String phoneNumber; + + public static final String SERIALIZED_NAME_EMAIL = "email"; + @SerializedName(SERIALIZED_NAME_EMAIL) + private String email; + + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner() { + } + + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner endUserId(String endUserId) { + this.endUserId = endUserId; + return this; + } + + /** + * ID for the end user/customer in Ingram Micro's system. + * @return endUserId + **/ + @javax.annotation.Nullable + public String getEndUserId() { + return endUserId; + } + + public void setEndUserId(String endUserId) { + this.endUserId = endUserId; + } + + + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner endUserType(String endUserType) { + this.endUserType = endUserType; + return this; + } + + /** + * End user type + * @return endUserType + **/ + @javax.annotation.Nullable + public String getEndUserType() { + return endUserType; + } + + public void setEndUserType(String endUserType) { + this.endUserType = endUserType; + } + + + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner companyName(String companyName) { + this.companyName = companyName; + return this; + } + + /** + * The company name for the end user/customer. + * @return companyName + **/ + @javax.annotation.Nullable + public String getCompanyName() { + return companyName; + } + + public void setCompanyName(String companyName) { + this.companyName = companyName; + } + + + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner name1(String name1) { + this.name1 = name1; + return this; + } + + /** + * Get name1 + * @return name1 + **/ + @javax.annotation.Nullable + public String getName1() { + return name1; + } + + public void setName1(String name1) { + this.name1 = name1; + } + + + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner name2(String name2) { + this.name2 = name2; + return this; + } + + /** + * Get name2 + * @return name2 + **/ + @javax.annotation.Nullable + public String getName2() { + return name2; + } + + public void setName2(String name2) { + this.name2 = name2; + } + + + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner contactId(String contactId) { + this.contactId = contactId; + return this; + } + + /** + * The contact Id for the end user/customer. + * @return contactId + **/ + @javax.annotation.Nullable + public String getContactId() { + return contactId; + } + + public void setContactId(String contactId) { + this.contactId = contactId; + } + + + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner addressLine1(String addressLine1) { + this.addressLine1 = addressLine1; + return this; + } + + /** + * The address line 1 for the end user/customer. + * @return addressLine1 + **/ + @javax.annotation.Nullable + public String getAddressLine1() { + return addressLine1; + } + + public void setAddressLine1(String addressLine1) { + this.addressLine1 = addressLine1; + } + + + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner addressLine2(String addressLine2) { + this.addressLine2 = addressLine2; + return this; + } + + /** + * The address line 2 for the end user/customer. + * @return addressLine2 + **/ + @javax.annotation.Nullable + public String getAddressLine2() { + return addressLine2; + } + + public void setAddressLine2(String addressLine2) { + this.addressLine2 = addressLine2; + } + + + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner addressLine3(String addressLine3) { + this.addressLine3 = addressLine3; + return this; + } + + /** + * The address line 3 for the end user/customer. + * @return addressLine3 + **/ + @javax.annotation.Nullable + public String getAddressLine3() { + return addressLine3; + } + + public void setAddressLine3(String addressLine3) { + this.addressLine3 = addressLine3; + } + + + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner contact(String contact) { + this.contact = contact; + return this; + } + + /** + * The contact name for the end user/customer. + * @return contact + **/ + @javax.annotation.Nullable + public String getContact() { + return contact; + } + + public void setContact(String contact) { + this.contact = contact; + } + + + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner city(String city) { + this.city = city; + return this; + } + + /** + * The end user/customer's city. + * @return city + **/ + @javax.annotation.Nullable + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner state(String state) { + this.state = state; + return this; + } + + /** + * The end user/customer's state. + * @return state + **/ + @javax.annotation.Nullable + public String getState() { + return state; + } + + public void setState(String state) { + this.state = state; + } + + + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner postalCode(String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * The end user/customer's zip or postal code. + * @return postalCode + **/ + @javax.annotation.Nullable + public String getPostalCode() { + return postalCode; + } + + public void setPostalCode(String postalCode) { + this.postalCode = postalCode; + } + + + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner addressLine4(String addressLine4) { + this.addressLine4 = addressLine4; + return this; + } + + /** + * The address line 4 for the end user/customer. + * @return addressLine4 + **/ + @javax.annotation.Nullable + public String getAddressLine4() { + return addressLine4; + } + + public void setAddressLine4(String addressLine4) { + this.addressLine4 = addressLine4; + } + + + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner countryCode(String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * The end user/customer's two character ISO country code. + * @return countryCode + **/ + @javax.annotation.Nullable + public String getCountryCode() { + return countryCode; + } + + public void setCountryCode(String countryCode) { + this.countryCode = countryCode; + } + + + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner phoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + /** + * The end user/customer's phone number. + * @return phoneNumber + **/ + @javax.annotation.Nullable + public String getPhoneNumber() { + return phoneNumber; + } + + public void setPhoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + } + + + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner email(String email) { + this.email = email; + return this; + } + + /** + * The end user/customer's phone number. + * @return email + **/ + @javax.annotation.Nullable + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AsyncOrderCreateDTOLinesInnerEndUserInfoInner asyncOrderCreateDTOLinesInnerEndUserInfoInner = (AsyncOrderCreateDTOLinesInnerEndUserInfoInner) o; + return Objects.equals(this.endUserId, asyncOrderCreateDTOLinesInnerEndUserInfoInner.endUserId) && + Objects.equals(this.endUserType, asyncOrderCreateDTOLinesInnerEndUserInfoInner.endUserType) && + Objects.equals(this.companyName, asyncOrderCreateDTOLinesInnerEndUserInfoInner.companyName) && + Objects.equals(this.name1, asyncOrderCreateDTOLinesInnerEndUserInfoInner.name1) && + Objects.equals(this.name2, asyncOrderCreateDTOLinesInnerEndUserInfoInner.name2) && + Objects.equals(this.contactId, asyncOrderCreateDTOLinesInnerEndUserInfoInner.contactId) && + Objects.equals(this.addressLine1, asyncOrderCreateDTOLinesInnerEndUserInfoInner.addressLine1) && + Objects.equals(this.addressLine2, asyncOrderCreateDTOLinesInnerEndUserInfoInner.addressLine2) && + Objects.equals(this.addressLine3, asyncOrderCreateDTOLinesInnerEndUserInfoInner.addressLine3) && + Objects.equals(this.contact, asyncOrderCreateDTOLinesInnerEndUserInfoInner.contact) && + Objects.equals(this.city, asyncOrderCreateDTOLinesInnerEndUserInfoInner.city) && + Objects.equals(this.state, asyncOrderCreateDTOLinesInnerEndUserInfoInner.state) && + Objects.equals(this.postalCode, asyncOrderCreateDTOLinesInnerEndUserInfoInner.postalCode) && + Objects.equals(this.addressLine4, asyncOrderCreateDTOLinesInnerEndUserInfoInner.addressLine4) && + Objects.equals(this.countryCode, asyncOrderCreateDTOLinesInnerEndUserInfoInner.countryCode) && + Objects.equals(this.phoneNumber, asyncOrderCreateDTOLinesInnerEndUserInfoInner.phoneNumber) && + Objects.equals(this.email, asyncOrderCreateDTOLinesInnerEndUserInfoInner.email); + } + + @Override + public int hashCode() { + return Objects.hash(endUserId, endUserType, companyName, name1, name2, contactId, addressLine1, addressLine2, addressLine3, contact, city, state, postalCode, addressLine4, countryCode, phoneNumber, email); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AsyncOrderCreateDTOLinesInnerEndUserInfoInner {\n"); + sb.append(" endUserId: ").append(toIndentedString(endUserId)).append("\n"); + sb.append(" endUserType: ").append(toIndentedString(endUserType)).append("\n"); + sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n"); + sb.append(" name1: ").append(toIndentedString(name1)).append("\n"); + sb.append(" name2: ").append(toIndentedString(name2)).append("\n"); + sb.append(" contactId: ").append(toIndentedString(contactId)).append("\n"); + sb.append(" addressLine1: ").append(toIndentedString(addressLine1)).append("\n"); + sb.append(" addressLine2: ").append(toIndentedString(addressLine2)).append("\n"); + sb.append(" addressLine3: ").append(toIndentedString(addressLine3)).append("\n"); + sb.append(" contact: ").append(toIndentedString(contact)).append("\n"); + sb.append(" city: ").append(toIndentedString(city)).append("\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); + sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + sb.append(" addressLine4: ").append(toIndentedString(addressLine4)).append("\n"); + sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); + sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + sb.append(" email: ").append(toIndentedString(email)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("endUserId"); + openapiFields.add("endUserType"); + openapiFields.add("companyName"); + openapiFields.add("name1"); + openapiFields.add("name2"); + openapiFields.add("contactId"); + openapiFields.add("addressLine1"); + openapiFields.add("addressLine2"); + openapiFields.add("addressLine3"); + openapiFields.add("contact"); + openapiFields.add("city"); + openapiFields.add("state"); + openapiFields.add("postalCode"); + openapiFields.add("addressLine4"); + openapiFields.add("countryCode"); + openapiFields.add("phoneNumber"); + openapiFields.add("email"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AsyncOrderCreateDTOLinesInnerEndUserInfoInner + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AsyncOrderCreateDTOLinesInnerEndUserInfoInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AsyncOrderCreateDTOLinesInnerEndUserInfoInner is not found in the empty JSON string", AsyncOrderCreateDTOLinesInnerEndUserInfoInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!AsyncOrderCreateDTOLinesInnerEndUserInfoInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AsyncOrderCreateDTOLinesInnerEndUserInfoInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("endUserId") != null && !jsonObj.get("endUserId").isJsonNull()) && !jsonObj.get("endUserId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `endUserId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserId").toString())); + } + if ((jsonObj.get("endUserType") != null && !jsonObj.get("endUserType").isJsonNull()) && !jsonObj.get("endUserType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `endUserType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserType").toString())); + } + if ((jsonObj.get("companyName") != null && !jsonObj.get("companyName").isJsonNull()) && !jsonObj.get("companyName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `companyName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("companyName").toString())); + } + if ((jsonObj.get("name1") != null && !jsonObj.get("name1").isJsonNull()) && !jsonObj.get("name1").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name1").toString())); + } + if ((jsonObj.get("name2") != null && !jsonObj.get("name2").isJsonNull()) && !jsonObj.get("name2").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name2` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name2").toString())); + } + if ((jsonObj.get("contactId") != null && !jsonObj.get("contactId").isJsonNull()) && !jsonObj.get("contactId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `contactId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contactId").toString())); + } + if ((jsonObj.get("addressLine1") != null && !jsonObj.get("addressLine1").isJsonNull()) && !jsonObj.get("addressLine1").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `addressLine1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressLine1").toString())); + } + if ((jsonObj.get("addressLine2") != null && !jsonObj.get("addressLine2").isJsonNull()) && !jsonObj.get("addressLine2").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `addressLine2` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressLine2").toString())); + } + if ((jsonObj.get("addressLine3") != null && !jsonObj.get("addressLine3").isJsonNull()) && !jsonObj.get("addressLine3").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `addressLine3` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressLine3").toString())); + } + if ((jsonObj.get("contact") != null && !jsonObj.get("contact").isJsonNull()) && !jsonObj.get("contact").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `contact` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contact").toString())); + } + if ((jsonObj.get("city") != null && !jsonObj.get("city").isJsonNull()) && !jsonObj.get("city").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `city` to be a primitive type in the JSON string but got `%s`", jsonObj.get("city").toString())); + } + if ((jsonObj.get("state") != null && !jsonObj.get("state").isJsonNull()) && !jsonObj.get("state").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `state` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state").toString())); + } + if ((jsonObj.get("postalCode") != null && !jsonObj.get("postalCode").isJsonNull()) && !jsonObj.get("postalCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `postalCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postalCode").toString())); + } + if ((jsonObj.get("addressLine4") != null && !jsonObj.get("addressLine4").isJsonNull()) && !jsonObj.get("addressLine4").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `addressLine4` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressLine4").toString())); + } + if ((jsonObj.get("countryCode") != null && !jsonObj.get("countryCode").isJsonNull()) && !jsonObj.get("countryCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString())); + } + if ((jsonObj.get("phoneNumber") != null && !jsonObj.get("phoneNumber").isJsonNull()) && !jsonObj.get("phoneNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneNumber").toString())); + } + if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AsyncOrderCreateDTOLinesInnerEndUserInfoInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AsyncOrderCreateDTOLinesInnerEndUserInfoInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AsyncOrderCreateDTOLinesInnerEndUserInfoInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AsyncOrderCreateDTOLinesInnerEndUserInfoInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AsyncOrderCreateDTOLinesInnerEndUserInfoInner read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AsyncOrderCreateDTOLinesInnerEndUserInfoInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of AsyncOrderCreateDTOLinesInnerEndUserInfoInner + * @throws IOException if the JSON string is invalid with respect to AsyncOrderCreateDTOLinesInnerEndUserInfoInner + */ + public static AsyncOrderCreateDTOLinesInnerEndUserInfoInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AsyncOrderCreateDTOLinesInnerEndUserInfoInner.class); + } + + /** + * Convert an instance of AsyncOrderCreateDTOLinesInnerEndUserInfoInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfo.java b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOResellerInfo.java similarity index 66% rename from src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfo.java rename to src/main/java/xiresellers/client/model/AsyncOrderCreateDTOResellerInfo.java index 3844ac61..b40467ae 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOResellerInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -47,10 +47,14 @@ import xiresellers.client.JSON; /** - * The contact information for the end user/customer provided by the reseller. Used to determine pricing and discounts. + * The address and contact information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") -public class QuoteToOrderDetailsDTOEndUserInfo { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class AsyncOrderCreateDTOResellerInfo { + public static final String SERIALIZED_NAME_RESELLER_ID = "resellerId"; + @SerializedName(SERIALIZED_NAME_RESELLER_ID) + private String resellerId; + public static final String SERIALIZED_NAME_COMPANY_NAME = "companyName"; @SerializedName(SERIALIZED_NAME_COMPANY_NAME) private String companyName; @@ -71,6 +75,10 @@ public class QuoteToOrderDetailsDTOEndUserInfo { @SerializedName(SERIALIZED_NAME_ADDRESS_LINE3) private String addressLine3; + public static final String SERIALIZED_NAME_ADDRESS_LINE4 = "addressLine4"; + @SerializedName(SERIALIZED_NAME_ADDRESS_LINE4) + private String addressLine4; + public static final String SERIALIZED_NAME_CITY = "city"; @SerializedName(SERIALIZED_NAME_CITY) private String city; @@ -87,24 +95,43 @@ public class QuoteToOrderDetailsDTOEndUserInfo { @SerializedName(SERIALIZED_NAME_COUNTRY_CODE) private String countryCode; + public static final String SERIALIZED_NAME_PHONE_NUMBER = "phoneNumber"; + @SerializedName(SERIALIZED_NAME_PHONE_NUMBER) + private String phoneNumber; + public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) private String email; - public static final String SERIALIZED_NAME_PHONE_NUMBER = "phoneNumber"; - @SerializedName(SERIALIZED_NAME_PHONE_NUMBER) - private String phoneNumber; + public AsyncOrderCreateDTOResellerInfo() { + } + + public AsyncOrderCreateDTOResellerInfo resellerId(String resellerId) { + this.resellerId = resellerId; + return this; + } - public QuoteToOrderDetailsDTOEndUserInfo() { + /** + * The reseller's Id. + * @return resellerId + **/ + @javax.annotation.Nullable + public String getResellerId() { + return resellerId; } - public QuoteToOrderDetailsDTOEndUserInfo companyName(String companyName) { + public void setResellerId(String resellerId) { + this.resellerId = resellerId; + } + + + public AsyncOrderCreateDTOResellerInfo companyName(String companyName) { this.companyName = companyName; return this; } /** - * The company name for the end user/customer. + * The reseller's company name. * @return companyName **/ @javax.annotation.Nullable @@ -117,13 +144,13 @@ public void setCompanyName(String companyName) { } - public QuoteToOrderDetailsDTOEndUserInfo contact(String contact) { + public AsyncOrderCreateDTOResellerInfo contact(String contact) { this.contact = contact; return this; } /** - * The contact name for the end user/customer. + * The reseller's contact name. * @return contact **/ @javax.annotation.Nullable @@ -136,13 +163,13 @@ public void setContact(String contact) { } - public QuoteToOrderDetailsDTOEndUserInfo addressLine1(String addressLine1) { + public AsyncOrderCreateDTOResellerInfo addressLine1(String addressLine1) { this.addressLine1 = addressLine1; return this; } /** - * The address line 1 for the end user/customer. + * The reseller's address line 1. * @return addressLine1 **/ @javax.annotation.Nullable @@ -155,13 +182,13 @@ public void setAddressLine1(String addressLine1) { } - public QuoteToOrderDetailsDTOEndUserInfo addressLine2(String addressLine2) { + public AsyncOrderCreateDTOResellerInfo addressLine2(String addressLine2) { this.addressLine2 = addressLine2; return this; } /** - * The address line 2 for the end user/customer. + * The reseller's address line 2. * @return addressLine2 **/ @javax.annotation.Nullable @@ -174,13 +201,13 @@ public void setAddressLine2(String addressLine2) { } - public QuoteToOrderDetailsDTOEndUserInfo addressLine3(String addressLine3) { + public AsyncOrderCreateDTOResellerInfo addressLine3(String addressLine3) { this.addressLine3 = addressLine3; return this; } /** - * The address line 3 for the end user/customer. + * The reseller's address line 3. * @return addressLine3 **/ @javax.annotation.Nullable @@ -193,13 +220,32 @@ public void setAddressLine3(String addressLine3) { } - public QuoteToOrderDetailsDTOEndUserInfo city(String city) { + public AsyncOrderCreateDTOResellerInfo addressLine4(String addressLine4) { + this.addressLine4 = addressLine4; + return this; + } + + /** + * The reseller's address line 4. + * @return addressLine4 + **/ + @javax.annotation.Nullable + public String getAddressLine4() { + return addressLine4; + } + + public void setAddressLine4(String addressLine4) { + this.addressLine4 = addressLine4; + } + + + public AsyncOrderCreateDTOResellerInfo city(String city) { this.city = city; return this; } /** - * The end user/customer's city. + * The reseller's city. * @return city **/ @javax.annotation.Nullable @@ -212,13 +258,13 @@ public void setCity(String city) { } - public QuoteToOrderDetailsDTOEndUserInfo state(String state) { + public AsyncOrderCreateDTOResellerInfo state(String state) { this.state = state; return this; } /** - * The end user/customer's state. + * The reseller's state. * @return state **/ @javax.annotation.Nullable @@ -231,13 +277,13 @@ public void setState(String state) { } - public QuoteToOrderDetailsDTOEndUserInfo postalCode(String postalCode) { + public AsyncOrderCreateDTOResellerInfo postalCode(String postalCode) { this.postalCode = postalCode; return this; } /** - * The end user/customer's zip or postal code. + * The reseller's zip or postal code. * @return postalCode **/ @javax.annotation.Nullable @@ -250,13 +296,13 @@ public void setPostalCode(String postalCode) { } - public QuoteToOrderDetailsDTOEndUserInfo countryCode(String countryCode) { + public AsyncOrderCreateDTOResellerInfo countryCode(String countryCode) { this.countryCode = countryCode; return this; } /** - * The end user/customer's two character ISO country code. + * The reseller's two-character ISO country code. * @return countryCode **/ @javax.annotation.Nullable @@ -269,41 +315,41 @@ public void setCountryCode(String countryCode) { } - public QuoteToOrderDetailsDTOEndUserInfo email(String email) { - this.email = email; + public AsyncOrderCreateDTOResellerInfo phoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; return this; } /** - * The end user/customer's phone number. - * @return email + * The reseller's phone number. + * @return phoneNumber **/ @javax.annotation.Nullable - public String getEmail() { - return email; + public String getPhoneNumber() { + return phoneNumber; } - public void setEmail(String email) { - this.email = email; + public void setPhoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; } - public QuoteToOrderDetailsDTOEndUserInfo phoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; + public AsyncOrderCreateDTOResellerInfo email(String email) { + this.email = email; return this; } /** - * The end user/customer's phone number. - * @return phoneNumber + * The reseller's Email Address. + * @return email **/ @javax.annotation.Nullable - public String getPhoneNumber() { - return phoneNumber; + public String getEmail() { + return email; } - public void setPhoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; + public void setEmail(String email) { + this.email = email; } @@ -316,40 +362,44 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - QuoteToOrderDetailsDTOEndUserInfo quoteToOrderDetailsDTOEndUserInfo = (QuoteToOrderDetailsDTOEndUserInfo) o; - return Objects.equals(this.companyName, quoteToOrderDetailsDTOEndUserInfo.companyName) && - Objects.equals(this.contact, quoteToOrderDetailsDTOEndUserInfo.contact) && - Objects.equals(this.addressLine1, quoteToOrderDetailsDTOEndUserInfo.addressLine1) && - Objects.equals(this.addressLine2, quoteToOrderDetailsDTOEndUserInfo.addressLine2) && - Objects.equals(this.addressLine3, quoteToOrderDetailsDTOEndUserInfo.addressLine3) && - Objects.equals(this.city, quoteToOrderDetailsDTOEndUserInfo.city) && - Objects.equals(this.state, quoteToOrderDetailsDTOEndUserInfo.state) && - Objects.equals(this.postalCode, quoteToOrderDetailsDTOEndUserInfo.postalCode) && - Objects.equals(this.countryCode, quoteToOrderDetailsDTOEndUserInfo.countryCode) && - Objects.equals(this.email, quoteToOrderDetailsDTOEndUserInfo.email) && - Objects.equals(this.phoneNumber, quoteToOrderDetailsDTOEndUserInfo.phoneNumber); + AsyncOrderCreateDTOResellerInfo asyncOrderCreateDTOResellerInfo = (AsyncOrderCreateDTOResellerInfo) o; + return Objects.equals(this.resellerId, asyncOrderCreateDTOResellerInfo.resellerId) && + Objects.equals(this.companyName, asyncOrderCreateDTOResellerInfo.companyName) && + Objects.equals(this.contact, asyncOrderCreateDTOResellerInfo.contact) && + Objects.equals(this.addressLine1, asyncOrderCreateDTOResellerInfo.addressLine1) && + Objects.equals(this.addressLine2, asyncOrderCreateDTOResellerInfo.addressLine2) && + Objects.equals(this.addressLine3, asyncOrderCreateDTOResellerInfo.addressLine3) && + Objects.equals(this.addressLine4, asyncOrderCreateDTOResellerInfo.addressLine4) && + Objects.equals(this.city, asyncOrderCreateDTOResellerInfo.city) && + Objects.equals(this.state, asyncOrderCreateDTOResellerInfo.state) && + Objects.equals(this.postalCode, asyncOrderCreateDTOResellerInfo.postalCode) && + Objects.equals(this.countryCode, asyncOrderCreateDTOResellerInfo.countryCode) && + Objects.equals(this.phoneNumber, asyncOrderCreateDTOResellerInfo.phoneNumber) && + Objects.equals(this.email, asyncOrderCreateDTOResellerInfo.email); } @Override public int hashCode() { - return Objects.hash(companyName, contact, addressLine1, addressLine2, addressLine3, city, state, postalCode, countryCode, email, phoneNumber); + return Objects.hash(resellerId, companyName, contact, addressLine1, addressLine2, addressLine3, addressLine4, city, state, postalCode, countryCode, phoneNumber, email); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class QuoteToOrderDetailsDTOEndUserInfo {\n"); + sb.append("class AsyncOrderCreateDTOResellerInfo {\n"); + sb.append(" resellerId: ").append(toIndentedString(resellerId)).append("\n"); sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n"); sb.append(" contact: ").append(toIndentedString(contact)).append("\n"); sb.append(" addressLine1: ").append(toIndentedString(addressLine1)).append("\n"); sb.append(" addressLine2: ").append(toIndentedString(addressLine2)).append("\n"); sb.append(" addressLine3: ").append(toIndentedString(addressLine3)).append("\n"); + sb.append(" addressLine4: ").append(toIndentedString(addressLine4)).append("\n"); sb.append(" city: ").append(toIndentedString(city)).append("\n"); sb.append(" state: ").append(toIndentedString(state)).append("\n"); sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + sb.append(" email: ").append(toIndentedString(email)).append("\n"); sb.append("}"); return sb.toString(); } @@ -372,17 +422,19 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); + openapiFields.add("resellerId"); openapiFields.add("companyName"); openapiFields.add("contact"); openapiFields.add("addressLine1"); openapiFields.add("addressLine2"); openapiFields.add("addressLine3"); + openapiFields.add("addressLine4"); openapiFields.add("city"); openapiFields.add("state"); openapiFields.add("postalCode"); openapiFields.add("countryCode"); - openapiFields.add("email"); openapiFields.add("phoneNumber"); + openapiFields.add("email"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -392,23 +444,26 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to QuoteToOrderDetailsDTOEndUserInfo + * @throws IOException if the JSON Element is invalid with respect to AsyncOrderCreateDTOResellerInfo */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!QuoteToOrderDetailsDTOEndUserInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteToOrderDetailsDTOEndUserInfo is not found in the empty JSON string", QuoteToOrderDetailsDTOEndUserInfo.openapiRequiredFields.toString())); + if (!AsyncOrderCreateDTOResellerInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AsyncOrderCreateDTOResellerInfo is not found in the empty JSON string", AsyncOrderCreateDTOResellerInfo.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!QuoteToOrderDetailsDTOEndUserInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteToOrderDetailsDTOEndUserInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!AsyncOrderCreateDTOResellerInfo.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AsyncOrderCreateDTOResellerInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("resellerId") != null && !jsonObj.get("resellerId").isJsonNull()) && !jsonObj.get("resellerId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `resellerId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("resellerId").toString())); + } if ((jsonObj.get("companyName") != null && !jsonObj.get("companyName").isJsonNull()) && !jsonObj.get("companyName").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `companyName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("companyName").toString())); } @@ -424,6 +479,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("addressLine3") != null && !jsonObj.get("addressLine3").isJsonNull()) && !jsonObj.get("addressLine3").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `addressLine3` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressLine3").toString())); } + if ((jsonObj.get("addressLine4") != null && !jsonObj.get("addressLine4").isJsonNull()) && !jsonObj.get("addressLine4").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `addressLine4` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressLine4").toString())); + } if ((jsonObj.get("city") != null && !jsonObj.get("city").isJsonNull()) && !jsonObj.get("city").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `city` to be a primitive type in the JSON string but got `%s`", jsonObj.get("city").toString())); } @@ -436,34 +494,34 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("countryCode") != null && !jsonObj.get("countryCode").isJsonNull()) && !jsonObj.get("countryCode").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString())); } - if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString())); - } if ((jsonObj.get("phoneNumber") != null && !jsonObj.get("phoneNumber").isJsonNull()) && !jsonObj.get("phoneNumber").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `phoneNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneNumber").toString())); } + if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteToOrderDetailsDTOEndUserInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteToOrderDetailsDTOEndUserInfo' and its subtypes + if (!AsyncOrderCreateDTOResellerInfo.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AsyncOrderCreateDTOResellerInfo' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteToOrderDetailsDTOEndUserInfo.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AsyncOrderCreateDTOResellerInfo.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, QuoteToOrderDetailsDTOEndUserInfo value) throws IOException { + public void write(JsonWriter out, AsyncOrderCreateDTOResellerInfo value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public QuoteToOrderDetailsDTOEndUserInfo read(JsonReader in) throws IOException { + public AsyncOrderCreateDTOResellerInfo read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -474,18 +532,18 @@ public QuoteToOrderDetailsDTOEndUserInfo read(JsonReader in) throws IOException } /** - * Create an instance of QuoteToOrderDetailsDTOEndUserInfo given an JSON string + * Create an instance of AsyncOrderCreateDTOResellerInfo given an JSON string * * @param jsonString JSON string - * @return An instance of QuoteToOrderDetailsDTOEndUserInfo - * @throws IOException if the JSON string is invalid with respect to QuoteToOrderDetailsDTOEndUserInfo + * @return An instance of AsyncOrderCreateDTOResellerInfo + * @throws IOException if the JSON string is invalid with respect to AsyncOrderCreateDTOResellerInfo */ - public static QuoteToOrderDetailsDTOEndUserInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteToOrderDetailsDTOEndUserInfo.class); + public static AsyncOrderCreateDTOResellerInfo fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AsyncOrderCreateDTOResellerInfo.class); } /** - * Convert an instance of QuoteToOrderDetailsDTOEndUserInfo to an JSON string + * Convert an instance of AsyncOrderCreateDTOResellerInfo to an JSON string * * @return JSON string */ diff --git a/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOShipToInfo.java b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOShipToInfo.java new file mode 100644 index 00000000..8b4e0a40 --- /dev/null +++ b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOShipToInfo.java @@ -0,0 +1,653 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import xiresellers.client.JSON; + +/** + * The shipping information provided by the reseller for order delivery. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class AsyncOrderCreateDTOShipToInfo { + public static final String SERIALIZED_NAME_ADDRESS_ID = "addressId"; + @SerializedName(SERIALIZED_NAME_ADDRESS_ID) + private String addressId; + + public static final String SERIALIZED_NAME_CONTACT = "contact"; + @SerializedName(SERIALIZED_NAME_CONTACT) + private String contact; + + public static final String SERIALIZED_NAME_COMPANY_NAME = "companyName"; + @SerializedName(SERIALIZED_NAME_COMPANY_NAME) + private String companyName; + + public static final String SERIALIZED_NAME_ADDRESS_LINE1 = "addressLine1"; + @SerializedName(SERIALIZED_NAME_ADDRESS_LINE1) + private String addressLine1; + + public static final String SERIALIZED_NAME_ADDRESS_LINE2 = "addressLine2"; + @SerializedName(SERIALIZED_NAME_ADDRESS_LINE2) + private String addressLine2; + + public static final String SERIALIZED_NAME_ADDRESS_LINE3 = "addressLine3"; + @SerializedName(SERIALIZED_NAME_ADDRESS_LINE3) + private String addressLine3; + + public static final String SERIALIZED_NAME_ADDRESS_LINE4 = "addressLine4"; + @SerializedName(SERIALIZED_NAME_ADDRESS_LINE4) + private String addressLine4; + + public static final String SERIALIZED_NAME_NAME1 = "name1"; + @SerializedName(SERIALIZED_NAME_NAME1) + private String name1; + + public static final String SERIALIZED_NAME_NAME2 = "name2"; + @SerializedName(SERIALIZED_NAME_NAME2) + private String name2; + + public static final String SERIALIZED_NAME_CITY = "city"; + @SerializedName(SERIALIZED_NAME_CITY) + private String city; + + public static final String SERIALIZED_NAME_STATE = "state"; + @SerializedName(SERIALIZED_NAME_STATE) + private String state; + + public static final String SERIALIZED_NAME_POSTAL_CODE = "postalCode"; + @SerializedName(SERIALIZED_NAME_POSTAL_CODE) + private String postalCode; + + public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode"; + @SerializedName(SERIALIZED_NAME_COUNTRY_CODE) + private String countryCode; + + public static final String SERIALIZED_NAME_EMAIL = "email"; + @SerializedName(SERIALIZED_NAME_EMAIL) + private String email; + + public static final String SERIALIZED_NAME_SHIPPING_NOTES = "shippingNotes"; + @SerializedName(SERIALIZED_NAME_SHIPPING_NOTES) + private String shippingNotes; + + public static final String SERIALIZED_NAME_PHONE_NUMBER = "phoneNumber"; + @SerializedName(SERIALIZED_NAME_PHONE_NUMBER) + private String phoneNumber; + + public AsyncOrderCreateDTOShipToInfo() { + } + + public AsyncOrderCreateDTOShipToInfo addressId(String addressId) { + this.addressId = addressId; + return this; + } + + /** + * The company contact provided by the reseller. + * @return addressId + **/ + @javax.annotation.Nullable + public String getAddressId() { + return addressId; + } + + public void setAddressId(String addressId) { + this.addressId = addressId; + } + + + public AsyncOrderCreateDTOShipToInfo contact(String contact) { + this.contact = contact; + return this; + } + + /** + * The contact name for the order will be shipped to. + * @return contact + **/ + @javax.annotation.Nullable + public String getContact() { + return contact; + } + + public void setContact(String contact) { + this.contact = contact; + } + + + public AsyncOrderCreateDTOShipToInfo companyName(String companyName) { + this.companyName = companyName; + return this; + } + + /** + * The name of the company the order will be shipped to. + * @return companyName + **/ + @javax.annotation.Nullable + public String getCompanyName() { + return companyName; + } + + public void setCompanyName(String companyName) { + this.companyName = companyName; + } + + + public AsyncOrderCreateDTOShipToInfo addressLine1(String addressLine1) { + this.addressLine1 = addressLine1; + return this; + } + + /** + * The address line 1 the order will be shipped to. + * @return addressLine1 + **/ + @javax.annotation.Nullable + public String getAddressLine1() { + return addressLine1; + } + + public void setAddressLine1(String addressLine1) { + this.addressLine1 = addressLine1; + } + + + public AsyncOrderCreateDTOShipToInfo addressLine2(String addressLine2) { + this.addressLine2 = addressLine2; + return this; + } + + /** + * The address line 2 the order will be shipped to. + * @return addressLine2 + **/ + @javax.annotation.Nullable + public String getAddressLine2() { + return addressLine2; + } + + public void setAddressLine2(String addressLine2) { + this.addressLine2 = addressLine2; + } + + + public AsyncOrderCreateDTOShipToInfo addressLine3(String addressLine3) { + this.addressLine3 = addressLine3; + return this; + } + + /** + * The address line 3 the order will be shipped to. + * @return addressLine3 + **/ + @javax.annotation.Nullable + public String getAddressLine3() { + return addressLine3; + } + + public void setAddressLine3(String addressLine3) { + this.addressLine3 = addressLine3; + } + + + public AsyncOrderCreateDTOShipToInfo addressLine4(String addressLine4) { + this.addressLine4 = addressLine4; + return this; + } + + /** + * The address line 4 the order will be shipped to. + * @return addressLine4 + **/ + @javax.annotation.Nullable + public String getAddressLine4() { + return addressLine4; + } + + public void setAddressLine4(String addressLine4) { + this.addressLine4 = addressLine4; + } + + + public AsyncOrderCreateDTOShipToInfo name1(String name1) { + this.name1 = name1; + return this; + } + + /** + * Need description + * @return name1 + **/ + @javax.annotation.Nullable + public String getName1() { + return name1; + } + + public void setName1(String name1) { + this.name1 = name1; + } + + + public AsyncOrderCreateDTOShipToInfo name2(String name2) { + this.name2 = name2; + return this; + } + + /** + * Need description + * @return name2 + **/ + @javax.annotation.Nullable + public String getName2() { + return name2; + } + + public void setName2(String name2) { + this.name2 = name2; + } + + + public AsyncOrderCreateDTOShipToInfo city(String city) { + this.city = city; + return this; + } + + /** + * The city the order will be shipped to. + * @return city + **/ + @javax.annotation.Nullable + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + + public AsyncOrderCreateDTOShipToInfo state(String state) { + this.state = state; + return this; + } + + /** + * The state the order will be shipped to. + * @return state + **/ + @javax.annotation.Nullable + public String getState() { + return state; + } + + public void setState(String state) { + this.state = state; + } + + + public AsyncOrderCreateDTOShipToInfo postalCode(String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * The zip or postal code the order will be shipped to. + * @return postalCode + **/ + @javax.annotation.Nullable + public String getPostalCode() { + return postalCode; + } + + public void setPostalCode(String postalCode) { + this.postalCode = postalCode; + } + + + public AsyncOrderCreateDTOShipToInfo countryCode(String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * The two-character ISO country code the order will be shipped to. + * @return countryCode + **/ + @javax.annotation.Nullable + public String getCountryCode() { + return countryCode; + } + + public void setCountryCode(String countryCode) { + this.countryCode = countryCode; + } + + + public AsyncOrderCreateDTOShipToInfo email(String email) { + this.email = email; + return this; + } + + /** + * The company contact email address. + * @return email + **/ + @javax.annotation.Nullable + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + + public AsyncOrderCreateDTOShipToInfo shippingNotes(String shippingNotes) { + this.shippingNotes = shippingNotes; + return this; + } + + /** + * Shipping Notes + * @return shippingNotes + **/ + @javax.annotation.Nullable + public String getShippingNotes() { + return shippingNotes; + } + + public void setShippingNotes(String shippingNotes) { + this.shippingNotes = shippingNotes; + } + + + public AsyncOrderCreateDTOShipToInfo phoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + /** + * Phone number for shipping + * @return phoneNumber + **/ + @javax.annotation.Nullable + public String getPhoneNumber() { + return phoneNumber; + } + + public void setPhoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AsyncOrderCreateDTOShipToInfo asyncOrderCreateDTOShipToInfo = (AsyncOrderCreateDTOShipToInfo) o; + return Objects.equals(this.addressId, asyncOrderCreateDTOShipToInfo.addressId) && + Objects.equals(this.contact, asyncOrderCreateDTOShipToInfo.contact) && + Objects.equals(this.companyName, asyncOrderCreateDTOShipToInfo.companyName) && + Objects.equals(this.addressLine1, asyncOrderCreateDTOShipToInfo.addressLine1) && + Objects.equals(this.addressLine2, asyncOrderCreateDTOShipToInfo.addressLine2) && + Objects.equals(this.addressLine3, asyncOrderCreateDTOShipToInfo.addressLine3) && + Objects.equals(this.addressLine4, asyncOrderCreateDTOShipToInfo.addressLine4) && + Objects.equals(this.name1, asyncOrderCreateDTOShipToInfo.name1) && + Objects.equals(this.name2, asyncOrderCreateDTOShipToInfo.name2) && + Objects.equals(this.city, asyncOrderCreateDTOShipToInfo.city) && + Objects.equals(this.state, asyncOrderCreateDTOShipToInfo.state) && + Objects.equals(this.postalCode, asyncOrderCreateDTOShipToInfo.postalCode) && + Objects.equals(this.countryCode, asyncOrderCreateDTOShipToInfo.countryCode) && + Objects.equals(this.email, asyncOrderCreateDTOShipToInfo.email) && + Objects.equals(this.shippingNotes, asyncOrderCreateDTOShipToInfo.shippingNotes) && + Objects.equals(this.phoneNumber, asyncOrderCreateDTOShipToInfo.phoneNumber); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(addressId, contact, companyName, addressLine1, addressLine2, addressLine3, addressLine4, name1, name2, city, state, postalCode, countryCode, email, shippingNotes, phoneNumber); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AsyncOrderCreateDTOShipToInfo {\n"); + sb.append(" addressId: ").append(toIndentedString(addressId)).append("\n"); + sb.append(" contact: ").append(toIndentedString(contact)).append("\n"); + sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n"); + sb.append(" addressLine1: ").append(toIndentedString(addressLine1)).append("\n"); + sb.append(" addressLine2: ").append(toIndentedString(addressLine2)).append("\n"); + sb.append(" addressLine3: ").append(toIndentedString(addressLine3)).append("\n"); + sb.append(" addressLine4: ").append(toIndentedString(addressLine4)).append("\n"); + sb.append(" name1: ").append(toIndentedString(name1)).append("\n"); + sb.append(" name2: ").append(toIndentedString(name2)).append("\n"); + sb.append(" city: ").append(toIndentedString(city)).append("\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); + sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); + sb.append(" email: ").append(toIndentedString(email)).append("\n"); + sb.append(" shippingNotes: ").append(toIndentedString(shippingNotes)).append("\n"); + sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("addressId"); + openapiFields.add("contact"); + openapiFields.add("companyName"); + openapiFields.add("addressLine1"); + openapiFields.add("addressLine2"); + openapiFields.add("addressLine3"); + openapiFields.add("addressLine4"); + openapiFields.add("name1"); + openapiFields.add("name2"); + openapiFields.add("city"); + openapiFields.add("state"); + openapiFields.add("postalCode"); + openapiFields.add("countryCode"); + openapiFields.add("email"); + openapiFields.add("shippingNotes"); + openapiFields.add("phoneNumber"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AsyncOrderCreateDTOShipToInfo + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AsyncOrderCreateDTOShipToInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AsyncOrderCreateDTOShipToInfo is not found in the empty JSON string", AsyncOrderCreateDTOShipToInfo.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!AsyncOrderCreateDTOShipToInfo.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AsyncOrderCreateDTOShipToInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("addressId") != null && !jsonObj.get("addressId").isJsonNull()) && !jsonObj.get("addressId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `addressId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressId").toString())); + } + if ((jsonObj.get("contact") != null && !jsonObj.get("contact").isJsonNull()) && !jsonObj.get("contact").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `contact` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contact").toString())); + } + if ((jsonObj.get("companyName") != null && !jsonObj.get("companyName").isJsonNull()) && !jsonObj.get("companyName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `companyName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("companyName").toString())); + } + if ((jsonObj.get("addressLine1") != null && !jsonObj.get("addressLine1").isJsonNull()) && !jsonObj.get("addressLine1").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `addressLine1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressLine1").toString())); + } + if ((jsonObj.get("addressLine2") != null && !jsonObj.get("addressLine2").isJsonNull()) && !jsonObj.get("addressLine2").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `addressLine2` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressLine2").toString())); + } + if ((jsonObj.get("addressLine3") != null && !jsonObj.get("addressLine3").isJsonNull()) && !jsonObj.get("addressLine3").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `addressLine3` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressLine3").toString())); + } + if ((jsonObj.get("addressLine4") != null && !jsonObj.get("addressLine4").isJsonNull()) && !jsonObj.get("addressLine4").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `addressLine4` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressLine4").toString())); + } + if ((jsonObj.get("name1") != null && !jsonObj.get("name1").isJsonNull()) && !jsonObj.get("name1").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name1").toString())); + } + if ((jsonObj.get("name2") != null && !jsonObj.get("name2").isJsonNull()) && !jsonObj.get("name2").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name2` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name2").toString())); + } + if ((jsonObj.get("city") != null && !jsonObj.get("city").isJsonNull()) && !jsonObj.get("city").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `city` to be a primitive type in the JSON string but got `%s`", jsonObj.get("city").toString())); + } + if ((jsonObj.get("state") != null && !jsonObj.get("state").isJsonNull()) && !jsonObj.get("state").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `state` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state").toString())); + } + if ((jsonObj.get("postalCode") != null && !jsonObj.get("postalCode").isJsonNull()) && !jsonObj.get("postalCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `postalCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postalCode").toString())); + } + if ((jsonObj.get("countryCode") != null && !jsonObj.get("countryCode").isJsonNull()) && !jsonObj.get("countryCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString())); + } + if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString())); + } + if ((jsonObj.get("shippingNotes") != null && !jsonObj.get("shippingNotes").isJsonNull()) && !jsonObj.get("shippingNotes").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `shippingNotes` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shippingNotes").toString())); + } + if ((jsonObj.get("phoneNumber") != null && !jsonObj.get("phoneNumber").isJsonNull()) && !jsonObj.get("phoneNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneNumber").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AsyncOrderCreateDTOShipToInfo.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AsyncOrderCreateDTOShipToInfo' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AsyncOrderCreateDTOShipToInfo.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AsyncOrderCreateDTOShipToInfo value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AsyncOrderCreateDTOShipToInfo read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AsyncOrderCreateDTOShipToInfo given an JSON string + * + * @param jsonString JSON string + * @return An instance of AsyncOrderCreateDTOShipToInfo + * @throws IOException if the JSON string is invalid with respect to AsyncOrderCreateDTOShipToInfo + */ + public static AsyncOrderCreateDTOShipToInfo fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AsyncOrderCreateDTOShipToInfo.class); + } + + /** + * Convert an instance of AsyncOrderCreateDTOShipToInfo to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOShipmentDetails.java b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOShipmentDetails.java new file mode 100644 index 00000000..b1ea252a --- /dev/null +++ b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOShipmentDetails.java @@ -0,0 +1,348 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import xiresellers.client.JSON; + +/** + * Shipping details for the order provided by the customer. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class AsyncOrderCreateDTOShipmentDetails { + public static final String SERIALIZED_NAME_CARRIER_CODE = "carrierCode"; + @SerializedName(SERIALIZED_NAME_CARRIER_CODE) + private String carrierCode; + + public static final String SERIALIZED_NAME_REQUESTED_DELIVERY_DATE = "requestedDeliveryDate"; + @SerializedName(SERIALIZED_NAME_REQUESTED_DELIVERY_DATE) + private String requestedDeliveryDate; + + public static final String SERIALIZED_NAME_SHIP_COMPLETE = "shipComplete"; + @SerializedName(SERIALIZED_NAME_SHIP_COMPLETE) + private String shipComplete; + + public static final String SERIALIZED_NAME_SHIPPING_INSTRUCTIONS = "shippingInstructions"; + @SerializedName(SERIALIZED_NAME_SHIPPING_INSTRUCTIONS) + private String shippingInstructions; + + public static final String SERIALIZED_NAME_FREIGHT_ACCOUNT_NUMBER = "freightAccountNumber"; + @SerializedName(SERIALIZED_NAME_FREIGHT_ACCOUNT_NUMBER) + private String freightAccountNumber; + + public static final String SERIALIZED_NAME_SIGNATURE_REQUIRED = "signatureRequired"; + @SerializedName(SERIALIZED_NAME_SIGNATURE_REQUIRED) + private Boolean signatureRequired; + + public AsyncOrderCreateDTOShipmentDetails() { + } + + public AsyncOrderCreateDTOShipmentDetails carrierCode(String carrierCode) { + this.carrierCode = carrierCode; + return this; + } + + /** + * The code for the shipping carrier for the line item. + * @return carrierCode + **/ + @javax.annotation.Nullable + public String getCarrierCode() { + return carrierCode; + } + + public void setCarrierCode(String carrierCode) { + this.carrierCode = carrierCode; + } + + + public AsyncOrderCreateDTOShipmentDetails requestedDeliveryDate(String requestedDeliveryDate) { + this.requestedDeliveryDate = requestedDeliveryDate; + return this; + } + + /** + * The reseller-requested delivery date in UTC format. Delivery date is not guaranteed. + * @return requestedDeliveryDate + **/ + @javax.annotation.Nullable + public String getRequestedDeliveryDate() { + return requestedDeliveryDate; + } + + public void setRequestedDeliveryDate(String requestedDeliveryDate) { + this.requestedDeliveryDate = requestedDeliveryDate; + } + + + public AsyncOrderCreateDTOShipmentDetails shipComplete(String shipComplete) { + this.shipComplete = shipComplete; + return this; + } + + /** + * Specifies whether the shipment will be shipped only when all products are fulfilled. The value of this field along with acceptBackOrder field decides the value of backorderflag. If this field is set, acceptBackOrder field is ignored. Possible values for this field are true, C, P, E. + * @return shipComplete + **/ + @javax.annotation.Nullable + public String getShipComplete() { + return shipComplete; + } + + public void setShipComplete(String shipComplete) { + this.shipComplete = shipComplete; + } + + + public AsyncOrderCreateDTOShipmentDetails shippingInstructions(String shippingInstructions) { + this.shippingInstructions = shippingInstructions; + return this; + } + + /** + * Any special shipping instructions for the order. + * @return shippingInstructions + **/ + @javax.annotation.Nullable + public String getShippingInstructions() { + return shippingInstructions; + } + + public void setShippingInstructions(String shippingInstructions) { + this.shippingInstructions = shippingInstructions; + } + + + public AsyncOrderCreateDTOShipmentDetails freightAccountNumber(String freightAccountNumber) { + this.freightAccountNumber = freightAccountNumber; + return this; + } + + /** + * The reseller 's shipping account number with carrier. Used to bill the shipping carrier directly from the reseller's account with the carrier. + * @return freightAccountNumber + **/ + @javax.annotation.Nullable + public String getFreightAccountNumber() { + return freightAccountNumber; + } + + public void setFreightAccountNumber(String freightAccountNumber) { + this.freightAccountNumber = freightAccountNumber; + } + + + public AsyncOrderCreateDTOShipmentDetails signatureRequired(Boolean signatureRequired) { + this.signatureRequired = signatureRequired; + return this; + } + + /** + * Specifies whether a signature is required for delivery. Default is False. + * @return signatureRequired + **/ + @javax.annotation.Nullable + public Boolean getSignatureRequired() { + return signatureRequired; + } + + public void setSignatureRequired(Boolean signatureRequired) { + this.signatureRequired = signatureRequired; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AsyncOrderCreateDTOShipmentDetails asyncOrderCreateDTOShipmentDetails = (AsyncOrderCreateDTOShipmentDetails) o; + return Objects.equals(this.carrierCode, asyncOrderCreateDTOShipmentDetails.carrierCode) && + Objects.equals(this.requestedDeliveryDate, asyncOrderCreateDTOShipmentDetails.requestedDeliveryDate) && + Objects.equals(this.shipComplete, asyncOrderCreateDTOShipmentDetails.shipComplete) && + Objects.equals(this.shippingInstructions, asyncOrderCreateDTOShipmentDetails.shippingInstructions) && + Objects.equals(this.freightAccountNumber, asyncOrderCreateDTOShipmentDetails.freightAccountNumber) && + Objects.equals(this.signatureRequired, asyncOrderCreateDTOShipmentDetails.signatureRequired); + } + + @Override + public int hashCode() { + return Objects.hash(carrierCode, requestedDeliveryDate, shipComplete, shippingInstructions, freightAccountNumber, signatureRequired); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AsyncOrderCreateDTOShipmentDetails {\n"); + sb.append(" carrierCode: ").append(toIndentedString(carrierCode)).append("\n"); + sb.append(" requestedDeliveryDate: ").append(toIndentedString(requestedDeliveryDate)).append("\n"); + sb.append(" shipComplete: ").append(toIndentedString(shipComplete)).append("\n"); + sb.append(" shippingInstructions: ").append(toIndentedString(shippingInstructions)).append("\n"); + sb.append(" freightAccountNumber: ").append(toIndentedString(freightAccountNumber)).append("\n"); + sb.append(" signatureRequired: ").append(toIndentedString(signatureRequired)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("carrierCode"); + openapiFields.add("requestedDeliveryDate"); + openapiFields.add("shipComplete"); + openapiFields.add("shippingInstructions"); + openapiFields.add("freightAccountNumber"); + openapiFields.add("signatureRequired"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AsyncOrderCreateDTOShipmentDetails + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AsyncOrderCreateDTOShipmentDetails.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AsyncOrderCreateDTOShipmentDetails is not found in the empty JSON string", AsyncOrderCreateDTOShipmentDetails.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!AsyncOrderCreateDTOShipmentDetails.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AsyncOrderCreateDTOShipmentDetails` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("carrierCode") != null && !jsonObj.get("carrierCode").isJsonNull()) && !jsonObj.get("carrierCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `carrierCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("carrierCode").toString())); + } + if ((jsonObj.get("requestedDeliveryDate") != null && !jsonObj.get("requestedDeliveryDate").isJsonNull()) && !jsonObj.get("requestedDeliveryDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `requestedDeliveryDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("requestedDeliveryDate").toString())); + } + if ((jsonObj.get("shipComplete") != null && !jsonObj.get("shipComplete").isJsonNull()) && !jsonObj.get("shipComplete").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `shipComplete` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shipComplete").toString())); + } + if ((jsonObj.get("shippingInstructions") != null && !jsonObj.get("shippingInstructions").isJsonNull()) && !jsonObj.get("shippingInstructions").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `shippingInstructions` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shippingInstructions").toString())); + } + if ((jsonObj.get("freightAccountNumber") != null && !jsonObj.get("freightAccountNumber").isJsonNull()) && !jsonObj.get("freightAccountNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `freightAccountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("freightAccountNumber").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AsyncOrderCreateDTOShipmentDetails.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AsyncOrderCreateDTOShipmentDetails' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AsyncOrderCreateDTOShipmentDetails.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AsyncOrderCreateDTOShipmentDetails value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AsyncOrderCreateDTOShipmentDetails read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AsyncOrderCreateDTOShipmentDetails given an JSON string + * + * @param jsonString JSON string + * @return An instance of AsyncOrderCreateDTOShipmentDetails + * @throws IOException if the JSON string is invalid with respect to AsyncOrderCreateDTOShipmentDetails + */ + public static AsyncOrderCreateDTOShipmentDetails fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AsyncOrderCreateDTOShipmentDetails.class); + } + + /** + * Convert an instance of AsyncOrderCreateDTOShipmentDetails to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOVmfadditionalAttributesInner.java similarity index 70% rename from src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java rename to src/main/java/xiresellers/client/model/AsyncOrderCreateDTOVmfadditionalAttributesInner.java index db7aabcf..e620bd18 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOVmfadditionalAttributesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -47,10 +47,10 @@ import xiresellers.client.JSON; /** - * QuoteToOrderDetailsDTOAdditionalAttributesInner + * AsyncOrderCreateDTOVmfadditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") -public class QuoteToOrderDetailsDTOAdditionalAttributesInner { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class AsyncOrderCreateDTOVmfadditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) private String attributeName; @@ -59,16 +59,16 @@ public class QuoteToOrderDetailsDTOAdditionalAttributesInner { @SerializedName(SERIALIZED_NAME_ATTRIBUTE_VALUE) private String attributeValue; - public QuoteToOrderDetailsDTOAdditionalAttributesInner() { + public AsyncOrderCreateDTOVmfadditionalAttributesInner() { } - public QuoteToOrderDetailsDTOAdditionalAttributesInner attributeName(String attributeName) { + public AsyncOrderCreateDTOVmfadditionalAttributesInner attributeName(String attributeName) { this.attributeName = attributeName; return this; } /** - * The attribute name. allowDuplicateCustomerOrderNumber: Allow orders with duplicate customer PO numbers. Enables resellers to have the same PO number for multiple orders. enableCommentsAsLines: It will enable comments as lines. + * The name of the header level field. * @return attributeName **/ @javax.annotation.Nullable @@ -81,13 +81,13 @@ public void setAttributeName(String attributeName) { } - public QuoteToOrderDetailsDTOAdditionalAttributesInner attributeValue(String attributeValue) { + public AsyncOrderCreateDTOVmfadditionalAttributesInner attributeValue(String attributeValue) { this.attributeValue = attributeValue; return this; } /** - * The attribute field data. + * The value of the header level field. * @return attributeValue **/ @javax.annotation.Nullable @@ -109,9 +109,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - QuoteToOrderDetailsDTOAdditionalAttributesInner quoteToOrderDetailsDTOAdditionalAttributesInner = (QuoteToOrderDetailsDTOAdditionalAttributesInner) o; - return Objects.equals(this.attributeName, quoteToOrderDetailsDTOAdditionalAttributesInner.attributeName) && - Objects.equals(this.attributeValue, quoteToOrderDetailsDTOAdditionalAttributesInner.attributeValue); + AsyncOrderCreateDTOVmfadditionalAttributesInner asyncOrderCreateDTOVmfadditionalAttributesInner = (AsyncOrderCreateDTOVmfadditionalAttributesInner) o; + return Objects.equals(this.attributeName, asyncOrderCreateDTOVmfadditionalAttributesInner.attributeName) && + Objects.equals(this.attributeValue, asyncOrderCreateDTOVmfadditionalAttributesInner.attributeValue); } @Override @@ -122,7 +122,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class QuoteToOrderDetailsDTOAdditionalAttributesInner {\n"); + sb.append("class AsyncOrderCreateDTOVmfadditionalAttributesInner {\n"); sb.append(" attributeName: ").append(toIndentedString(attributeName)).append("\n"); sb.append(" attributeValue: ").append(toIndentedString(attributeValue)).append("\n"); sb.append("}"); @@ -158,20 +158,20 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to QuoteToOrderDetailsDTOAdditionalAttributesInner + * @throws IOException if the JSON Element is invalid with respect to AsyncOrderCreateDTOVmfadditionalAttributesInner */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!QuoteToOrderDetailsDTOAdditionalAttributesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteToOrderDetailsDTOAdditionalAttributesInner is not found in the empty JSON string", QuoteToOrderDetailsDTOAdditionalAttributesInner.openapiRequiredFields.toString())); + if (!AsyncOrderCreateDTOVmfadditionalAttributesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AsyncOrderCreateDTOVmfadditionalAttributesInner is not found in the empty JSON string", AsyncOrderCreateDTOVmfadditionalAttributesInner.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!QuoteToOrderDetailsDTOAdditionalAttributesInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteToOrderDetailsDTOAdditionalAttributesInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!AsyncOrderCreateDTOVmfadditionalAttributesInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AsyncOrderCreateDTOVmfadditionalAttributesInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -187,22 +187,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteToOrderDetailsDTOAdditionalAttributesInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteToOrderDetailsDTOAdditionalAttributesInner' and its subtypes + if (!AsyncOrderCreateDTOVmfadditionalAttributesInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AsyncOrderCreateDTOVmfadditionalAttributesInner' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteToOrderDetailsDTOAdditionalAttributesInner.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AsyncOrderCreateDTOVmfadditionalAttributesInner.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, QuoteToOrderDetailsDTOAdditionalAttributesInner value) throws IOException { + public void write(JsonWriter out, AsyncOrderCreateDTOVmfadditionalAttributesInner value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public QuoteToOrderDetailsDTOAdditionalAttributesInner read(JsonReader in) throws IOException { + public AsyncOrderCreateDTOVmfadditionalAttributesInner read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -213,18 +213,18 @@ public QuoteToOrderDetailsDTOAdditionalAttributesInner read(JsonReader in) throw } /** - * Create an instance of QuoteToOrderDetailsDTOAdditionalAttributesInner given an JSON string + * Create an instance of AsyncOrderCreateDTOVmfadditionalAttributesInner given an JSON string * * @param jsonString JSON string - * @return An instance of QuoteToOrderDetailsDTOAdditionalAttributesInner - * @throws IOException if the JSON string is invalid with respect to QuoteToOrderDetailsDTOAdditionalAttributesInner + * @return An instance of AsyncOrderCreateDTOVmfadditionalAttributesInner + * @throws IOException if the JSON string is invalid with respect to AsyncOrderCreateDTOVmfadditionalAttributesInner */ - public static QuoteToOrderDetailsDTOAdditionalAttributesInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteToOrderDetailsDTOAdditionalAttributesInner.class); + public static AsyncOrderCreateDTOVmfadditionalAttributesInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AsyncOrderCreateDTOVmfadditionalAttributesInner.class); } /** - * Convert an instance of QuoteToOrderDetailsDTOAdditionalAttributesInner to an JSON string + * Convert an instance of AsyncOrderCreateDTOVmfadditionalAttributesInner to an JSON string * * @return JSON string */ diff --git a/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInner.java b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInner.java new file mode 100644 index 00000000..eb975d85 --- /dev/null +++ b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInner.java @@ -0,0 +1,364 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import xiresellers.client.model.AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner; +import xiresellers.client.model.AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import xiresellers.client.JSON; + +/** + * AsyncOrderCreateDTOWarrantyInfoInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class AsyncOrderCreateDTOWarrantyInfoInner { + public static final String SERIALIZED_NAME_HARDWARE_LINE_LINK = "hardwareLineLink"; + @SerializedName(SERIALIZED_NAME_HARDWARE_LINE_LINK) + private String hardwareLineLink; + + public static final String SERIALIZED_NAME_WARRANTY_LINE_LINK = "warrantyLineLink"; + @SerializedName(SERIALIZED_NAME_WARRANTY_LINE_LINK) + private String warrantyLineLink; + + public static final String SERIALIZED_NAME_DIRECT_LINE_LINK = "directLineLink"; + @SerializedName(SERIALIZED_NAME_DIRECT_LINE_LINK) + private String directLineLink; + + public static final String SERIALIZED_NAME_SERIAL_INFO = "serialInfo"; + @SerializedName(SERIALIZED_NAME_SERIAL_INFO) + private List serialInfo = new ArrayList<>(); + + public static final String SERIALIZED_NAME_VMF_ADDITIONAL_ATTRIBUTES_LINES = "vmfAdditionalAttributesLines"; + @SerializedName(SERIALIZED_NAME_VMF_ADDITIONAL_ATTRIBUTES_LINES) + private List vmfAdditionalAttributesLines = new ArrayList<>(); + + public AsyncOrderCreateDTOWarrantyInfoInner() { + } + + public AsyncOrderCreateDTOWarrantyInfoInner hardwareLineLink(String hardwareLineLink) { + this.hardwareLineLink = hardwareLineLink; + return this; + } + + /** + * Get hardwareLineLink + * @return hardwareLineLink + **/ + @javax.annotation.Nullable + public String getHardwareLineLink() { + return hardwareLineLink; + } + + public void setHardwareLineLink(String hardwareLineLink) { + this.hardwareLineLink = hardwareLineLink; + } + + + public AsyncOrderCreateDTOWarrantyInfoInner warrantyLineLink(String warrantyLineLink) { + this.warrantyLineLink = warrantyLineLink; + return this; + } + + /** + * Get warrantyLineLink + * @return warrantyLineLink + **/ + @javax.annotation.Nullable + public String getWarrantyLineLink() { + return warrantyLineLink; + } + + public void setWarrantyLineLink(String warrantyLineLink) { + this.warrantyLineLink = warrantyLineLink; + } + + + public AsyncOrderCreateDTOWarrantyInfoInner directLineLink(String directLineLink) { + this.directLineLink = directLineLink; + return this; + } + + /** + * Get directLineLink + * @return directLineLink + **/ + @javax.annotation.Nullable + public String getDirectLineLink() { + return directLineLink; + } + + public void setDirectLineLink(String directLineLink) { + this.directLineLink = directLineLink; + } + + + public AsyncOrderCreateDTOWarrantyInfoInner serialInfo(List serialInfo) { + this.serialInfo = serialInfo; + return this; + } + + public AsyncOrderCreateDTOWarrantyInfoInner addSerialInfoItem(AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner serialInfoItem) { + if (this.serialInfo == null) { + this.serialInfo = new ArrayList<>(); + } + this.serialInfo.add(serialInfoItem); + return this; + } + + /** + * Get serialInfo + * @return serialInfo + **/ + @javax.annotation.Nullable + public List getSerialInfo() { + return serialInfo; + } + + public void setSerialInfo(List serialInfo) { + this.serialInfo = serialInfo; + } + + + public AsyncOrderCreateDTOWarrantyInfoInner vmfAdditionalAttributesLines(List vmfAdditionalAttributesLines) { + this.vmfAdditionalAttributesLines = vmfAdditionalAttributesLines; + return this; + } + + public AsyncOrderCreateDTOWarrantyInfoInner addVmfAdditionalAttributesLinesItem(AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner vmfAdditionalAttributesLinesItem) { + if (this.vmfAdditionalAttributesLines == null) { + this.vmfAdditionalAttributesLines = new ArrayList<>(); + } + this.vmfAdditionalAttributesLines.add(vmfAdditionalAttributesLinesItem); + return this; + } + + /** + * The object containing the list of fields required at a line level by the vendor. + * @return vmfAdditionalAttributesLines + **/ + @javax.annotation.Nullable + public List getVmfAdditionalAttributesLines() { + return vmfAdditionalAttributesLines; + } + + public void setVmfAdditionalAttributesLines(List vmfAdditionalAttributesLines) { + this.vmfAdditionalAttributesLines = vmfAdditionalAttributesLines; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AsyncOrderCreateDTOWarrantyInfoInner asyncOrderCreateDTOWarrantyInfoInner = (AsyncOrderCreateDTOWarrantyInfoInner) o; + return Objects.equals(this.hardwareLineLink, asyncOrderCreateDTOWarrantyInfoInner.hardwareLineLink) && + Objects.equals(this.warrantyLineLink, asyncOrderCreateDTOWarrantyInfoInner.warrantyLineLink) && + Objects.equals(this.directLineLink, asyncOrderCreateDTOWarrantyInfoInner.directLineLink) && + Objects.equals(this.serialInfo, asyncOrderCreateDTOWarrantyInfoInner.serialInfo) && + Objects.equals(this.vmfAdditionalAttributesLines, asyncOrderCreateDTOWarrantyInfoInner.vmfAdditionalAttributesLines); + } + + @Override + public int hashCode() { + return Objects.hash(hardwareLineLink, warrantyLineLink, directLineLink, serialInfo, vmfAdditionalAttributesLines); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AsyncOrderCreateDTOWarrantyInfoInner {\n"); + sb.append(" hardwareLineLink: ").append(toIndentedString(hardwareLineLink)).append("\n"); + sb.append(" warrantyLineLink: ").append(toIndentedString(warrantyLineLink)).append("\n"); + sb.append(" directLineLink: ").append(toIndentedString(directLineLink)).append("\n"); + sb.append(" serialInfo: ").append(toIndentedString(serialInfo)).append("\n"); + sb.append(" vmfAdditionalAttributesLines: ").append(toIndentedString(vmfAdditionalAttributesLines)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("hardwareLineLink"); + openapiFields.add("warrantyLineLink"); + openapiFields.add("directLineLink"); + openapiFields.add("serialInfo"); + openapiFields.add("vmfAdditionalAttributesLines"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AsyncOrderCreateDTOWarrantyInfoInner + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AsyncOrderCreateDTOWarrantyInfoInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AsyncOrderCreateDTOWarrantyInfoInner is not found in the empty JSON string", AsyncOrderCreateDTOWarrantyInfoInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!AsyncOrderCreateDTOWarrantyInfoInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AsyncOrderCreateDTOWarrantyInfoInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("hardwareLineLink") != null && !jsonObj.get("hardwareLineLink").isJsonNull()) && !jsonObj.get("hardwareLineLink").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `hardwareLineLink` to be a primitive type in the JSON string but got `%s`", jsonObj.get("hardwareLineLink").toString())); + } + if ((jsonObj.get("warrantyLineLink") != null && !jsonObj.get("warrantyLineLink").isJsonNull()) && !jsonObj.get("warrantyLineLink").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `warrantyLineLink` to be a primitive type in the JSON string but got `%s`", jsonObj.get("warrantyLineLink").toString())); + } + if ((jsonObj.get("directLineLink") != null && !jsonObj.get("directLineLink").isJsonNull()) && !jsonObj.get("directLineLink").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `directLineLink` to be a primitive type in the JSON string but got `%s`", jsonObj.get("directLineLink").toString())); + } + if (jsonObj.get("serialInfo") != null && !jsonObj.get("serialInfo").isJsonNull()) { + JsonArray jsonArrayserialInfo = jsonObj.getAsJsonArray("serialInfo"); + if (jsonArrayserialInfo != null) { + // ensure the json data is an array + if (!jsonObj.get("serialInfo").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `serialInfo` to be an array in the JSON string but got `%s`", jsonObj.get("serialInfo").toString())); + } + + // validate the optional field `serialInfo` (array) + for (int i = 0; i < jsonArrayserialInfo.size(); i++) { + AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.validateJsonElement(jsonArrayserialInfo.get(i)); + }; + } + } + if (jsonObj.get("vmfAdditionalAttributesLines") != null && !jsonObj.get("vmfAdditionalAttributesLines").isJsonNull()) { + JsonArray jsonArrayvmfAdditionalAttributesLines = jsonObj.getAsJsonArray("vmfAdditionalAttributesLines"); + if (jsonArrayvmfAdditionalAttributesLines != null) { + // ensure the json data is an array + if (!jsonObj.get("vmfAdditionalAttributesLines").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `vmfAdditionalAttributesLines` to be an array in the JSON string but got `%s`", jsonObj.get("vmfAdditionalAttributesLines").toString())); + } + + // validate the optional field `vmfAdditionalAttributesLines` (array) + for (int i = 0; i < jsonArrayvmfAdditionalAttributesLines.size(); i++) { + AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.validateJsonElement(jsonArrayvmfAdditionalAttributesLines.get(i)); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AsyncOrderCreateDTOWarrantyInfoInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AsyncOrderCreateDTOWarrantyInfoInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AsyncOrderCreateDTOWarrantyInfoInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AsyncOrderCreateDTOWarrantyInfoInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AsyncOrderCreateDTOWarrantyInfoInner read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AsyncOrderCreateDTOWarrantyInfoInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of AsyncOrderCreateDTOWarrantyInfoInner + * @throws IOException if the JSON string is invalid with respect to AsyncOrderCreateDTOWarrantyInfoInner + */ + public static AsyncOrderCreateDTOWarrantyInfoInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AsyncOrderCreateDTOWarrantyInfoInner.class); + } + + /** + * Convert an instance of AsyncOrderCreateDTOWarrantyInfoInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.java b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.java new file mode 100644 index 00000000..b77d5886 --- /dev/null +++ b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.java @@ -0,0 +1,293 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import xiresellers.client.JSON; + +/** + * AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner { + public static final String SERIALIZED_NAME_DATE_OF_PURCHASE = "dateOfPurchase"; + @SerializedName(SERIALIZED_NAME_DATE_OF_PURCHASE) + private String dateOfPurchase; + + public static final String SERIALIZED_NAME_SHIP_DATE = "shipDate"; + @SerializedName(SERIALIZED_NAME_SHIP_DATE) + private String shipDate; + + public static final String SERIALIZED_NAME_PRIMARY_SERIAL_NUMBER = "primarySerialNumber"; + @SerializedName(SERIALIZED_NAME_PRIMARY_SERIAL_NUMBER) + private String primarySerialNumber; + + public static final String SERIALIZED_NAME_SECONDARY_SERIAL_NUMBER = "secondarySerialNumber"; + @SerializedName(SERIALIZED_NAME_SECONDARY_SERIAL_NUMBER) + private String secondarySerialNumber; + + public AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner() { + } + + public AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner dateOfPurchase(String dateOfPurchase) { + this.dateOfPurchase = dateOfPurchase; + return this; + } + + /** + * Get dateOfPurchase + * @return dateOfPurchase + **/ + @javax.annotation.Nullable + public String getDateOfPurchase() { + return dateOfPurchase; + } + + public void setDateOfPurchase(String dateOfPurchase) { + this.dateOfPurchase = dateOfPurchase; + } + + + public AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner shipDate(String shipDate) { + this.shipDate = shipDate; + return this; + } + + /** + * Get shipDate + * @return shipDate + **/ + @javax.annotation.Nullable + public String getShipDate() { + return shipDate; + } + + public void setShipDate(String shipDate) { + this.shipDate = shipDate; + } + + + public AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner primarySerialNumber(String primarySerialNumber) { + this.primarySerialNumber = primarySerialNumber; + return this; + } + + /** + * Get primarySerialNumber + * @return primarySerialNumber + **/ + @javax.annotation.Nullable + public String getPrimarySerialNumber() { + return primarySerialNumber; + } + + public void setPrimarySerialNumber(String primarySerialNumber) { + this.primarySerialNumber = primarySerialNumber; + } + + + public AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner secondarySerialNumber(String secondarySerialNumber) { + this.secondarySerialNumber = secondarySerialNumber; + return this; + } + + /** + * Get secondarySerialNumber + * @return secondarySerialNumber + **/ + @javax.annotation.Nullable + public String getSecondarySerialNumber() { + return secondarySerialNumber; + } + + public void setSecondarySerialNumber(String secondarySerialNumber) { + this.secondarySerialNumber = secondarySerialNumber; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner asyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner = (AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) o; + return Objects.equals(this.dateOfPurchase, asyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.dateOfPurchase) && + Objects.equals(this.shipDate, asyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.shipDate) && + Objects.equals(this.primarySerialNumber, asyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.primarySerialNumber) && + Objects.equals(this.secondarySerialNumber, asyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.secondarySerialNumber); + } + + @Override + public int hashCode() { + return Objects.hash(dateOfPurchase, shipDate, primarySerialNumber, secondarySerialNumber); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner {\n"); + sb.append(" dateOfPurchase: ").append(toIndentedString(dateOfPurchase)).append("\n"); + sb.append(" shipDate: ").append(toIndentedString(shipDate)).append("\n"); + sb.append(" primarySerialNumber: ").append(toIndentedString(primarySerialNumber)).append("\n"); + sb.append(" secondarySerialNumber: ").append(toIndentedString(secondarySerialNumber)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("dateOfPurchase"); + openapiFields.add("shipDate"); + openapiFields.add("primarySerialNumber"); + openapiFields.add("secondarySerialNumber"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner is not found in the empty JSON string", AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("dateOfPurchase") != null && !jsonObj.get("dateOfPurchase").isJsonNull()) && !jsonObj.get("dateOfPurchase").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `dateOfPurchase` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dateOfPurchase").toString())); + } + if ((jsonObj.get("shipDate") != null && !jsonObj.get("shipDate").isJsonNull()) && !jsonObj.get("shipDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `shipDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shipDate").toString())); + } + if ((jsonObj.get("primarySerialNumber") != null && !jsonObj.get("primarySerialNumber").isJsonNull()) && !jsonObj.get("primarySerialNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `primarySerialNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("primarySerialNumber").toString())); + } + if ((jsonObj.get("secondarySerialNumber") != null && !jsonObj.get("secondarySerialNumber").isJsonNull()) && !jsonObj.get("secondarySerialNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `secondarySerialNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("secondarySerialNumber").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner + * @throws IOException if the JSON string is invalid with respect to AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner + */ + public static AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.class); + } + + /** + * Convert an instance of AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.java similarity index 56% rename from src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java rename to src/main/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.java index b62b9707..abb186c4 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -47,10 +47,10 @@ import xiresellers.client.JSON; /** - * QuoteToOrderDetailsDTOVmfadditionalAttributesInner + * AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") -public class QuoteToOrderDetailsDTOVmfadditionalAttributesInner { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) private String attributeName; @@ -59,20 +59,16 @@ public class QuoteToOrderDetailsDTOVmfadditionalAttributesInner { @SerializedName(SERIALIZED_NAME_ATTRIBUTE_VALUE) private String attributeValue; - public static final String SERIALIZED_NAME_ATTRIBUTE_DESCRIPTION = "attributeDescription"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTE_DESCRIPTION) - private String attributeDescription; - - public QuoteToOrderDetailsDTOVmfadditionalAttributesInner() { + public AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner() { } - public QuoteToOrderDetailsDTOVmfadditionalAttributesInner attributeName(String attributeName) { + public AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner attributeName(String attributeName) { this.attributeName = attributeName; return this; } /** - * The name of the header level field. + * The name of the line level field. * @return attributeName **/ @javax.annotation.Nullable @@ -85,13 +81,13 @@ public void setAttributeName(String attributeName) { } - public QuoteToOrderDetailsDTOVmfadditionalAttributesInner attributeValue(String attributeValue) { + public AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner attributeValue(String attributeValue) { this.attributeValue = attributeValue; return this; } /** - * The value of the header level field. + * The value of the line level field. * @return attributeValue **/ @javax.annotation.Nullable @@ -104,25 +100,6 @@ public void setAttributeValue(String attributeValue) { } - public QuoteToOrderDetailsDTOVmfadditionalAttributesInner attributeDescription(String attributeDescription) { - this.attributeDescription = attributeDescription; - return this; - } - - /** - * The description of the header level field. - * @return attributeDescription - **/ - @javax.annotation.Nullable - public String getAttributeDescription() { - return attributeDescription; - } - - public void setAttributeDescription(String attributeDescription) { - this.attributeDescription = attributeDescription; - } - - @Override public boolean equals(Object o) { @@ -132,24 +109,22 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - QuoteToOrderDetailsDTOVmfadditionalAttributesInner quoteToOrderDetailsDTOVmfadditionalAttributesInner = (QuoteToOrderDetailsDTOVmfadditionalAttributesInner) o; - return Objects.equals(this.attributeName, quoteToOrderDetailsDTOVmfadditionalAttributesInner.attributeName) && - Objects.equals(this.attributeValue, quoteToOrderDetailsDTOVmfadditionalAttributesInner.attributeValue) && - Objects.equals(this.attributeDescription, quoteToOrderDetailsDTOVmfadditionalAttributesInner.attributeDescription); + AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner asyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner = (AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) o; + return Objects.equals(this.attributeName, asyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.attributeName) && + Objects.equals(this.attributeValue, asyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.attributeValue); } @Override public int hashCode() { - return Objects.hash(attributeName, attributeValue, attributeDescription); + return Objects.hash(attributeName, attributeValue); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class QuoteToOrderDetailsDTOVmfadditionalAttributesInner {\n"); + sb.append("class AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner {\n"); sb.append(" attributeName: ").append(toIndentedString(attributeName)).append("\n"); sb.append(" attributeValue: ").append(toIndentedString(attributeValue)).append("\n"); - sb.append(" attributeDescription: ").append(toIndentedString(attributeDescription)).append("\n"); sb.append("}"); return sb.toString(); } @@ -174,7 +149,6 @@ private String toIndentedString(Object o) { openapiFields = new HashSet(); openapiFields.add("attributeName"); openapiFields.add("attributeValue"); - openapiFields.add("attributeDescription"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -184,20 +158,20 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to QuoteToOrderDetailsDTOVmfadditionalAttributesInner + * @throws IOException if the JSON Element is invalid with respect to AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!QuoteToOrderDetailsDTOVmfadditionalAttributesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteToOrderDetailsDTOVmfadditionalAttributesInner is not found in the empty JSON string", QuoteToOrderDetailsDTOVmfadditionalAttributesInner.openapiRequiredFields.toString())); + if (!AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner is not found in the empty JSON string", AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!QuoteToOrderDetailsDTOVmfadditionalAttributesInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteToOrderDetailsDTOVmfadditionalAttributesInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -207,31 +181,28 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("attributeValue") != null && !jsonObj.get("attributeValue").isJsonNull()) && !jsonObj.get("attributeValue").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `attributeValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attributeValue").toString())); } - if ((jsonObj.get("attributeDescription") != null && !jsonObj.get("attributeDescription").isJsonNull()) && !jsonObj.get("attributeDescription").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `attributeDescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attributeDescription").toString())); - } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteToOrderDetailsDTOVmfadditionalAttributesInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteToOrderDetailsDTOVmfadditionalAttributesInner' and its subtypes + if (!AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteToOrderDetailsDTOVmfadditionalAttributesInner.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, QuoteToOrderDetailsDTOVmfadditionalAttributesInner value) throws IOException { + public void write(JsonWriter out, AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public QuoteToOrderDetailsDTOVmfadditionalAttributesInner read(JsonReader in) throws IOException { + public AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -242,18 +213,18 @@ public QuoteToOrderDetailsDTOVmfadditionalAttributesInner read(JsonReader in) th } /** - * Create an instance of QuoteToOrderDetailsDTOVmfadditionalAttributesInner given an JSON string + * Create an instance of AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner given an JSON string * * @param jsonString JSON string - * @return An instance of QuoteToOrderDetailsDTOVmfadditionalAttributesInner - * @throws IOException if the JSON string is invalid with respect to QuoteToOrderDetailsDTOVmfadditionalAttributesInner + * @return An instance of AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner + * @throws IOException if the JSON string is invalid with respect to AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner */ - public static QuoteToOrderDetailsDTOVmfadditionalAttributesInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteToOrderDetailsDTOVmfadditionalAttributesInner.class); + public static AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.class); } /** - * Convert an instance of QuoteToOrderDetailsDTOVmfadditionalAttributesInner to an JSON string + * Convert an instance of AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner to an JSON string * * @return JSON string */ diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java b/src/main/java/xiresellers/client/model/AsyncOrderCreateResponse.java similarity index 74% rename from src/main/java/xiresellers/client/model/QuoteToOrderResponse.java rename to src/main/java/xiresellers/client/model/AsyncOrderCreateResponse.java index f9e10bab..4777f171 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java +++ b/src/main/java/xiresellers/client/model/AsyncOrderCreateResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -47,10 +47,10 @@ import xiresellers.client.JSON; /** - * QuoteToOrderResponse + * AsyncOrderCreateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") -public class QuoteToOrderResponse { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class AsyncOrderCreateResponse { public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) private String quoteNumber; @@ -63,10 +63,10 @@ public class QuoteToOrderResponse { @SerializedName(SERIALIZED_NAME_MESSAGE) private String message; - public QuoteToOrderResponse() { + public AsyncOrderCreateResponse() { } - public QuoteToOrderResponse quoteNumber(String quoteNumber) { + public AsyncOrderCreateResponse quoteNumber(String quoteNumber) { this.quoteNumber = quoteNumber; return this; } @@ -85,7 +85,7 @@ public void setQuoteNumber(String quoteNumber) { } - public QuoteToOrderResponse confirmationNumber(String confirmationNumber) { + public AsyncOrderCreateResponse confirmationNumber(String confirmationNumber) { this.confirmationNumber = confirmationNumber; return this; } @@ -104,7 +104,7 @@ public void setConfirmationNumber(String confirmationNumber) { } - public QuoteToOrderResponse message(String message) { + public AsyncOrderCreateResponse message(String message) { this.message = message; return this; } @@ -132,10 +132,10 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - QuoteToOrderResponse quoteToOrderResponse = (QuoteToOrderResponse) o; - return Objects.equals(this.quoteNumber, quoteToOrderResponse.quoteNumber) && - Objects.equals(this.confirmationNumber, quoteToOrderResponse.confirmationNumber) && - Objects.equals(this.message, quoteToOrderResponse.message); + AsyncOrderCreateResponse asyncOrderCreateResponse = (AsyncOrderCreateResponse) o; + return Objects.equals(this.quoteNumber, asyncOrderCreateResponse.quoteNumber) && + Objects.equals(this.confirmationNumber, asyncOrderCreateResponse.confirmationNumber) && + Objects.equals(this.message, asyncOrderCreateResponse.message); } @Override @@ -146,7 +146,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class QuoteToOrderResponse {\n"); + sb.append("class AsyncOrderCreateResponse {\n"); sb.append(" quoteNumber: ").append(toIndentedString(quoteNumber)).append("\n"); sb.append(" confirmationNumber: ").append(toIndentedString(confirmationNumber)).append("\n"); sb.append(" message: ").append(toIndentedString(message)).append("\n"); @@ -184,20 +184,20 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to QuoteToOrderResponse + * @throws IOException if the JSON Element is invalid with respect to AsyncOrderCreateResponse */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!QuoteToOrderResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteToOrderResponse is not found in the empty JSON string", QuoteToOrderResponse.openapiRequiredFields.toString())); + if (!AsyncOrderCreateResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AsyncOrderCreateResponse is not found in the empty JSON string", AsyncOrderCreateResponse.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!QuoteToOrderResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteToOrderResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!AsyncOrderCreateResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AsyncOrderCreateResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -216,22 +216,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteToOrderResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteToOrderResponse' and its subtypes + if (!AsyncOrderCreateResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AsyncOrderCreateResponse' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteToOrderResponse.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AsyncOrderCreateResponse.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, QuoteToOrderResponse value) throws IOException { + public void write(JsonWriter out, AsyncOrderCreateResponse value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public QuoteToOrderResponse read(JsonReader in) throws IOException { + public AsyncOrderCreateResponse read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -242,18 +242,18 @@ public QuoteToOrderResponse read(JsonReader in) throws IOException { } /** - * Create an instance of QuoteToOrderResponse given an JSON string + * Create an instance of AsyncOrderCreateResponse given an JSON string * * @param jsonString JSON string - * @return An instance of QuoteToOrderResponse - * @throws IOException if the JSON string is invalid with respect to QuoteToOrderResponse + * @return An instance of AsyncOrderCreateResponse + * @throws IOException if the JSON string is invalid with respect to AsyncOrderCreateResponse */ - public static QuoteToOrderResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteToOrderResponse.class); + public static AsyncOrderCreateResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AsyncOrderCreateResponse.class); } /** - * Convert an instance of QuoteToOrderResponse to an JSON string + * Convert an instance of AsyncOrderCreateResponse to an JSON string * * @return JSON string */ diff --git a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java index 7e2626e5..76319e0f 100644 --- a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java +++ b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * AvailabilityAsyncNotificationRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class AvailabilityAsyncNotificationRequest { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) @@ -72,7 +72,7 @@ public class AvailabilityAsyncNotificationRequest { public static final String SERIALIZED_NAME_RESOURCE = "resource"; @SerializedName(SERIALIZED_NAME_RESOURCE) - private List resource; + private List resource = new ArrayList<>(); public AvailabilityAsyncNotificationRequest() { } diff --git a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java index 01b8d827..64f55dd8 100644 --- a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java +++ b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * AvailabilityAsyncNotificationRequestResourceInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class AvailabilityAsyncNotificationRequestResourceInner { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) @@ -88,7 +88,7 @@ public class AvailabilityAsyncNotificationRequestResourceInner { public static final String SERIALIZED_NAME_LINKS = "links"; @SerializedName(SERIALIZED_NAME_LINKS) - private List links; + private List links = new ArrayList<>(); public AvailabilityAsyncNotificationRequestResourceInner() { } diff --git a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java index 8f5e56ae..0b261fe9 100644 --- a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * AvailabilityAsyncNotificationRequestResourceInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class AvailabilityAsyncNotificationRequestResourceInnerLinksInner { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/DealsDetailsResponse.java b/src/main/java/xiresellers/client/model/DealsDetailsResponse.java index 0dd63e46..fcc126fa 100644 --- a/src/main/java/xiresellers/client/model/DealsDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/DealsDetailsResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -54,7 +54,7 @@ /** * DealsDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class DealsDetailsResponse { public static final String SERIALIZED_NAME_DEAL_ID = "dealId"; @SerializedName(SERIALIZED_NAME_DEAL_ID) @@ -98,7 +98,7 @@ public class DealsDetailsResponse { public static final String SERIALIZED_NAME_PRODUCTS = "products"; @SerializedName(SERIALIZED_NAME_PRODUCTS) - private List products; + private List products = new ArrayList<>(); public DealsDetailsResponse() { } diff --git a/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java b/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java index d258087e..0a0dbdcc 100644 --- a/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * DealsDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class DealsDetailsResponseProductsInner { public static final String SERIALIZED_NAME_INGRAM_PART_NUMBER = "ingramPartNumber"; @SerializedName(SERIALIZED_NAME_INGRAM_PART_NUMBER) diff --git a/src/main/java/xiresellers/client/model/DealsSearchResponse.java b/src/main/java/xiresellers/client/model/DealsSearchResponse.java index 30f54340..64ee9165 100644 --- a/src/main/java/xiresellers/client/model/DealsSearchResponse.java +++ b/src/main/java/xiresellers/client/model/DealsSearchResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * DealsSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class DealsSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) @@ -68,7 +68,7 @@ public class DealsSearchResponse { public static final String SERIALIZED_NAME_DEALS = "deals"; @SerializedName(SERIALIZED_NAME_DEALS) - private List deals; + private List deals = new ArrayList<>(); public static final String SERIALIZED_NAME_NEXT_PAGE = "nextPage"; @SerializedName(SERIALIZED_NAME_NEXT_PAGE) diff --git a/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java b/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java index 3107fdab..46c60f91 100644 --- a/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java +++ b/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * DealsSearchResponseDealsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class DealsSearchResponseDealsInner { public static final String SERIALIZED_NAME_DEAL_ID = "dealId"; @SerializedName(SERIALIZED_NAME_DEAL_ID) diff --git a/src/main/java/xiresellers/client/model/Error.java b/src/main/java/xiresellers/client/model/Error.java index 337a10bc..ec8befd9 100644 --- a/src/main/java/xiresellers/client/model/Error.java +++ b/src/main/java/xiresellers/client/model/Error.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -53,7 +53,7 @@ /** * Error */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class Error { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/xiresellers/client/model/ErrorResponse.java b/src/main/java/xiresellers/client/model/ErrorResponse.java index 66896005..27ff8bc6 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponse.java +++ b/src/main/java/xiresellers/client/model/ErrorResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,11 +52,11 @@ /** * ErrorResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ErrorResponse { public static final String SERIALIZED_NAME_ERRORS = "errors"; @SerializedName(SERIALIZED_NAME_ERRORS) - private List errors; + private List errors = new ArrayList<>(); public ErrorResponse() { } diff --git a/src/main/java/xiresellers/client/model/ErrorResponseDTO.java b/src/main/java/xiresellers/client/model/ErrorResponseDTO.java index 50531fd2..85882942 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponseDTO.java +++ b/src/main/java/xiresellers/client/model/ErrorResponseDTO.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -53,7 +53,7 @@ /** * ErrorResponseDTO */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ErrorResponseDTO { public static final String SERIALIZED_NAME_ERRORS = "errors"; @SerializedName(SERIALIZED_NAME_ERRORS) diff --git a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInner.java b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInner.java index 500bab86..c969dd5a 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInner.java +++ b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * ErrorResponseErrorsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ErrorResponseErrorsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -68,7 +68,7 @@ public class ErrorResponseErrorsInner { public static final String SERIALIZED_NAME_FIELDS = "fields"; @SerializedName(SERIALIZED_NAME_FIELDS) - private List fields; + private List fields = new ArrayList<>(); public ErrorResponseErrorsInner() { } diff --git a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java index 17be50a3..2a6baa25 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java +++ b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * ErrorResponseErrorsInnerFieldsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ErrorResponseErrorsInnerFieldsInner { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) diff --git a/src/main/java/xiresellers/client/model/Fields.java b/src/main/java/xiresellers/client/model/Fields.java index ac2c52da..d23bdd1c 100644 --- a/src/main/java/xiresellers/client/model/Fields.java +++ b/src/main/java/xiresellers/client/model/Fields.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * Fields */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class Fields { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) diff --git a/src/main/java/xiresellers/client/model/FreightRequest.java b/src/main/java/xiresellers/client/model/FreightRequest.java index a9c25091..1fa46307 100644 --- a/src/main/java/xiresellers/client/model/FreightRequest.java +++ b/src/main/java/xiresellers/client/model/FreightRequest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -53,7 +53,7 @@ /** * FreightRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class FreightRequest { public static final String SERIALIZED_NAME_BILL_TO_ADDRESS_ID = "billToAddressId"; @SerializedName(SERIALIZED_NAME_BILL_TO_ADDRESS_ID) @@ -65,11 +65,11 @@ public class FreightRequest { public static final String SERIALIZED_NAME_SHIP_TO_ADDRESS = "shipToAddress"; @SerializedName(SERIALIZED_NAME_SHIP_TO_ADDRESS) - private List shipToAddress; + private List shipToAddress = new ArrayList<>(); public static final String SERIALIZED_NAME_LINES = "lines"; @SerializedName(SERIALIZED_NAME_LINES) - private List lines; + private List lines = new ArrayList<>(); public FreightRequest() { } diff --git a/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java b/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java index 54f788e7..c3dd8c94 100644 --- a/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java +++ b/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * FreightRequestLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class FreightRequestLinesInner { public static final String SERIALIZED_NAME_CUSTOMER_LINE_NUMBER = "customerLineNumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_LINE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/FreightRequestShipToAddressInner.java b/src/main/java/xiresellers/client/model/FreightRequestShipToAddressInner.java index 390547f7..eb6623b6 100644 --- a/src/main/java/xiresellers/client/model/FreightRequestShipToAddressInner.java +++ b/src/main/java/xiresellers/client/model/FreightRequestShipToAddressInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * FreightRequestShipToAddressInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class FreightRequestShipToAddressInner { public static final String SERIALIZED_NAME_COMPANY_NAME = "companyName"; @SerializedName(SERIALIZED_NAME_COMPANY_NAME) diff --git a/src/main/java/xiresellers/client/model/FreightResponse.java b/src/main/java/xiresellers/client/model/FreightResponse.java index 6abc0218..f9700232 100644 --- a/src/main/java/xiresellers/client/model/FreightResponse.java +++ b/src/main/java/xiresellers/client/model/FreightResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * FreightResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class FreightResponse { public static final String SERIALIZED_NAME_FREIGHT_ESTIMATE_RESPONSE = "freightEstimateResponse"; @SerializedName(SERIALIZED_NAME_FREIGHT_ESTIMATE_RESPONSE) diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponse.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponse.java index 2f25808e..42aff7a2 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponse.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -54,7 +54,7 @@ /** * FreightResponseFreightEstimateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class FreightResponseFreightEstimateResponse { public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) @@ -82,11 +82,11 @@ public class FreightResponseFreightEstimateResponse { public static final String SERIALIZED_NAME_DISTRIBUTION = "distribution"; @SerializedName(SERIALIZED_NAME_DISTRIBUTION) - private List distribution; + private List distribution = new ArrayList<>(); public static final String SERIALIZED_NAME_LINES = "lines"; @SerializedName(SERIALIZED_NAME_LINES) - private List lines; + private List lines = new ArrayList<>(); public FreightResponseFreightEstimateResponse() { } diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java index c3bb13a8..75a3bec8 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -53,7 +53,7 @@ /** * FreightResponseFreightEstimateResponseDistributionInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class FreightResponseFreightEstimateResponseDistributionInner { public static final String SERIALIZED_NAME_SHIP_FROM_BRANCH_NUMBER = "shipFromBranchNumber"; @SerializedName(SERIALIZED_NAME_SHIP_FROM_BRANCH_NUMBER) @@ -81,7 +81,7 @@ public class FreightResponseFreightEstimateResponseDistributionInner { public static final String SERIALIZED_NAME_CARRIER_LIST = "carrierList"; @SerializedName(SERIALIZED_NAME_CARRIER_LIST) - private List carrierList; + private List carrierList = new ArrayList<>(); public FreightResponseFreightEstimateResponseDistributionInner() { } diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java index eb7736c9..2316992e 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -20,7 +20,6 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.math.BigDecimal; import java.util.Arrays; import com.google.gson.Gson; @@ -50,7 +49,7 @@ /** * FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner { public static final String SERIALIZED_NAME_CARRIER_CODE = "carrierCode"; @SerializedName(SERIALIZED_NAME_CARRIER_CODE) @@ -66,11 +65,11 @@ public class FreightResponseFreightEstimateResponseDistributionInnerCarrierListI public static final String SERIALIZED_NAME_ESTIMATED_FREIGHT_CHARGE = "estimatedFreightCharge"; @SerializedName(SERIALIZED_NAME_ESTIMATED_FREIGHT_CHARGE) - private BigDecimal estimatedFreightCharge; + private String estimatedFreightCharge; public static final String SERIALIZED_NAME_DAYS_IN_TRANSIT = "daysInTransit"; @SerializedName(SERIALIZED_NAME_DAYS_IN_TRANSIT) - private Integer daysInTransit; + private String daysInTransit; public FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner() { } @@ -132,7 +131,7 @@ public void setCarrierMode(String carrierMode) { } - public FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner estimatedFreightCharge(BigDecimal estimatedFreightCharge) { + public FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner estimatedFreightCharge(String estimatedFreightCharge) { this.estimatedFreightCharge = estimatedFreightCharge; return this; } @@ -142,16 +141,16 @@ public FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner e * @return estimatedFreightCharge **/ @javax.annotation.Nullable - public BigDecimal getEstimatedFreightCharge() { + public String getEstimatedFreightCharge() { return estimatedFreightCharge; } - public void setEstimatedFreightCharge(BigDecimal estimatedFreightCharge) { + public void setEstimatedFreightCharge(String estimatedFreightCharge) { this.estimatedFreightCharge = estimatedFreightCharge; } - public FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner daysInTransit(Integer daysInTransit) { + public FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner daysInTransit(String daysInTransit) { this.daysInTransit = daysInTransit; return this; } @@ -161,11 +160,11 @@ public FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner d * @return daysInTransit **/ @javax.annotation.Nullable - public Integer getDaysInTransit() { + public String getDaysInTransit() { return daysInTransit; } - public void setDaysInTransit(Integer daysInTransit) { + public void setDaysInTransit(String daysInTransit) { this.daysInTransit = daysInTransit; } @@ -263,6 +262,12 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("carrierMode") != null && !jsonObj.get("carrierMode").isJsonNull()) && !jsonObj.get("carrierMode").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `carrierMode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("carrierMode").toString())); } + if ((jsonObj.get("estimatedFreightCharge") != null && !jsonObj.get("estimatedFreightCharge").isJsonNull()) && !jsonObj.get("estimatedFreightCharge").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `estimatedFreightCharge` to be a primitive type in the JSON string but got `%s`", jsonObj.get("estimatedFreightCharge").toString())); + } + if ((jsonObj.get("daysInTransit") != null && !jsonObj.get("daysInTransit").isJsonNull()) && !jsonObj.get("daysInTransit").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `daysInTransit` to be a primitive type in the JSON string but got `%s`", jsonObj.get("daysInTransit").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java index 633cfaf2..f27bb1f6 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * FreightResponseFreightEstimateResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class FreightResponseFreightEstimateResponseLinesInner { public static final String SERIALIZED_NAME_INGRAM_PART_NUMBER = "ingramPartNumber"; @SerializedName(SERIALIZED_NAME_INGRAM_PART_NUMBER) diff --git a/src/main/java/xiresellers/client/model/GetAccesstoken400Response.java b/src/main/java/xiresellers/client/model/GetAccesstoken400Response.java index 2932421f..6e97a405 100644 --- a/src/main/java/xiresellers/client/model/GetAccesstoken400Response.java +++ b/src/main/java/xiresellers/client/model/GetAccesstoken400Response.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * GetAccesstoken400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class GetAccesstoken400Response { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) diff --git a/src/main/java/xiresellers/client/model/GetAccesstoken500Response.java b/src/main/java/xiresellers/client/model/GetAccesstoken500Response.java index 4119e61e..2b27d4fe 100644 --- a/src/main/java/xiresellers/client/model/GetAccesstoken500Response.java +++ b/src/main/java/xiresellers/client/model/GetAccesstoken500Response.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * GetAccesstoken500Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class GetAccesstoken500Response { public static final String SERIALIZED_NAME_FAULT = "fault"; @SerializedName(SERIALIZED_NAME_FAULT) diff --git a/src/main/java/xiresellers/client/model/GetAccesstoken500ResponseFault.java b/src/main/java/xiresellers/client/model/GetAccesstoken500ResponseFault.java index ef01e99d..9cba991b 100644 --- a/src/main/java/xiresellers/client/model/GetAccesstoken500ResponseFault.java +++ b/src/main/java/xiresellers/client/model/GetAccesstoken500ResponseFault.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * GetAccesstoken500ResponseFault */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class GetAccesstoken500ResponseFault { public static final String SERIALIZED_NAME_FAULTSTRING = "faultstring"; @SerializedName(SERIALIZED_NAME_FAULTSTRING) diff --git a/src/main/java/xiresellers/client/model/GetAccesstoken500ResponseFaultDetail.java b/src/main/java/xiresellers/client/model/GetAccesstoken500ResponseFaultDetail.java index 00f633f2..07a5eb86 100644 --- a/src/main/java/xiresellers/client/model/GetAccesstoken500ResponseFaultDetail.java +++ b/src/main/java/xiresellers/client/model/GetAccesstoken500ResponseFaultDetail.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * GetAccesstoken500ResponseFaultDetail */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class GetAccesstoken500ResponseFaultDetail { public static final String SERIALIZED_NAME_ERRORCODE = "errorcode"; @SerializedName(SERIALIZED_NAME_ERRORCODE) diff --git a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java index 8b06f234..ff3aabfe 100644 --- a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java +++ b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * GetResellerV6ValidateQuote400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class GetResellerV6ValidateQuote400Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) @@ -68,7 +68,7 @@ public class GetResellerV6ValidateQuote400Response { public static final String SERIALIZED_NAME_FIELDS = "fields"; @SerializedName(SERIALIZED_NAME_FIELDS) - private List fields; + private List fields = new ArrayList<>(); public GetResellerV6ValidateQuote400Response() { } diff --git a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java index ac2bc093..215c98ba 100644 --- a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java +++ b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * GetResellerV6ValidateQuote400ResponseFieldsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class GetResellerV6ValidateQuote400ResponseFieldsInner { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java index e52d739d..cbc5fc5d 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -57,7 +57,7 @@ /** * InvoiceDetailsv61Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class InvoiceDetailsv61Response { public static final String SERIALIZED_NAME_INVOICE_NUMBER = "invoiceNumber"; @SerializedName(SERIALIZED_NAME_INVOICE_NUMBER) @@ -129,7 +129,7 @@ public class InvoiceDetailsv61Response { public static final String SERIALIZED_NAME_LINES = "lines"; @SerializedName(SERIALIZED_NAME_LINES) - private List lines; + private List lines = new ArrayList<>(); public static final String SERIALIZED_NAME_FX_RATE_INFO = "fxRateInfo"; @SerializedName(SERIALIZED_NAME_FX_RATE_INFO) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java index 32e5f06d..137b652c 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseBillToInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class InvoiceDetailsv61ResponseBillToInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfo.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfo.java index 16c09553..31a10c54 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseFxRateInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class InvoiceDetailsv61ResponseFxRateInfo { public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInner.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInner.java index 00ff67bd..6fff76be 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -54,7 +54,7 @@ /** * InvoiceDetailsv61ResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class InvoiceDetailsv61ResponseLinesInner { public static final String SERIALIZED_NAME_INGRAM_LINE_NUMBER = "ingramLineNumber"; @SerializedName(SERIALIZED_NAME_INGRAM_LINE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner.java index 2cbd6c79..22abb30c 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner { public static final String SERIALIZED_NAME_SERIAL_NUMBER = "serialNumber"; @SerializedName(SERIALIZED_NAME_SERIAL_NUMBER) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfo.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfo.java index e8da663c..1dcc55a4 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * Payment terms is the agreement between Ingram and the customer by what period they should pay the invoice by */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class InvoiceDetailsv61ResponsePaymentTermsInfo { public static final String SERIALIZED_NAME_PAYMENT_TERMS_CODE = "paymentTermsCode"; @SerializedName(SERIALIZED_NAME_PAYMENT_TERMS_CODE) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfo.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfo.java index b89bd628..fcf430a1 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseShipToInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class InvoiceDetailsv61ResponseShipToInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummary.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummary.java index a45db8c9..0365e8af 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummary.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummary.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -56,7 +56,7 @@ /** * InvoiceDetailsv61ResponseSummary */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class InvoiceDetailsv61ResponseSummary { public static final String SERIALIZED_NAME_LINES = "lines"; @SerializedName(SERIALIZED_NAME_LINES) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotals.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotals.java index 1c02c629..73917f92 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotals.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotals.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryForeignFxTotals */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class InvoiceDetailsv61ResponseSummaryForeignFxTotals { public static final String SERIALIZED_NAME_FOREIGN_CURRENCY_CODE = "foreignCurrencyCode"; @SerializedName(SERIALIZED_NAME_FOREIGN_CURRENCY_CODE) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLines.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLines.java index 83bb5bc2..f5891196 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLines.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLines.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryLines */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class InvoiceDetailsv61ResponseSummaryLines { public static final String SERIALIZED_NAME_PRODUCT_LINE_COUNT = "productLineCount"; @SerializedName(SERIALIZED_NAME_PRODUCT_LINE_COUNT) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInner.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInner.java index 5ee16e86..65a2d72a 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryMiscChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class InvoiceDetailsv61ResponseSummaryMiscChargesInner { public static final String SERIALIZED_NAME_CHARGE_DESCRIPTION = "chargeDescription"; @SerializedName(SERIALIZED_NAME_CHARGE_DESCRIPTION) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotals.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotals.java index e3d90aee..edc29f50 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotals.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotals.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryTotals */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class InvoiceDetailsv61ResponseSummaryTotals { public static final String SERIALIZED_NAME_NET_INVOICE_AMOUNT = "netInvoiceAmount"; @SerializedName(SERIALIZED_NAME_NET_INVOICE_AMOUNT) @@ -67,9 +67,9 @@ public class InvoiceDetailsv61ResponseSummaryTotals { @SerializedName(SERIALIZED_NAME_TOTAL_TAX_AMOUNT) private Double totalTaxAmount; - public static final String SERIALIZED_NAME_INVOICES_AMOUNT_DUE = "invoicesAmountDue"; - @SerializedName(SERIALIZED_NAME_INVOICES_AMOUNT_DUE) - private Double invoicesAmountDue; + public static final String SERIALIZED_NAME_INVOICED_AMOUNT_DUE = "invoicedAmountDue"; + @SerializedName(SERIALIZED_NAME_INVOICED_AMOUNT_DUE) + private Double invoicedAmountDue; public static final String SERIALIZED_NAME_FREIGHT_AMOUNT = "freightAmount"; @SerializedName(SERIALIZED_NAME_FREIGHT_AMOUNT) @@ -154,22 +154,22 @@ public void setTotalTaxAmount(Double totalTaxAmount) { } - public InvoiceDetailsv61ResponseSummaryTotals invoicesAmountDue(Double invoicesAmountDue) { - this.invoicesAmountDue = invoicesAmountDue; + public InvoiceDetailsv61ResponseSummaryTotals invoicedAmountDue(Double invoicedAmountDue) { + this.invoicedAmountDue = invoicedAmountDue; return this; } /** * Total amount due for the invoice. - * @return invoicesAmountDue + * @return invoicedAmountDue **/ @javax.annotation.Nullable - public Double getInvoicesAmountDue() { - return invoicesAmountDue; + public Double getInvoicedAmountDue() { + return invoicedAmountDue; } - public void setInvoicesAmountDue(Double invoicesAmountDue) { - this.invoicesAmountDue = invoicesAmountDue; + public void setInvoicedAmountDue(Double invoicedAmountDue) { + this.invoicedAmountDue = invoicedAmountDue; } @@ -206,13 +206,13 @@ public boolean equals(Object o) { Objects.equals(this.discountAmount, invoiceDetailsv61ResponseSummaryTotals.discountAmount) && Objects.equals(this.discountType, invoiceDetailsv61ResponseSummaryTotals.discountType) && Objects.equals(this.totalTaxAmount, invoiceDetailsv61ResponseSummaryTotals.totalTaxAmount) && - Objects.equals(this.invoicesAmountDue, invoiceDetailsv61ResponseSummaryTotals.invoicesAmountDue) && + Objects.equals(this.invoicedAmountDue, invoiceDetailsv61ResponseSummaryTotals.invoicedAmountDue) && Objects.equals(this.freightAmount, invoiceDetailsv61ResponseSummaryTotals.freightAmount); } @Override public int hashCode() { - return Objects.hash(netInvoiceAmount, discountAmount, discountType, totalTaxAmount, invoicesAmountDue, freightAmount); + return Objects.hash(netInvoiceAmount, discountAmount, discountType, totalTaxAmount, invoicedAmountDue, freightAmount); } @Override @@ -223,7 +223,7 @@ public String toString() { sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); sb.append(" discountType: ").append(toIndentedString(discountType)).append("\n"); sb.append(" totalTaxAmount: ").append(toIndentedString(totalTaxAmount)).append("\n"); - sb.append(" invoicesAmountDue: ").append(toIndentedString(invoicesAmountDue)).append("\n"); + sb.append(" invoicedAmountDue: ").append(toIndentedString(invoicedAmountDue)).append("\n"); sb.append(" freightAmount: ").append(toIndentedString(freightAmount)).append("\n"); sb.append("}"); return sb.toString(); @@ -251,7 +251,7 @@ private String toIndentedString(Object o) { openapiFields.add("discountAmount"); openapiFields.add("discountType"); openapiFields.add("totalTaxAmount"); - openapiFields.add("invoicesAmountDue"); + openapiFields.add("invoicedAmountDue"); openapiFields.add("freightAmount"); // a set of required properties/fields (JSON key names) diff --git a/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java b/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java index 3c823307..b7c47d06 100644 --- a/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java +++ b/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * InvoiceSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class InvoiceSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) @@ -68,7 +68,7 @@ public class InvoiceSearchResponse { public static final String SERIALIZED_NAME_INVOICES = "invoices"; @SerializedName(SERIALIZED_NAME_INVOICES) - private List invoices; + private List invoices = new ArrayList<>(); public static final String SERIALIZED_NAME_NEXT_PAGE = "nextPage"; @SerializedName(SERIALIZED_NAME_NEXT_PAGE) diff --git a/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java b/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java index de246d30..a77a617e 100644 --- a/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -21,7 +21,9 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.math.BigDecimal; +import java.util.ArrayList; import java.util.Arrays; +import java.util.List; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -50,12 +52,16 @@ /** * InvoiceSearchResponseInvoicesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class InvoiceSearchResponseInvoicesInner { public static final String SERIALIZED_NAME_PAYMENT_TERMS_DUE_DATE = "paymentTermsDueDate"; @SerializedName(SERIALIZED_NAME_PAYMENT_TERMS_DUE_DATE) private String paymentTermsDueDate; + public static final String SERIALIZED_NAME_SPECIAL_BID_NUMBERS = "specialBidNumbers"; + @SerializedName(SERIALIZED_NAME_SPECIAL_BID_NUMBERS) + private List specialBidNumbers = new ArrayList<>(); + public static final String SERIALIZED_NAME_ERP_ORDER_NUMBER = "erpOrderNumber"; @SerializedName(SERIALIZED_NAME_ERP_ORDER_NUMBER) private String erpOrderNumber; @@ -130,6 +136,33 @@ public void setPaymentTermsDueDate(String paymentTermsDueDate) { } + public InvoiceSearchResponseInvoicesInner specialBidNumbers(List specialBidNumbers) { + this.specialBidNumbers = specialBidNumbers; + return this; + } + + public InvoiceSearchResponseInvoicesInner addSpecialBidNumbersItem(String specialBidNumbersItem) { + if (this.specialBidNumbers == null) { + this.specialBidNumbers = new ArrayList<>(); + } + this.specialBidNumbers.add(specialBidNumbersItem); + return this; + } + + /** + * Get specialBidNumbers + * @return specialBidNumbers + **/ + @javax.annotation.Nullable + public List getSpecialBidNumbers() { + return specialBidNumbers; + } + + public void setSpecialBidNumbers(List specialBidNumbers) { + this.specialBidNumbers = specialBidNumbers; + } + + public InvoiceSearchResponseInvoicesInner erpOrderNumber(String erpOrderNumber) { this.erpOrderNumber = erpOrderNumber; return this; @@ -388,6 +421,7 @@ public boolean equals(Object o) { } InvoiceSearchResponseInvoicesInner invoiceSearchResponseInvoicesInner = (InvoiceSearchResponseInvoicesInner) o; return Objects.equals(this.paymentTermsDueDate, invoiceSearchResponseInvoicesInner.paymentTermsDueDate) && + Objects.equals(this.specialBidNumbers, invoiceSearchResponseInvoicesInner.specialBidNumbers) && Objects.equals(this.erpOrderNumber, invoiceSearchResponseInvoicesInner.erpOrderNumber) && Objects.equals(this.invoiceNumber, invoiceSearchResponseInvoicesInner.invoiceNumber) && Objects.equals(this.invoiceStatus, invoiceSearchResponseInvoicesInner.invoiceStatus) && @@ -405,7 +439,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(paymentTermsDueDate, erpOrderNumber, invoiceNumber, invoiceStatus, invoiceDate, invoiceDueDate, invoicedAmountDue, customerOrderNumber, endCustomerOrderNumber, orderCreateDate, invoiceAmountInclTax, forgntotalamount, gstInvoiceNumber, isfseccenabled); + return Objects.hash(paymentTermsDueDate, specialBidNumbers, erpOrderNumber, invoiceNumber, invoiceStatus, invoiceDate, invoiceDueDate, invoicedAmountDue, customerOrderNumber, endCustomerOrderNumber, orderCreateDate, invoiceAmountInclTax, forgntotalamount, gstInvoiceNumber, isfseccenabled); } @Override @@ -413,6 +447,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoiceSearchResponseInvoicesInner {\n"); sb.append(" paymentTermsDueDate: ").append(toIndentedString(paymentTermsDueDate)).append("\n"); + sb.append(" specialBidNumbers: ").append(toIndentedString(specialBidNumbers)).append("\n"); sb.append(" erpOrderNumber: ").append(toIndentedString(erpOrderNumber)).append("\n"); sb.append(" invoiceNumber: ").append(toIndentedString(invoiceNumber)).append("\n"); sb.append(" invoiceStatus: ").append(toIndentedString(invoiceStatus)).append("\n"); @@ -449,6 +484,7 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("paymentTermsDueDate"); + openapiFields.add("specialBidNumbers"); openapiFields.add("erpOrderNumber"); openapiFields.add("invoiceNumber"); openapiFields.add("invoiceStatus"); @@ -491,6 +527,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("paymentTermsDueDate") != null && !jsonObj.get("paymentTermsDueDate").isJsonNull()) && !jsonObj.get("paymentTermsDueDate").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `paymentTermsDueDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("paymentTermsDueDate").toString())); } + // ensure the optional json data is an array if present + if (jsonObj.get("specialBidNumbers") != null && !jsonObj.get("specialBidNumbers").isJsonNull() && !jsonObj.get("specialBidNumbers").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `specialBidNumbers` to be an array in the JSON string but got `%s`", jsonObj.get("specialBidNumbers").toString())); + } if ((jsonObj.get("erpOrderNumber") != null && !jsonObj.get("erpOrderNumber").isJsonNull()) && !jsonObj.get("erpOrderNumber").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `erpOrderNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("erpOrderNumber").toString())); } diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequest.java b/src/main/java/xiresellers/client/model/OrderCreateRequest.java index 250ecf58..44239a83 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequest.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -58,7 +58,7 @@ /** * OrderCreateRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateRequest { public static final String SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER = "customerOrderNumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER) @@ -102,7 +102,7 @@ public class OrderCreateRequest { public static final String SERIALIZED_NAME_LINES = "lines"; @SerializedName(SERIALIZED_NAME_LINES) - private List lines; + private List lines = new ArrayList<>(); public static final String SERIALIZED_NAME_SHIPMENT_DETAILS = "shipmentDetails"; @SerializedName(SERIALIZED_NAME_SHIPMENT_DETAILS) @@ -110,7 +110,7 @@ public class OrderCreateRequest { public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) - private List additionalAttributes; + private List additionalAttributes = new ArrayList<>(); public OrderCreateRequest() { } diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java index bcf1db05..ee364698 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderCreateRequestAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateRequestAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestEndUserInfo.java b/src/main/java/xiresellers/client/model/OrderCreateRequestEndUserInfo.java index 1468cb6a..054a048a 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestEndUserInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * The contact information for the end user/customer provided by the reseller. Used to determine pricing and discounts. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateRequestEndUserInfo { public static final String SERIALIZED_NAME_END_USER_ID = "endUserId"; @SerializedName(SERIALIZED_NAME_END_USER_ID) @@ -105,7 +105,7 @@ public class OrderCreateRequestEndUserInfo { public static final String SERIALIZED_NAME_PHONE_NUMBER = "phoneNumber"; @SerializedName(SERIALIZED_NAME_PHONE_NUMBER) - private Integer phoneNumber; + private String phoneNumber; public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) @@ -361,7 +361,7 @@ public void setCountryCode(String countryCode) { } - public OrderCreateRequestEndUserInfo phoneNumber(Integer phoneNumber) { + public OrderCreateRequestEndUserInfo phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } @@ -371,11 +371,11 @@ public OrderCreateRequestEndUserInfo phoneNumber(Integer phoneNumber) { * @return phoneNumber **/ @javax.annotation.Nullable - public Integer getPhoneNumber() { + public String getPhoneNumber() { return phoneNumber; } - public void setPhoneNumber(Integer phoneNumber) { + public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } @@ -552,6 +552,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("countryCode") != null && !jsonObj.get("countryCode").isJsonNull()) && !jsonObj.get("countryCode").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString())); } + if ((jsonObj.get("phoneNumber") != null && !jsonObj.get("phoneNumber").isJsonNull()) && !jsonObj.get("phoneNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneNumber").toString())); + } if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString())); } diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java index edc2d553..83dfdc24 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -55,7 +55,7 @@ /** * OrderCreateRequestLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateRequestLinesInner { public static final String SERIALIZED_NAME_CUSTOMER_LINE_NUMBER = "customerLineNumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_LINE_NUMBER) @@ -87,15 +87,15 @@ public class OrderCreateRequestLinesInner { public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) - private List additionalAttributes; + private List additionalAttributes = new ArrayList<>(); public static final String SERIALIZED_NAME_WARRANTY_INFO = "warrantyInfo"; @SerializedName(SERIALIZED_NAME_WARRANTY_INFO) - private List warrantyInfo; + private List warrantyInfo = new ArrayList<>(); public static final String SERIALIZED_NAME_END_USER_INFO = "endUserInfo"; @SerializedName(SERIALIZED_NAME_END_USER_INFO) - private List endUserInfo; + private List endUserInfo = new ArrayList<>(); public OrderCreateRequestLinesInner() { } diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java index cc22a36b..bb93b5d4 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderCreateRequestLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateRequestLinesInnerAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInner.java index 10755738..032e9583 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * OrderCreateRequestLinesInnerEndUserInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateRequestLinesInnerEndUserInfoInner { public static final String SERIALIZED_NAME_END_USER_TYPE = "endUserType"; @SerializedName(SERIALIZED_NAME_END_USER_TYPE) diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInner.java index a8bc88a9..38aa6f6a 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * OrderCreateRequestLinesInnerWarrantyInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateRequestLinesInnerWarrantyInfoInner { public static final String SERIALIZED_NAME_DIRECT_LINE_LINK = "directLineLink"; @SerializedName(SERIALIZED_NAME_DIRECT_LINE_LINK) @@ -68,7 +68,7 @@ public class OrderCreateRequestLinesInnerWarrantyInfoInner { public static final String SERIALIZED_NAME_SERIAL_INFO = "serialInfo"; @SerializedName(SERIALIZED_NAME_SERIAL_INFO) - private List serialInfo; + private List serialInfo = new ArrayList<>(); public OrderCreateRequestLinesInnerWarrantyInfoInner() { } diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java index 6183bbe6..2aaa49e9 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner { public static final String SERIALIZED_NAME_DATEOF_PURCHASE = "dateofPurchase"; @SerializedName(SERIALIZED_NAME_DATEOF_PURCHASE) diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestResellerInfo.java b/src/main/java/xiresellers/client/model/OrderCreateRequestResellerInfo.java index 3063a1e4..caa99a8e 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestResellerInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestResellerInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * The address and contact information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateRequestResellerInfo { public static final String SERIALIZED_NAME_RESELLER_ID = "resellerId"; @SerializedName(SERIALIZED_NAME_RESELLER_ID) diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestShipToInfo.java b/src/main/java/xiresellers/client/model/OrderCreateRequestShipToInfo.java index f311a0a0..e6a2e5d3 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestShipToInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateRequestShipToInfo { public static final String SERIALIZED_NAME_ADDRESS_ID = "addressId"; @SerializedName(SERIALIZED_NAME_ADDRESS_ID) diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestShipmentDetails.java b/src/main/java/xiresellers/client/model/OrderCreateRequestShipmentDetails.java index 278cac2b..c04b4b77 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestShipmentDetails.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestShipmentDetails.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * Shipping details for the order provided by the customer. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateRequestShipmentDetails { public static final String SERIALIZED_NAME_CARRIER_CODE = "carrierCode"; @SerializedName(SERIALIZED_NAME_CARRIER_CODE) diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestVmf.java b/src/main/java/xiresellers/client/model/OrderCreateRequestVmf.java index 9eedd4d7..6122256f 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestVmf.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestVmf.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * Vendor mandatory fields, this is required in case of warranty orders. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateRequestVmf { public static final String SERIALIZED_NAME_VEND_AUTH_NUMBER = "vendAuthNumber"; @SerializedName(SERIALIZED_NAME_VEND_AUTH_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponse.java b/src/main/java/xiresellers/client/model/OrderCreateResponse.java index 38ae691e..c7f0240c 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponse.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -55,7 +55,7 @@ /** * OrderCreateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateResponse { public static final String SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER = "customerOrderNumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER) @@ -95,7 +95,7 @@ public class OrderCreateResponse { public static final String SERIALIZED_NAME_ORDERS = "orders"; @SerializedName(SERIALIZED_NAME_ORDERS) - private List orders; + private List orders = new ArrayList<>(); public OrderCreateResponse() { } diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java b/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java index 4e287298..f37db75a 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * The contact information for the end user/customer provided by the reseller. Used to determine pricing and discounts. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateResponseEndUserInfo { public static final String SERIALIZED_NAME_END_USER_ID = "endUserId"; @SerializedName(SERIALIZED_NAME_END_USER_ID) diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInner.java index f2724ab7..d1d08adc 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -57,7 +57,7 @@ /** * OrderCreateResponseOrdersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateResponseOrdersInner { public static final String SERIALIZED_NAME_NUMBER_OF_LINES_WITH_SUCCESS = "numberOfLinesWithSuccess"; @SerializedName(SERIALIZED_NAME_NUMBER_OF_LINES_WITH_SUCCESS) @@ -105,23 +105,23 @@ public class OrderCreateResponseOrdersInner { public static final String SERIALIZED_NAME_LINES = "lines"; @SerializedName(SERIALIZED_NAME_LINES) - private List lines; + private List lines = new ArrayList<>(); public static final String SERIALIZED_NAME_MISCELLANEOUS_CHARGES = "miscellaneousCharges"; @SerializedName(SERIALIZED_NAME_MISCELLANEOUS_CHARGES) - private List miscellaneousCharges; + private List miscellaneousCharges = new ArrayList<>(); public static final String SERIALIZED_NAME_LINKS = "links"; @SerializedName(SERIALIZED_NAME_LINKS) - private List links; + private List links = new ArrayList<>(); public static final String SERIALIZED_NAME_REJECTED_LINE_ITEMS = "rejectedLineItems"; @SerializedName(SERIALIZED_NAME_REJECTED_LINE_ITEMS) - private List rejectedLineItems; + private List rejectedLineItems = new ArrayList<>(); public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) - private List additionalAttributes; + private List additionalAttributes = new ArrayList<>(); public OrderCreateResponseOrdersInner() { } diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java index 996fedd2..09a5e58b 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateResponseOrdersInnerAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInner.java index 891de79b..271bac3e 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -54,7 +54,7 @@ /** * OrderCreateResponseOrdersInnerLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateResponseOrdersInnerLinesInner { public static final String SERIALIZED_NAME_SUB_ORDER_NUMBER = "subOrderNumber"; @SerializedName(SERIALIZED_NAME_SUB_ORDER_NUMBER) @@ -110,11 +110,11 @@ public class OrderCreateResponseOrdersInnerLinesInner { public static final String SERIALIZED_NAME_SHIPMENT_DETAILS = "shipmentDetails"; @SerializedName(SERIALIZED_NAME_SHIPMENT_DETAILS) - private List shipmentDetails; + private List shipmentDetails = new ArrayList<>(); public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) - private List additionalAttributes; + private List additionalAttributes = new ArrayList<>(); public OrderCreateResponseOrdersInnerLinesInner() { } diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java index 8c082d36..b81e167c 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner.java index 20b9be8a..d94bd7b6 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner { public static final String SERIALIZED_NAME_CARRIER_CODE = "carrierCode"; @SerializedName(SERIALIZED_NAME_CARRIER_CODE) diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInner.java index ed896ef5..81c93e93 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateResponseOrdersInnerLinksInner { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.java index 5454b191..28444279 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * OrderCreateResponseOrdersInnerMiscellaneousChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateResponseOrdersInnerMiscellaneousChargesInner { public static final String SERIALIZED_NAME_SUB_ORDER_NUMBER = "subOrderNumber"; @SerializedName(SERIALIZED_NAME_SUB_ORDER_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInner.java index b448f222..505621b8 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerRejectedLineItemsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateResponseOrdersInnerRejectedLineItemsInner { public static final String SERIALIZED_NAME_CUSTOMER_LINENUMBER = "customerLinenumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_LINENUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseShipToInfo.java b/src/main/java/xiresellers/client/model/OrderCreateResponseShipToInfo.java index 266c8e2f..2a09a4fc 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseShipToInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderCreateResponseShipToInfo { public static final String SERIALIZED_NAME_ADDRESS_ID = "addressId"; @SerializedName(SERIALIZED_NAME_ADDRESS_ID) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2B.java b/src/main/java/xiresellers/client/model/OrderDetailB2B.java index bfec0f46..3b54c3fc 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2B.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2B.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -58,7 +58,7 @@ /** * OrderDetailB2B */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2B { public static final String SERIALIZED_NAME_INGRAM_ORDER_NUMBER = "ingramOrderNumber"; @SerializedName(SERIALIZED_NAME_INGRAM_ORDER_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInner.java index abc5b361..5b52b166 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderDetailB2BAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BBillToInfo.java b/src/main/java/xiresellers/client/model/OrderDetailB2BBillToInfo.java index 68507851..7e0d7c7a 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BBillToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BBillToInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * The billing information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BBillToInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BEndUserInfo.java b/src/main/java/xiresellers/client/model/OrderDetailB2BEndUserInfo.java index 921fcc86..ec14fbdc 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BEndUserInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * The contact information for the end user/customer provided by the reseller. Used to determine pricing and discounts. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BEndUserInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInner.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInner.java index ca136d27..7f64bf9b 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -59,7 +59,7 @@ /** * OrderDetailB2BLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BLinesInner { public static final String SERIALIZED_NAME_SUB_ORDER_NUMBER = "subOrderNumber"; @SerializedName(SERIALIZED_NAME_SUB_ORDER_NUMBER) @@ -175,15 +175,19 @@ public class OrderDetailB2BLinesInner { public static final String SERIALIZED_NAME_ESTIMATED_DATES = "estimatedDates"; @SerializedName(SERIALIZED_NAME_ESTIMATED_DATES) - private List estimatedDates; + private List estimatedDates = new ArrayList<>(); public static final String SERIALIZED_NAME_SCHEDULE_LINES = "scheduleLines"; @SerializedName(SERIALIZED_NAME_SCHEDULE_LINES) - private List scheduleLines; + private List scheduleLines = new ArrayList<>(); public static final String SERIALIZED_NAME_MULTIPLE_SHIPMENTS = "multipleShipments"; @SerializedName(SERIALIZED_NAME_MULTIPLE_SHIPMENTS) - private List multipleShipments; + private List multipleShipments = new ArrayList<>(); + + public static final String SERIALIZED_NAME_DEFAULT_CARRIER_NAME = "defaultCarrierName"; + @SerializedName(SERIALIZED_NAME_DEFAULT_CARRIER_NAME) + private String defaultCarrierName; public OrderDetailB2BLinesInner() { } @@ -825,6 +829,25 @@ public void setMultipleShipments(List boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -874,7 +898,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(subOrderNumber, ingramOrderLineNumber, vendorSalesOrderLineNumber, customerLineNumber, lineStatus, ingramPartNumber, vendorPartNumber, vendorName, partDescription, unitWeight, weightUom, unitPrice, upcCode, extendedPrice, taxAmount, currencyCode, quantityOrdered, quantityConfirmed, quantityBackOrdered, specialBidNumber, requestedDeliverydate, promisedDeliveryDate, backOrderETADate, lineNotes, shipmentDetails, serviceContractInfo, additionalAttributes, links, estimatedDates, scheduleLines, multipleShipments); + return Objects.hash(subOrderNumber, ingramOrderLineNumber, vendorSalesOrderLineNumber, customerLineNumber, lineStatus, ingramPartNumber, vendorPartNumber, vendorName, partDescription, unitWeight, weightUom, unitPrice, upcCode, extendedPrice, taxAmount, currencyCode, quantityOrdered, quantityConfirmed, quantityBackOrdered, specialBidNumber, requestedDeliverydate, promisedDeliveryDate, backOrderETADate, lineNotes, shipmentDetails, serviceContractInfo, additionalAttributes, links, estimatedDates, scheduleLines, multipleShipments, defaultCarrierName); } private static int hashCodeNullable(JsonNullable a) { @@ -919,6 +943,7 @@ public String toString() { sb.append(" estimatedDates: ").append(toIndentedString(estimatedDates)).append("\n"); sb.append(" scheduleLines: ").append(toIndentedString(scheduleLines)).append("\n"); sb.append(" multipleShipments: ").append(toIndentedString(multipleShipments)).append("\n"); + sb.append(" defaultCarrierName: ").append(toIndentedString(defaultCarrierName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -972,6 +997,7 @@ private String toIndentedString(Object o) { openapiFields.add("estimatedDates"); openapiFields.add("scheduleLines"); openapiFields.add("multipleShipments"); + openapiFields.add("defaultCarrierName"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -1137,6 +1163,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti }; } } + if ((jsonObj.get("defaultCarrierName") != null && !jsonObj.get("defaultCarrierName").isJsonNull()) && !jsonObj.get("defaultCarrierName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `defaultCarrierName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("defaultCarrierName").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java index 56f2eb9d..aa4be4a7 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BLinesInnerAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInner.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInner.java index c2bd1971..affc84af 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -51,7 +51,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BLinesInnerEstimatedDatesInner { public static final String SERIALIZED_NAME_SHIP = "ship"; @SerializedName(SERIALIZED_NAME_SHIP) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.java index f9c051f0..085def73 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery { public static final String SERIALIZED_NAME_DELIVERY_DATE_TYPE = "deliveryDateType"; @SerializedName(SERIALIZED_NAME_DELIVERY_DATE_TYPE) @@ -68,9 +68,9 @@ public class OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery { @SerializedName(SERIALIZED_NAME_DELIVERY_DESCRIPTION) private String deliveryDescription; - public static final String SERIALIZED_NAME_DELIVERED_DATE = "deliveredDate"; - @SerializedName(SERIALIZED_NAME_DELIVERED_DATE) - private String deliveredDate; + public static final String SERIALIZED_NAME_DELIVERY_DATE = "deliveryDate"; + @SerializedName(SERIALIZED_NAME_DELIVERY_DATE) + private String deliveryDate; public OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery() { } @@ -151,22 +151,22 @@ public void setDeliveryDescription(String deliveryDescription) { } - public OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery deliveredDate(String deliveredDate) { - this.deliveredDate = deliveredDate; + public OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery deliveryDate(String deliveryDate) { + this.deliveryDate = deliveryDate; return this; } /** * Delivery date. - * @return deliveredDate + * @return deliveryDate **/ @javax.annotation.Nullable - public String getDeliveredDate() { - return deliveredDate; + public String getDeliveryDate() { + return deliveryDate; } - public void setDeliveredDate(String deliveredDate) { - this.deliveredDate = deliveredDate; + public void setDeliveryDate(String deliveryDate) { + this.deliveryDate = deliveryDate; } @@ -184,12 +184,12 @@ public boolean equals(Object o) { Objects.equals(this.deliveryDateRange, orderDetailB2BLinesInnerEstimatedDatesInnerDelivery.deliveryDateRange) && Objects.equals(this.deliverySource, orderDetailB2BLinesInnerEstimatedDatesInnerDelivery.deliverySource) && Objects.equals(this.deliveryDescription, orderDetailB2BLinesInnerEstimatedDatesInnerDelivery.deliveryDescription) && - Objects.equals(this.deliveredDate, orderDetailB2BLinesInnerEstimatedDatesInnerDelivery.deliveredDate); + Objects.equals(this.deliveryDate, orderDetailB2BLinesInnerEstimatedDatesInnerDelivery.deliveryDate); } @Override public int hashCode() { - return Objects.hash(deliveryDateType, deliveryDateRange, deliverySource, deliveryDescription, deliveredDate); + return Objects.hash(deliveryDateType, deliveryDateRange, deliverySource, deliveryDescription, deliveryDate); } @Override @@ -200,7 +200,7 @@ public String toString() { sb.append(" deliveryDateRange: ").append(toIndentedString(deliveryDateRange)).append("\n"); sb.append(" deliverySource: ").append(toIndentedString(deliverySource)).append("\n"); sb.append(" deliveryDescription: ").append(toIndentedString(deliveryDescription)).append("\n"); - sb.append(" deliveredDate: ").append(toIndentedString(deliveredDate)).append("\n"); + sb.append(" deliveryDate: ").append(toIndentedString(deliveryDate)).append("\n"); sb.append("}"); return sb.toString(); } @@ -227,7 +227,7 @@ private String toIndentedString(Object o) { openapiFields.add("deliveryDateRange"); openapiFields.add("deliverySource"); openapiFields.add("deliveryDescription"); - openapiFields.add("deliveredDate"); + openapiFields.add("deliveryDate"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -267,8 +267,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("deliveryDescription") != null && !jsonObj.get("deliveryDescription").isJsonNull()) && !jsonObj.get("deliveryDescription").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `deliveryDescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deliveryDescription").toString())); } - if ((jsonObj.get("deliveredDate") != null && !jsonObj.get("deliveredDate").isJsonNull()) && !jsonObj.get("deliveredDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `deliveredDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deliveredDate").toString())); + if ((jsonObj.get("deliveryDate") != null && !jsonObj.get("deliveryDate").isJsonNull()) && !jsonObj.get("deliveryDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `deliveryDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deliveryDate").toString())); } } diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java index a033bfd2..3ec5944c 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * Delivery date range. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange { public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShip.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShip.java index 6b2550fd..0efae980 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShip.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShip.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInnerShip */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BLinesInnerEstimatedDatesInnerShip { public static final String SERIALIZED_NAME_SHIP_DATE_TYPE = "shipDateType"; @SerializedName(SERIALIZED_NAME_SHIP_DATE_TYPE) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange.java index 4b36e241..5259c32d 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange { public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInner.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInner.java index a1afad3e..9c8877ad 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * Link to Order Details for the line item. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BLinesInnerLinksInner { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInner.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInner.java index ef941043..9270a33b 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * OrderDetailB2BLinesInnerMultipleShipmentsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BLinesInnerMultipleShipmentsInner { public static final String SERIALIZED_NAME_LINE_NUMBER = "lineNumber"; @SerializedName(SERIALIZED_NAME_LINE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInner.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInner.java index ccc023a6..8d434ca3 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerScheduleLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BLinesInnerScheduleLinesInner { public static final String SERIALIZED_NAME_LINE_NUMBER = "lineNumber"; @SerializedName(SERIALIZED_NAME_LINE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfo.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfo.java index aa52747f..03ffd3e8 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BLinesInnerServiceContractInfo { public static final String SERIALIZED_NAME_CONTRACT_INFO = "contractInfo"; @SerializedName(SERIALIZED_NAME_CONTRACT_INFO) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfo.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfo.java index f57e4a7b..30322740 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfoContractInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BLinesInnerServiceContractInfoContractInfo { public static final String SERIALIZED_NAME_CONTRACT_DESCRIPTION = "contractDescription"; @SerializedName(SERIALIZED_NAME_CONTRACT_DESCRIPTION) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo.java index c36f1891..df952425 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo { public static final String SERIALIZED_NAME_LICENSE_NUMBER = "licenseNumber"; @SerializedName(SERIALIZED_NAME_LICENSE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptions.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptions.java index b06af18d..439cfc3e 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptions.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptions.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfoSubscriptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BLinesInnerServiceContractInfoSubscriptions { public static final String SERIALIZED_NAME_SUBSCRIPTION_ID = "subscriptionId"; @SerializedName(SERIALIZED_NAME_SUBSCRIPTION_ID) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInner.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInner.java index 32ee5ac7..9cd1ae09 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -53,7 +53,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BLinesInnerShipmentDetailsInner { public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner.java index f0faeb03..92c02eb8 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -53,7 +53,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner { public static final String SERIALIZED_NAME_CARRIER_CODE = "carrierCode"; @SerializedName(SERIALIZED_NAME_CARRIER_CODE) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner.java index 126929ee..0f8fda2a 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -53,7 +53,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner { public static final String SERIALIZED_NAME_TRACKING_NUMBER = "trackingNumber"; @SerializedName(SERIALIZED_NAME_TRACKING_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.java index 6d83dde3..c7b1c35a 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner { public static final String SERIALIZED_NAME_SERIAL_NUMBER = "serialNumber"; @SerializedName(SERIALIZED_NAME_SERIAL_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInner.java b/src/main/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInner.java index 1f1f40e0..4854d452 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderDetailB2BMiscellaneousChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BMiscellaneousChargesInner { public static final String SERIALIZED_NAME_SUB_ORDER_NUMBER = "subOrderNumber"; @SerializedName(SERIALIZED_NAME_SUB_ORDER_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BShipToInfo.java b/src/main/java/xiresellers/client/model/OrderDetailB2BShipToInfo.java index 2340768a..ccb7627a 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BShipToInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller for order delivery. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderDetailB2BShipToInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequest.java b/src/main/java/xiresellers/client/model/OrderModifyRequest.java index e2959c89..adb2ece7 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequest.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -54,7 +54,7 @@ /** * OrderModifyRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderModifyRequest { public static final String SERIALIZED_NAME_NOTES = "notes"; @SerializedName(SERIALIZED_NAME_NOTES) @@ -66,11 +66,11 @@ public class OrderModifyRequest { public static final String SERIALIZED_NAME_LINES = "lines"; @SerializedName(SERIALIZED_NAME_LINES) - private List lines; + private List lines = new ArrayList<>(); public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) - private List additionalAttributes; + private List additionalAttributes = new ArrayList<>(); public OrderModifyRequest() { } diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java index fe7ba380..553f63d8 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderModifyRequestAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderModifyRequestAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestLinesInner.java b/src/main/java/xiresellers/client/model/OrderModifyRequestLinesInner.java index fe0afd40..9af83d5e 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestLinesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderModifyRequestLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderModifyRequestLinesInner { public static final String SERIALIZED_NAME_INGRAM_PART_NUMBER = "ingramPartNumber"; @SerializedName(SERIALIZED_NAME_INGRAM_PART_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java b/src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java index 2184099a..a0f98e0e 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderModifyRequestShipToInfo { public static final String SERIALIZED_NAME_ADDRESS_ID = "addressId"; @SerializedName(SERIALIZED_NAME_ADDRESS_ID) diff --git a/src/main/java/xiresellers/client/model/OrderModifyResponse.java b/src/main/java/xiresellers/client/model/OrderModifyResponse.java index a6cad4f2..cae0e8a4 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponse.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -56,7 +56,7 @@ /** * OrderModifyResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderModifyResponse { public static final String SERIALIZED_NAME_INGRAM_ORDER_NUMBER = "ingramOrderNumber"; @SerializedName(SERIALIZED_NAME_INGRAM_ORDER_NUMBER) @@ -112,15 +112,15 @@ public class OrderModifyResponse { public static final String SERIALIZED_NAME_LINES = "lines"; @SerializedName(SERIALIZED_NAME_LINES) - private List lines; + private List lines = new ArrayList<>(); public static final String SERIALIZED_NAME_REJECTED_LINE_ITEMS = "rejectedLineItems"; @SerializedName(SERIALIZED_NAME_REJECTED_LINE_ITEMS) - private List rejectedLineItems; + private List rejectedLineItems = new ArrayList<>(); public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) - private List additionalAttributes; + private List additionalAttributes = new ArrayList<>(); public OrderModifyResponse() { } diff --git a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java index ca929f81..d9b6d575 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -53,7 +53,7 @@ /** * OrderModifyResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderModifyResponseLinesInner { public static final String SERIALIZED_NAME_SUB_ORDER_NUMBER = "subOrderNumber"; @SerializedName(SERIALIZED_NAME_SUB_ORDER_NUMBER) @@ -93,7 +93,7 @@ public class OrderModifyResponseLinesInner { public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) - private List additionalAttributes; + private List additionalAttributes = new ArrayList<>(); public static final String SERIALIZED_NAME_NOTES = "notes"; @SerializedName(SERIALIZED_NAME_NOTES) diff --git a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java index 5d3d7691..6078a96a 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderModifyResponseLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderModifyResponseLinesInnerAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetails.java b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetails.java index 6185bae1..3998850a 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetails.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetails.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * Shipping details for the order provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderModifyResponseLinesInnerShipmentDetails { public static final String SERIALIZED_NAME_CARRIER_CODE = "carrierCode"; @SerializedName(SERIALIZED_NAME_CARRIER_CODE) diff --git a/src/main/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInner.java b/src/main/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInner.java index 142492cd..b60d26c4 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderModifyResponseRejectedLineItemsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderModifyResponseRejectedLineItemsInner { public static final String SERIALIZED_NAME_INGRAM_LINE_NUMBER = "ingramLineNumber"; @SerializedName(SERIALIZED_NAME_INGRAM_LINE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java b/src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java index d7537792..19667abb 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * The shipping information for the order provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderModifyResponseShipToInfo { public static final String SERIALIZED_NAME_ADDRESS_ID = "addressId"; @SerializedName(SERIALIZED_NAME_ADDRESS_ID) diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponse.java b/src/main/java/xiresellers/client/model/OrderSearchResponse.java index 5a73cce3..972cbddb 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponse.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * OrderSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) @@ -68,7 +68,7 @@ public class OrderSearchResponse { public static final String SERIALIZED_NAME_ORDERS = "orders"; @SerializedName(SERIALIZED_NAME_ORDERS) - private List orders; + private List orders = new ArrayList<>(); public static final String SERIALIZED_NAME_NEXT_PAGE = "nextPage"; @SerializedName(SERIALIZED_NAME_NEXT_PAGE) diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java index 1b0801ac..57d969b9 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -54,7 +54,7 @@ /** * OrderSearchResponseOrdersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderSearchResponseOrdersInner { public static final String SERIALIZED_NAME_INGRAM_ORDER_NUMBER = "ingramOrderNumber"; @SerializedName(SERIALIZED_NAME_INGRAM_ORDER_NUMBER) @@ -90,7 +90,7 @@ public class OrderSearchResponseOrdersInner { public static final String SERIALIZED_NAME_SUB_ORDERS = "subOrders"; @SerializedName(SERIALIZED_NAME_SUB_ORDERS) - private List subOrders; + private List subOrders = new ArrayList<>(); public static final String SERIALIZED_NAME_LINKS = "links"; @SerializedName(SERIALIZED_NAME_LINKS) diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java index 90dfb66d..2d0faf0c 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * Link to Order Details for the order(s). */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderSearchResponseOrdersInnerLinks { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInner.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInner.java index 8cedfbf7..b98ca69a 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInner.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -53,7 +53,7 @@ /** * OrderSearchResponseOrdersInnerSubOrdersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderSearchResponseOrdersInnerSubOrdersInner { public static final String SERIALIZED_NAME_SUB_ORDER_NUMBER = "subOrderNumber"; @SerializedName(SERIALIZED_NAME_SUB_ORDER_NUMBER) @@ -69,7 +69,7 @@ public class OrderSearchResponseOrdersInnerSubOrdersInner { public static final String SERIALIZED_NAME_LINKS = "links"; @SerializedName(SERIALIZED_NAME_LINKS) - private List links; + private List links = new ArrayList<>(); public OrderSearchResponseOrdersInnerSubOrdersInner() { } diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java index c5172e42..625de822 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequest.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequest.java index bcb5fe24..11dcbd37 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequest.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * OrderStatusAsyncNotificationRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderStatusAsyncNotificationRequest { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) @@ -72,7 +72,7 @@ public class OrderStatusAsyncNotificationRequest { public static final String SERIALIZED_NAME_RESOURCE = "resource"; @SerializedName(SERIALIZED_NAME_RESOURCE) - private List resource; + private List resource = new ArrayList<>(); public OrderStatusAsyncNotificationRequest() { } diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java index 8e588d24..7dc20b2e 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -53,7 +53,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderStatusAsyncNotificationRequestResourceInner { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) @@ -73,11 +73,11 @@ public class OrderStatusAsyncNotificationRequestResourceInner { public static final String SERIALIZED_NAME_LINES = "lines"; @SerializedName(SERIALIZED_NAME_LINES) - private List lines; + private List lines = new ArrayList<>(); public static final String SERIALIZED_NAME_LINKS = "links"; @SerializedName(SERIALIZED_NAME_LINKS) - private List links; + private List links = new ArrayList<>(); public OrderStatusAsyncNotificationRequestResourceInner() { } diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java index 2ef555c4..fc5d6575 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -53,7 +53,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderStatusAsyncNotificationRequestResourceInnerLinesInner { public static final String SERIALIZED_NAME_LINE_NUMBER = "LineNumber"; @SerializedName(SERIALIZED_NAME_LINE_NUMBER) @@ -89,11 +89,11 @@ public class OrderStatusAsyncNotificationRequestResourceInnerLinesInner { public static final String SERIALIZED_NAME_SHIPMENT_DETAILS = "shipmentDetails"; @SerializedName(SERIALIZED_NAME_SHIPMENT_DETAILS) - private List shipmentDetails; + private List shipmentDetails = new ArrayList<>(); public static final String SERIALIZED_NAME_SERIAL_NUMBER_DETAILS = "serialNumberDetails"; @SerializedName(SERIALIZED_NAME_SERIAL_NUMBER_DETAILS) - private List serialNumberDetails; + private List serialNumberDetails = new ArrayList<>(); public OrderStatusAsyncNotificationRequestResourceInnerLinesInner() { } diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java index 61e7435d..ba4dce2b 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner { public static final String SERIALIZED_NAME_SERIAL_NUMBER = "serialNumber"; @SerializedName(SERIALIZED_NAME_SERIAL_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.java index 09974c27..466f1ad2 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner { public static final String SERIALIZED_NAME_SHIPMENT_DATE = "shipmentDate"; @SerializedName(SERIALIZED_NAME_SHIPMENT_DATE) @@ -76,7 +76,7 @@ public class OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentD public static final String SERIALIZED_NAME_PACKAGE_DETAILS = "packageDetails"; @SerializedName(SERIALIZED_NAME_PACKAGE_DETAILS) - private List packageDetails; + private List packageDetails = new ArrayList<>(); public OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner() { } diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java index 17923cff..1eaf66bc 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner { public static final String SERIALIZED_NAME_CARTON_NUMBER = "cartonNumber"; @SerializedName(SERIALIZED_NAME_CARTON_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.java index f9109b44..62bbd957 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class OrderStatusAsyncNotificationRequestResourceInnerLinksInner { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400Response.java b/src/main/java/xiresellers/client/model/PostCreateorderV7400Response.java similarity index 70% rename from src/main/java/xiresellers/client/model/PostQuoteToOrderV6400Response.java rename to src/main/java/xiresellers/client/model/PostCreateorderV7400Response.java index 29593705..a1a58747 100644 --- a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400Response.java +++ b/src/main/java/xiresellers/client/model/PostCreateorderV7400Response.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -23,7 +23,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import xiresellers.client.model.PostQuoteToOrderV6400ResponseFieldsInner; +import xiresellers.client.model.PostCreateorderV7400ResponseFieldsInner; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -50,10 +50,10 @@ import xiresellers.client.JSON; /** - * PostQuoteToOrderV6400Response + * PostCreateorderV7400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") -public class PostQuoteToOrderV6400Response { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class PostCreateorderV7400Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) private String traceid; @@ -68,12 +68,12 @@ public class PostQuoteToOrderV6400Response { public static final String SERIALIZED_NAME_FIELDS = "fields"; @SerializedName(SERIALIZED_NAME_FIELDS) - private List fields; + private List fields = new ArrayList<>(); - public PostQuoteToOrderV6400Response() { + public PostCreateorderV7400Response() { } - public PostQuoteToOrderV6400Response traceid(String traceid) { + public PostCreateorderV7400Response traceid(String traceid) { this.traceid = traceid; return this; } @@ -92,7 +92,7 @@ public void setTraceid(String traceid) { } - public PostQuoteToOrderV6400Response type(String type) { + public PostCreateorderV7400Response type(String type) { this.type = type; return this; } @@ -111,7 +111,7 @@ public void setType(String type) { } - public PostQuoteToOrderV6400Response message(String message) { + public PostCreateorderV7400Response message(String message) { this.message = message; return this; } @@ -130,12 +130,12 @@ public void setMessage(String message) { } - public PostQuoteToOrderV6400Response fields(List fields) { + public PostCreateorderV7400Response fields(List fields) { this.fields = fields; return this; } - public PostQuoteToOrderV6400Response addFieldsItem(PostQuoteToOrderV6400ResponseFieldsInner fieldsItem) { + public PostCreateorderV7400Response addFieldsItem(PostCreateorderV7400ResponseFieldsInner fieldsItem) { if (this.fields == null) { this.fields = new ArrayList<>(); } @@ -148,11 +148,11 @@ public PostQuoteToOrderV6400Response addFieldsItem(PostQuoteToOrderV6400Response * @return fields **/ @javax.annotation.Nullable - public List getFields() { + public List getFields() { return fields; } - public void setFields(List fields) { + public void setFields(List fields) { this.fields = fields; } @@ -166,11 +166,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - PostQuoteToOrderV6400Response postQuoteToOrderV6400Response = (PostQuoteToOrderV6400Response) o; - return Objects.equals(this.traceid, postQuoteToOrderV6400Response.traceid) && - Objects.equals(this.type, postQuoteToOrderV6400Response.type) && - Objects.equals(this.message, postQuoteToOrderV6400Response.message) && - Objects.equals(this.fields, postQuoteToOrderV6400Response.fields); + PostCreateorderV7400Response postCreateorderV7400Response = (PostCreateorderV7400Response) o; + return Objects.equals(this.traceid, postCreateorderV7400Response.traceid) && + Objects.equals(this.type, postCreateorderV7400Response.type) && + Objects.equals(this.message, postCreateorderV7400Response.message) && + Objects.equals(this.fields, postCreateorderV7400Response.fields); } @Override @@ -181,7 +181,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class PostQuoteToOrderV6400Response {\n"); + sb.append("class PostCreateorderV7400Response {\n"); sb.append(" traceid: ").append(toIndentedString(traceid)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" message: ").append(toIndentedString(message)).append("\n"); @@ -221,20 +221,20 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to PostQuoteToOrderV6400Response + * @throws IOException if the JSON Element is invalid with respect to PostCreateorderV7400Response */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!PostQuoteToOrderV6400Response.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in PostQuoteToOrderV6400Response is not found in the empty JSON string", PostQuoteToOrderV6400Response.openapiRequiredFields.toString())); + if (!PostCreateorderV7400Response.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PostCreateorderV7400Response is not found in the empty JSON string", PostCreateorderV7400Response.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!PostQuoteToOrderV6400Response.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PostQuoteToOrderV6400Response` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!PostCreateorderV7400Response.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PostCreateorderV7400Response` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -257,7 +257,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `fields` (array) for (int i = 0; i < jsonArrayfields.size(); i++) { - PostQuoteToOrderV6400ResponseFieldsInner.validateJsonElement(jsonArrayfields.get(i)); + PostCreateorderV7400ResponseFieldsInner.validateJsonElement(jsonArrayfields.get(i)); }; } } @@ -267,22 +267,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!PostQuoteToOrderV6400Response.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'PostQuoteToOrderV6400Response' and its subtypes + if (!PostCreateorderV7400Response.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PostCreateorderV7400Response' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(PostQuoteToOrderV6400Response.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PostCreateorderV7400Response.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, PostQuoteToOrderV6400Response value) throws IOException { + public void write(JsonWriter out, PostCreateorderV7400Response value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public PostQuoteToOrderV6400Response read(JsonReader in) throws IOException { + public PostCreateorderV7400Response read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -293,18 +293,18 @@ public PostQuoteToOrderV6400Response read(JsonReader in) throws IOException { } /** - * Create an instance of PostQuoteToOrderV6400Response given an JSON string + * Create an instance of PostCreateorderV7400Response given an JSON string * * @param jsonString JSON string - * @return An instance of PostQuoteToOrderV6400Response - * @throws IOException if the JSON string is invalid with respect to PostQuoteToOrderV6400Response + * @return An instance of PostCreateorderV7400Response + * @throws IOException if the JSON string is invalid with respect to PostCreateorderV7400Response */ - public static PostQuoteToOrderV6400Response fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, PostQuoteToOrderV6400Response.class); + public static PostCreateorderV7400Response fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PostCreateorderV7400Response.class); } /** - * Convert an instance of PostQuoteToOrderV6400Response to an JSON string + * Convert an instance of PostCreateorderV7400Response to an JSON string * * @return JSON string */ diff --git a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java b/src/main/java/xiresellers/client/model/PostCreateorderV7400ResponseFieldsInner.java similarity index 69% rename from src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java rename to src/main/java/xiresellers/client/model/PostCreateorderV7400ResponseFieldsInner.java index 66d699fd..a1d06f13 100644 --- a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java +++ b/src/main/java/xiresellers/client/model/PostCreateorderV7400ResponseFieldsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -47,10 +47,10 @@ import xiresellers.client.JSON; /** - * PostQuoteToOrderV6400ResponseFieldsInner + * PostCreateorderV7400ResponseFieldsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") -public class PostQuoteToOrderV6400ResponseFieldsInner { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class PostCreateorderV7400ResponseFieldsInner { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) private String field; @@ -63,10 +63,10 @@ public class PostQuoteToOrderV6400ResponseFieldsInner { @SerializedName(SERIALIZED_NAME_VALUE) private String value; - public PostQuoteToOrderV6400ResponseFieldsInner() { + public PostCreateorderV7400ResponseFieldsInner() { } - public PostQuoteToOrderV6400ResponseFieldsInner field(String field) { + public PostCreateorderV7400ResponseFieldsInner field(String field) { this.field = field; return this; } @@ -85,7 +85,7 @@ public void setField(String field) { } - public PostQuoteToOrderV6400ResponseFieldsInner message(String message) { + public PostCreateorderV7400ResponseFieldsInner message(String message) { this.message = message; return this; } @@ -104,7 +104,7 @@ public void setMessage(String message) { } - public PostQuoteToOrderV6400ResponseFieldsInner value(String value) { + public PostCreateorderV7400ResponseFieldsInner value(String value) { this.value = value; return this; } @@ -132,10 +132,10 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - PostQuoteToOrderV6400ResponseFieldsInner postQuoteToOrderV6400ResponseFieldsInner = (PostQuoteToOrderV6400ResponseFieldsInner) o; - return Objects.equals(this.field, postQuoteToOrderV6400ResponseFieldsInner.field) && - Objects.equals(this.message, postQuoteToOrderV6400ResponseFieldsInner.message) && - Objects.equals(this.value, postQuoteToOrderV6400ResponseFieldsInner.value); + PostCreateorderV7400ResponseFieldsInner postCreateorderV7400ResponseFieldsInner = (PostCreateorderV7400ResponseFieldsInner) o; + return Objects.equals(this.field, postCreateorderV7400ResponseFieldsInner.field) && + Objects.equals(this.message, postCreateorderV7400ResponseFieldsInner.message) && + Objects.equals(this.value, postCreateorderV7400ResponseFieldsInner.value); } @Override @@ -146,7 +146,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class PostQuoteToOrderV6400ResponseFieldsInner {\n"); + sb.append("class PostCreateorderV7400ResponseFieldsInner {\n"); sb.append(" field: ").append(toIndentedString(field)).append("\n"); sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append(" value: ").append(toIndentedString(value)).append("\n"); @@ -184,20 +184,20 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to PostQuoteToOrderV6400ResponseFieldsInner + * @throws IOException if the JSON Element is invalid with respect to PostCreateorderV7400ResponseFieldsInner */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!PostQuoteToOrderV6400ResponseFieldsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in PostQuoteToOrderV6400ResponseFieldsInner is not found in the empty JSON string", PostQuoteToOrderV6400ResponseFieldsInner.openapiRequiredFields.toString())); + if (!PostCreateorderV7400ResponseFieldsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PostCreateorderV7400ResponseFieldsInner is not found in the empty JSON string", PostCreateorderV7400ResponseFieldsInner.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!PostQuoteToOrderV6400ResponseFieldsInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PostQuoteToOrderV6400ResponseFieldsInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!PostCreateorderV7400ResponseFieldsInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PostCreateorderV7400ResponseFieldsInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -216,22 +216,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!PostQuoteToOrderV6400ResponseFieldsInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'PostQuoteToOrderV6400ResponseFieldsInner' and its subtypes + if (!PostCreateorderV7400ResponseFieldsInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PostCreateorderV7400ResponseFieldsInner' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(PostQuoteToOrderV6400ResponseFieldsInner.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PostCreateorderV7400ResponseFieldsInner.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, PostQuoteToOrderV6400ResponseFieldsInner value) throws IOException { + public void write(JsonWriter out, PostCreateorderV7400ResponseFieldsInner value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public PostQuoteToOrderV6400ResponseFieldsInner read(JsonReader in) throws IOException { + public PostCreateorderV7400ResponseFieldsInner read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -242,18 +242,18 @@ public PostQuoteToOrderV6400ResponseFieldsInner read(JsonReader in) throws IOExc } /** - * Create an instance of PostQuoteToOrderV6400ResponseFieldsInner given an JSON string + * Create an instance of PostCreateorderV7400ResponseFieldsInner given an JSON string * * @param jsonString JSON string - * @return An instance of PostQuoteToOrderV6400ResponseFieldsInner - * @throws IOException if the JSON string is invalid with respect to PostQuoteToOrderV6400ResponseFieldsInner + * @return An instance of PostCreateorderV7400ResponseFieldsInner + * @throws IOException if the JSON string is invalid with respect to PostCreateorderV7400ResponseFieldsInner */ - public static PostQuoteToOrderV6400ResponseFieldsInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, PostQuoteToOrderV6400ResponseFieldsInner.class); + public static PostCreateorderV7400ResponseFieldsInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PostCreateorderV7400ResponseFieldsInner.class); } /** - * Convert an instance of PostQuoteToOrderV6400ResponseFieldsInner to an JSON string + * Convert an instance of PostCreateorderV7400ResponseFieldsInner to an JSON string * * @return JSON string */ diff --git a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java b/src/main/java/xiresellers/client/model/PostCreateorderV7500Response.java similarity index 71% rename from src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java rename to src/main/java/xiresellers/client/model/PostCreateorderV7500Response.java index e84720f6..58b26e1b 100644 --- a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java +++ b/src/main/java/xiresellers/client/model/PostCreateorderV7500Response.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,10 +49,10 @@ import xiresellers.client.JSON; /** - * GetResellerV6ValidateQuote500Response + * PostCreateorderV7500Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") -public class GetResellerV6ValidateQuote500Response { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class PostCreateorderV7500Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) private String traceid; @@ -67,12 +67,12 @@ public class GetResellerV6ValidateQuote500Response { public static final String SERIALIZED_NAME_FIELDS = "fields"; @SerializedName(SERIALIZED_NAME_FIELDS) - private List fields; + private List fields = new ArrayList<>(); - public GetResellerV6ValidateQuote500Response() { + public PostCreateorderV7500Response() { } - public GetResellerV6ValidateQuote500Response traceid(String traceid) { + public PostCreateorderV7500Response traceid(String traceid) { this.traceid = traceid; return this; } @@ -91,7 +91,7 @@ public void setTraceid(String traceid) { } - public GetResellerV6ValidateQuote500Response type(String type) { + public PostCreateorderV7500Response type(String type) { this.type = type; return this; } @@ -110,7 +110,7 @@ public void setType(String type) { } - public GetResellerV6ValidateQuote500Response message(String message) { + public PostCreateorderV7500Response message(String message) { this.message = message; return this; } @@ -129,12 +129,12 @@ public void setMessage(String message) { } - public GetResellerV6ValidateQuote500Response fields(List fields) { + public PostCreateorderV7500Response fields(List fields) { this.fields = fields; return this; } - public GetResellerV6ValidateQuote500Response addFieldsItem(Object fieldsItem) { + public PostCreateorderV7500Response addFieldsItem(Object fieldsItem) { if (this.fields == null) { this.fields = new ArrayList<>(); } @@ -165,11 +165,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - GetResellerV6ValidateQuote500Response getResellerV6ValidateQuote500Response = (GetResellerV6ValidateQuote500Response) o; - return Objects.equals(this.traceid, getResellerV6ValidateQuote500Response.traceid) && - Objects.equals(this.type, getResellerV6ValidateQuote500Response.type) && - Objects.equals(this.message, getResellerV6ValidateQuote500Response.message) && - Objects.equals(this.fields, getResellerV6ValidateQuote500Response.fields); + PostCreateorderV7500Response postCreateorderV7500Response = (PostCreateorderV7500Response) o; + return Objects.equals(this.traceid, postCreateorderV7500Response.traceid) && + Objects.equals(this.type, postCreateorderV7500Response.type) && + Objects.equals(this.message, postCreateorderV7500Response.message) && + Objects.equals(this.fields, postCreateorderV7500Response.fields); } @Override @@ -180,7 +180,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class GetResellerV6ValidateQuote500Response {\n"); + sb.append("class PostCreateorderV7500Response {\n"); sb.append(" traceid: ").append(toIndentedString(traceid)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" message: ").append(toIndentedString(message)).append("\n"); @@ -220,20 +220,20 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to GetResellerV6ValidateQuote500Response + * @throws IOException if the JSON Element is invalid with respect to PostCreateorderV7500Response */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!GetResellerV6ValidateQuote500Response.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in GetResellerV6ValidateQuote500Response is not found in the empty JSON string", GetResellerV6ValidateQuote500Response.openapiRequiredFields.toString())); + if (!PostCreateorderV7500Response.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PostCreateorderV7500Response is not found in the empty JSON string", PostCreateorderV7500Response.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!GetResellerV6ValidateQuote500Response.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `GetResellerV6ValidateQuote500Response` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!PostCreateorderV7500Response.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PostCreateorderV7500Response` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -256,22 +256,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!GetResellerV6ValidateQuote500Response.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'GetResellerV6ValidateQuote500Response' and its subtypes + if (!PostCreateorderV7500Response.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PostCreateorderV7500Response' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(GetResellerV6ValidateQuote500Response.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PostCreateorderV7500Response.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, GetResellerV6ValidateQuote500Response value) throws IOException { + public void write(JsonWriter out, PostCreateorderV7500Response value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public GetResellerV6ValidateQuote500Response read(JsonReader in) throws IOException { + public PostCreateorderV7500Response read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -282,18 +282,18 @@ public GetResellerV6ValidateQuote500Response read(JsonReader in) throws IOExcept } /** - * Create an instance of GetResellerV6ValidateQuote500Response given an JSON string + * Create an instance of PostCreateorderV7500Response given an JSON string * * @param jsonString JSON string - * @return An instance of GetResellerV6ValidateQuote500Response - * @throws IOException if the JSON string is invalid with respect to GetResellerV6ValidateQuote500Response + * @return An instance of PostCreateorderV7500Response + * @throws IOException if the JSON string is invalid with respect to PostCreateorderV7500Response */ - public static GetResellerV6ValidateQuote500Response fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, GetResellerV6ValidateQuote500Response.class); + public static PostCreateorderV7500Response fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PostCreateorderV7500Response.class); } /** - * Convert an instance of GetResellerV6ValidateQuote500Response to an JSON string + * Convert an instance of PostCreateorderV7500Response to an JSON string * * @return JSON string */ diff --git a/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java b/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java index 9e33131d..1022601a 100644 --- a/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java +++ b/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * PostRenewalssearch400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class PostRenewalssearch400Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) @@ -64,7 +64,7 @@ public class PostRenewalssearch400Response { public static final String SERIALIZED_NAME_FIELDS = "fields"; @SerializedName(SERIALIZED_NAME_FIELDS) - private List fields; + private List fields = new ArrayList<>(); public PostRenewalssearch400Response() { } diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java index c77dee56..f972e412 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -54,7 +54,7 @@ /** * PriceAndAvailabilityRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class PriceAndAvailabilityRequest { public static final String SERIALIZED_NAME_SHOW_AVAILABLE_DISCOUNTS = "showAvailableDiscounts"; @SerializedName(SERIALIZED_NAME_SHOW_AVAILABLE_DISCOUNTS) @@ -70,15 +70,15 @@ public class PriceAndAvailabilityRequest { public static final String SERIALIZED_NAME_AVAILABILITY_BY_WAREHOUSE = "availabilityByWarehouse"; @SerializedName(SERIALIZED_NAME_AVAILABILITY_BY_WAREHOUSE) - private List availabilityByWarehouse; + private List availabilityByWarehouse = new ArrayList<>(); public static final String SERIALIZED_NAME_PRODUCTS = "products"; @SerializedName(SERIALIZED_NAME_PRODUCTS) - private List products; + private List products = new ArrayList<>(); public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) - private List additionalAttributes; + private List additionalAttributes = new ArrayList<>(); public PriceAndAvailabilityRequest() { } diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java index 12515f4b..2e4e2cef 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityRequestAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class PriceAndAvailabilityRequestAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInner.java index cbe53c0a..1d3afcbf 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityRequestAvailabilityByWarehouseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class PriceAndAvailabilityRequestAvailabilityByWarehouseInner { public static final String SERIALIZED_NAME_AVAILABILITY_BY_WAREHOUSE_ID = "availabilityByWarehouseId"; @SerializedName(SERIALIZED_NAME_AVAILABILITY_BY_WAREHOUSE_ID) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInner.java index 5b384299..f2058efe 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * PriceAndAvailabilityRequestProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class PriceAndAvailabilityRequestProductsInner { public static final String SERIALIZED_NAME_INGRAM_PART_NUMBER = "ingramPartNumber"; @SerializedName(SERIALIZED_NAME_INGRAM_PART_NUMBER) @@ -76,7 +76,7 @@ public class PriceAndAvailabilityRequestProductsInner { public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) - private List additionalAttributes; + private List additionalAttributes = new ArrayList<>(); public PriceAndAvailabilityRequestProductsInner() { } diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java index 24fb582c..2bad9698 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInner.java index 853c601d..b6facd0b 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -56,7 +56,7 @@ /** * PriceAndAvailabilityResponseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class PriceAndAvailabilityResponseInner { public static final String SERIALIZED_NAME_PRODUCT_STATUS_CODE = "productStatusCode"; @SerializedName(SERIALIZED_NAME_PRODUCT_STATUS_CODE) @@ -148,7 +148,7 @@ public class PriceAndAvailabilityResponseInner { public static final String SERIALIZED_NAME_RESERVE_INVENTORY_DETAILS = "reserveInventoryDetails"; @SerializedName(SERIALIZED_NAME_RESERVE_INVENTORY_DETAILS) - private List reserveInventoryDetails; + private List reserveInventoryDetails = new ArrayList<>(); public static final String SERIALIZED_NAME_PRICING = "pricing"; @SerializedName(SERIALIZED_NAME_PRICING) @@ -156,7 +156,7 @@ public class PriceAndAvailabilityResponseInner { public static final String SERIALIZED_NAME_DISCOUNTS = "discounts"; @SerializedName(SERIALIZED_NAME_DISCOUNTS) - private List discounts; + private List discounts = new ArrayList<>(); public static final String SERIALIZED_NAME_BUNDLE_PART_INDICATOR = "bundlePartIndicator"; @SerializedName(SERIALIZED_NAME_BUNDLE_PART_INDICATOR) @@ -164,7 +164,7 @@ public class PriceAndAvailabilityResponseInner { public static final String SERIALIZED_NAME_SERVICE_FEES = "serviceFees"; @SerializedName(SERIALIZED_NAME_SERVICE_FEES) - private List serviceFees; + private List serviceFees = new ArrayList<>(); public PriceAndAvailabilityResponseInner() { } diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java index 937e872e..302a2b44 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * PriceAndAvailabilityResponseInnerAvailability */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class PriceAndAvailabilityResponseInnerAvailability { public static final String SERIALIZED_NAME_AVAILABLE = "available"; @SerializedName(SERIALIZED_NAME_AVAILABLE) @@ -64,7 +64,7 @@ public class PriceAndAvailabilityResponseInnerAvailability { public static final String SERIALIZED_NAME_AVAILABILITY_BY_WAREHOUSE = "availabilityByWarehouse"; @SerializedName(SERIALIZED_NAME_AVAILABILITY_BY_WAREHOUSE) - private List availabilityByWarehouse; + private List availabilityByWarehouse = new ArrayList<>(); public PriceAndAvailabilityResponseInnerAvailability() { } diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java index b9bd5d98..f3604716 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner { public static final String SERIALIZED_NAME_LOCATION = "location"; @SerializedName(SERIALIZED_NAME_LOCATION) @@ -80,7 +80,7 @@ public class PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehous public static final String SERIALIZED_NAME_BACK_ORDER_INFO = "backOrderInfo"; @SerializedName(SERIALIZED_NAME_BACK_ORDER_INFO) - private List backOrderInfo; + private List backOrderInfo = new ArrayList<>(); public PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner() { } diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java index 05e9d5cb..a52bead6 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner { public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInner.java index 72f1b361..78a02a1b 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -53,15 +53,15 @@ /** * PriceAndAvailabilityResponseInnerDiscountsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class PriceAndAvailabilityResponseInnerDiscountsInner { public static final String SERIALIZED_NAME_SPECIAL_PRICING = "specialPricing"; @SerializedName(SERIALIZED_NAME_SPECIAL_PRICING) - private List specialPricing; + private List specialPricing = new ArrayList<>(); public static final String SERIALIZED_NAME_QUANTITY_DISCOUNTS = "quantityDiscounts"; @SerializedName(SERIALIZED_NAME_QUANTITY_DISCOUNTS) - private List quantityDiscounts; + private List quantityDiscounts = new ArrayList<>(); public PriceAndAvailabilityResponseInnerDiscountsInner() { } diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java index 8d0532aa..3d3686b6 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner { public static final String SERIALIZED_NAME_CONDITION_TYPE = "conditionType"; @SerializedName(SERIALIZED_NAME_CONDITION_TYPE) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner.java index ff61a703..2c4a2e66 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -51,7 +51,7 @@ /** * PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner { public static final String SERIALIZED_NAME_DISCOUNT_TYPE = "discountType"; @SerializedName(SERIALIZED_NAME_DISCOUNT_TYPE) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricing.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricing.java index 9a1c393c..d5b7062b 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricing.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricing.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * PriceAndAvailabilityResponseInnerPricing */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class PriceAndAvailabilityResponseInnerPricing { public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner.java index 0e59ecad..0561061f 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner { public static final String SERIALIZED_NAME_QUANTITY_RESERVED = "quantityReserved"; @SerializedName(SERIALIZED_NAME_QUANTITY_RESERVED) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInner.java index 0ed30e67..c2596c3e 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * PriceAndAvailabilityResponseInnerServiceFeesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class PriceAndAvailabilityResponseInnerServiceFeesInner { public static final String SERIALIZED_NAME_CONDITION_TYPE = "conditionType"; @SerializedName(SERIALIZED_NAME_CONDITION_TYPE) diff --git a/src/main/java/xiresellers/client/model/ProductDetailResponse.java b/src/main/java/xiresellers/client/model/ProductDetailResponse.java index 6a711a74..cc509eb1 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponse.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -55,7 +55,7 @@ /** * ProductDetailResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ProductDetailResponse { public static final String SERIALIZED_NAME_INGRAM_PART_NUMBER = "ingramPartNumber"; @SerializedName(SERIALIZED_NAME_INGRAM_PART_NUMBER) @@ -119,11 +119,11 @@ public class ProductDetailResponse { public static final String SERIALIZED_NAME_TECHNICAL_SPECIFICATIONS = "technicalSpecifications"; @SerializedName(SERIALIZED_NAME_TECHNICAL_SPECIFICATIONS) - private List technicalSpecifications; + private List technicalSpecifications = new ArrayList<>(); public static final String SERIALIZED_NAME_WARRANTY_INFORMATION = "warrantyInformation"; @SerializedName(SERIALIZED_NAME_WARRANTY_INFORMATION) - private List warrantyInformation; + private List warrantyInformation = new ArrayList<>(); public static final String SERIALIZED_NAME_ADDITIONAL_INFORMATION = "additionalInformation"; @SerializedName(SERIALIZED_NAME_ADDITIONAL_INFORMATION) diff --git a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java index 40c9e254..a6c3a85e 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,11 +52,11 @@ /** * Additional Information related to the product. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ProductDetailResponseAdditionalInformation { public static final String SERIALIZED_NAME_PRODUCT_WEIGHT = "productWeight"; @SerializedName(SERIALIZED_NAME_PRODUCT_WEIGHT) - private List productWeight; + private List productWeight = new ArrayList<>(); public static final String SERIALIZED_NAME_IS_BULK_FREIGHT = "isBulkFreight"; @SerializedName(SERIALIZED_NAME_IS_BULK_FREIGHT) diff --git a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java index 9c4e771b..6e3bda13 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * ProductDetailResponseAdditionalInformationProductWeightInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ProductDetailResponseAdditionalInformationProductWeightInner { public static final String SERIALIZED_NAME_PLANT_ID = "plantId"; @SerializedName(SERIALIZED_NAME_PLANT_ID) diff --git a/src/main/java/xiresellers/client/model/ProductDetailResponseCiscoFields.java b/src/main/java/xiresellers/client/model/ProductDetailResponseCiscoFields.java index e4b19608..8c3d1e94 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseCiscoFields.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseCiscoFields.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * Cisco product related information. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ProductDetailResponseCiscoFields { public static final String SERIALIZED_NAME_PRODUCT_SUB_GROUP = "productSubGroup"; @SerializedName(SERIALIZED_NAME_PRODUCT_SUB_GROUP) diff --git a/src/main/java/xiresellers/client/model/ProductDetailResponseIndicators.java b/src/main/java/xiresellers/client/model/ProductDetailResponseIndicators.java index 8ed5e5d2..8ce5adbd 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseIndicators.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseIndicators.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * Indicators of the Product */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ProductDetailResponseIndicators { public static final String SERIALIZED_NAME_HAS_WARRANTY = "hasWarranty"; @SerializedName(SERIALIZED_NAME_HAS_WARRANTY) diff --git a/src/main/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInner.java b/src/main/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInner.java index 468048f6..14316d7e 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInner.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * ProductDetailResponseTechnicalSpecificationsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ProductDetailResponseTechnicalSpecificationsInner { public static final String SERIALIZED_NAME_HEADER_NAME = "headerName"; @SerializedName(SERIALIZED_NAME_HEADER_NAME) diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponse.java b/src/main/java/xiresellers/client/model/ProductSearchResponse.java index 5b959f6d..bb5e7dbb 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchResponse.java +++ b/src/main/java/xiresellers/client/model/ProductSearchResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * ProductSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ProductSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) @@ -68,7 +68,7 @@ public class ProductSearchResponse { public static final String SERIALIZED_NAME_CATALOG = "catalog"; @SerializedName(SERIALIZED_NAME_CATALOG) - private List catalog; + private List catalog = new ArrayList<>(); public static final String SERIALIZED_NAME_NEXT_PAGE = "nextPage"; @SerializedName(SERIALIZED_NAME_NEXT_PAGE) diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java index b9cf9941..253caaf4 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java +++ b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * ProductSearchResponseCatalogInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ProductSearchResponseCatalogInner { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) @@ -116,7 +116,7 @@ public class ProductSearchResponseCatalogInner { public static final String SERIALIZED_NAME_LINKS = "links"; @SerializedName(SERIALIZED_NAME_LINKS) - private List links; + private List links = new ArrayList<>(); public static final String SERIALIZED_NAME_EXTRA_DESCRIPTION = "extraDescription"; @SerializedName(SERIALIZED_NAME_EXTRA_DESCRIPTION) diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java index 852215f6..613e4935 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * HATEOAS links for the price and availability of the sku. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ProductSearchResponseCatalogInnerLinksInner { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponse.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponse.java index b39f34c5..7ae23424 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -20,13 +20,17 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.math.BigDecimal; import java.util.ArrayList; import java.util.Arrays; import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; import xiresellers.client.model.QuoteDetailsResponseAdditionalAttributesInner; import xiresellers.client.model.QuoteDetailsResponseEndUserInfo; import xiresellers.client.model.QuoteDetailsResponseProductsInner; +import xiresellers.client.model.QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner; import xiresellers.client.model.QuoteDetailsResponseResellerInfo; +import xiresellers.client.model.QuoteDetailsResponseShippingInfo; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -55,7 +59,7 @@ /** * QuoteDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class QuoteDetailsResponse { public static final String SERIALIZED_NAME_QUOTE_NAME = "quoteName"; @SerializedName(SERIALIZED_NAME_QUOTE_NAME) @@ -65,6 +69,10 @@ public class QuoteDetailsResponse { @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) private String quoteNumber; + public static final String SERIALIZED_NAME_QUOTE_GUID = "quoteGuid"; + @SerializedName(SERIALIZED_NAME_QUOTE_GUID) + private String quoteGuid; + public static final String SERIALIZED_NAME_REVISION = "revision"; @SerializedName(SERIALIZED_NAME_REVISION) private String revision; @@ -97,10 +105,18 @@ public class QuoteDetailsResponse { @SerializedName(SERIALIZED_NAME_SPECIAL_BID_EXPIRATION_DATE) private String specialBidExpirationDate; + public static final String SERIALIZED_NAME_VENDOR_QUOTE_NUMBER = "vendorQuoteNumber"; + @SerializedName(SERIALIZED_NAME_VENDOR_QUOTE_NUMBER) + private String vendorQuoteNumber; + public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private String status; + public static final String SERIALIZED_NAME_STATUS_REASON = "statusReason"; + @SerializedName(SERIALIZED_NAME_STATUS_REASON) + private String statusReason; + public static final String SERIALIZED_NAME_CLOSING_REASON = "closingReason"; @SerializedName(SERIALIZED_NAME_CLOSING_REASON) private String closingReason; @@ -141,9 +157,17 @@ public class QuoteDetailsResponse { @SerializedName(SERIALIZED_NAME_LEASING_INSTRUCTIONS) private String leasingInstructions; - public static final String SERIALIZED_NAME_QUOTE_SUB_TYPE = "quoteSubType"; - @SerializedName(SERIALIZED_NAME_QUOTE_SUB_TYPE) - private String quoteSubType; + public static final String SERIALIZED_NAME_IM_WAREHOUSE = "imWarehouse"; + @SerializedName(SERIALIZED_NAME_IM_WAREHOUSE) + private String imWarehouse; + + public static final String SERIALIZED_NAME_IM_WAREHOUSE_GST_NUMBER = "imWarehouseGstNumber"; + @SerializedName(SERIALIZED_NAME_IM_WAREHOUSE_GST_NUMBER) + private String imWarehouseGstNumber; + + public static final String SERIALIZED_NAME_PAYMENT_TERMS_NAME = "paymentTermsName"; + @SerializedName(SERIALIZED_NAME_PAYMENT_TERMS_NAME) + private String paymentTermsName; public static final String SERIALIZED_NAME_RESELLER_INFO = "resellerInfo"; @SerializedName(SERIALIZED_NAME_RESELLER_INFO) @@ -153,9 +177,13 @@ public class QuoteDetailsResponse { @SerializedName(SERIALIZED_NAME_END_USER_INFO) private QuoteDetailsResponseEndUserInfo endUserInfo; + public static final String SERIALIZED_NAME_SHIPPING_INFO = "shippingInfo"; + @SerializedName(SERIALIZED_NAME_SHIPPING_INFO) + private QuoteDetailsResponseShippingInfo shippingInfo; + public static final String SERIALIZED_NAME_PRODUCTS = "products"; @SerializedName(SERIALIZED_NAME_PRODUCTS) - private List products; + private List products = new ArrayList<>(); public static final String SERIALIZED_NAME_PRODUCTS_COUNT = "productsCount"; @SerializedName(SERIALIZED_NAME_PRODUCTS_COUNT) @@ -163,15 +191,31 @@ public class QuoteDetailsResponse { public static final String SERIALIZED_NAME_EXTENDED_MSRP_TOTAL = "extendedMsrpTotal"; @SerializedName(SERIALIZED_NAME_EXTENDED_MSRP_TOTAL) - private Integer extendedMsrpTotal; + private BigDecimal extendedMsrpTotal; public static final String SERIALIZED_NAME_QUANTITY_TOTAL = "quantityTotal"; @SerializedName(SERIALIZED_NAME_QUANTITY_TOTAL) private Integer quantityTotal; + public static final String SERIALIZED_NAME_EXTRA_FEES_TOTAL = "extraFeesTotal"; + @SerializedName(SERIALIZED_NAME_EXTRA_FEES_TOTAL) + private BigDecimal extraFeesTotal; + + public static final String SERIALIZED_NAME_EXTRA_FEES_TOTAL_DETAILS = "extraFeesTotalDetails"; + @SerializedName(SERIALIZED_NAME_EXTRA_FEES_TOTAL_DETAILS) + private List extraFeesTotalDetails = new ArrayList<>(); + + public static final String SERIALIZED_NAME_TAX_TOTAL = "taxTotal"; + @SerializedName(SERIALIZED_NAME_TAX_TOTAL) + private BigDecimal taxTotal; + public static final String SERIALIZED_NAME_EXTENDED_QUOTE_PRICE_TOTAL = "extendedQuotePriceTotal"; @SerializedName(SERIALIZED_NAME_EXTENDED_QUOTE_PRICE_TOTAL) - private Integer extendedQuotePriceTotal; + private BigDecimal extendedQuotePriceTotal; + + public static final String SERIALIZED_NAME_FREIGHT_AMOUNT = "freightAmount"; + @SerializedName(SERIALIZED_NAME_FREIGHT_AMOUNT) + private BigDecimal freightAmount; public static final String SERIALIZED_NAME_TOTAL_QUOTE_AMOUNT = "totalQuoteAmount"; @SerializedName(SERIALIZED_NAME_TOTAL_QUOTE_AMOUNT) @@ -179,7 +223,7 @@ public class QuoteDetailsResponse { public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) - private List additionalAttributes; + private List additionalAttributes = new ArrayList<>(); public QuoteDetailsResponse() { } @@ -222,6 +266,25 @@ public void setQuoteNumber(String quoteNumber) { } + public QuoteDetailsResponse quoteGuid(String quoteGuid) { + this.quoteGuid = quoteGuid; + return this; + } + + /** + * Get quoteGuid + * @return quoteGuid + **/ + @javax.annotation.Nullable + public String getQuoteGuid() { + return quoteGuid; + } + + public void setQuoteGuid(String quoteGuid) { + this.quoteGuid = quoteGuid; + } + + public QuoteDetailsResponse revision(String revision) { this.revision = revision; return this; @@ -374,6 +437,25 @@ public void setSpecialBidExpirationDate(String specialBidExpirationDate) { } + public QuoteDetailsResponse vendorQuoteNumber(String vendorQuoteNumber) { + this.vendorQuoteNumber = vendorQuoteNumber; + return this; + } + + /** + * Get vendorQuoteNumber + * @return vendorQuoteNumber + **/ + @javax.annotation.Nullable + public String getVendorQuoteNumber() { + return vendorQuoteNumber; + } + + public void setVendorQuoteNumber(String vendorQuoteNumber) { + this.vendorQuoteNumber = vendorQuoteNumber; + } + + public QuoteDetailsResponse status(String status) { this.status = status; return this; @@ -393,6 +475,25 @@ public void setStatus(String status) { } + public QuoteDetailsResponse statusReason(String statusReason) { + this.statusReason = statusReason; + return this; + } + + /** + * Get statusReason + * @return statusReason + **/ + @javax.annotation.Nullable + public String getStatusReason() { + return statusReason; + } + + public void setStatusReason(String statusReason) { + this.statusReason = statusReason; + } + + public QuoteDetailsResponse closingReason(String closingReason) { this.closingReason = closingReason; return this; @@ -583,22 +684,60 @@ public void setLeasingInstructions(String leasingInstructions) { } - public QuoteDetailsResponse quoteSubType(String quoteSubType) { - this.quoteSubType = quoteSubType; + public QuoteDetailsResponse imWarehouse(String imWarehouse) { + this.imWarehouse = imWarehouse; + return this; + } + + /** + * Warehouse name and Address + * @return imWarehouse + **/ + @javax.annotation.Nullable + public String getImWarehouse() { + return imWarehouse; + } + + public void setImWarehouse(String imWarehouse) { + this.imWarehouse = imWarehouse; + } + + + public QuoteDetailsResponse imWarehouseGstNumber(String imWarehouseGstNumber) { + this.imWarehouseGstNumber = imWarehouseGstNumber; return this; } /** - * Get quoteSubType - * @return quoteSubType + * Warehouse GST Number + * @return imWarehouseGstNumber **/ @javax.annotation.Nullable - public String getQuoteSubType() { - return quoteSubType; + public String getImWarehouseGstNumber() { + return imWarehouseGstNumber; } - public void setQuoteSubType(String quoteSubType) { - this.quoteSubType = quoteSubType; + public void setImWarehouseGstNumber(String imWarehouseGstNumber) { + this.imWarehouseGstNumber = imWarehouseGstNumber; + } + + + public QuoteDetailsResponse paymentTermsName(String paymentTermsName) { + this.paymentTermsName = paymentTermsName; + return this; + } + + /** + * Get paymentTermsName + * @return paymentTermsName + **/ + @javax.annotation.Nullable + public String getPaymentTermsName() { + return paymentTermsName; + } + + public void setPaymentTermsName(String paymentTermsName) { + this.paymentTermsName = paymentTermsName; } @@ -640,6 +779,25 @@ public void setEndUserInfo(QuoteDetailsResponseEndUserInfo endUserInfo) { } + public QuoteDetailsResponse shippingInfo(QuoteDetailsResponseShippingInfo shippingInfo) { + this.shippingInfo = shippingInfo; + return this; + } + + /** + * Get shippingInfo + * @return shippingInfo + **/ + @javax.annotation.Nullable + public QuoteDetailsResponseShippingInfo getShippingInfo() { + return shippingInfo; + } + + public void setShippingInfo(QuoteDetailsResponseShippingInfo shippingInfo) { + this.shippingInfo = shippingInfo; + } + + public QuoteDetailsResponse products(List products) { this.products = products; return this; @@ -686,7 +844,7 @@ public void setProductsCount(Integer productsCount) { } - public QuoteDetailsResponse extendedMsrpTotal(Integer extendedMsrpTotal) { + public QuoteDetailsResponse extendedMsrpTotal(BigDecimal extendedMsrpTotal) { this.extendedMsrpTotal = extendedMsrpTotal; return this; } @@ -696,11 +854,11 @@ public QuoteDetailsResponse extendedMsrpTotal(Integer extendedMsrpTotal) { * @return extendedMsrpTotal **/ @javax.annotation.Nullable - public Integer getExtendedMsrpTotal() { + public BigDecimal getExtendedMsrpTotal() { return extendedMsrpTotal; } - public void setExtendedMsrpTotal(Integer extendedMsrpTotal) { + public void setExtendedMsrpTotal(BigDecimal extendedMsrpTotal) { this.extendedMsrpTotal = extendedMsrpTotal; } @@ -724,7 +882,72 @@ public void setQuantityTotal(Integer quantityTotal) { } - public QuoteDetailsResponse extendedQuotePriceTotal(Integer extendedQuotePriceTotal) { + public QuoteDetailsResponse extraFeesTotal(BigDecimal extraFeesTotal) { + this.extraFeesTotal = extraFeesTotal; + return this; + } + + /** + * Get extraFeesTotal + * @return extraFeesTotal + **/ + @javax.annotation.Nullable + public BigDecimal getExtraFeesTotal() { + return extraFeesTotal; + } + + public void setExtraFeesTotal(BigDecimal extraFeesTotal) { + this.extraFeesTotal = extraFeesTotal; + } + + + public QuoteDetailsResponse extraFeesTotalDetails(List extraFeesTotalDetails) { + this.extraFeesTotalDetails = extraFeesTotalDetails; + return this; + } + + public QuoteDetailsResponse addExtraFeesTotalDetailsItem(QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner extraFeesTotalDetailsItem) { + if (this.extraFeesTotalDetails == null) { + this.extraFeesTotalDetails = new ArrayList<>(); + } + this.extraFeesTotalDetails.add(extraFeesTotalDetailsItem); + return this; + } + + /** + * Get extraFeesTotalDetails + * @return extraFeesTotalDetails + **/ + @javax.annotation.Nullable + public List getExtraFeesTotalDetails() { + return extraFeesTotalDetails; + } + + public void setExtraFeesTotalDetails(List extraFeesTotalDetails) { + this.extraFeesTotalDetails = extraFeesTotalDetails; + } + + + public QuoteDetailsResponse taxTotal(BigDecimal taxTotal) { + this.taxTotal = taxTotal; + return this; + } + + /** + * Get taxTotal + * @return taxTotal + **/ + @javax.annotation.Nullable + public BigDecimal getTaxTotal() { + return taxTotal; + } + + public void setTaxTotal(BigDecimal taxTotal) { + this.taxTotal = taxTotal; + } + + + public QuoteDetailsResponse extendedQuotePriceTotal(BigDecimal extendedQuotePriceTotal) { this.extendedQuotePriceTotal = extendedQuotePriceTotal; return this; } @@ -734,15 +957,34 @@ public QuoteDetailsResponse extendedQuotePriceTotal(Integer extendedQuotePriceTo * @return extendedQuotePriceTotal **/ @javax.annotation.Nullable - public Integer getExtendedQuotePriceTotal() { + public BigDecimal getExtendedQuotePriceTotal() { return extendedQuotePriceTotal; } - public void setExtendedQuotePriceTotal(Integer extendedQuotePriceTotal) { + public void setExtendedQuotePriceTotal(BigDecimal extendedQuotePriceTotal) { this.extendedQuotePriceTotal = extendedQuotePriceTotal; } + public QuoteDetailsResponse freightAmount(BigDecimal freightAmount) { + this.freightAmount = freightAmount; + return this; + } + + /** + * Get freightAmount + * @return freightAmount + **/ + @javax.annotation.Nullable + public BigDecimal getFreightAmount() { + return freightAmount; + } + + public void setFreightAmount(BigDecimal freightAmount) { + this.freightAmount = freightAmount; + } + + public QuoteDetailsResponse totalQuoteAmount(String totalQuoteAmount) { this.totalQuoteAmount = totalQuoteAmount; return this; @@ -801,6 +1043,7 @@ public boolean equals(Object o) { QuoteDetailsResponse quoteDetailsResponse = (QuoteDetailsResponse) o; return Objects.equals(this.quoteName, quoteDetailsResponse.quoteName) && Objects.equals(this.quoteNumber, quoteDetailsResponse.quoteNumber) && + Objects.equals(this.quoteGuid, quoteDetailsResponse.quoteGuid) && Objects.equals(this.revision, quoteDetailsResponse.revision) && Objects.equals(this.ingramQuoteDate, quoteDetailsResponse.ingramQuoteDate) && Objects.equals(this.lastModifiedDate, quoteDetailsResponse.lastModifiedDate) && @@ -809,7 +1052,9 @@ public boolean equals(Object o) { Objects.equals(this.specialBidId, quoteDetailsResponse.specialBidId) && Objects.equals(this.specialBidEffectiveDate, quoteDetailsResponse.specialBidEffectiveDate) && Objects.equals(this.specialBidExpirationDate, quoteDetailsResponse.specialBidExpirationDate) && + Objects.equals(this.vendorQuoteNumber, quoteDetailsResponse.vendorQuoteNumber) && Objects.equals(this.status, quoteDetailsResponse.status) && + Objects.equals(this.statusReason, quoteDetailsResponse.statusReason) && Objects.equals(this.closingReason, quoteDetailsResponse.closingReason) && Objects.equals(this.dateClosed, quoteDetailsResponse.dateClosed) && Objects.equals(this.customerNeed, quoteDetailsResponse.customerNeed) && @@ -820,21 +1065,39 @@ public boolean equals(Object o) { Objects.equals(this.quoteType, quoteDetailsResponse.quoteType) && Objects.equals(this.leaseInfo, quoteDetailsResponse.leaseInfo) && Objects.equals(this.leasingInstructions, quoteDetailsResponse.leasingInstructions) && - Objects.equals(this.quoteSubType, quoteDetailsResponse.quoteSubType) && + Objects.equals(this.imWarehouse, quoteDetailsResponse.imWarehouse) && + Objects.equals(this.imWarehouseGstNumber, quoteDetailsResponse.imWarehouseGstNumber) && + Objects.equals(this.paymentTermsName, quoteDetailsResponse.paymentTermsName) && Objects.equals(this.resellerInfo, quoteDetailsResponse.resellerInfo) && Objects.equals(this.endUserInfo, quoteDetailsResponse.endUserInfo) && + Objects.equals(this.shippingInfo, quoteDetailsResponse.shippingInfo) && Objects.equals(this.products, quoteDetailsResponse.products) && Objects.equals(this.productsCount, quoteDetailsResponse.productsCount) && Objects.equals(this.extendedMsrpTotal, quoteDetailsResponse.extendedMsrpTotal) && Objects.equals(this.quantityTotal, quoteDetailsResponse.quantityTotal) && + Objects.equals(this.extraFeesTotal, quoteDetailsResponse.extraFeesTotal) && + Objects.equals(this.extraFeesTotalDetails, quoteDetailsResponse.extraFeesTotalDetails) && + Objects.equals(this.taxTotal, quoteDetailsResponse.taxTotal) && Objects.equals(this.extendedQuotePriceTotal, quoteDetailsResponse.extendedQuotePriceTotal) && + Objects.equals(this.freightAmount, quoteDetailsResponse.freightAmount) && Objects.equals(this.totalQuoteAmount, quoteDetailsResponse.totalQuoteAmount) && Objects.equals(this.additionalAttributes, quoteDetailsResponse.additionalAttributes); } + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + @Override public int hashCode() { - return Objects.hash(quoteName, quoteNumber, revision, ingramQuoteDate, lastModifiedDate, ingramQuoteExpiryDate, currencyCode, specialBidId, specialBidEffectiveDate, specialBidExpirationDate, status, closingReason, dateClosed, customerNeed, proposedSolution, introPreamble, purchaseInstructions, legalTerms, quoteType, leaseInfo, leasingInstructions, quoteSubType, resellerInfo, endUserInfo, products, productsCount, extendedMsrpTotal, quantityTotal, extendedQuotePriceTotal, totalQuoteAmount, additionalAttributes); + return Objects.hash(quoteName, quoteNumber, quoteGuid, revision, ingramQuoteDate, lastModifiedDate, ingramQuoteExpiryDate, currencyCode, specialBidId, specialBidEffectiveDate, specialBidExpirationDate, vendorQuoteNumber, status, statusReason, closingReason, dateClosed, customerNeed, proposedSolution, introPreamble, purchaseInstructions, legalTerms, quoteType, leaseInfo, leasingInstructions, imWarehouse, imWarehouseGstNumber, paymentTermsName, resellerInfo, endUserInfo, shippingInfo, products, productsCount, extendedMsrpTotal, quantityTotal, extraFeesTotal, extraFeesTotalDetails, taxTotal, extendedQuotePriceTotal, freightAmount, totalQuoteAmount, additionalAttributes); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; } @Override @@ -843,6 +1106,7 @@ public String toString() { sb.append("class QuoteDetailsResponse {\n"); sb.append(" quoteName: ").append(toIndentedString(quoteName)).append("\n"); sb.append(" quoteNumber: ").append(toIndentedString(quoteNumber)).append("\n"); + sb.append(" quoteGuid: ").append(toIndentedString(quoteGuid)).append("\n"); sb.append(" revision: ").append(toIndentedString(revision)).append("\n"); sb.append(" ingramQuoteDate: ").append(toIndentedString(ingramQuoteDate)).append("\n"); sb.append(" lastModifiedDate: ").append(toIndentedString(lastModifiedDate)).append("\n"); @@ -851,7 +1115,9 @@ public String toString() { sb.append(" specialBidId: ").append(toIndentedString(specialBidId)).append("\n"); sb.append(" specialBidEffectiveDate: ").append(toIndentedString(specialBidEffectiveDate)).append("\n"); sb.append(" specialBidExpirationDate: ").append(toIndentedString(specialBidExpirationDate)).append("\n"); + sb.append(" vendorQuoteNumber: ").append(toIndentedString(vendorQuoteNumber)).append("\n"); sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" statusReason: ").append(toIndentedString(statusReason)).append("\n"); sb.append(" closingReason: ").append(toIndentedString(closingReason)).append("\n"); sb.append(" dateClosed: ").append(toIndentedString(dateClosed)).append("\n"); sb.append(" customerNeed: ").append(toIndentedString(customerNeed)).append("\n"); @@ -862,14 +1128,21 @@ public String toString() { sb.append(" quoteType: ").append(toIndentedString(quoteType)).append("\n"); sb.append(" leaseInfo: ").append(toIndentedString(leaseInfo)).append("\n"); sb.append(" leasingInstructions: ").append(toIndentedString(leasingInstructions)).append("\n"); - sb.append(" quoteSubType: ").append(toIndentedString(quoteSubType)).append("\n"); + sb.append(" imWarehouse: ").append(toIndentedString(imWarehouse)).append("\n"); + sb.append(" imWarehouseGstNumber: ").append(toIndentedString(imWarehouseGstNumber)).append("\n"); + sb.append(" paymentTermsName: ").append(toIndentedString(paymentTermsName)).append("\n"); sb.append(" resellerInfo: ").append(toIndentedString(resellerInfo)).append("\n"); sb.append(" endUserInfo: ").append(toIndentedString(endUserInfo)).append("\n"); + sb.append(" shippingInfo: ").append(toIndentedString(shippingInfo)).append("\n"); sb.append(" products: ").append(toIndentedString(products)).append("\n"); sb.append(" productsCount: ").append(toIndentedString(productsCount)).append("\n"); sb.append(" extendedMsrpTotal: ").append(toIndentedString(extendedMsrpTotal)).append("\n"); sb.append(" quantityTotal: ").append(toIndentedString(quantityTotal)).append("\n"); + sb.append(" extraFeesTotal: ").append(toIndentedString(extraFeesTotal)).append("\n"); + sb.append(" extraFeesTotalDetails: ").append(toIndentedString(extraFeesTotalDetails)).append("\n"); + sb.append(" taxTotal: ").append(toIndentedString(taxTotal)).append("\n"); sb.append(" extendedQuotePriceTotal: ").append(toIndentedString(extendedQuotePriceTotal)).append("\n"); + sb.append(" freightAmount: ").append(toIndentedString(freightAmount)).append("\n"); sb.append(" totalQuoteAmount: ").append(toIndentedString(totalQuoteAmount)).append("\n"); sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); sb.append("}"); @@ -896,6 +1169,7 @@ private String toIndentedString(Object o) { openapiFields = new HashSet(); openapiFields.add("quoteName"); openapiFields.add("quoteNumber"); + openapiFields.add("quoteGuid"); openapiFields.add("revision"); openapiFields.add("ingramQuoteDate"); openapiFields.add("lastModifiedDate"); @@ -904,7 +1178,9 @@ private String toIndentedString(Object o) { openapiFields.add("specialBidId"); openapiFields.add("specialBidEffectiveDate"); openapiFields.add("specialBidExpirationDate"); + openapiFields.add("vendorQuoteNumber"); openapiFields.add("status"); + openapiFields.add("statusReason"); openapiFields.add("closingReason"); openapiFields.add("dateClosed"); openapiFields.add("customerNeed"); @@ -915,14 +1191,21 @@ private String toIndentedString(Object o) { openapiFields.add("quoteType"); openapiFields.add("leaseInfo"); openapiFields.add("leasingInstructions"); - openapiFields.add("quoteSubType"); + openapiFields.add("imWarehouse"); + openapiFields.add("imWarehouseGstNumber"); + openapiFields.add("paymentTermsName"); openapiFields.add("resellerInfo"); openapiFields.add("endUserInfo"); + openapiFields.add("shippingInfo"); openapiFields.add("products"); openapiFields.add("productsCount"); openapiFields.add("extendedMsrpTotal"); openapiFields.add("quantityTotal"); + openapiFields.add("extraFeesTotal"); + openapiFields.add("extraFeesTotalDetails"); + openapiFields.add("taxTotal"); openapiFields.add("extendedQuotePriceTotal"); + openapiFields.add("freightAmount"); openapiFields.add("totalQuoteAmount"); openapiFields.add("additionalAttributes"); @@ -957,6 +1240,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("quoteNumber") != null && !jsonObj.get("quoteNumber").isJsonNull()) && !jsonObj.get("quoteNumber").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `quoteNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quoteNumber").toString())); } + if ((jsonObj.get("quoteGuid") != null && !jsonObj.get("quoteGuid").isJsonNull()) && !jsonObj.get("quoteGuid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `quoteGuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quoteGuid").toString())); + } if ((jsonObj.get("revision") != null && !jsonObj.get("revision").isJsonNull()) && !jsonObj.get("revision").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `revision` to be a primitive type in the JSON string but got `%s`", jsonObj.get("revision").toString())); } @@ -981,9 +1267,15 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("specialBidExpirationDate") != null && !jsonObj.get("specialBidExpirationDate").isJsonNull()) && !jsonObj.get("specialBidExpirationDate").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `specialBidExpirationDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("specialBidExpirationDate").toString())); } + if ((jsonObj.get("vendorQuoteNumber") != null && !jsonObj.get("vendorQuoteNumber").isJsonNull()) && !jsonObj.get("vendorQuoteNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `vendorQuoteNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorQuoteNumber").toString())); + } if ((jsonObj.get("status") != null && !jsonObj.get("status").isJsonNull()) && !jsonObj.get("status").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `status` to be a primitive type in the JSON string but got `%s`", jsonObj.get("status").toString())); } + if ((jsonObj.get("statusReason") != null && !jsonObj.get("statusReason").isJsonNull()) && !jsonObj.get("statusReason").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `statusReason` to be a primitive type in the JSON string but got `%s`", jsonObj.get("statusReason").toString())); + } if ((jsonObj.get("closingReason") != null && !jsonObj.get("closingReason").isJsonNull()) && !jsonObj.get("closingReason").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `closingReason` to be a primitive type in the JSON string but got `%s`", jsonObj.get("closingReason").toString())); } @@ -1014,8 +1306,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("leasingInstructions") != null && !jsonObj.get("leasingInstructions").isJsonNull()) && !jsonObj.get("leasingInstructions").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `leasingInstructions` to be a primitive type in the JSON string but got `%s`", jsonObj.get("leasingInstructions").toString())); } - if ((jsonObj.get("quoteSubType") != null && !jsonObj.get("quoteSubType").isJsonNull()) && !jsonObj.get("quoteSubType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `quoteSubType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quoteSubType").toString())); + if ((jsonObj.get("imWarehouse") != null && !jsonObj.get("imWarehouse").isJsonNull()) && !jsonObj.get("imWarehouse").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `imWarehouse` to be a primitive type in the JSON string but got `%s`", jsonObj.get("imWarehouse").toString())); + } + if ((jsonObj.get("imWarehouseGstNumber") != null && !jsonObj.get("imWarehouseGstNumber").isJsonNull()) && !jsonObj.get("imWarehouseGstNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `imWarehouseGstNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("imWarehouseGstNumber").toString())); + } + if ((jsonObj.get("paymentTermsName") != null && !jsonObj.get("paymentTermsName").isJsonNull()) && !jsonObj.get("paymentTermsName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `paymentTermsName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("paymentTermsName").toString())); } // validate the optional field `resellerInfo` if (jsonObj.get("resellerInfo") != null && !jsonObj.get("resellerInfo").isJsonNull()) { @@ -1025,6 +1323,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonObj.get("endUserInfo") != null && !jsonObj.get("endUserInfo").isJsonNull()) { QuoteDetailsResponseEndUserInfo.validateJsonElement(jsonObj.get("endUserInfo")); } + // validate the optional field `shippingInfo` + if (jsonObj.get("shippingInfo") != null && !jsonObj.get("shippingInfo").isJsonNull()) { + QuoteDetailsResponseShippingInfo.validateJsonElement(jsonObj.get("shippingInfo")); + } if (jsonObj.get("products") != null && !jsonObj.get("products").isJsonNull()) { JsonArray jsonArrayproducts = jsonObj.getAsJsonArray("products"); if (jsonArrayproducts != null) { @@ -1039,6 +1341,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti }; } } + if (jsonObj.get("extraFeesTotalDetails") != null && !jsonObj.get("extraFeesTotalDetails").isJsonNull()) { + JsonArray jsonArrayextraFeesTotalDetails = jsonObj.getAsJsonArray("extraFeesTotalDetails"); + if (jsonArrayextraFeesTotalDetails != null) { + // ensure the json data is an array + if (!jsonObj.get("extraFeesTotalDetails").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `extraFeesTotalDetails` to be an array in the JSON string but got `%s`", jsonObj.get("extraFeesTotalDetails").toString())); + } + + // validate the optional field `extraFeesTotalDetails` (array) + for (int i = 0; i < jsonArrayextraFeesTotalDetails.size(); i++) { + QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.validateJsonElement(jsonArrayextraFeesTotalDetails.get(i)); + }; + } + } if ((jsonObj.get("totalQuoteAmount") != null && !jsonObj.get("totalQuoteAmount").isJsonNull()) && !jsonObj.get("totalQuoteAmount").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `totalQuoteAmount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalQuoteAmount").toString())); } diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java index 2698fd92..92b0b6db 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * QuoteDetailsResponseAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class QuoteDetailsResponseAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfo.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfo.java index eaebdd48..17f40896 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * QuoteDetailsResponseEndUserInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class QuoteDetailsResponseEndUserInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInner.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInner.java index 8ed00cae..6e8ff455 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -20,7 +20,11 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; import java.util.Arrays; +import java.util.List; +import xiresellers.client.model.QuoteDetailsResponseProductsInnerBillDetailsInner; import xiresellers.client.model.QuoteDetailsResponseProductsInnerPrice; import com.google.gson.Gson; @@ -50,7 +54,7 @@ /** * QuoteDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class QuoteDetailsResponseProductsInner { public static final String SERIALIZED_NAME_QUOTE_PRODUCT_GUID = "quoteProductGuid"; @SerializedName(SERIALIZED_NAME_QUOTE_PRODUCT_GUID) @@ -90,7 +94,7 @@ public class QuoteDetailsResponseProductsInner { public static final String SERIALIZED_NAME_WEIGHT = "weight"; @SerializedName(SERIALIZED_NAME_WEIGHT) - private Integer weight; + private BigDecimal weight; public static final String SERIALIZED_NAME_WEIGHT_UOM = "weightUom"; @SerializedName(SERIALIZED_NAME_WEIGHT_UOM) @@ -116,6 +120,10 @@ public class QuoteDetailsResponseProductsInner { @SerializedName(SERIALIZED_NAME_TERMS) private String terms; + public static final String SERIALIZED_NAME_PLAN_DESCRIPTION = "planDescription"; + @SerializedName(SERIALIZED_NAME_PLAN_DESCRIPTION) + private String planDescription; + public static final String SERIALIZED_NAME_IS_SUBSCRIPTION = "isSubscription"; @SerializedName(SERIALIZED_NAME_IS_SUBSCRIPTION) private Boolean isSubscription; @@ -124,10 +132,30 @@ public class QuoteDetailsResponseProductsInner { @SerializedName(SERIALIZED_NAME_RESELLER_MARGIN) private String resellerMargin; + public static final String SERIALIZED_NAME_REQUESTED_START_DATE = "requestedStartDate"; + @SerializedName(SERIALIZED_NAME_REQUESTED_START_DATE) + private String requestedStartDate; + + public static final String SERIALIZED_NAME_START_DATE = "startDate"; + @SerializedName(SERIALIZED_NAME_START_DATE) + private String startDate; + + public static final String SERIALIZED_NAME_END_DATE = "endDate"; + @SerializedName(SERIALIZED_NAME_END_DATE) + private String endDate; + + public static final String SERIALIZED_NAME_SERIAL_NUMBER = "serialNumber"; + @SerializedName(SERIALIZED_NAME_SERIAL_NUMBER) + private String serialNumber; + public static final String SERIALIZED_NAME_PRICE = "price"; @SerializedName(SERIALIZED_NAME_PRICE) private QuoteDetailsResponseProductsInnerPrice price; + public static final String SERIALIZED_NAME_BILL_DETAILS = "billDetails"; + @SerializedName(SERIALIZED_NAME_BILL_DETAILS) + private List billDetails = new ArrayList<>(); + public QuoteDetailsResponseProductsInner() { } @@ -302,7 +330,7 @@ public void setDescription(String description) { } - public QuoteDetailsResponseProductsInner weight(Integer weight) { + public QuoteDetailsResponseProductsInner weight(BigDecimal weight) { this.weight = weight; return this; } @@ -312,11 +340,11 @@ public QuoteDetailsResponseProductsInner weight(Integer weight) { * @return weight **/ @javax.annotation.Nullable - public Integer getWeight() { + public BigDecimal getWeight() { return weight; } - public void setWeight(Integer weight) { + public void setWeight(BigDecimal weight) { this.weight = weight; } @@ -435,6 +463,25 @@ public void setTerms(String terms) { } + public QuoteDetailsResponseProductsInner planDescription(String planDescription) { + this.planDescription = planDescription; + return this; + } + + /** + * Get planDescription + * @return planDescription + **/ + @javax.annotation.Nullable + public String getPlanDescription() { + return planDescription; + } + + public void setPlanDescription(String planDescription) { + this.planDescription = planDescription; + } + + public QuoteDetailsResponseProductsInner isSubscription(Boolean isSubscription) { this.isSubscription = isSubscription; return this; @@ -473,6 +520,82 @@ public void setResellerMargin(String resellerMargin) { } + public QuoteDetailsResponseProductsInner requestedStartDate(String requestedStartDate) { + this.requestedStartDate = requestedStartDate; + return this; + } + + /** + * Get requestedStartDate + * @return requestedStartDate + **/ + @javax.annotation.Nullable + public String getRequestedStartDate() { + return requestedStartDate; + } + + public void setRequestedStartDate(String requestedStartDate) { + this.requestedStartDate = requestedStartDate; + } + + + public QuoteDetailsResponseProductsInner startDate(String startDate) { + this.startDate = startDate; + return this; + } + + /** + * Get startDate + * @return startDate + **/ + @javax.annotation.Nullable + public String getStartDate() { + return startDate; + } + + public void setStartDate(String startDate) { + this.startDate = startDate; + } + + + public QuoteDetailsResponseProductsInner endDate(String endDate) { + this.endDate = endDate; + return this; + } + + /** + * Get endDate + * @return endDate + **/ + @javax.annotation.Nullable + public String getEndDate() { + return endDate; + } + + public void setEndDate(String endDate) { + this.endDate = endDate; + } + + + public QuoteDetailsResponseProductsInner serialNumber(String serialNumber) { + this.serialNumber = serialNumber; + return this; + } + + /** + * Get serialNumber + * @return serialNumber + **/ + @javax.annotation.Nullable + public String getSerialNumber() { + return serialNumber; + } + + public void setSerialNumber(String serialNumber) { + this.serialNumber = serialNumber; + } + + public QuoteDetailsResponseProductsInner price(QuoteDetailsResponseProductsInnerPrice price) { this.price = price; return this; @@ -492,6 +615,33 @@ public void setPrice(QuoteDetailsResponseProductsInnerPrice price) { } + public QuoteDetailsResponseProductsInner billDetails(List billDetails) { + this.billDetails = billDetails; + return this; + } + + public QuoteDetailsResponseProductsInner addBillDetailsItem(QuoteDetailsResponseProductsInnerBillDetailsInner billDetailsItem) { + if (this.billDetails == null) { + this.billDetails = new ArrayList<>(); + } + this.billDetails.add(billDetailsItem); + return this; + } + + /** + * Get billDetails + * @return billDetails + **/ + @javax.annotation.Nullable + public List getBillDetails() { + return billDetails; + } + + public void setBillDetails(List billDetails) { + this.billDetails = billDetails; + } + + @Override public boolean equals(Object o) { @@ -518,14 +668,20 @@ public boolean equals(Object o) { Objects.equals(this.quoteProductsSupplierPartAuxiliaryId, quoteDetailsResponseProductsInner.quoteProductsSupplierPartAuxiliaryId) && Objects.equals(this.vendorName, quoteDetailsResponseProductsInner.vendorName) && Objects.equals(this.terms, quoteDetailsResponseProductsInner.terms) && + Objects.equals(this.planDescription, quoteDetailsResponseProductsInner.planDescription) && Objects.equals(this.isSubscription, quoteDetailsResponseProductsInner.isSubscription) && Objects.equals(this.resellerMargin, quoteDetailsResponseProductsInner.resellerMargin) && - Objects.equals(this.price, quoteDetailsResponseProductsInner.price); + Objects.equals(this.requestedStartDate, quoteDetailsResponseProductsInner.requestedStartDate) && + Objects.equals(this.startDate, quoteDetailsResponseProductsInner.startDate) && + Objects.equals(this.endDate, quoteDetailsResponseProductsInner.endDate) && + Objects.equals(this.serialNumber, quoteDetailsResponseProductsInner.serialNumber) && + Objects.equals(this.price, quoteDetailsResponseProductsInner.price) && + Objects.equals(this.billDetails, quoteDetailsResponseProductsInner.billDetails); } @Override public int hashCode() { - return Objects.hash(quoteProductGuid, lineNumber, quantity, notes, ean, coo, ingramPartNumber, vendorPartNumber, description, weight, weightUom, isSuggestionProduct, vpnCategory, quoteProductsSupplierPartAuxiliaryId, vendorName, terms, isSubscription, resellerMargin, price); + return Objects.hash(quoteProductGuid, lineNumber, quantity, notes, ean, coo, ingramPartNumber, vendorPartNumber, description, weight, weightUom, isSuggestionProduct, vpnCategory, quoteProductsSupplierPartAuxiliaryId, vendorName, terms, planDescription, isSubscription, resellerMargin, requestedStartDate, startDate, endDate, serialNumber, price, billDetails); } @Override @@ -548,9 +704,15 @@ public String toString() { sb.append(" quoteProductsSupplierPartAuxiliaryId: ").append(toIndentedString(quoteProductsSupplierPartAuxiliaryId)).append("\n"); sb.append(" vendorName: ").append(toIndentedString(vendorName)).append("\n"); sb.append(" terms: ").append(toIndentedString(terms)).append("\n"); + sb.append(" planDescription: ").append(toIndentedString(planDescription)).append("\n"); sb.append(" isSubscription: ").append(toIndentedString(isSubscription)).append("\n"); sb.append(" resellerMargin: ").append(toIndentedString(resellerMargin)).append("\n"); + sb.append(" requestedStartDate: ").append(toIndentedString(requestedStartDate)).append("\n"); + sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n"); + sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n"); + sb.append(" serialNumber: ").append(toIndentedString(serialNumber)).append("\n"); sb.append(" price: ").append(toIndentedString(price)).append("\n"); + sb.append(" billDetails: ").append(toIndentedString(billDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -589,9 +751,15 @@ private String toIndentedString(Object o) { openapiFields.add("quoteProductsSupplierPartAuxiliaryId"); openapiFields.add("vendorName"); openapiFields.add("terms"); + openapiFields.add("planDescription"); openapiFields.add("isSubscription"); openapiFields.add("resellerMargin"); + openapiFields.add("requestedStartDate"); + openapiFields.add("startDate"); + openapiFields.add("endDate"); + openapiFields.add("serialNumber"); openapiFields.add("price"); + openapiFields.add("billDetails"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -657,13 +825,42 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("terms") != null && !jsonObj.get("terms").isJsonNull()) && !jsonObj.get("terms").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `terms` to be a primitive type in the JSON string but got `%s`", jsonObj.get("terms").toString())); } + if ((jsonObj.get("planDescription") != null && !jsonObj.get("planDescription").isJsonNull()) && !jsonObj.get("planDescription").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `planDescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("planDescription").toString())); + } if ((jsonObj.get("resellerMargin") != null && !jsonObj.get("resellerMargin").isJsonNull()) && !jsonObj.get("resellerMargin").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `resellerMargin` to be a primitive type in the JSON string but got `%s`", jsonObj.get("resellerMargin").toString())); } + if ((jsonObj.get("requestedStartDate") != null && !jsonObj.get("requestedStartDate").isJsonNull()) && !jsonObj.get("requestedStartDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `requestedStartDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("requestedStartDate").toString())); + } + if ((jsonObj.get("startDate") != null && !jsonObj.get("startDate").isJsonNull()) && !jsonObj.get("startDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `startDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("startDate").toString())); + } + if ((jsonObj.get("endDate") != null && !jsonObj.get("endDate").isJsonNull()) && !jsonObj.get("endDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `endDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endDate").toString())); + } + if ((jsonObj.get("serialNumber") != null && !jsonObj.get("serialNumber").isJsonNull()) && !jsonObj.get("serialNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `serialNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("serialNumber").toString())); + } // validate the optional field `price` if (jsonObj.get("price") != null && !jsonObj.get("price").isJsonNull()) { QuoteDetailsResponseProductsInnerPrice.validateJsonElement(jsonObj.get("price")); } + if (jsonObj.get("billDetails") != null && !jsonObj.get("billDetails").isJsonNull()) { + JsonArray jsonArraybillDetails = jsonObj.getAsJsonArray("billDetails"); + if (jsonArraybillDetails != null) { + // ensure the json data is an array + if (!jsonObj.get("billDetails").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `billDetails` to be an array in the JSON string but got `%s`", jsonObj.get("billDetails").toString())); + } + + // validate the optional field `billDetails` (array) + for (int i = 0; i < jsonArraybillDetails.size(); i++) { + QuoteDetailsResponseProductsInnerBillDetailsInner.validateJsonElement(jsonArraybillDetails.get(i)); + }; + } + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerBillDetailsInner.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerBillDetailsInner.java new file mode 100644 index 00000000..866c0cf2 --- /dev/null +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerBillDetailsInner.java @@ -0,0 +1,290 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import xiresellers.client.JSON; + +/** + * QuoteDetailsResponseProductsInnerBillDetailsInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class QuoteDetailsResponseProductsInnerBillDetailsInner { + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private String type; + + public static final String SERIALIZED_NAME_UNIT = "unit"; + @SerializedName(SERIALIZED_NAME_UNIT) + private String unit; + + public static final String SERIALIZED_NAME_FREQUENCY = "frequency"; + @SerializedName(SERIALIZED_NAME_FREQUENCY) + private Integer frequency; + + public static final String SERIALIZED_NAME_UNIT_VALUE = "unitValue"; + @SerializedName(SERIALIZED_NAME_UNIT_VALUE) + private String unitValue; + + public QuoteDetailsResponseProductsInnerBillDetailsInner() { + } + + public QuoteDetailsResponseProductsInnerBillDetailsInner type(String type) { + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @javax.annotation.Nullable + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + + public QuoteDetailsResponseProductsInnerBillDetailsInner unit(String unit) { + this.unit = unit; + return this; + } + + /** + * Get unit + * @return unit + **/ + @javax.annotation.Nullable + public String getUnit() { + return unit; + } + + public void setUnit(String unit) { + this.unit = unit; + } + + + public QuoteDetailsResponseProductsInnerBillDetailsInner frequency(Integer frequency) { + this.frequency = frequency; + return this; + } + + /** + * Get frequency + * @return frequency + **/ + @javax.annotation.Nullable + public Integer getFrequency() { + return frequency; + } + + public void setFrequency(Integer frequency) { + this.frequency = frequency; + } + + + public QuoteDetailsResponseProductsInnerBillDetailsInner unitValue(String unitValue) { + this.unitValue = unitValue; + return this; + } + + /** + * Get unitValue + * @return unitValue + **/ + @javax.annotation.Nullable + public String getUnitValue() { + return unitValue; + } + + public void setUnitValue(String unitValue) { + this.unitValue = unitValue; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + QuoteDetailsResponseProductsInnerBillDetailsInner quoteDetailsResponseProductsInnerBillDetailsInner = (QuoteDetailsResponseProductsInnerBillDetailsInner) o; + return Objects.equals(this.type, quoteDetailsResponseProductsInnerBillDetailsInner.type) && + Objects.equals(this.unit, quoteDetailsResponseProductsInnerBillDetailsInner.unit) && + Objects.equals(this.frequency, quoteDetailsResponseProductsInnerBillDetailsInner.frequency) && + Objects.equals(this.unitValue, quoteDetailsResponseProductsInnerBillDetailsInner.unitValue); + } + + @Override + public int hashCode() { + return Objects.hash(type, unit, frequency, unitValue); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class QuoteDetailsResponseProductsInnerBillDetailsInner {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" unit: ").append(toIndentedString(unit)).append("\n"); + sb.append(" frequency: ").append(toIndentedString(frequency)).append("\n"); + sb.append(" unitValue: ").append(toIndentedString(unitValue)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("type"); + openapiFields.add("unit"); + openapiFields.add("frequency"); + openapiFields.add("unitValue"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to QuoteDetailsResponseProductsInnerBillDetailsInner + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!QuoteDetailsResponseProductsInnerBillDetailsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteDetailsResponseProductsInnerBillDetailsInner is not found in the empty JSON string", QuoteDetailsResponseProductsInnerBillDetailsInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!QuoteDetailsResponseProductsInnerBillDetailsInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteDetailsResponseProductsInnerBillDetailsInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } + if ((jsonObj.get("unit") != null && !jsonObj.get("unit").isJsonNull()) && !jsonObj.get("unit").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `unit` to be a primitive type in the JSON string but got `%s`", jsonObj.get("unit").toString())); + } + if ((jsonObj.get("unitValue") != null && !jsonObj.get("unitValue").isJsonNull()) && !jsonObj.get("unitValue").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `unitValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("unitValue").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!QuoteDetailsResponseProductsInnerBillDetailsInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'QuoteDetailsResponseProductsInnerBillDetailsInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(QuoteDetailsResponseProductsInnerBillDetailsInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, QuoteDetailsResponseProductsInnerBillDetailsInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public QuoteDetailsResponseProductsInnerBillDetailsInner read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of QuoteDetailsResponseProductsInnerBillDetailsInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of QuoteDetailsResponseProductsInnerBillDetailsInner + * @throws IOException if the JSON string is invalid with respect to QuoteDetailsResponseProductsInnerBillDetailsInner + */ + public static QuoteDetailsResponseProductsInnerBillDetailsInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, QuoteDetailsResponseProductsInnerBillDetailsInner.class); + } + + /** + * Convert an instance of QuoteDetailsResponseProductsInnerBillDetailsInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java index 5e52e1c0..791927c6 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -21,7 +21,12 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.math.BigDecimal; +import java.util.ArrayList; import java.util.Arrays; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import xiresellers.client.model.QuoteDetailsResponseProductsInnerPriceDiscountsInner; +import xiresellers.client.model.QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -50,40 +55,28 @@ /** * QuoteDetailsResponseProductsInnerPrice */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class QuoteDetailsResponseProductsInnerPrice { public static final String SERIALIZED_NAME_QUOTE_PRICE = "quotePrice"; @SerializedName(SERIALIZED_NAME_QUOTE_PRICE) - private Integer quotePrice; + private BigDecimal quotePrice; public static final String SERIALIZED_NAME_MSRP = "msrp"; @SerializedName(SERIALIZED_NAME_MSRP) - private Integer msrp; + private BigDecimal msrp; public static final String SERIALIZED_NAME_EXTENDED_MSRP = "extendedMsrp"; @SerializedName(SERIALIZED_NAME_EXTENDED_MSRP) - private Integer extendedMsrp; + private BigDecimal extendedMsrp; public static final String SERIALIZED_NAME_EXTENDED_QUOTE_PRICE = "extendedQuotePrice"; @SerializedName(SERIALIZED_NAME_EXTENDED_QUOTE_PRICE) - private Integer extendedQuotePrice; + private BigDecimal extendedQuotePrice; public static final String SERIALIZED_NAME_DISCOUNT_OFF_LIST = "discountOffList"; @SerializedName(SERIALIZED_NAME_DISCOUNT_OFF_LIST) private String discountOffList; - public static final String SERIALIZED_NAME_VENDORPRICE = "vendorprice"; - @SerializedName(SERIALIZED_NAME_VENDORPRICE) - private BigDecimal vendorprice; - - public static final String SERIALIZED_NAME_EXTENDEDVENDORPRICE = "extendedvendorprice"; - @SerializedName(SERIALIZED_NAME_EXTENDEDVENDORPRICE) - private BigDecimal extendedvendorprice; - - public static final String SERIALIZED_NAME_TOTAL_VISIBLE_RESERVE_QUANTITY = "totalVisibleReserveQuantity"; - @SerializedName(SERIALIZED_NAME_TOTAL_VISIBLE_RESERVE_QUANTITY) - private Integer totalVisibleReserveQuantity; - public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) private String type; @@ -92,10 +85,30 @@ public class QuoteDetailsResponseProductsInnerPrice { @SerializedName(SERIALIZED_NAME_RECURRING_PRICE_MODEL) private String recurringPriceModel; + public static final String SERIALIZED_NAME_UNIT_OF_MEASURE = "unitOfMeasure"; + @SerializedName(SERIALIZED_NAME_UNIT_OF_MEASURE) + private String unitOfMeasure; + + public static final String SERIALIZED_NAME_TAX = "tax"; + @SerializedName(SERIALIZED_NAME_TAX) + private BigDecimal tax; + + public static final String SERIALIZED_NAME_EXTRAFEES = "extrafees"; + @SerializedName(SERIALIZED_NAME_EXTRAFEES) + private BigDecimal extrafees; + + public static final String SERIALIZED_NAME_EXTRA_FEES_DETAILS = "extraFeesDetails"; + @SerializedName(SERIALIZED_NAME_EXTRA_FEES_DETAILS) + private List extraFeesDetails = new ArrayList<>(); + + public static final String SERIALIZED_NAME_DISCOUNTS = "discounts"; + @SerializedName(SERIALIZED_NAME_DISCOUNTS) + private List discounts = new ArrayList<>(); + public QuoteDetailsResponseProductsInnerPrice() { } - public QuoteDetailsResponseProductsInnerPrice quotePrice(Integer quotePrice) { + public QuoteDetailsResponseProductsInnerPrice quotePrice(BigDecimal quotePrice) { this.quotePrice = quotePrice; return this; } @@ -105,16 +118,16 @@ public QuoteDetailsResponseProductsInnerPrice quotePrice(Integer quotePrice) { * @return quotePrice **/ @javax.annotation.Nullable - public Integer getQuotePrice() { + public BigDecimal getQuotePrice() { return quotePrice; } - public void setQuotePrice(Integer quotePrice) { + public void setQuotePrice(BigDecimal quotePrice) { this.quotePrice = quotePrice; } - public QuoteDetailsResponseProductsInnerPrice msrp(Integer msrp) { + public QuoteDetailsResponseProductsInnerPrice msrp(BigDecimal msrp) { this.msrp = msrp; return this; } @@ -124,16 +137,16 @@ public QuoteDetailsResponseProductsInnerPrice msrp(Integer msrp) { * @return msrp **/ @javax.annotation.Nullable - public Integer getMsrp() { + public BigDecimal getMsrp() { return msrp; } - public void setMsrp(Integer msrp) { + public void setMsrp(BigDecimal msrp) { this.msrp = msrp; } - public QuoteDetailsResponseProductsInnerPrice extendedMsrp(Integer extendedMsrp) { + public QuoteDetailsResponseProductsInnerPrice extendedMsrp(BigDecimal extendedMsrp) { this.extendedMsrp = extendedMsrp; return this; } @@ -143,16 +156,16 @@ public QuoteDetailsResponseProductsInnerPrice extendedMsrp(Integer extendedMsrp) * @return extendedMsrp **/ @javax.annotation.Nullable - public Integer getExtendedMsrp() { + public BigDecimal getExtendedMsrp() { return extendedMsrp; } - public void setExtendedMsrp(Integer extendedMsrp) { + public void setExtendedMsrp(BigDecimal extendedMsrp) { this.extendedMsrp = extendedMsrp; } - public QuoteDetailsResponseProductsInnerPrice extendedQuotePrice(Integer extendedQuotePrice) { + public QuoteDetailsResponseProductsInnerPrice extendedQuotePrice(BigDecimal extendedQuotePrice) { this.extendedQuotePrice = extendedQuotePrice; return this; } @@ -162,11 +175,11 @@ public QuoteDetailsResponseProductsInnerPrice extendedQuotePrice(Integer extende * @return extendedQuotePrice **/ @javax.annotation.Nullable - public Integer getExtendedQuotePrice() { + public BigDecimal getExtendedQuotePrice() { return extendedQuotePrice; } - public void setExtendedQuotePrice(Integer extendedQuotePrice) { + public void setExtendedQuotePrice(BigDecimal extendedQuotePrice) { this.extendedQuotePrice = extendedQuotePrice; } @@ -190,98 +203,152 @@ public void setDiscountOffList(String discountOffList) { } - public QuoteDetailsResponseProductsInnerPrice vendorprice(BigDecimal vendorprice) { - this.vendorprice = vendorprice; + public QuoteDetailsResponseProductsInnerPrice type(String type) { + this.type = type; return this; } /** - * Get vendorprice - * @return vendorprice + * Get type + * @return type **/ @javax.annotation.Nullable - public BigDecimal getVendorprice() { - return vendorprice; + public String getType() { + return type; } - public void setVendorprice(BigDecimal vendorprice) { - this.vendorprice = vendorprice; + public void setType(String type) { + this.type = type; } - public QuoteDetailsResponseProductsInnerPrice extendedvendorprice(BigDecimal extendedvendorprice) { - this.extendedvendorprice = extendedvendorprice; + public QuoteDetailsResponseProductsInnerPrice recurringPriceModel(String recurringPriceModel) { + this.recurringPriceModel = recurringPriceModel; return this; } /** - * Get extendedvendorprice - * @return extendedvendorprice + * Get recurringPriceModel + * @return recurringPriceModel **/ @javax.annotation.Nullable - public BigDecimal getExtendedvendorprice() { - return extendedvendorprice; + public String getRecurringPriceModel() { + return recurringPriceModel; } - public void setExtendedvendorprice(BigDecimal extendedvendorprice) { - this.extendedvendorprice = extendedvendorprice; + public void setRecurringPriceModel(String recurringPriceModel) { + this.recurringPriceModel = recurringPriceModel; } - public QuoteDetailsResponseProductsInnerPrice totalVisibleReserveQuantity(Integer totalVisibleReserveQuantity) { - this.totalVisibleReserveQuantity = totalVisibleReserveQuantity; + public QuoteDetailsResponseProductsInnerPrice unitOfMeasure(String unitOfMeasure) { + this.unitOfMeasure = unitOfMeasure; return this; } /** - * Get totalVisibleReserveQuantity - * @return totalVisibleReserveQuantity + * Get unitOfMeasure + * @return unitOfMeasure **/ @javax.annotation.Nullable - public Integer getTotalVisibleReserveQuantity() { - return totalVisibleReserveQuantity; + public String getUnitOfMeasure() { + return unitOfMeasure; } - public void setTotalVisibleReserveQuantity(Integer totalVisibleReserveQuantity) { - this.totalVisibleReserveQuantity = totalVisibleReserveQuantity; + public void setUnitOfMeasure(String unitOfMeasure) { + this.unitOfMeasure = unitOfMeasure; } - public QuoteDetailsResponseProductsInnerPrice type(String type) { - this.type = type; + public QuoteDetailsResponseProductsInnerPrice tax(BigDecimal tax) { + this.tax = tax; return this; } /** - * Get type - * @return type + * Get tax + * @return tax **/ @javax.annotation.Nullable - public String getType() { - return type; + public BigDecimal getTax() { + return tax; } - public void setType(String type) { - this.type = type; + public void setTax(BigDecimal tax) { + this.tax = tax; } - public QuoteDetailsResponseProductsInnerPrice recurringPriceModel(String recurringPriceModel) { - this.recurringPriceModel = recurringPriceModel; + public QuoteDetailsResponseProductsInnerPrice extrafees(BigDecimal extrafees) { + this.extrafees = extrafees; return this; } /** - * Get recurringPriceModel - * @return recurringPriceModel + * Get extrafees + * @return extrafees **/ @javax.annotation.Nullable - public String getRecurringPriceModel() { - return recurringPriceModel; + public BigDecimal getExtrafees() { + return extrafees; } - public void setRecurringPriceModel(String recurringPriceModel) { - this.recurringPriceModel = recurringPriceModel; + public void setExtrafees(BigDecimal extrafees) { + this.extrafees = extrafees; + } + + + public QuoteDetailsResponseProductsInnerPrice extraFeesDetails(List extraFeesDetails) { + this.extraFeesDetails = extraFeesDetails; + return this; + } + + public QuoteDetailsResponseProductsInnerPrice addExtraFeesDetailsItem(QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner extraFeesDetailsItem) { + if (this.extraFeesDetails == null) { + this.extraFeesDetails = new ArrayList<>(); + } + this.extraFeesDetails.add(extraFeesDetailsItem); + return this; + } + + /** + * Get extraFeesDetails + * @return extraFeesDetails + **/ + @javax.annotation.Nullable + public List getExtraFeesDetails() { + return extraFeesDetails; + } + + public void setExtraFeesDetails(List extraFeesDetails) { + this.extraFeesDetails = extraFeesDetails; + } + + + public QuoteDetailsResponseProductsInnerPrice discounts(List discounts) { + this.discounts = discounts; + return this; + } + + public QuoteDetailsResponseProductsInnerPrice addDiscountsItem(QuoteDetailsResponseProductsInnerPriceDiscountsInner discountsItem) { + if (this.discounts == null) { + this.discounts = new ArrayList<>(); + } + this.discounts.add(discountsItem); + return this; + } + + /** + * Get discounts + * @return discounts + **/ + @javax.annotation.Nullable + public List getDiscounts() { + return discounts; + } + + public void setDiscounts(List discounts) { + this.discounts = discounts; } @@ -300,16 +367,29 @@ public boolean equals(Object o) { Objects.equals(this.extendedMsrp, quoteDetailsResponseProductsInnerPrice.extendedMsrp) && Objects.equals(this.extendedQuotePrice, quoteDetailsResponseProductsInnerPrice.extendedQuotePrice) && Objects.equals(this.discountOffList, quoteDetailsResponseProductsInnerPrice.discountOffList) && - Objects.equals(this.vendorprice, quoteDetailsResponseProductsInnerPrice.vendorprice) && - Objects.equals(this.extendedvendorprice, quoteDetailsResponseProductsInnerPrice.extendedvendorprice) && - Objects.equals(this.totalVisibleReserveQuantity, quoteDetailsResponseProductsInnerPrice.totalVisibleReserveQuantity) && Objects.equals(this.type, quoteDetailsResponseProductsInnerPrice.type) && - Objects.equals(this.recurringPriceModel, quoteDetailsResponseProductsInnerPrice.recurringPriceModel); + Objects.equals(this.recurringPriceModel, quoteDetailsResponseProductsInnerPrice.recurringPriceModel) && + Objects.equals(this.unitOfMeasure, quoteDetailsResponseProductsInnerPrice.unitOfMeasure) && + Objects.equals(this.tax, quoteDetailsResponseProductsInnerPrice.tax) && + Objects.equals(this.extrafees, quoteDetailsResponseProductsInnerPrice.extrafees) && + Objects.equals(this.extraFeesDetails, quoteDetailsResponseProductsInnerPrice.extraFeesDetails) && + Objects.equals(this.discounts, quoteDetailsResponseProductsInnerPrice.discounts); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); } @Override public int hashCode() { - return Objects.hash(quotePrice, msrp, extendedMsrp, extendedQuotePrice, discountOffList, vendorprice, extendedvendorprice, totalVisibleReserveQuantity, type, recurringPriceModel); + return Objects.hash(quotePrice, msrp, extendedMsrp, extendedQuotePrice, discountOffList, type, recurringPriceModel, unitOfMeasure, tax, extrafees, extraFeesDetails, discounts); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; } @Override @@ -321,11 +401,13 @@ public String toString() { sb.append(" extendedMsrp: ").append(toIndentedString(extendedMsrp)).append("\n"); sb.append(" extendedQuotePrice: ").append(toIndentedString(extendedQuotePrice)).append("\n"); sb.append(" discountOffList: ").append(toIndentedString(discountOffList)).append("\n"); - sb.append(" vendorprice: ").append(toIndentedString(vendorprice)).append("\n"); - sb.append(" extendedvendorprice: ").append(toIndentedString(extendedvendorprice)).append("\n"); - sb.append(" totalVisibleReserveQuantity: ").append(toIndentedString(totalVisibleReserveQuantity)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" recurringPriceModel: ").append(toIndentedString(recurringPriceModel)).append("\n"); + sb.append(" unitOfMeasure: ").append(toIndentedString(unitOfMeasure)).append("\n"); + sb.append(" tax: ").append(toIndentedString(tax)).append("\n"); + sb.append(" extrafees: ").append(toIndentedString(extrafees)).append("\n"); + sb.append(" extraFeesDetails: ").append(toIndentedString(extraFeesDetails)).append("\n"); + sb.append(" discounts: ").append(toIndentedString(discounts)).append("\n"); sb.append("}"); return sb.toString(); } @@ -353,11 +435,13 @@ private String toIndentedString(Object o) { openapiFields.add("extendedMsrp"); openapiFields.add("extendedQuotePrice"); openapiFields.add("discountOffList"); - openapiFields.add("vendorprice"); - openapiFields.add("extendedvendorprice"); - openapiFields.add("totalVisibleReserveQuantity"); openapiFields.add("type"); openapiFields.add("recurringPriceModel"); + openapiFields.add("unitOfMeasure"); + openapiFields.add("tax"); + openapiFields.add("extrafees"); + openapiFields.add("extraFeesDetails"); + openapiFields.add("discounts"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -393,6 +477,37 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("recurringPriceModel") != null && !jsonObj.get("recurringPriceModel").isJsonNull()) && !jsonObj.get("recurringPriceModel").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `recurringPriceModel` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recurringPriceModel").toString())); } + if ((jsonObj.get("unitOfMeasure") != null && !jsonObj.get("unitOfMeasure").isJsonNull()) && !jsonObj.get("unitOfMeasure").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `unitOfMeasure` to be a primitive type in the JSON string but got `%s`", jsonObj.get("unitOfMeasure").toString())); + } + if (jsonObj.get("extraFeesDetails") != null && !jsonObj.get("extraFeesDetails").isJsonNull()) { + JsonArray jsonArrayextraFeesDetails = jsonObj.getAsJsonArray("extraFeesDetails"); + if (jsonArrayextraFeesDetails != null) { + // ensure the json data is an array + if (!jsonObj.get("extraFeesDetails").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `extraFeesDetails` to be an array in the JSON string but got `%s`", jsonObj.get("extraFeesDetails").toString())); + } + + // validate the optional field `extraFeesDetails` (array) + for (int i = 0; i < jsonArrayextraFeesDetails.size(); i++) { + QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.validateJsonElement(jsonArrayextraFeesDetails.get(i)); + }; + } + } + if (jsonObj.get("discounts") != null && !jsonObj.get("discounts").isJsonNull()) { + JsonArray jsonArraydiscounts = jsonObj.getAsJsonArray("discounts"); + if (jsonArraydiscounts != null) { + // ensure the json data is an array + if (!jsonObj.get("discounts").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `discounts` to be an array in the JSON string but got `%s`", jsonObj.get("discounts").toString())); + } + + // validate the optional field `discounts` (array) + for (int i = 0; i < jsonArraydiscounts.size(); i++) { + QuoteDetailsResponseProductsInnerPriceDiscountsInner.validateJsonElement(jsonArraydiscounts.get(i)); + }; + } + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceDiscountsInner.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceDiscountsInner.java new file mode 100644 index 00000000..49c168be --- /dev/null +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceDiscountsInner.java @@ -0,0 +1,485 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import xiresellers.client.JSON; + +/** + * QuoteDetailsResponseProductsInnerPriceDiscountsInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class QuoteDetailsResponseProductsInnerPriceDiscountsInner { + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private String type; + + public static final String SERIALIZED_NAME_AMOUNT = "amount"; + @SerializedName(SERIALIZED_NAME_AMOUNT) + private BigDecimal amount; + + public static final String SERIALIZED_NAME_EXPIRATION_DATE = "expirationDate"; + @SerializedName(SERIALIZED_NAME_EXPIRATION_DATE) + private String expirationDate; + + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + + public static final String SERIALIZED_NAME_AVALIABLE_QUNATITY = "avaliableQunatity"; + @SerializedName(SERIALIZED_NAME_AVALIABLE_QUNATITY) + private Integer avaliableQunatity; + + public static final String SERIALIZED_NAME_MINIMUM_QUANTITY = "minimumQuantity"; + @SerializedName(SERIALIZED_NAME_MINIMUM_QUANTITY) + private Integer minimumQuantity; + + public static final String SERIALIZED_NAME_BID_NUMBER = "bidNumber"; + @SerializedName(SERIALIZED_NAME_BID_NUMBER) + private String bidNumber; + + public static final String SERIALIZED_NAME_BID_VERSION = "bidVersion"; + @SerializedName(SERIALIZED_NAME_BID_VERSION) + private String bidVersion; + + public static final String SERIALIZED_NAME_VALID_FROM = "validFrom"; + @SerializedName(SERIALIZED_NAME_VALID_FROM) + private String validFrom; + + public static final String SERIALIZED_NAME_VALID_TO = "validTo"; + @SerializedName(SERIALIZED_NAME_VALID_TO) + private String validTo; + + public static final String SERIALIZED_NAME_DISCOUNT_OFF_LIST = "discountOffList"; + @SerializedName(SERIALIZED_NAME_DISCOUNT_OFF_LIST) + private BigDecimal discountOffList; + + public QuoteDetailsResponseProductsInnerPriceDiscountsInner() { + } + + public QuoteDetailsResponseProductsInnerPriceDiscountsInner type(String type) { + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @javax.annotation.Nullable + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + + public QuoteDetailsResponseProductsInnerPriceDiscountsInner amount(BigDecimal amount) { + this.amount = amount; + return this; + } + + /** + * Get amount + * @return amount + **/ + @javax.annotation.Nullable + public BigDecimal getAmount() { + return amount; + } + + public void setAmount(BigDecimal amount) { + this.amount = amount; + } + + + public QuoteDetailsResponseProductsInnerPriceDiscountsInner expirationDate(String expirationDate) { + this.expirationDate = expirationDate; + return this; + } + + /** + * Get expirationDate + * @return expirationDate + **/ + @javax.annotation.Nullable + public String getExpirationDate() { + return expirationDate; + } + + public void setExpirationDate(String expirationDate) { + this.expirationDate = expirationDate; + } + + + public QuoteDetailsResponseProductsInnerPriceDiscountsInner description(String description) { + this.description = description; + return this; + } + + /** + * Get description + * @return description + **/ + @javax.annotation.Nullable + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + + public QuoteDetailsResponseProductsInnerPriceDiscountsInner avaliableQunatity(Integer avaliableQunatity) { + this.avaliableQunatity = avaliableQunatity; + return this; + } + + /** + * Get avaliableQunatity + * @return avaliableQunatity + **/ + @javax.annotation.Nullable + public Integer getAvaliableQunatity() { + return avaliableQunatity; + } + + public void setAvaliableQunatity(Integer avaliableQunatity) { + this.avaliableQunatity = avaliableQunatity; + } + + + public QuoteDetailsResponseProductsInnerPriceDiscountsInner minimumQuantity(Integer minimumQuantity) { + this.minimumQuantity = minimumQuantity; + return this; + } + + /** + * Get minimumQuantity + * @return minimumQuantity + **/ + @javax.annotation.Nullable + public Integer getMinimumQuantity() { + return minimumQuantity; + } + + public void setMinimumQuantity(Integer minimumQuantity) { + this.minimumQuantity = minimumQuantity; + } + + + public QuoteDetailsResponseProductsInnerPriceDiscountsInner bidNumber(String bidNumber) { + this.bidNumber = bidNumber; + return this; + } + + /** + * Get bidNumber + * @return bidNumber + **/ + @javax.annotation.Nullable + public String getBidNumber() { + return bidNumber; + } + + public void setBidNumber(String bidNumber) { + this.bidNumber = bidNumber; + } + + + public QuoteDetailsResponseProductsInnerPriceDiscountsInner bidVersion(String bidVersion) { + this.bidVersion = bidVersion; + return this; + } + + /** + * Get bidVersion + * @return bidVersion + **/ + @javax.annotation.Nullable + public String getBidVersion() { + return bidVersion; + } + + public void setBidVersion(String bidVersion) { + this.bidVersion = bidVersion; + } + + + public QuoteDetailsResponseProductsInnerPriceDiscountsInner validFrom(String validFrom) { + this.validFrom = validFrom; + return this; + } + + /** + * Get validFrom + * @return validFrom + **/ + @javax.annotation.Nullable + public String getValidFrom() { + return validFrom; + } + + public void setValidFrom(String validFrom) { + this.validFrom = validFrom; + } + + + public QuoteDetailsResponseProductsInnerPriceDiscountsInner validTo(String validTo) { + this.validTo = validTo; + return this; + } + + /** + * Get validTo + * @return validTo + **/ + @javax.annotation.Nullable + public String getValidTo() { + return validTo; + } + + public void setValidTo(String validTo) { + this.validTo = validTo; + } + + + public QuoteDetailsResponseProductsInnerPriceDiscountsInner discountOffList(BigDecimal discountOffList) { + this.discountOffList = discountOffList; + return this; + } + + /** + * Get discountOffList + * @return discountOffList + **/ + @javax.annotation.Nullable + public BigDecimal getDiscountOffList() { + return discountOffList; + } + + public void setDiscountOffList(BigDecimal discountOffList) { + this.discountOffList = discountOffList; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + QuoteDetailsResponseProductsInnerPriceDiscountsInner quoteDetailsResponseProductsInnerPriceDiscountsInner = (QuoteDetailsResponseProductsInnerPriceDiscountsInner) o; + return Objects.equals(this.type, quoteDetailsResponseProductsInnerPriceDiscountsInner.type) && + Objects.equals(this.amount, quoteDetailsResponseProductsInnerPriceDiscountsInner.amount) && + Objects.equals(this.expirationDate, quoteDetailsResponseProductsInnerPriceDiscountsInner.expirationDate) && + Objects.equals(this.description, quoteDetailsResponseProductsInnerPriceDiscountsInner.description) && + Objects.equals(this.avaliableQunatity, quoteDetailsResponseProductsInnerPriceDiscountsInner.avaliableQunatity) && + Objects.equals(this.minimumQuantity, quoteDetailsResponseProductsInnerPriceDiscountsInner.minimumQuantity) && + Objects.equals(this.bidNumber, quoteDetailsResponseProductsInnerPriceDiscountsInner.bidNumber) && + Objects.equals(this.bidVersion, quoteDetailsResponseProductsInnerPriceDiscountsInner.bidVersion) && + Objects.equals(this.validFrom, quoteDetailsResponseProductsInnerPriceDiscountsInner.validFrom) && + Objects.equals(this.validTo, quoteDetailsResponseProductsInnerPriceDiscountsInner.validTo) && + Objects.equals(this.discountOffList, quoteDetailsResponseProductsInnerPriceDiscountsInner.discountOffList); + } + + @Override + public int hashCode() { + return Objects.hash(type, amount, expirationDate, description, avaliableQunatity, minimumQuantity, bidNumber, bidVersion, validFrom, validTo, discountOffList); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class QuoteDetailsResponseProductsInnerPriceDiscountsInner {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + sb.append(" expirationDate: ").append(toIndentedString(expirationDate)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" avaliableQunatity: ").append(toIndentedString(avaliableQunatity)).append("\n"); + sb.append(" minimumQuantity: ").append(toIndentedString(minimumQuantity)).append("\n"); + sb.append(" bidNumber: ").append(toIndentedString(bidNumber)).append("\n"); + sb.append(" bidVersion: ").append(toIndentedString(bidVersion)).append("\n"); + sb.append(" validFrom: ").append(toIndentedString(validFrom)).append("\n"); + sb.append(" validTo: ").append(toIndentedString(validTo)).append("\n"); + sb.append(" discountOffList: ").append(toIndentedString(discountOffList)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("type"); + openapiFields.add("amount"); + openapiFields.add("expirationDate"); + openapiFields.add("description"); + openapiFields.add("avaliableQunatity"); + openapiFields.add("minimumQuantity"); + openapiFields.add("bidNumber"); + openapiFields.add("bidVersion"); + openapiFields.add("validFrom"); + openapiFields.add("validTo"); + openapiFields.add("discountOffList"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to QuoteDetailsResponseProductsInnerPriceDiscountsInner + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!QuoteDetailsResponseProductsInnerPriceDiscountsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteDetailsResponseProductsInnerPriceDiscountsInner is not found in the empty JSON string", QuoteDetailsResponseProductsInnerPriceDiscountsInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!QuoteDetailsResponseProductsInnerPriceDiscountsInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteDetailsResponseProductsInnerPriceDiscountsInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } + if ((jsonObj.get("expirationDate") != null && !jsonObj.get("expirationDate").isJsonNull()) && !jsonObj.get("expirationDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `expirationDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("expirationDate").toString())); + } + if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + } + if ((jsonObj.get("bidNumber") != null && !jsonObj.get("bidNumber").isJsonNull()) && !jsonObj.get("bidNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `bidNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bidNumber").toString())); + } + if ((jsonObj.get("bidVersion") != null && !jsonObj.get("bidVersion").isJsonNull()) && !jsonObj.get("bidVersion").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `bidVersion` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bidVersion").toString())); + } + if ((jsonObj.get("validFrom") != null && !jsonObj.get("validFrom").isJsonNull()) && !jsonObj.get("validFrom").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `validFrom` to be a primitive type in the JSON string but got `%s`", jsonObj.get("validFrom").toString())); + } + if ((jsonObj.get("validTo") != null && !jsonObj.get("validTo").isJsonNull()) && !jsonObj.get("validTo").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `validTo` to be a primitive type in the JSON string but got `%s`", jsonObj.get("validTo").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!QuoteDetailsResponseProductsInnerPriceDiscountsInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'QuoteDetailsResponseProductsInnerPriceDiscountsInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(QuoteDetailsResponseProductsInnerPriceDiscountsInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, QuoteDetailsResponseProductsInnerPriceDiscountsInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public QuoteDetailsResponseProductsInnerPriceDiscountsInner read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of QuoteDetailsResponseProductsInnerPriceDiscountsInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of QuoteDetailsResponseProductsInnerPriceDiscountsInner + * @throws IOException if the JSON string is invalid with respect to QuoteDetailsResponseProductsInnerPriceDiscountsInner + */ + public static QuoteDetailsResponseProductsInnerPriceDiscountsInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, QuoteDetailsResponseProductsInnerPriceDiscountsInner.class); + } + + /** + * Convert an instance of QuoteDetailsResponseProductsInnerPriceDiscountsInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.java new file mode 100644 index 00000000..456a21d1 --- /dev/null +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.java @@ -0,0 +1,233 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import xiresellers.client.JSON; + +/** + * QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner { + public static final String SERIALIZED_NAME_EXTRA_FEES_DESCRIPTION = "extraFeesDescription"; + @SerializedName(SERIALIZED_NAME_EXTRA_FEES_DESCRIPTION) + private String extraFeesDescription; + + public static final String SERIALIZED_NAME_EXTRA_FEES_AMOUNT = "extraFeesAmount"; + @SerializedName(SERIALIZED_NAME_EXTRA_FEES_AMOUNT) + private BigDecimal extraFeesAmount; + + public QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner() { + } + + public QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner extraFeesDescription(String extraFeesDescription) { + this.extraFeesDescription = extraFeesDescription; + return this; + } + + /** + * Get extraFeesDescription + * @return extraFeesDescription + **/ + @javax.annotation.Nullable + public String getExtraFeesDescription() { + return extraFeesDescription; + } + + public void setExtraFeesDescription(String extraFeesDescription) { + this.extraFeesDescription = extraFeesDescription; + } + + + public QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner extraFeesAmount(BigDecimal extraFeesAmount) { + this.extraFeesAmount = extraFeesAmount; + return this; + } + + /** + * Get extraFeesAmount + * @return extraFeesAmount + **/ + @javax.annotation.Nullable + public BigDecimal getExtraFeesAmount() { + return extraFeesAmount; + } + + public void setExtraFeesAmount(BigDecimal extraFeesAmount) { + this.extraFeesAmount = extraFeesAmount; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner quoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner = (QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner) o; + return Objects.equals(this.extraFeesDescription, quoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.extraFeesDescription) && + Objects.equals(this.extraFeesAmount, quoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.extraFeesAmount); + } + + @Override + public int hashCode() { + return Objects.hash(extraFeesDescription, extraFeesAmount); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner {\n"); + sb.append(" extraFeesDescription: ").append(toIndentedString(extraFeesDescription)).append("\n"); + sb.append(" extraFeesAmount: ").append(toIndentedString(extraFeesAmount)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("extraFeesDescription"); + openapiFields.add("extraFeesAmount"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner is not found in the empty JSON string", QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("extraFeesDescription") != null && !jsonObj.get("extraFeesDescription").isJsonNull()) && !jsonObj.get("extraFeesDescription").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `extraFeesDescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("extraFeesDescription").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner + * @throws IOException if the JSON string is invalid with respect to QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner + */ + public static QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.class); + } + + /** + * Convert an instance of QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java index fc6033ed..5cea65cc 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * QuoteDetailsResponseResellerInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class QuoteDetailsResponseResellerInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfo.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseShippingInfo.java similarity index 62% rename from src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfo.java rename to src/main/java/xiresellers/client/model/QuoteDetailsResponseShippingInfo.java index e37c01a9..2adb4eae 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfo.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseShippingInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -21,7 +21,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.util.Arrays; -import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -48,22 +47,14 @@ import xiresellers.client.JSON; /** - * The shipping information provided by the reseller for order delivery. + * QuoteDetailsResponseShippingInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") -public class QuoteToOrderDetailsDTOShipToInfo { - public static final String SERIALIZED_NAME_ADDRESS_ID = "addressId"; - @SerializedName(SERIALIZED_NAME_ADDRESS_ID) - private String addressId; - +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class QuoteDetailsResponseShippingInfo { public static final String SERIALIZED_NAME_COMPANY_NAME = "companyName"; @SerializedName(SERIALIZED_NAME_COMPANY_NAME) private String companyName; - public static final String SERIALIZED_NAME_CONTACT = "contact"; - @SerializedName(SERIALIZED_NAME_CONTACT) - private String contact; - public static final String SERIALIZED_NAME_ADDRESS_LINE1 = "addressLine1"; @SerializedName(SERIALIZED_NAME_ADDRESS_LINE1) private String addressLine1; @@ -84,47 +75,32 @@ public class QuoteToOrderDetailsDTOShipToInfo { @SerializedName(SERIALIZED_NAME_STATE) private String state; - public static final String SERIALIZED_NAME_POSTAL_CODE = "postalCode"; - @SerializedName(SERIALIZED_NAME_POSTAL_CODE) - private String postalCode; - - public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode"; - @SerializedName(SERIALIZED_NAME_COUNTRY_CODE) - private String countryCode; - public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) private String email; - public QuoteToOrderDetailsDTOShipToInfo() { - } + public static final String SERIALIZED_NAME_PHONE_NUMBER = "phoneNumber"; + @SerializedName(SERIALIZED_NAME_PHONE_NUMBER) + private String phoneNumber; - public QuoteToOrderDetailsDTOShipToInfo addressId(String addressId) { - this.addressId = addressId; - return this; - } + public static final String SERIALIZED_NAME_POSTAL_CODE = "postalCode"; + @SerializedName(SERIALIZED_NAME_POSTAL_CODE) + private String postalCode; - /** - * The company contact provided by the reseller. - * @return addressId - **/ - @javax.annotation.Nullable - public String getAddressId() { - return addressId; - } + public static final String SERIALIZED_NAME_SHP_TO_GSTIN_NUMBER = "shpToGstinNumber"; + @SerializedName(SERIALIZED_NAME_SHP_TO_GSTIN_NUMBER) + private String shpToGstinNumber; - public void setAddressId(String addressId) { - this.addressId = addressId; + public QuoteDetailsResponseShippingInfo() { } - - public QuoteToOrderDetailsDTOShipToInfo companyName(String companyName) { + public QuoteDetailsResponseShippingInfo companyName(String companyName) { this.companyName = companyName; return this; } /** - * The name of the company the order will be shipped to. + * Contact name of shipping info associated with the quote. * @return companyName **/ @javax.annotation.Nullable @@ -137,32 +113,13 @@ public void setCompanyName(String companyName) { } - public QuoteToOrderDetailsDTOShipToInfo contact(String contact) { - this.contact = contact; - return this; - } - - /** - * The contact name for the order will be shipped to. - * @return contact - **/ - @javax.annotation.Nullable - public String getContact() { - return contact; - } - - public void setContact(String contact) { - this.contact = contact; - } - - - public QuoteToOrderDetailsDTOShipToInfo addressLine1(String addressLine1) { + public QuoteDetailsResponseShippingInfo addressLine1(String addressLine1) { this.addressLine1 = addressLine1; return this; } /** - * The address line 1 the order will be shipped to. + * Address line 1 for shipping info associated with the quote * @return addressLine1 **/ @javax.annotation.Nullable @@ -175,13 +132,13 @@ public void setAddressLine1(String addressLine1) { } - public QuoteToOrderDetailsDTOShipToInfo addressLine2(String addressLine2) { + public QuoteDetailsResponseShippingInfo addressLine2(String addressLine2) { this.addressLine2 = addressLine2; return this; } /** - * The address line 2 the order will be shipped to. + * Address line 2 for shipping info associated with the quote. * @return addressLine2 **/ @javax.annotation.Nullable @@ -194,13 +151,13 @@ public void setAddressLine2(String addressLine2) { } - public QuoteToOrderDetailsDTOShipToInfo addressLine3(String addressLine3) { + public QuoteDetailsResponseShippingInfo addressLine3(String addressLine3) { this.addressLine3 = addressLine3; return this; } /** - * The address line 3 the order will be shipped to. + * Address line 3 for shipping info associated with the quote. * @return addressLine3 **/ @javax.annotation.Nullable @@ -213,13 +170,13 @@ public void setAddressLine3(String addressLine3) { } - public QuoteToOrderDetailsDTOShipToInfo city(String city) { + public QuoteDetailsResponseShippingInfo city(String city) { this.city = city; return this; } /** - * The city the order will be shipped to. + * City for shipping info associated with the quote * @return city **/ @javax.annotation.Nullable @@ -232,13 +189,13 @@ public void setCity(String city) { } - public QuoteToOrderDetailsDTOShipToInfo state(String state) { + public QuoteDetailsResponseShippingInfo state(String state) { this.state = state; return this; } /** - * The state the order will be shipped to. + * Two letter state abreviation for shipping info associated with the quote * @return state **/ @javax.annotation.Nullable @@ -251,60 +208,79 @@ public void setState(String state) { } - public QuoteToOrderDetailsDTOShipToInfo postalCode(String postalCode) { - this.postalCode = postalCode; + public QuoteDetailsResponseShippingInfo email(String email) { + this.email = email; return this; } /** - * The zip or postal code the order will be shipped to. - * @return postalCode + * Email of shipping info the quote associated with the quote. + * @return email **/ @javax.annotation.Nullable - public String getPostalCode() { - return postalCode; + public String getEmail() { + return email; } - public void setPostalCode(String postalCode) { - this.postalCode = postalCode; + public void setEmail(String email) { + this.email = email; } - public QuoteToOrderDetailsDTOShipToInfo countryCode(String countryCode) { - this.countryCode = countryCode; + public QuoteDetailsResponseShippingInfo phoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; return this; } /** - * The two-character ISO country code the order will be shipped to. - * @return countryCode + * Phone number of shipping info associated with the quote. + * @return phoneNumber **/ @javax.annotation.Nullable - public String getCountryCode() { - return countryCode; + public String getPhoneNumber() { + return phoneNumber; } - public void setCountryCode(String countryCode) { - this.countryCode = countryCode; + public void setPhoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; } - public QuoteToOrderDetailsDTOShipToInfo email(String email) { - this.email = email; + public QuoteDetailsResponseShippingInfo postalCode(String postalCode) { + this.postalCode = postalCode; return this; } /** - * The company contact email address. - * @return email + * Zip code of shipping info associated with the quote. + * @return postalCode **/ @javax.annotation.Nullable - public String getEmail() { - return email; + public String getPostalCode() { + return postalCode; } - public void setEmail(String email) { - this.email = email; + public void setPostalCode(String postalCode) { + this.postalCode = postalCode; + } + + + public QuoteDetailsResponseShippingInfo shpToGstinNumber(String shpToGstinNumber) { + this.shpToGstinNumber = shpToGstinNumber; + return this; + } + + /** + * Get shpToGstinNumber + * @return shpToGstinNumber + **/ + @javax.annotation.Nullable + public String getShpToGstinNumber() { + return shpToGstinNumber; + } + + public void setShpToGstinNumber(String shpToGstinNumber) { + this.shpToGstinNumber = shpToGstinNumber; } @@ -317,51 +293,38 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - QuoteToOrderDetailsDTOShipToInfo quoteToOrderDetailsDTOShipToInfo = (QuoteToOrderDetailsDTOShipToInfo) o; - return Objects.equals(this.addressId, quoteToOrderDetailsDTOShipToInfo.addressId) && - Objects.equals(this.companyName, quoteToOrderDetailsDTOShipToInfo.companyName) && - Objects.equals(this.contact, quoteToOrderDetailsDTOShipToInfo.contact) && - Objects.equals(this.addressLine1, quoteToOrderDetailsDTOShipToInfo.addressLine1) && - Objects.equals(this.addressLine2, quoteToOrderDetailsDTOShipToInfo.addressLine2) && - Objects.equals(this.addressLine3, quoteToOrderDetailsDTOShipToInfo.addressLine3) && - Objects.equals(this.city, quoteToOrderDetailsDTOShipToInfo.city) && - Objects.equals(this.state, quoteToOrderDetailsDTOShipToInfo.state) && - Objects.equals(this.postalCode, quoteToOrderDetailsDTOShipToInfo.postalCode) && - Objects.equals(this.countryCode, quoteToOrderDetailsDTOShipToInfo.countryCode) && - Objects.equals(this.email, quoteToOrderDetailsDTOShipToInfo.email); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + QuoteDetailsResponseShippingInfo quoteDetailsResponseShippingInfo = (QuoteDetailsResponseShippingInfo) o; + return Objects.equals(this.companyName, quoteDetailsResponseShippingInfo.companyName) && + Objects.equals(this.addressLine1, quoteDetailsResponseShippingInfo.addressLine1) && + Objects.equals(this.addressLine2, quoteDetailsResponseShippingInfo.addressLine2) && + Objects.equals(this.addressLine3, quoteDetailsResponseShippingInfo.addressLine3) && + Objects.equals(this.city, quoteDetailsResponseShippingInfo.city) && + Objects.equals(this.state, quoteDetailsResponseShippingInfo.state) && + Objects.equals(this.email, quoteDetailsResponseShippingInfo.email) && + Objects.equals(this.phoneNumber, quoteDetailsResponseShippingInfo.phoneNumber) && + Objects.equals(this.postalCode, quoteDetailsResponseShippingInfo.postalCode) && + Objects.equals(this.shpToGstinNumber, quoteDetailsResponseShippingInfo.shpToGstinNumber); } @Override public int hashCode() { - return Objects.hash(addressId, companyName, contact, addressLine1, addressLine2, addressLine3, city, state, postalCode, countryCode, email); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + return Objects.hash(companyName, addressLine1, addressLine2, addressLine3, city, state, email, phoneNumber, postalCode, shpToGstinNumber); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class QuoteToOrderDetailsDTOShipToInfo {\n"); - sb.append(" addressId: ").append(toIndentedString(addressId)).append("\n"); + sb.append("class QuoteDetailsResponseShippingInfo {\n"); sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n"); - sb.append(" contact: ").append(toIndentedString(contact)).append("\n"); sb.append(" addressLine1: ").append(toIndentedString(addressLine1)).append("\n"); sb.append(" addressLine2: ").append(toIndentedString(addressLine2)).append("\n"); sb.append(" addressLine3: ").append(toIndentedString(addressLine3)).append("\n"); sb.append(" city: ").append(toIndentedString(city)).append("\n"); sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); + sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + sb.append(" shpToGstinNumber: ").append(toIndentedString(shpToGstinNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -384,17 +347,16 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("addressId"); openapiFields.add("companyName"); - openapiFields.add("contact"); openapiFields.add("addressLine1"); openapiFields.add("addressLine2"); openapiFields.add("addressLine3"); openapiFields.add("city"); openapiFields.add("state"); - openapiFields.add("postalCode"); - openapiFields.add("countryCode"); openapiFields.add("email"); + openapiFields.add("phoneNumber"); + openapiFields.add("postalCode"); + openapiFields.add("shpToGstinNumber"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -404,32 +366,26 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to QuoteToOrderDetailsDTOShipToInfo + * @throws IOException if the JSON Element is invalid with respect to QuoteDetailsResponseShippingInfo */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!QuoteToOrderDetailsDTOShipToInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteToOrderDetailsDTOShipToInfo is not found in the empty JSON string", QuoteToOrderDetailsDTOShipToInfo.openapiRequiredFields.toString())); + if (!QuoteDetailsResponseShippingInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteDetailsResponseShippingInfo is not found in the empty JSON string", QuoteDetailsResponseShippingInfo.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!QuoteToOrderDetailsDTOShipToInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteToOrderDetailsDTOShipToInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!QuoteDetailsResponseShippingInfo.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteDetailsResponseShippingInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("addressId") != null && !jsonObj.get("addressId").isJsonNull()) && !jsonObj.get("addressId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `addressId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressId").toString())); - } if ((jsonObj.get("companyName") != null && !jsonObj.get("companyName").isJsonNull()) && !jsonObj.get("companyName").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `companyName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("companyName").toString())); } - if ((jsonObj.get("contact") != null && !jsonObj.get("contact").isJsonNull()) && !jsonObj.get("contact").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `contact` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contact").toString())); - } if ((jsonObj.get("addressLine1") != null && !jsonObj.get("addressLine1").isJsonNull()) && !jsonObj.get("addressLine1").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `addressLine1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressLine1").toString())); } @@ -445,14 +401,17 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("state") != null && !jsonObj.get("state").isJsonNull()) && !jsonObj.get("state").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `state` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state").toString())); } + if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString())); + } + if ((jsonObj.get("phoneNumber") != null && !jsonObj.get("phoneNumber").isJsonNull()) && !jsonObj.get("phoneNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneNumber").toString())); + } if ((jsonObj.get("postalCode") != null && !jsonObj.get("postalCode").isJsonNull()) && !jsonObj.get("postalCode").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `postalCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postalCode").toString())); } - if ((jsonObj.get("countryCode") != null && !jsonObj.get("countryCode").isJsonNull()) && !jsonObj.get("countryCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString())); - } - if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString())); + if ((jsonObj.get("shpToGstinNumber") != null && !jsonObj.get("shpToGstinNumber").isJsonNull()) && !jsonObj.get("shpToGstinNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `shpToGstinNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shpToGstinNumber").toString())); } } @@ -460,22 +419,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteToOrderDetailsDTOShipToInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteToOrderDetailsDTOShipToInfo' and its subtypes + if (!QuoteDetailsResponseShippingInfo.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'QuoteDetailsResponseShippingInfo' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteToOrderDetailsDTOShipToInfo.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(QuoteDetailsResponseShippingInfo.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, QuoteToOrderDetailsDTOShipToInfo value) throws IOException { + public void write(JsonWriter out, QuoteDetailsResponseShippingInfo value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public QuoteToOrderDetailsDTOShipToInfo read(JsonReader in) throws IOException { + public QuoteDetailsResponseShippingInfo read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -486,18 +445,18 @@ public QuoteToOrderDetailsDTOShipToInfo read(JsonReader in) throws IOException { } /** - * Create an instance of QuoteToOrderDetailsDTOShipToInfo given an JSON string + * Create an instance of QuoteDetailsResponseShippingInfo given an JSON string * * @param jsonString JSON string - * @return An instance of QuoteToOrderDetailsDTOShipToInfo - * @throws IOException if the JSON string is invalid with respect to QuoteToOrderDetailsDTOShipToInfo + * @return An instance of QuoteDetailsResponseShippingInfo + * @throws IOException if the JSON string is invalid with respect to QuoteDetailsResponseShippingInfo */ - public static QuoteToOrderDetailsDTOShipToInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteToOrderDetailsDTOShipToInfo.class); + public static QuoteDetailsResponseShippingInfo fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, QuoteDetailsResponseShippingInfo.class); } /** - * Convert an instance of QuoteToOrderDetailsDTOShipToInfo to an JSON string + * Convert an instance of QuoteDetailsResponseShippingInfo to an JSON string * * @return JSON string */ diff --git a/src/main/java/xiresellers/client/model/QuoteSearchResponse.java b/src/main/java/xiresellers/client/model/QuoteSearchResponse.java index 343c4e61..f67597f4 100644 --- a/src/main/java/xiresellers/client/model/QuoteSearchResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteSearchResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * QuoteSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class QuoteSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) @@ -68,7 +68,15 @@ public class QuoteSearchResponse { public static final String SERIALIZED_NAME_QUOTES = "quotes"; @SerializedName(SERIALIZED_NAME_QUOTES) - private List quotes; + private List quotes = new ArrayList<>(); + + public static final String SERIALIZED_NAME_NEXT_PAGE = "nextPage"; + @SerializedName(SERIALIZED_NAME_NEXT_PAGE) + private String nextPage; + + public static final String SERIALIZED_NAME_PREV_PAGE = "prevPage"; + @SerializedName(SERIALIZED_NAME_PREV_PAGE) + private String prevPage; public QuoteSearchResponse() { } @@ -157,6 +165,44 @@ public void setQuotes(List quotes) { } + public QuoteSearchResponse nextPage(String nextPage) { + this.nextPage = nextPage; + return this; + } + + /** + * Get nextPage + * @return nextPage + **/ + @javax.annotation.Nullable + public String getNextPage() { + return nextPage; + } + + public void setNextPage(String nextPage) { + this.nextPage = nextPage; + } + + + public QuoteSearchResponse prevPage(String prevPage) { + this.prevPage = prevPage; + return this; + } + + /** + * Get prevPage + * @return prevPage + **/ + @javax.annotation.Nullable + public String getPrevPage() { + return prevPage; + } + + public void setPrevPage(String prevPage) { + this.prevPage = prevPage; + } + + @Override public boolean equals(Object o) { @@ -170,12 +216,14 @@ public boolean equals(Object o) { return Objects.equals(this.recordsFound, quoteSearchResponse.recordsFound) && Objects.equals(this.pageSize, quoteSearchResponse.pageSize) && Objects.equals(this.pageNumber, quoteSearchResponse.pageNumber) && - Objects.equals(this.quotes, quoteSearchResponse.quotes); + Objects.equals(this.quotes, quoteSearchResponse.quotes) && + Objects.equals(this.nextPage, quoteSearchResponse.nextPage) && + Objects.equals(this.prevPage, quoteSearchResponse.prevPage); } @Override public int hashCode() { - return Objects.hash(recordsFound, pageSize, pageNumber, quotes); + return Objects.hash(recordsFound, pageSize, pageNumber, quotes, nextPage, prevPage); } @Override @@ -186,6 +234,8 @@ public String toString() { sb.append(" pageSize: ").append(toIndentedString(pageSize)).append("\n"); sb.append(" pageNumber: ").append(toIndentedString(pageNumber)).append("\n"); sb.append(" quotes: ").append(toIndentedString(quotes)).append("\n"); + sb.append(" nextPage: ").append(toIndentedString(nextPage)).append("\n"); + sb.append(" prevPage: ").append(toIndentedString(prevPage)).append("\n"); sb.append("}"); return sb.toString(); } @@ -212,6 +262,8 @@ private String toIndentedString(Object o) { openapiFields.add("pageSize"); openapiFields.add("pageNumber"); openapiFields.add("quotes"); + openapiFields.add("nextPage"); + openapiFields.add("prevPage"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -252,6 +304,12 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti }; } } + if ((jsonObj.get("nextPage") != null && !jsonObj.get("nextPage").isJsonNull()) && !jsonObj.get("nextPage").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `nextPage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nextPage").toString())); + } + if ((jsonObj.get("prevPage") != null && !jsonObj.get("prevPage").isJsonNull()) && !jsonObj.get("prevPage").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `prevPage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("prevPage").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java b/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java index 06dfb1d4..564a3bfc 100644 --- a/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -51,7 +51,7 @@ /** * QuoteSearchResponseQuotesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class QuoteSearchResponseQuotesInner { public static final String SERIALIZED_NAME_QUOTE_GUID = "quoteGuid"; @SerializedName(SERIALIZED_NAME_QUOTE_GUID) @@ -69,6 +69,10 @@ public class QuoteSearchResponseQuotesInner { @SerializedName(SERIALIZED_NAME_REVISION) private String revision; + public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; + @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) + private String currencyCode; + public static final String SERIALIZED_NAME_END_USER_CONTACT = "endUserContact"; @SerializedName(SERIALIZED_NAME_END_USER_CONTACT) private String endUserContact; @@ -196,6 +200,25 @@ public void setRevision(String revision) { } + public QuoteSearchResponseQuotesInner currencyCode(String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * The country-specific three digit ISO 4217 currency code for the order. + * @return currencyCode + **/ + @javax.annotation.Nullable + public String getCurrencyCode() { + return currencyCode; + } + + public void setCurrencyCode(String currencyCode) { + this.currencyCode = currencyCode; + } + + public QuoteSearchResponseQuotesInner endUserContact(String endUserContact) { this.endUserContact = endUserContact; return this; @@ -438,6 +461,7 @@ public boolean equals(Object o) { Objects.equals(this.quoteName, quoteSearchResponseQuotesInner.quoteName) && Objects.equals(this.quoteNumber, quoteSearchResponseQuotesInner.quoteNumber) && Objects.equals(this.revision, quoteSearchResponseQuotesInner.revision) && + Objects.equals(this.currencyCode, quoteSearchResponseQuotesInner.currencyCode) && Objects.equals(this.endUserContact, quoteSearchResponseQuotesInner.endUserContact) && Objects.equals(this.specialBidNumber, quoteSearchResponseQuotesInner.specialBidNumber) && Objects.equals(this.quoteTotal, quoteSearchResponseQuotesInner.quoteTotal) && @@ -454,7 +478,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(quoteGuid, quoteName, quoteNumber, revision, endUserContact, specialBidNumber, quoteTotal, quoteStatus, ingramQuoteDate, lastModifiedDate, ingramQuoteExpiryDate, endUserName, vendor, createdBy, quoteType, links); + return Objects.hash(quoteGuid, quoteName, quoteNumber, revision, currencyCode, endUserContact, specialBidNumber, quoteTotal, quoteStatus, ingramQuoteDate, lastModifiedDate, ingramQuoteExpiryDate, endUserName, vendor, createdBy, quoteType, links); } @Override @@ -465,6 +489,7 @@ public String toString() { sb.append(" quoteName: ").append(toIndentedString(quoteName)).append("\n"); sb.append(" quoteNumber: ").append(toIndentedString(quoteNumber)).append("\n"); sb.append(" revision: ").append(toIndentedString(revision)).append("\n"); + sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); sb.append(" endUserContact: ").append(toIndentedString(endUserContact)).append("\n"); sb.append(" specialBidNumber: ").append(toIndentedString(specialBidNumber)).append("\n"); sb.append(" quoteTotal: ").append(toIndentedString(quoteTotal)).append("\n"); @@ -503,6 +528,7 @@ private String toIndentedString(Object o) { openapiFields.add("quoteName"); openapiFields.add("quoteNumber"); openapiFields.add("revision"); + openapiFields.add("currencyCode"); openapiFields.add("endUserContact"); openapiFields.add("specialBidNumber"); openapiFields.add("quoteTotal"); @@ -553,6 +579,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("revision") != null && !jsonObj.get("revision").isJsonNull()) && !jsonObj.get("revision").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `revision` to be a primitive type in the JSON string but got `%s`", jsonObj.get("revision").toString())); } + if ((jsonObj.get("currencyCode") != null && !jsonObj.get("currencyCode").isJsonNull()) && !jsonObj.get("currencyCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); + } if ((jsonObj.get("endUserContact") != null && !jsonObj.get("endUserContact").isJsonNull()) && !jsonObj.get("endUserContact").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `endUserContact` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserContact").toString())); } diff --git a/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerLinks.java b/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerLinks.java index 78c286db..a46f6a21 100644 --- a/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerLinks.java +++ b/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerLinks.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * QuoteSearchResponseQuotesInnerLinks */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class QuoteSearchResponseQuotesInnerLinks { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java deleted file mode 100644 index c3502a88..00000000 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java +++ /dev/null @@ -1,516 +0,0 @@ -/* - * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package xiresellers.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.openapitools.jackson.nullable.JsonNullable; -import xiresellers.client.model.QuoteToOrderDetailsDTOAdditionalAttributesInner; -import xiresellers.client.model.QuoteToOrderDetailsDTOEndUserInfo; -import xiresellers.client.model.QuoteToOrderDetailsDTOLinesInner; -import xiresellers.client.model.QuoteToOrderDetailsDTOShipToInfo; -import xiresellers.client.model.QuoteToOrderDetailsDTOVmfadditionalAttributesInner; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import xiresellers.client.JSON; - -/** - * QuoteToOrderDetailsDTO - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") -public class QuoteToOrderDetailsDTO { - public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; - @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) - private String quoteNumber; - - public static final String SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER = "customerOrderNumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER) - private String customerOrderNumber; - - public static final String SERIALIZED_NAME_ENDUSER_ORDER_NUMBER = "enduserOrderNumber"; - @SerializedName(SERIALIZED_NAME_ENDUSER_ORDER_NUMBER) - private String enduserOrderNumber; - - public static final String SERIALIZED_NAME_BILL_TO_ADDRESS_ID = "billToAddressId"; - @SerializedName(SERIALIZED_NAME_BILL_TO_ADDRESS_ID) - private String billToAddressId; - - public static final String SERIALIZED_NAME_END_USER_INFO = "endUserInfo"; - @SerializedName(SERIALIZED_NAME_END_USER_INFO) - private QuoteToOrderDetailsDTOEndUserInfo endUserInfo; - - public static final String SERIALIZED_NAME_SHIP_TO_INFO = "shipToInfo"; - @SerializedName(SERIALIZED_NAME_SHIP_TO_INFO) - private QuoteToOrderDetailsDTOShipToInfo shipToInfo; - - public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; - @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) - private List additionalAttributes; - - public static final String SERIALIZED_NAME_VMFADDITIONAL_ATTRIBUTES = "vmfadditionalAttributes"; - @SerializedName(SERIALIZED_NAME_VMFADDITIONAL_ATTRIBUTES) - private List vmfadditionalAttributes; - - public static final String SERIALIZED_NAME_LINES = "lines"; - @SerializedName(SERIALIZED_NAME_LINES) - private List lines; - - public QuoteToOrderDetailsDTO() { - } - - public QuoteToOrderDetailsDTO quoteNumber(String quoteNumber) { - this.quoteNumber = quoteNumber; - return this; - } - - /** - * A unique identifier generated by Ingram Micro's CRM specific to each quote. - * @return quoteNumber - **/ - @javax.annotation.Nullable - public String getQuoteNumber() { - return quoteNumber; - } - - public void setQuoteNumber(String quoteNumber) { - this.quoteNumber = quoteNumber; - } - - - public QuoteToOrderDetailsDTO customerOrderNumber(String customerOrderNumber) { - this.customerOrderNumber = customerOrderNumber; - return this; - } - - /** - * The reseller's order number for reference in their system. - * @return customerOrderNumber - **/ - @javax.annotation.Nullable - public String getCustomerOrderNumber() { - return customerOrderNumber; - } - - public void setCustomerOrderNumber(String customerOrderNumber) { - this.customerOrderNumber = customerOrderNumber; - } - - - public QuoteToOrderDetailsDTO enduserOrderNumber(String enduserOrderNumber) { - this.enduserOrderNumber = enduserOrderNumber; - return this; - } - - /** - * The end customer's order number for reference in their system. - * @return enduserOrderNumber - **/ - @javax.annotation.Nullable - public String getEnduserOrderNumber() { - return enduserOrderNumber; - } - - public void setEnduserOrderNumber(String enduserOrderNumber) { - this.enduserOrderNumber = enduserOrderNumber; - } - - - public QuoteToOrderDetailsDTO billToAddressId(String billToAddressId) { - this.billToAddressId = billToAddressId; - return this; - } - - /** - * Suffix used to identify billing address. Created during onboarding. Resellers are provided with one or more address IDs depending on how many bill to addresses they need for various flooring companies they are using for credit. - * @return billToAddressId - **/ - @javax.annotation.Nullable - public String getBillToAddressId() { - return billToAddressId; - } - - public void setBillToAddressId(String billToAddressId) { - this.billToAddressId = billToAddressId; - } - - - public QuoteToOrderDetailsDTO endUserInfo(QuoteToOrderDetailsDTOEndUserInfo endUserInfo) { - this.endUserInfo = endUserInfo; - return this; - } - - /** - * Get endUserInfo - * @return endUserInfo - **/ - @javax.annotation.Nullable - public QuoteToOrderDetailsDTOEndUserInfo getEndUserInfo() { - return endUserInfo; - } - - public void setEndUserInfo(QuoteToOrderDetailsDTOEndUserInfo endUserInfo) { - this.endUserInfo = endUserInfo; - } - - - public QuoteToOrderDetailsDTO shipToInfo(QuoteToOrderDetailsDTOShipToInfo shipToInfo) { - this.shipToInfo = shipToInfo; - return this; - } - - /** - * Get shipToInfo - * @return shipToInfo - **/ - @javax.annotation.Nullable - public QuoteToOrderDetailsDTOShipToInfo getShipToInfo() { - return shipToInfo; - } - - public void setShipToInfo(QuoteToOrderDetailsDTOShipToInfo shipToInfo) { - this.shipToInfo = shipToInfo; - } - - - public QuoteToOrderDetailsDTO additionalAttributes(List additionalAttributes) { - this.additionalAttributes = additionalAttributes; - return this; - } - - public QuoteToOrderDetailsDTO addAdditionalAttributesItem(QuoteToOrderDetailsDTOAdditionalAttributesInner additionalAttributesItem) { - if (this.additionalAttributes == null) { - this.additionalAttributes = new ArrayList<>(); - } - this.additionalAttributes.add(additionalAttributesItem); - return this; - } - - /** - * Additional order create attributes. - * @return additionalAttributes - **/ - @javax.annotation.Nullable - public List getAdditionalAttributes() { - return additionalAttributes; - } - - public void setAdditionalAttributes(List additionalAttributes) { - this.additionalAttributes = additionalAttributes; - } - - - public QuoteToOrderDetailsDTO vmfadditionalAttributes(List vmfadditionalAttributes) { - this.vmfadditionalAttributes = vmfadditionalAttributes; - return this; - } - - public QuoteToOrderDetailsDTO addVmfadditionalAttributesItem(QuoteToOrderDetailsDTOVmfadditionalAttributesInner vmfadditionalAttributesItem) { - if (this.vmfadditionalAttributes == null) { - this.vmfadditionalAttributes = new ArrayList<>(); - } - this.vmfadditionalAttributes.add(vmfadditionalAttributesItem); - return this; - } - - /** - * The object containing the list of fields required at a header level by the vendor. - * @return vmfadditionalAttributes - **/ - @javax.annotation.Nullable - public List getVmfadditionalAttributes() { - return vmfadditionalAttributes; - } - - public void setVmfadditionalAttributes(List vmfadditionalAttributes) { - this.vmfadditionalAttributes = vmfadditionalAttributes; - } - - - public QuoteToOrderDetailsDTO lines(List lines) { - this.lines = lines; - return this; - } - - public QuoteToOrderDetailsDTO addLinesItem(QuoteToOrderDetailsDTOLinesInner linesItem) { - if (this.lines == null) { - this.lines = new ArrayList<>(); - } - this.lines.add(linesItem); - return this; - } - - /** - * The object containing the lines that require vendor mandatory fields. - * @return lines - **/ - @javax.annotation.Nullable - public List getLines() { - return lines; - } - - public void setLines(List lines) { - this.lines = lines; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteToOrderDetailsDTO quoteToOrderDetailsDTO = (QuoteToOrderDetailsDTO) o; - return Objects.equals(this.quoteNumber, quoteToOrderDetailsDTO.quoteNumber) && - Objects.equals(this.customerOrderNumber, quoteToOrderDetailsDTO.customerOrderNumber) && - Objects.equals(this.enduserOrderNumber, quoteToOrderDetailsDTO.enduserOrderNumber) && - Objects.equals(this.billToAddressId, quoteToOrderDetailsDTO.billToAddressId) && - Objects.equals(this.endUserInfo, quoteToOrderDetailsDTO.endUserInfo) && - Objects.equals(this.shipToInfo, quoteToOrderDetailsDTO.shipToInfo) && - Objects.equals(this.additionalAttributes, quoteToOrderDetailsDTO.additionalAttributes) && - Objects.equals(this.vmfadditionalAttributes, quoteToOrderDetailsDTO.vmfadditionalAttributes) && - Objects.equals(this.lines, quoteToOrderDetailsDTO.lines); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(quoteNumber, customerOrderNumber, enduserOrderNumber, billToAddressId, endUserInfo, shipToInfo, additionalAttributes, vmfadditionalAttributes, lines); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteToOrderDetailsDTO {\n"); - sb.append(" quoteNumber: ").append(toIndentedString(quoteNumber)).append("\n"); - sb.append(" customerOrderNumber: ").append(toIndentedString(customerOrderNumber)).append("\n"); - sb.append(" enduserOrderNumber: ").append(toIndentedString(enduserOrderNumber)).append("\n"); - sb.append(" billToAddressId: ").append(toIndentedString(billToAddressId)).append("\n"); - sb.append(" endUserInfo: ").append(toIndentedString(endUserInfo)).append("\n"); - sb.append(" shipToInfo: ").append(toIndentedString(shipToInfo)).append("\n"); - sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); - sb.append(" vmfadditionalAttributes: ").append(toIndentedString(vmfadditionalAttributes)).append("\n"); - sb.append(" lines: ").append(toIndentedString(lines)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("quoteNumber"); - openapiFields.add("customerOrderNumber"); - openapiFields.add("enduserOrderNumber"); - openapiFields.add("billToAddressId"); - openapiFields.add("endUserInfo"); - openapiFields.add("shipToInfo"); - openapiFields.add("additionalAttributes"); - openapiFields.add("vmfadditionalAttributes"); - openapiFields.add("lines"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to QuoteToOrderDetailsDTO - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteToOrderDetailsDTO.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteToOrderDetailsDTO is not found in the empty JSON string", QuoteToOrderDetailsDTO.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteToOrderDetailsDTO.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteToOrderDetailsDTO` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("quoteNumber") != null && !jsonObj.get("quoteNumber").isJsonNull()) && !jsonObj.get("quoteNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `quoteNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quoteNumber").toString())); - } - if ((jsonObj.get("customerOrderNumber") != null && !jsonObj.get("customerOrderNumber").isJsonNull()) && !jsonObj.get("customerOrderNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerOrderNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerOrderNumber").toString())); - } - if ((jsonObj.get("enduserOrderNumber") != null && !jsonObj.get("enduserOrderNumber").isJsonNull()) && !jsonObj.get("enduserOrderNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `enduserOrderNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("enduserOrderNumber").toString())); - } - if ((jsonObj.get("billToAddressId") != null && !jsonObj.get("billToAddressId").isJsonNull()) && !jsonObj.get("billToAddressId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `billToAddressId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("billToAddressId").toString())); - } - // validate the optional field `endUserInfo` - if (jsonObj.get("endUserInfo") != null && !jsonObj.get("endUserInfo").isJsonNull()) { - QuoteToOrderDetailsDTOEndUserInfo.validateJsonElement(jsonObj.get("endUserInfo")); - } - // validate the optional field `shipToInfo` - if (jsonObj.get("shipToInfo") != null && !jsonObj.get("shipToInfo").isJsonNull()) { - QuoteToOrderDetailsDTOShipToInfo.validateJsonElement(jsonObj.get("shipToInfo")); - } - if (jsonObj.get("additionalAttributes") != null && !jsonObj.get("additionalAttributes").isJsonNull()) { - JsonArray jsonArrayadditionalAttributes = jsonObj.getAsJsonArray("additionalAttributes"); - if (jsonArrayadditionalAttributes != null) { - // ensure the json data is an array - if (!jsonObj.get("additionalAttributes").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `additionalAttributes` to be an array in the JSON string but got `%s`", jsonObj.get("additionalAttributes").toString())); - } - - // validate the optional field `additionalAttributes` (array) - for (int i = 0; i < jsonArrayadditionalAttributes.size(); i++) { - QuoteToOrderDetailsDTOAdditionalAttributesInner.validateJsonElement(jsonArrayadditionalAttributes.get(i)); - }; - } - } - if (jsonObj.get("vmfadditionalAttributes") != null && !jsonObj.get("vmfadditionalAttributes").isJsonNull()) { - JsonArray jsonArrayvmfadditionalAttributes = jsonObj.getAsJsonArray("vmfadditionalAttributes"); - if (jsonArrayvmfadditionalAttributes != null) { - // ensure the json data is an array - if (!jsonObj.get("vmfadditionalAttributes").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `vmfadditionalAttributes` to be an array in the JSON string but got `%s`", jsonObj.get("vmfadditionalAttributes").toString())); - } - - // validate the optional field `vmfadditionalAttributes` (array) - for (int i = 0; i < jsonArrayvmfadditionalAttributes.size(); i++) { - QuoteToOrderDetailsDTOVmfadditionalAttributesInner.validateJsonElement(jsonArrayvmfadditionalAttributes.get(i)); - }; - } - } - if (jsonObj.get("lines") != null && !jsonObj.get("lines").isJsonNull()) { - JsonArray jsonArraylines = jsonObj.getAsJsonArray("lines"); - if (jsonArraylines != null) { - // ensure the json data is an array - if (!jsonObj.get("lines").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `lines` to be an array in the JSON string but got `%s`", jsonObj.get("lines").toString())); - } - - // validate the optional field `lines` (array) - for (int i = 0; i < jsonArraylines.size(); i++) { - QuoteToOrderDetailsDTOLinesInner.validateJsonElement(jsonArraylines.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteToOrderDetailsDTO.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteToOrderDetailsDTO' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteToOrderDetailsDTO.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteToOrderDetailsDTO value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteToOrderDetailsDTO read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteToOrderDetailsDTO given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteToOrderDetailsDTO - * @throws IOException if the JSON string is invalid with respect to QuoteToOrderDetailsDTO - */ - public static QuoteToOrderDetailsDTO fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteToOrderDetailsDTO.class); - } - - /** - * Convert an instance of QuoteToOrderDetailsDTO to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java deleted file mode 100644 index f7da2883..00000000 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java +++ /dev/null @@ -1,315 +0,0 @@ -/* - * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package xiresellers.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import xiresellers.client.JSON; - -/** - * QuoteToOrderDetailsDTOLinesInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") -public class QuoteToOrderDetailsDTOLinesInner { - public static final String SERIALIZED_NAME_CUSTOMER_LINE_NUMBER = "customerLineNumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMER_LINE_NUMBER) - private String customerLineNumber; - - public static final String SERIALIZED_NAME_INGRAM_PART_NUMBER = "ingramPartNumber"; - @SerializedName(SERIALIZED_NAME_INGRAM_PART_NUMBER) - private String ingramPartNumber; - - public static final String SERIALIZED_NAME_QUANTITY = "quantity"; - @SerializedName(SERIALIZED_NAME_QUANTITY) - private String quantity; - - public static final String SERIALIZED_NAME_VMF_ADDITIONAL_ATTRIBUTES_LINES = "vmfAdditionalAttributesLines"; - @SerializedName(SERIALIZED_NAME_VMF_ADDITIONAL_ATTRIBUTES_LINES) - private List vmfAdditionalAttributesLines; - - public QuoteToOrderDetailsDTOLinesInner() { - } - - public QuoteToOrderDetailsDTOLinesInner customerLineNumber(String customerLineNumber) { - this.customerLineNumber = customerLineNumber; - return this; - } - - /** - * The reseller's line item number for reference in their system. - * @return customerLineNumber - **/ - @javax.annotation.Nullable - public String getCustomerLineNumber() { - return customerLineNumber; - } - - public void setCustomerLineNumber(String customerLineNumber) { - this.customerLineNumber = customerLineNumber; - } - - - public QuoteToOrderDetailsDTOLinesInner ingramPartNumber(String ingramPartNumber) { - this.ingramPartNumber = ingramPartNumber; - return this; - } - - /** - * Unique IngramMicro part number. - * @return ingramPartNumber - **/ - @javax.annotation.Nullable - public String getIngramPartNumber() { - return ingramPartNumber; - } - - public void setIngramPartNumber(String ingramPartNumber) { - this.ingramPartNumber = ingramPartNumber; - } - - - public QuoteToOrderDetailsDTOLinesInner quantity(String quantity) { - this.quantity = quantity; - return this; - } - - /** - * The quantity of the line item. - * @return quantity - **/ - @javax.annotation.Nullable - public String getQuantity() { - return quantity; - } - - public void setQuantity(String quantity) { - this.quantity = quantity; - } - - - public QuoteToOrderDetailsDTOLinesInner vmfAdditionalAttributesLines(List vmfAdditionalAttributesLines) { - this.vmfAdditionalAttributesLines = vmfAdditionalAttributesLines; - return this; - } - - public QuoteToOrderDetailsDTOLinesInner addVmfAdditionalAttributesLinesItem(QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner vmfAdditionalAttributesLinesItem) { - if (this.vmfAdditionalAttributesLines == null) { - this.vmfAdditionalAttributesLines = new ArrayList<>(); - } - this.vmfAdditionalAttributesLines.add(vmfAdditionalAttributesLinesItem); - return this; - } - - /** - * The object containing the list of fields required at a line level by the vendor. - * @return vmfAdditionalAttributesLines - **/ - @javax.annotation.Nullable - public List getVmfAdditionalAttributesLines() { - return vmfAdditionalAttributesLines; - } - - public void setVmfAdditionalAttributesLines(List vmfAdditionalAttributesLines) { - this.vmfAdditionalAttributesLines = vmfAdditionalAttributesLines; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteToOrderDetailsDTOLinesInner quoteToOrderDetailsDTOLinesInner = (QuoteToOrderDetailsDTOLinesInner) o; - return Objects.equals(this.customerLineNumber, quoteToOrderDetailsDTOLinesInner.customerLineNumber) && - Objects.equals(this.ingramPartNumber, quoteToOrderDetailsDTOLinesInner.ingramPartNumber) && - Objects.equals(this.quantity, quoteToOrderDetailsDTOLinesInner.quantity) && - Objects.equals(this.vmfAdditionalAttributesLines, quoteToOrderDetailsDTOLinesInner.vmfAdditionalAttributesLines); - } - - @Override - public int hashCode() { - return Objects.hash(customerLineNumber, ingramPartNumber, quantity, vmfAdditionalAttributesLines); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteToOrderDetailsDTOLinesInner {\n"); - sb.append(" customerLineNumber: ").append(toIndentedString(customerLineNumber)).append("\n"); - sb.append(" ingramPartNumber: ").append(toIndentedString(ingramPartNumber)).append("\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append(" vmfAdditionalAttributesLines: ").append(toIndentedString(vmfAdditionalAttributesLines)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("customerLineNumber"); - openapiFields.add("ingramPartNumber"); - openapiFields.add("quantity"); - openapiFields.add("vmfAdditionalAttributesLines"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to QuoteToOrderDetailsDTOLinesInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteToOrderDetailsDTOLinesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteToOrderDetailsDTOLinesInner is not found in the empty JSON string", QuoteToOrderDetailsDTOLinesInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteToOrderDetailsDTOLinesInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteToOrderDetailsDTOLinesInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("customerLineNumber") != null && !jsonObj.get("customerLineNumber").isJsonNull()) && !jsonObj.get("customerLineNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerLineNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerLineNumber").toString())); - } - if ((jsonObj.get("ingramPartNumber") != null && !jsonObj.get("ingramPartNumber").isJsonNull()) && !jsonObj.get("ingramPartNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ingramPartNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ingramPartNumber").toString())); - } - if ((jsonObj.get("quantity") != null && !jsonObj.get("quantity").isJsonNull()) && !jsonObj.get("quantity").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `quantity` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quantity").toString())); - } - if (jsonObj.get("vmfAdditionalAttributesLines") != null && !jsonObj.get("vmfAdditionalAttributesLines").isJsonNull()) { - JsonArray jsonArrayvmfAdditionalAttributesLines = jsonObj.getAsJsonArray("vmfAdditionalAttributesLines"); - if (jsonArrayvmfAdditionalAttributesLines != null) { - // ensure the json data is an array - if (!jsonObj.get("vmfAdditionalAttributesLines").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `vmfAdditionalAttributesLines` to be an array in the JSON string but got `%s`", jsonObj.get("vmfAdditionalAttributesLines").toString())); - } - - // validate the optional field `vmfAdditionalAttributesLines` (array) - for (int i = 0; i < jsonArrayvmfAdditionalAttributesLines.size(); i++) { - QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.validateJsonElement(jsonArrayvmfAdditionalAttributesLines.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteToOrderDetailsDTOLinesInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteToOrderDetailsDTOLinesInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteToOrderDetailsDTOLinesInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteToOrderDetailsDTOLinesInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteToOrderDetailsDTOLinesInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteToOrderDetailsDTOLinesInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteToOrderDetailsDTOLinesInner - * @throws IOException if the JSON string is invalid with respect to QuoteToOrderDetailsDTOLinesInner - */ - public static QuoteToOrderDetailsDTOLinesInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteToOrderDetailsDTOLinesInner.class); - } - - /** - * Convert an instance of QuoteToOrderDetailsDTOLinesInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java index 04682c8b..33416458 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -55,7 +55,7 @@ /** * RenewalsDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class RenewalsDetailsResponse { public static final String SERIALIZED_NAME_RENEWAL_ID = "renewalId"; @SerializedName(SERIALIZED_NAME_RENEWAL_ID) @@ -111,11 +111,11 @@ public class RenewalsDetailsResponse { public static final String SERIALIZED_NAME_PRODUCTS = "products"; @SerializedName(SERIALIZED_NAME_PRODUCTS) - private List products; + private List products = new ArrayList<>(); public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) - private List additionalAttributes; + private List additionalAttributes = new ArrayList<>(); public RenewalsDetailsResponse() { } diff --git a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java index 000039aa..7ccec5ce 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * RenewalsDetailsResponseAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class RenewalsDetailsResponseAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_DESCRIPTION = "attributeDescription"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_DESCRIPTION) diff --git a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfo.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfo.java index 2005a10c..6f3a687a 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfo.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * RenewalsDetailsResponseEndUserInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class RenewalsDetailsResponseEndUserInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseProductsInner.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseProductsInner.java index f3c64109..e5f7ddac 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseProductsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * RenewalsDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class RenewalsDetailsResponseProductsInner { public static final String SERIALIZED_NAME_INGRAM_LINE_NUMBER = "ingramLineNumber"; @SerializedName(SERIALIZED_NAME_INGRAM_LINE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumber.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumber.java index 65484cde..f840ed25 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumber.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumber.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * RenewalsDetailsResponseReferenceNumber */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class RenewalsDetailsResponseReferenceNumber { public static final String SERIALIZED_NAME_NOTIFICATION_ID = "notificationId"; @SerializedName(SERIALIZED_NAME_NOTIFICATION_ID) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchRequest.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequest.java index 540cd188..74435571 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequest.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -51,7 +51,7 @@ /** * RenewalsSearchRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class RenewalsSearchRequest { public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateType.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateType.java index 2dfab487..ecda4c9a 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateType.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateType.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -53,7 +53,7 @@ /** * RenewalsSearchRequestDateType */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class RenewalsSearchRequestDateType { public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeEndDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeEndDate.java index c146d020..3a855020 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeEndDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeEndDate.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDateTypeEndDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class RenewalsSearchRequestDateTypeEndDate { public static final String SERIALIZED_NAME_CUSTOM_START_DATE = "customStartDate"; @SerializedName(SERIALIZED_NAME_CUSTOM_START_DATE) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeExpirationDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeExpirationDate.java index 4c3053af..78de88f0 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeExpirationDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeExpirationDate.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDateTypeExpirationDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class RenewalsSearchRequestDateTypeExpirationDate { public static final String SERIALIZED_NAME_CUSTOM_START_DATE = "customStartDate"; @SerializedName(SERIALIZED_NAME_CUSTOM_START_DATE) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeInvoiceDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeInvoiceDate.java index 00250681..100bacd8 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeInvoiceDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeInvoiceDate.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDateTypeInvoiceDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class RenewalsSearchRequestDateTypeInvoiceDate { public static final String SERIALIZED_NAME_CUSTOM_START_DATE = "customStartDate"; @SerializedName(SERIALIZED_NAME_CUSTOM_START_DATE) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeStartDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeStartDate.java index eb50f9cf..ce2bd873 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeStartDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeStartDate.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDateTypeStartDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class RenewalsSearchRequestDateTypeStartDate { public static final String SERIALIZED_NAME_CUSTOM_START_DATE = "customStartDate"; @SerializedName(SERIALIZED_NAME_CUSTOM_START_DATE) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatus.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatus.java index 9a40a404..d3b43fde 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatus.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatus.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * RenewalsSearchRequestStatus */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class RenewalsSearchRequestStatus { public static final String SERIALIZED_NAME_OPPORUTINY_STATUS = "OpporutinyStatus"; @SerializedName(SERIALIZED_NAME_OPPORUTINY_STATUS) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatus.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatus.java index 55b1344d..2e9a242b 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatus.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatus.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestStatusOpporutinyStatus */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class RenewalsSearchRequestStatusOpporutinyStatus { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchResponse.java b/src/main/java/xiresellers/client/model/RenewalsSearchResponse.java index c3b0deb1..e963f576 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchResponse.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * RenewalsSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class RenewalsSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) @@ -68,7 +68,7 @@ public class RenewalsSearchResponse { public static final String SERIALIZED_NAME_RENEWALS = "renewals"; @SerializedName(SERIALIZED_NAME_RENEWALS) - private List renewals; + private List renewals = new ArrayList<>(); public static final String SERIALIZED_NAME_NEXT_PAGE = "nextPage"; @SerializedName(SERIALIZED_NAME_NEXT_PAGE) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java index 9b20802f..9f50aded 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * RenewalsSearchResponseRenewalsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class RenewalsSearchResponseRenewalsInner { public static final String SERIALIZED_NAME_RENEWAL_ID = "renewalId"; @SerializedName(SERIALIZED_NAME_RENEWAL_ID) @@ -88,7 +88,7 @@ public class RenewalsSearchResponseRenewalsInner { public static final String SERIALIZED_NAME_LINKS = "links"; @SerializedName(SERIALIZED_NAME_LINKS) - private List links; + private List links = new ArrayList<>(); public RenewalsSearchResponseRenewalsInner() { } diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java index 81d50518..74581710 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * RenewalsSearchResponseRenewalsInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class RenewalsSearchResponseRenewalsInnerLinksInner { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/ReturnsCreateRequest.java b/src/main/java/xiresellers/client/model/ReturnsCreateRequest.java index af0e6700..1c2872f6 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateRequest.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateRequest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,11 +52,11 @@ /** * ReturnsCreateRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ReturnsCreateRequest { public static final String SERIALIZED_NAME_LIST = "list"; @SerializedName(SERIALIZED_NAME_LIST) - private List _list; + private List _list = new ArrayList<>(); public ReturnsCreateRequest() { } diff --git a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java index 89cf0947..04d73753 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -53,7 +53,7 @@ /** * ReturnsCreateRequestListInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ReturnsCreateRequestListInner { public static final String SERIALIZED_NAME_INVOICE_NUMBER = "invoiceNumber"; @SerializedName(SERIALIZED_NAME_INVOICE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInner.java b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInner.java index 168a16b2..fd846b2f 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * ReturnsCreateRequestListInnerShipFromInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ReturnsCreateRequestListInnerShipFromInfoInner { public static final String SERIALIZED_NAME_COMPANY_NAME = "companyName"; @SerializedName(SERIALIZED_NAME_COMPANY_NAME) diff --git a/src/main/java/xiresellers/client/model/ReturnsCreateResponse.java b/src/main/java/xiresellers/client/model/ReturnsCreateResponse.java index f1018555..1c61592c 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateResponse.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,11 +52,11 @@ /** * ReturnsCreateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ReturnsCreateResponse { public static final String SERIALIZED_NAME_RETURNS_CLAIMS = "returnsClaims"; @SerializedName(SERIALIZED_NAME_RETURNS_CLAIMS) - private List returnsClaims; + private List returnsClaims = new ArrayList<>(); public ReturnsCreateResponse() { } diff --git a/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java b/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java index 89a88966..98eb1772 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -54,7 +54,7 @@ /** * ReturnsCreateResponseReturnsClaimsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ReturnsCreateResponseReturnsClaimsInner { public static final String SERIALIZED_NAME_RMA_CLAIM_ID = "rmaClaimId"; @SerializedName(SERIALIZED_NAME_RMA_CLAIM_ID) @@ -110,7 +110,7 @@ public class ReturnsCreateResponseReturnsClaimsInner { public static final String SERIALIZED_NAME_LINKS = "links"; @SerializedName(SERIALIZED_NAME_LINKS) - private List links; + private List links = new ArrayList<>(); public ReturnsCreateResponseReturnsClaimsInner() { } diff --git a/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java b/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java index 02041bce..c5d1ef8c 100644 --- a/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -53,7 +53,7 @@ /** * ReturnsDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ReturnsDetailsResponse { public static final String SERIALIZED_NAME_TYPE_OF_DETAILS = "typeOfDetails"; @SerializedName(SERIALIZED_NAME_TYPE_OF_DETAILS) @@ -89,7 +89,7 @@ public class ReturnsDetailsResponse { public static final String SERIALIZED_NAME_PRODUCTS = "products"; @SerializedName(SERIALIZED_NAME_PRODUCTS) - private List products; + private List products = new ArrayList<>(); public static final String SERIALIZED_NAME_SUB_TOTAL = "subTotal"; @SerializedName(SERIALIZED_NAME_SUB_TOTAL) diff --git a/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java b/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java index c0b3d860..09fe7871 100644 --- a/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -50,7 +50,7 @@ /** * ReturnsDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ReturnsDetailsResponseProductsInner { public static final String SERIALIZED_NAME_INGRAM_LINE_NUMBER = "ingramLineNumber"; @SerializedName(SERIALIZED_NAME_INGRAM_LINE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/ReturnsSearchResponse.java b/src/main/java/xiresellers/client/model/ReturnsSearchResponse.java index 4ac5af85..dd2b5e06 100644 --- a/src/main/java/xiresellers/client/model/ReturnsSearchResponse.java +++ b/src/main/java/xiresellers/client/model/ReturnsSearchResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -52,7 +52,7 @@ /** * ReturnsSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ReturnsSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) @@ -68,7 +68,7 @@ public class ReturnsSearchResponse { public static final String SERIALIZED_NAME_RETURNS_CLAIMS = "returnsClaims"; @SerializedName(SERIALIZED_NAME_RETURNS_CLAIMS) - private List returnsClaims; + private List returnsClaims = new ArrayList<>(); public static final String SERIALIZED_NAME_NEXT_PAGE = "nextPage"; @SerializedName(SERIALIZED_NAME_NEXT_PAGE) diff --git a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java index aaadf7db..0a67b2d3 100644 --- a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -53,7 +53,7 @@ /** * ReturnsSearchResponseReturnsClaimsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ReturnsSearchResponseReturnsClaimsInner { public static final String SERIALIZED_NAME_RETURN_CLAIM_ID = "returnClaimId"; @SerializedName(SERIALIZED_NAME_RETURN_CLAIM_ID) @@ -97,7 +97,7 @@ public class ReturnsSearchResponseReturnsClaimsInner { public static final String SERIALIZED_NAME_LINKS = "links"; @SerializedName(SERIALIZED_NAME_LINKS) - private List links; + private List links = new ArrayList<>(); public ReturnsSearchResponseReturnsClaimsInner() { } diff --git a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java index d16ded6d..01279ca8 100644 --- a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * ReturnsSearchResponseReturnsClaimsInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ReturnsSearchResponseReturnsClaimsInnerLinksInner { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/ValidateQuoteResponse.java b/src/main/java/xiresellers/client/model/ValidateQuoteResponse.java index fc8b45f3..05d8cd57 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponse.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponse.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -53,7 +53,7 @@ /** * ValidateQuoteResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ValidateQuoteResponse { public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) @@ -65,11 +65,11 @@ public class ValidateQuoteResponse { public static final String SERIALIZED_NAME_VMF_ADDITIONAL_ATTRIBUTES = "vmfAdditionalAttributes"; @SerializedName(SERIALIZED_NAME_VMF_ADDITIONAL_ATTRIBUTES) - private List vmfAdditionalAttributes; + private List vmfAdditionalAttributes = new ArrayList<>(); public static final String SERIALIZED_NAME_LINES = "lines"; @SerializedName(SERIALIZED_NAME_LINES) - private List lines; + private List lines = new ArrayList<>(); public static final String SERIALIZED_NAME_QUOTE_TYPE = "quoteType"; @SerializedName(SERIALIZED_NAME_QUOTE_TYPE) diff --git a/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java b/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java index c18459d6..a97b757a 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -23,7 +23,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import xiresellers.client.model.QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner; +import xiresellers.client.model.ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -52,7 +52,7 @@ /** * ValidateQuoteResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ValidateQuoteResponseLinesInner { public static final String SERIALIZED_NAME_CUSTOMER_LINE_NUMBER = "customerLineNumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_LINE_NUMBER) @@ -64,11 +64,11 @@ public class ValidateQuoteResponseLinesInner { public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) - private String quantity; + private Integer quantity; public static final String SERIALIZED_NAME_VMF_ADDITIONAL_ATTRIBUTES_LINES = "vmfAdditionalAttributesLines"; @SerializedName(SERIALIZED_NAME_VMF_ADDITIONAL_ATTRIBUTES_LINES) - private List vmfAdditionalAttributesLines; + private List vmfAdditionalAttributesLines = new ArrayList<>(); public ValidateQuoteResponseLinesInner() { } @@ -111,7 +111,7 @@ public void setIngramPartNumber(String ingramPartNumber) { } - public ValidateQuoteResponseLinesInner quantity(String quantity) { + public ValidateQuoteResponseLinesInner quantity(Integer quantity) { this.quantity = quantity; return this; } @@ -121,21 +121,21 @@ public ValidateQuoteResponseLinesInner quantity(String quantity) { * @return quantity **/ @javax.annotation.Nullable - public String getQuantity() { + public Integer getQuantity() { return quantity; } - public void setQuantity(String quantity) { + public void setQuantity(Integer quantity) { this.quantity = quantity; } - public ValidateQuoteResponseLinesInner vmfAdditionalAttributesLines(List vmfAdditionalAttributesLines) { + public ValidateQuoteResponseLinesInner vmfAdditionalAttributesLines(List vmfAdditionalAttributesLines) { this.vmfAdditionalAttributesLines = vmfAdditionalAttributesLines; return this; } - public ValidateQuoteResponseLinesInner addVmfAdditionalAttributesLinesItem(QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner vmfAdditionalAttributesLinesItem) { + public ValidateQuoteResponseLinesInner addVmfAdditionalAttributesLinesItem(ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner vmfAdditionalAttributesLinesItem) { if (this.vmfAdditionalAttributesLines == null) { this.vmfAdditionalAttributesLines = new ArrayList<>(); } @@ -148,11 +148,11 @@ public ValidateQuoteResponseLinesInner addVmfAdditionalAttributesLinesItem(Quote * @return vmfAdditionalAttributesLines **/ @javax.annotation.Nullable - public List getVmfAdditionalAttributesLines() { + public List getVmfAdditionalAttributesLines() { return vmfAdditionalAttributesLines; } - public void setVmfAdditionalAttributesLines(List vmfAdditionalAttributesLines) { + public void setVmfAdditionalAttributesLines(List vmfAdditionalAttributesLines) { this.vmfAdditionalAttributesLines = vmfAdditionalAttributesLines; } @@ -244,9 +244,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("ingramPartNumber") != null && !jsonObj.get("ingramPartNumber").isJsonNull()) && !jsonObj.get("ingramPartNumber").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `ingramPartNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ingramPartNumber").toString())); } - if ((jsonObj.get("quantity") != null && !jsonObj.get("quantity").isJsonNull()) && !jsonObj.get("quantity").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `quantity` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quantity").toString())); - } if (jsonObj.get("vmfAdditionalAttributesLines") != null && !jsonObj.get("vmfAdditionalAttributesLines").isJsonNull()) { JsonArray jsonArrayvmfAdditionalAttributesLines = jsonObj.getAsJsonArray("vmfAdditionalAttributesLines"); if (jsonArrayvmfAdditionalAttributesLines != null) { @@ -257,7 +254,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `vmfAdditionalAttributesLines` (array) for (int i = 0; i < jsonArrayvmfAdditionalAttributesLines.size(); i++) { - QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.validateJsonElement(jsonArrayvmfAdditionalAttributesLines.get(i)); + ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.validateJsonElement(jsonArrayvmfAdditionalAttributesLines.get(i)); }; } } diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java b/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.java similarity index 65% rename from src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java rename to src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.java index 5e524806..877a2172 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -47,10 +47,10 @@ import xiresellers.client.JSON; /** - * QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner + * ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") -public class QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") +public class ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) private String attributeName; @@ -63,10 +63,10 @@ public class QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner { @SerializedName(SERIALIZED_NAME_ATTRIBUTE_DESCRIPTION) private String attributeDescription; - public QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner() { + public ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner() { } - public QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner attributeName(String attributeName) { + public ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner attributeName(String attributeName) { this.attributeName = attributeName; return this; } @@ -85,7 +85,7 @@ public void setAttributeName(String attributeName) { } - public QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner attributeValue(String attributeValue) { + public ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner attributeValue(String attributeValue) { this.attributeValue = attributeValue; return this; } @@ -104,7 +104,7 @@ public void setAttributeValue(String attributeValue) { } - public QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner attributeDescription(String attributeDescription) { + public ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner attributeDescription(String attributeDescription) { this.attributeDescription = attributeDescription; return this; } @@ -132,10 +132,10 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner quoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner = (QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) o; - return Objects.equals(this.attributeName, quoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.attributeName) && - Objects.equals(this.attributeValue, quoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.attributeValue) && - Objects.equals(this.attributeDescription, quoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.attributeDescription); + ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner validateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner = (ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) o; + return Objects.equals(this.attributeName, validateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.attributeName) && + Objects.equals(this.attributeValue, validateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.attributeValue) && + Objects.equals(this.attributeDescription, validateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.attributeDescription); } @Override @@ -146,7 +146,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner {\n"); + sb.append("class ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner {\n"); sb.append(" attributeName: ").append(toIndentedString(attributeName)).append("\n"); sb.append(" attributeValue: ").append(toIndentedString(attributeValue)).append("\n"); sb.append(" attributeDescription: ").append(toIndentedString(attributeDescription)).append("\n"); @@ -184,20 +184,20 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner + * @throws IOException if the JSON Element is invalid with respect to ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner is not found in the empty JSON string", QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.openapiRequiredFields.toString())); + if (!ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner is not found in the empty JSON string", ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -216,22 +216,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner' and its subtypes + if (!ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner value) throws IOException { + public void write(JsonWriter out, ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner read(JsonReader in) throws IOException { + public ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -242,18 +242,18 @@ public QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner read(Js } /** - * Create an instance of QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner given an JSON string + * Create an instance of ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner given an JSON string * * @param jsonString JSON string - * @return An instance of QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner - * @throws IOException if the JSON string is invalid with respect to QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner + * @return An instance of ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner + * @throws IOException if the JSON string is invalid with respect to ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner */ - public static QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.class); + public static ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.class); } /** - * Convert an instance of QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner to an JSON string + * Convert an instance of ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner to an JSON string * * @return JSON string */ diff --git a/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java index c4613408..41a997ed 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -49,7 +49,7 @@ /** * ValidateQuoteResponseVmfAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-27T08:54:45.542575Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T13:12:48.606866Z[Etc/UTC]", comments = "Generator version: 7.6.0") public class ValidateQuoteResponseVmfAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/test/java/xiresellers/client/api/AccesstokenApiTest.java b/src/test/java/xiresellers/client/api/AccesstokenApiTest.java index cd3cf78d..466e1b04 100644 --- a/src/test/java/xiresellers/client/api/AccesstokenApiTest.java +++ b/src/test/java/xiresellers/client/api/AccesstokenApiTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/api/DealsApiTest.java b/src/test/java/xiresellers/client/api/DealsApiTest.java index 421e7b6e..7a0f90fa 100644 --- a/src/test/java/xiresellers/client/api/DealsApiTest.java +++ b/src/test/java/xiresellers/client/api/DealsApiTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -16,7 +16,7 @@ import xiresellers.client.ApiException; import xiresellers.client.model.DealsDetailsResponse; import xiresellers.client.model.DealsSearchResponse; -import xiresellers.client.model.GetResellerV6ValidateQuote500Response; +import xiresellers.client.model.PostCreateorderV7500Response; import xiresellers.client.model.PostRenewalssearch400Response; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -69,7 +69,9 @@ public void getResellersV6DealssearchTest() throws ApiException { String endUser = null; String vendor = null; String dealId = null; - DealsSearchResponse response = api.getResellersV6Dealssearch(imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, endUser, vendor, dealId); + Integer size = null; + Integer page = null; + DealsSearchResponse response = api.getResellersV6Dealssearch(imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, endUser, vendor, dealId, size, page); // TODO: test validations } diff --git a/src/test/java/xiresellers/client/api/FreightEstimateApiTest.java b/src/test/java/xiresellers/client/api/FreightEstimateApiTest.java index 6713034f..8b97f311 100644 --- a/src/test/java/xiresellers/client/api/FreightEstimateApiTest.java +++ b/src/test/java/xiresellers/client/api/FreightEstimateApiTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -16,7 +16,7 @@ import xiresellers.client.ApiException; import xiresellers.client.model.FreightRequest; import xiresellers.client.model.FreightResponse; -import xiresellers.client.model.GetResellerV6ValidateQuote500Response; +import xiresellers.client.model.PostCreateorderV7500Response; import xiresellers.client.model.PostRenewalssearch400Response; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/src/test/java/xiresellers/client/api/InvoicesApiTest.java b/src/test/java/xiresellers/client/api/InvoicesApiTest.java index fa8cbe93..fc9024d9 100644 --- a/src/test/java/xiresellers/client/api/InvoicesApiTest.java +++ b/src/test/java/xiresellers/client/api/InvoicesApiTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/api/OrderStatusApiTest.java b/src/test/java/xiresellers/client/api/OrderStatusApiTest.java index 169dd906..85d0c534 100644 --- a/src/test/java/xiresellers/client/api/OrderStatusApiTest.java +++ b/src/test/java/xiresellers/client/api/OrderStatusApiTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/api/OrdersApiTest.java b/src/test/java/xiresellers/client/api/OrdersApiTest.java index 7d9935c4..440a0710 100644 --- a/src/test/java/xiresellers/client/api/OrdersApiTest.java +++ b/src/test/java/xiresellers/client/api/OrdersApiTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -14,6 +14,8 @@ package xiresellers.client.api; import xiresellers.client.ApiException; +import xiresellers.client.model.AsyncOrderCreateDTO; +import xiresellers.client.model.AsyncOrderCreateResponse; import xiresellers.client.model.ErrorResponse; import xiresellers.client.model.ErrorResponseDTO; import java.time.LocalDate; @@ -23,6 +25,8 @@ import xiresellers.client.model.OrderModifyRequest; import xiresellers.client.model.OrderModifyResponse; import xiresellers.client.model.OrderSearchResponse; +import xiresellers.client.model.PostCreateorderV7400Response; +import xiresellers.client.model.PostCreateorderV7500Response; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -134,6 +138,24 @@ public void postCreateorderV6Test() throws ApiException { // TODO: test validations } + /** + * Create your Order v7 + * + * This API will allow customers to perform both standard ordering and quote to order functionality via a single API enabling them to have a single endpoint to cater to all types of orders. This approach will standardize the ordering flow for customers where they will get the response for all orders on to their webhooks. It provides the much-awaited async ordering flow for Reseller API where large orders can also be placed via a single API with guaranteed delivery. + * + * @throws ApiException if the Api call fails + */ + @Test + public void postCreateorderV7Test() throws ApiException { + String imCustomerNumber = null; + String imCountryCode = null; + String imCorrelationID = null; + AsyncOrderCreateDTO asyncOrderCreateDTO = null; + String imSenderID = null; + AsyncOrderCreateResponse response = api.postCreateorderV7(imCustomerNumber, imCountryCode, imCorrelationID, asyncOrderCreateDTO, imSenderID); + // TODO: test validations + } + /** * Modify your Order * diff --git a/src/test/java/xiresellers/client/api/ProductCatalogApiTest.java b/src/test/java/xiresellers/client/api/ProductCatalogApiTest.java index e3979d0c..17c4f042 100644 --- a/src/test/java/xiresellers/client/api/ProductCatalogApiTest.java +++ b/src/test/java/xiresellers/client/api/ProductCatalogApiTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/api/QuoteToOrderApiTest.java b/src/test/java/xiresellers/client/api/QuoteToOrderApiTest.java deleted file mode 100644 index 7aefcc5e..00000000 --- a/src/test/java/xiresellers/client/api/QuoteToOrderApiTest.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package xiresellers.client.api; - -import xiresellers.client.ApiException; -import xiresellers.client.model.GetResellerV6ValidateQuote500Response; -import xiresellers.client.model.PostQuoteToOrderV6400Response; -import xiresellers.client.model.QuoteToOrderDetailsDTO; -import xiresellers.client.model.QuoteToOrderResponse; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for QuoteToOrderApi - */ -@Disabled -public class QuoteToOrderApiTest { - - private final QuoteToOrderApi api = new QuoteToOrderApi(); - - /** - * Quote To Order - * - * The “Quote to Order” (QTO) endpoint allows a customer to create an order using the existing quote which is in “Ready to Order” status. A customer can create an order using Configure to order (CTO) quote or a non-configure to order (Non-CTO) quote. Upon successful submission of the order create request, a confirmation message will be returned as an API response. <br > <br >Ingram Micro offers webhooks as a method to send notifications to Resellers once the order creation request is received. All the updates related to Order creation will be pushed as a notification to the customer via a pre-defined callback URL as an HTTP post. <br > <br > **Prerequisite:** Pre-defined callback URL <br > <br > Before creating an order using the quote, it’s recommended to validate the quote using the “Validate Quote” endpoint. Validate Quote endpoint will not only validate the quote but also outline all the mandatory fields required by the vendor at a header level and at the line level which a customer need to pass to the Quote To Order endpoint request. For a detailed understanding of the “Validate Quote” endpoint, review the “Validate Quote” endpoint documentation. <br ><br > **How it works:** <br ><br > - The customer validates the quote with a quote number from Validate Quote endpoint. <br > - The customer copies all the mandatory fields required by the vendor and adds them to the QTO request body. <br > - The customer provides all the values for Vendor mandatory fields along with other required information for QTO to create an order. <br > - After the order creation request receipt acknowledgment from the QTO endpoint, all further order creation updates will be provided via webhook push notification. - * - * @throws ApiException if the Api call fails - */ - @Test - public void postQuoteToOrderV6Test() throws ApiException { - String imCustomerNumber = null; - String imCountryCode = null; - String imCorrelationID = null; - QuoteToOrderDetailsDTO quoteToOrderDetailsDTO = null; - String imSenderID = null; - QuoteToOrderResponse response = api.postQuoteToOrderV6(imCustomerNumber, imCountryCode, imCorrelationID, quoteToOrderDetailsDTO, imSenderID); - // TODO: test validations - } - -} diff --git a/src/test/java/xiresellers/client/api/QuotesApiTest.java b/src/test/java/xiresellers/client/api/QuotesApiTest.java index c11f6b12..cdc22037 100644 --- a/src/test/java/xiresellers/client/api/QuotesApiTest.java +++ b/src/test/java/xiresellers/client/api/QuotesApiTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -16,7 +16,7 @@ import xiresellers.client.ApiException; import xiresellers.client.model.ErrorResponse; import xiresellers.client.model.GetResellerV6ValidateQuote400Response; -import xiresellers.client.model.GetResellerV6ValidateQuote500Response; +import xiresellers.client.model.PostCreateorderV7500Response; import xiresellers.client.model.QuoteDetailsResponse; import xiresellers.client.model.QuoteSearchResponse; import xiresellers.client.model.ValidateQuoteResponse; diff --git a/src/test/java/xiresellers/client/api/RenewalsApiTest.java b/src/test/java/xiresellers/client/api/RenewalsApiTest.java index eb16d660..8722b69d 100644 --- a/src/test/java/xiresellers/client/api/RenewalsApiTest.java +++ b/src/test/java/xiresellers/client/api/RenewalsApiTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -14,7 +14,7 @@ package xiresellers.client.api; import xiresellers.client.ApiException; -import xiresellers.client.model.GetResellerV6ValidateQuote500Response; +import xiresellers.client.model.PostCreateorderV7500Response; import xiresellers.client.model.PostRenewalssearch400Response; import xiresellers.client.model.RenewalsDetailsResponse; import xiresellers.client.model.RenewalsSearchRequest; diff --git a/src/test/java/xiresellers/client/api/ReturnsApiTest.java b/src/test/java/xiresellers/client/api/ReturnsApiTest.java index bcc5a7bd..17d72655 100644 --- a/src/test/java/xiresellers/client/api/ReturnsApiTest.java +++ b/src/test/java/xiresellers/client/api/ReturnsApiTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -14,7 +14,7 @@ package xiresellers.client.api; import xiresellers.client.ApiException; -import xiresellers.client.model.GetResellerV6ValidateQuote500Response; +import xiresellers.client.model.PostCreateorderV7500Response; import xiresellers.client.model.PostRenewalssearch400Response; import xiresellers.client.model.ReturnsCreateRequest; import xiresellers.client.model.ReturnsCreateResponse; diff --git a/src/test/java/xiresellers/client/api/StockUpdateApiTest.java b/src/test/java/xiresellers/client/api/StockUpdateApiTest.java index 9cd647e3..6b178821 100644 --- a/src/test/java/xiresellers/client/api/StockUpdateApiTest.java +++ b/src/test/java/xiresellers/client/api/StockUpdateApiTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/AccesstokenResponseTest.java b/src/test/java/xiresellers/client/model/AccesstokenResponseTest.java index 6f32bce2..c50fcfdc 100644 --- a/src/test/java/xiresellers/client/model/AccesstokenResponseTest.java +++ b/src/test/java/xiresellers/client/model/AccesstokenResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOAdditionalAttributesInnerTest.java similarity index 53% rename from src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInnerTest.java rename to src/test/java/xiresellers/client/model/AsyncOrderCreateDTOAdditionalAttributesInnerTest.java index c0ea3bb0..80318d77 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOAdditionalAttributesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -24,17 +24,17 @@ import org.junit.jupiter.api.Test; /** - * Model tests for QuoteToOrderDetailsDTOVmfadditionalAttributesInner + * Model tests for AsyncOrderCreateDTOAdditionalAttributesInner */ -public class QuoteToOrderDetailsDTOVmfadditionalAttributesInnerTest { - private final QuoteToOrderDetailsDTOVmfadditionalAttributesInner model = new QuoteToOrderDetailsDTOVmfadditionalAttributesInner(); +public class AsyncOrderCreateDTOAdditionalAttributesInnerTest { + private final AsyncOrderCreateDTOAdditionalAttributesInner model = new AsyncOrderCreateDTOAdditionalAttributesInner(); /** - * Model tests for QuoteToOrderDetailsDTOVmfadditionalAttributesInner + * Model tests for AsyncOrderCreateDTOAdditionalAttributesInner */ @Test - public void testQuoteToOrderDetailsDTOVmfadditionalAttributesInner() { - // TODO: test QuoteToOrderDetailsDTOVmfadditionalAttributesInner + public void testAsyncOrderCreateDTOAdditionalAttributesInner() { + // TODO: test AsyncOrderCreateDTOAdditionalAttributesInner } /** @@ -53,12 +53,4 @@ public void attributeValueTest() { // TODO: test attributeValue } - /** - * Test the property 'attributeDescription' - */ - @Test - public void attributeDescriptionTest() { - // TODO: test attributeDescription - } - } diff --git a/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOEndUserInfoTest.java b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOEndUserInfoTest.java new file mode 100644 index 00000000..52064154 --- /dev/null +++ b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOEndUserInfoTest.java @@ -0,0 +1,176 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AsyncOrderCreateDTOEndUserInfo + */ +public class AsyncOrderCreateDTOEndUserInfoTest { + private final AsyncOrderCreateDTOEndUserInfo model = new AsyncOrderCreateDTOEndUserInfo(); + + /** + * Model tests for AsyncOrderCreateDTOEndUserInfo + */ + @Test + public void testAsyncOrderCreateDTOEndUserInfo() { + // TODO: test AsyncOrderCreateDTOEndUserInfo + } + + /** + * Test the property 'endUserId' + */ + @Test + public void endUserIdTest() { + // TODO: test endUserId + } + + /** + * Test the property 'endUserType' + */ + @Test + public void endUserTypeTest() { + // TODO: test endUserType + } + + /** + * Test the property 'companyName' + */ + @Test + public void companyNameTest() { + // TODO: test companyName + } + + /** + * Test the property 'name1' + */ + @Test + public void name1Test() { + // TODO: test name1 + } + + /** + * Test the property 'name2' + */ + @Test + public void name2Test() { + // TODO: test name2 + } + + /** + * Test the property 'addressLine1' + */ + @Test + public void addressLine1Test() { + // TODO: test addressLine1 + } + + /** + * Test the property 'addressLine2' + */ + @Test + public void addressLine2Test() { + // TODO: test addressLine2 + } + + /** + * Test the property 'addressLine3' + */ + @Test + public void addressLine3Test() { + // TODO: test addressLine3 + } + + /** + * Test the property 'contact' + */ + @Test + public void contactTest() { + // TODO: test contact + } + + /** + * Test the property 'name3' + */ + @Test + public void name3Test() { + // TODO: test name3 + } + + /** + * Test the property 'city' + */ + @Test + public void cityTest() { + // TODO: test city + } + + /** + * Test the property 'state' + */ + @Test + public void stateTest() { + // TODO: test state + } + + /** + * Test the property 'postalCode' + */ + @Test + public void postalCodeTest() { + // TODO: test postalCode + } + + /** + * Test the property 'addressLine4' + */ + @Test + public void addressLine4Test() { + // TODO: test addressLine4 + } + + /** + * Test the property 'countryCode' + */ + @Test + public void countryCodeTest() { + // TODO: test countryCode + } + + /** + * Test the property 'phoneNumber' + */ + @Test + public void phoneNumberTest() { + // TODO: test phoneNumber + } + + /** + * Test the property 'email' + */ + @Test + public void emailTest() { + // TODO: test email + } + +} diff --git a/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOLinesInnerEndUserInfoInnerTest.java b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOLinesInnerEndUserInfoInnerTest.java new file mode 100644 index 00000000..3ff37e09 --- /dev/null +++ b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOLinesInnerEndUserInfoInnerTest.java @@ -0,0 +1,176 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AsyncOrderCreateDTOLinesInnerEndUserInfoInner + */ +public class AsyncOrderCreateDTOLinesInnerEndUserInfoInnerTest { + private final AsyncOrderCreateDTOLinesInnerEndUserInfoInner model = new AsyncOrderCreateDTOLinesInnerEndUserInfoInner(); + + /** + * Model tests for AsyncOrderCreateDTOLinesInnerEndUserInfoInner + */ + @Test + public void testAsyncOrderCreateDTOLinesInnerEndUserInfoInner() { + // TODO: test AsyncOrderCreateDTOLinesInnerEndUserInfoInner + } + + /** + * Test the property 'endUserId' + */ + @Test + public void endUserIdTest() { + // TODO: test endUserId + } + + /** + * Test the property 'endUserType' + */ + @Test + public void endUserTypeTest() { + // TODO: test endUserType + } + + /** + * Test the property 'companyName' + */ + @Test + public void companyNameTest() { + // TODO: test companyName + } + + /** + * Test the property 'name1' + */ + @Test + public void name1Test() { + // TODO: test name1 + } + + /** + * Test the property 'name2' + */ + @Test + public void name2Test() { + // TODO: test name2 + } + + /** + * Test the property 'contactId' + */ + @Test + public void contactIdTest() { + // TODO: test contactId + } + + /** + * Test the property 'addressLine1' + */ + @Test + public void addressLine1Test() { + // TODO: test addressLine1 + } + + /** + * Test the property 'addressLine2' + */ + @Test + public void addressLine2Test() { + // TODO: test addressLine2 + } + + /** + * Test the property 'addressLine3' + */ + @Test + public void addressLine3Test() { + // TODO: test addressLine3 + } + + /** + * Test the property 'contact' + */ + @Test + public void contactTest() { + // TODO: test contact + } + + /** + * Test the property 'city' + */ + @Test + public void cityTest() { + // TODO: test city + } + + /** + * Test the property 'state' + */ + @Test + public void stateTest() { + // TODO: test state + } + + /** + * Test the property 'postalCode' + */ + @Test + public void postalCodeTest() { + // TODO: test postalCode + } + + /** + * Test the property 'addressLine4' + */ + @Test + public void addressLine4Test() { + // TODO: test addressLine4 + } + + /** + * Test the property 'countryCode' + */ + @Test + public void countryCodeTest() { + // TODO: test countryCode + } + + /** + * Test the property 'phoneNumber' + */ + @Test + public void phoneNumberTest() { + // TODO: test phoneNumber + } + + /** + * Test the property 'email' + */ + @Test + public void emailTest() { + // TODO: test email + } + +} diff --git a/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOLinesInnerTest.java b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOLinesInnerTest.java new file mode 100644 index 00000000..b6a9ab74 --- /dev/null +++ b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOLinesInnerTest.java @@ -0,0 +1,107 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import xiresellers.client.model.AsyncOrderCreateDTOLinesInnerEndUserInfoInner; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AsyncOrderCreateDTOLinesInner + */ +public class AsyncOrderCreateDTOLinesInnerTest { + private final AsyncOrderCreateDTOLinesInner model = new AsyncOrderCreateDTOLinesInner(); + + /** + * Model tests for AsyncOrderCreateDTOLinesInner + */ + @Test + public void testAsyncOrderCreateDTOLinesInner() { + // TODO: test AsyncOrderCreateDTOLinesInner + } + + /** + * Test the property 'customerLineNumber' + */ + @Test + public void customerLineNumberTest() { + // TODO: test customerLineNumber + } + + /** + * Test the property 'ingramPartNumber' + */ + @Test + public void ingramPartNumberTest() { + // TODO: test ingramPartNumber + } + + /** + * Test the property 'quantity' + */ + @Test + public void quantityTest() { + // TODO: test quantity + } + + /** + * Test the property 'unitPrice' + */ + @Test + public void unitPriceTest() { + // TODO: test unitPrice + } + + /** + * Test the property 'specialBidNumber' + */ + @Test + public void specialBidNumberTest() { + // TODO: test specialBidNumber + } + + /** + * Test the property 'endUserPrice' + */ + @Test + public void endUserPriceTest() { + // TODO: test endUserPrice + } + + /** + * Test the property 'notes' + */ + @Test + public void notesTest() { + // TODO: test notes + } + + /** + * Test the property 'endUserInfo' + */ + @Test + public void endUserInfoTest() { + // TODO: test endUserInfo + } + +} diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoTest.java b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOResellerInfoTest.java similarity index 72% rename from src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoTest.java rename to src/test/java/xiresellers/client/model/AsyncOrderCreateDTOResellerInfoTest.java index 445ccec8..e306cc81 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoTest.java +++ b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOResellerInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -24,17 +24,25 @@ import org.junit.jupiter.api.Test; /** - * Model tests for QuoteToOrderDetailsDTOEndUserInfo + * Model tests for AsyncOrderCreateDTOResellerInfo */ -public class QuoteToOrderDetailsDTOEndUserInfoTest { - private final QuoteToOrderDetailsDTOEndUserInfo model = new QuoteToOrderDetailsDTOEndUserInfo(); +public class AsyncOrderCreateDTOResellerInfoTest { + private final AsyncOrderCreateDTOResellerInfo model = new AsyncOrderCreateDTOResellerInfo(); /** - * Model tests for QuoteToOrderDetailsDTOEndUserInfo + * Model tests for AsyncOrderCreateDTOResellerInfo */ @Test - public void testQuoteToOrderDetailsDTOEndUserInfo() { - // TODO: test QuoteToOrderDetailsDTOEndUserInfo + public void testAsyncOrderCreateDTOResellerInfo() { + // TODO: test AsyncOrderCreateDTOResellerInfo + } + + /** + * Test the property 'resellerId' + */ + @Test + public void resellerIdTest() { + // TODO: test resellerId } /** @@ -77,6 +85,14 @@ public void addressLine3Test() { // TODO: test addressLine3 } + /** + * Test the property 'addressLine4' + */ + @Test + public void addressLine4Test() { + // TODO: test addressLine4 + } + /** * Test the property 'city' */ @@ -110,19 +126,19 @@ public void countryCodeTest() { } /** - * Test the property 'email' + * Test the property 'phoneNumber' */ @Test - public void emailTest() { - // TODO: test email + public void phoneNumberTest() { + // TODO: test phoneNumber } /** - * Test the property 'phoneNumber' + * Test the property 'email' */ @Test - public void phoneNumberTest() { - // TODO: test phoneNumber + public void emailTest() { + // TODO: test email } } diff --git a/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOShipToInfoTest.java b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOShipToInfoTest.java new file mode 100644 index 00000000..3f555143 --- /dev/null +++ b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOShipToInfoTest.java @@ -0,0 +1,169 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AsyncOrderCreateDTOShipToInfo + */ +public class AsyncOrderCreateDTOShipToInfoTest { + private final AsyncOrderCreateDTOShipToInfo model = new AsyncOrderCreateDTOShipToInfo(); + + /** + * Model tests for AsyncOrderCreateDTOShipToInfo + */ + @Test + public void testAsyncOrderCreateDTOShipToInfo() { + // TODO: test AsyncOrderCreateDTOShipToInfo + } + + /** + * Test the property 'addressId' + */ + @Test + public void addressIdTest() { + // TODO: test addressId + } + + /** + * Test the property 'contact' + */ + @Test + public void contactTest() { + // TODO: test contact + } + + /** + * Test the property 'companyName' + */ + @Test + public void companyNameTest() { + // TODO: test companyName + } + + /** + * Test the property 'addressLine1' + */ + @Test + public void addressLine1Test() { + // TODO: test addressLine1 + } + + /** + * Test the property 'addressLine2' + */ + @Test + public void addressLine2Test() { + // TODO: test addressLine2 + } + + /** + * Test the property 'addressLine3' + */ + @Test + public void addressLine3Test() { + // TODO: test addressLine3 + } + + /** + * Test the property 'addressLine4' + */ + @Test + public void addressLine4Test() { + // TODO: test addressLine4 + } + + /** + * Test the property 'name1' + */ + @Test + public void name1Test() { + // TODO: test name1 + } + + /** + * Test the property 'name2' + */ + @Test + public void name2Test() { + // TODO: test name2 + } + + /** + * Test the property 'city' + */ + @Test + public void cityTest() { + // TODO: test city + } + + /** + * Test the property 'state' + */ + @Test + public void stateTest() { + // TODO: test state + } + + /** + * Test the property 'postalCode' + */ + @Test + public void postalCodeTest() { + // TODO: test postalCode + } + + /** + * Test the property 'countryCode' + */ + @Test + public void countryCodeTest() { + // TODO: test countryCode + } + + /** + * Test the property 'email' + */ + @Test + public void emailTest() { + // TODO: test email + } + + /** + * Test the property 'shippingNotes' + */ + @Test + public void shippingNotesTest() { + // TODO: test shippingNotes + } + + /** + * Test the property 'phoneNumber' + */ + @Test + public void phoneNumberTest() { + // TODO: test phoneNumber + } + +} diff --git a/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOShipmentDetailsTest.java b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOShipmentDetailsTest.java new file mode 100644 index 00000000..684f34c7 --- /dev/null +++ b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOShipmentDetailsTest.java @@ -0,0 +1,88 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AsyncOrderCreateDTOShipmentDetails + */ +public class AsyncOrderCreateDTOShipmentDetailsTest { + private final AsyncOrderCreateDTOShipmentDetails model = new AsyncOrderCreateDTOShipmentDetails(); + + /** + * Model tests for AsyncOrderCreateDTOShipmentDetails + */ + @Test + public void testAsyncOrderCreateDTOShipmentDetails() { + // TODO: test AsyncOrderCreateDTOShipmentDetails + } + + /** + * Test the property 'carrierCode' + */ + @Test + public void carrierCodeTest() { + // TODO: test carrierCode + } + + /** + * Test the property 'requestedDeliveryDate' + */ + @Test + public void requestedDeliveryDateTest() { + // TODO: test requestedDeliveryDate + } + + /** + * Test the property 'shipComplete' + */ + @Test + public void shipCompleteTest() { + // TODO: test shipComplete + } + + /** + * Test the property 'shippingInstructions' + */ + @Test + public void shippingInstructionsTest() { + // TODO: test shippingInstructions + } + + /** + * Test the property 'freightAccountNumber' + */ + @Test + public void freightAccountNumberTest() { + // TODO: test freightAccountNumber + } + + /** + * Test the property 'signatureRequired' + */ + @Test + public void signatureRequiredTest() { + // TODO: test signatureRequired + } + +} diff --git a/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOTest.java b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOTest.java new file mode 100644 index 00000000..04057382 --- /dev/null +++ b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOTest.java @@ -0,0 +1,187 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import xiresellers.client.model.AsyncOrderCreateDTOAdditionalAttributesInner; +import xiresellers.client.model.AsyncOrderCreateDTOEndUserInfo; +import xiresellers.client.model.AsyncOrderCreateDTOLinesInner; +import xiresellers.client.model.AsyncOrderCreateDTOResellerInfo; +import xiresellers.client.model.AsyncOrderCreateDTOShipToInfo; +import xiresellers.client.model.AsyncOrderCreateDTOShipmentDetails; +import xiresellers.client.model.AsyncOrderCreateDTOVmfadditionalAttributesInner; +import xiresellers.client.model.AsyncOrderCreateDTOWarrantyInfoInner; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AsyncOrderCreateDTO + */ +public class AsyncOrderCreateDTOTest { + private final AsyncOrderCreateDTO model = new AsyncOrderCreateDTO(); + + /** + * Model tests for AsyncOrderCreateDTO + */ + @Test + public void testAsyncOrderCreateDTO() { + // TODO: test AsyncOrderCreateDTO + } + + /** + * Test the property 'quoteNumber' + */ + @Test + public void quoteNumberTest() { + // TODO: test quoteNumber + } + + /** + * Test the property 'customerOrderNumber' + */ + @Test + public void customerOrderNumberTest() { + // TODO: test customerOrderNumber + } + + /** + * Test the property 'endCustomerOrderNumber' + */ + @Test + public void endCustomerOrderNumberTest() { + // TODO: test endCustomerOrderNumber + } + + /** + * Test the property 'notes' + */ + @Test + public void notesTest() { + // TODO: test notes + } + + /** + * Test the property 'billToAddressId' + */ + @Test + public void billToAddressIdTest() { + // TODO: test billToAddressId + } + + /** + * Test the property 'specialBidNumber' + */ + @Test + public void specialBidNumberTest() { + // TODO: test specialBidNumber + } + + /** + * Test the property 'internalComments' + */ + @Test + public void internalCommentsTest() { + // TODO: test internalComments + } + + /** + * Test the property 'acceptBackOrder' + */ + @Test + public void acceptBackOrderTest() { + // TODO: test acceptBackOrder + } + + /** + * Test the property 'vendAuthNumber' + */ + @Test + public void vendAuthNumberTest() { + // TODO: test vendAuthNumber + } + + /** + * Test the property 'resellerInfo' + */ + @Test + public void resellerInfoTest() { + // TODO: test resellerInfo + } + + /** + * Test the property 'endUserInfo' + */ + @Test + public void endUserInfoTest() { + // TODO: test endUserInfo + } + + /** + * Test the property 'shipToInfo' + */ + @Test + public void shipToInfoTest() { + // TODO: test shipToInfo + } + + /** + * Test the property 'shipmentDetails' + */ + @Test + public void shipmentDetailsTest() { + // TODO: test shipmentDetails + } + + /** + * Test the property 'additionalAttributes' + */ + @Test + public void additionalAttributesTest() { + // TODO: test additionalAttributes + } + + /** + * Test the property 'vmfadditionalAttributes' + */ + @Test + public void vmfadditionalAttributesTest() { + // TODO: test vmfadditionalAttributes + } + + /** + * Test the property 'lines' + */ + @Test + public void linesTest() { + // TODO: test lines + } + + /** + * Test the property 'warrantyInfo' + */ + @Test + public void warrantyInfoTest() { + // TODO: test warrantyInfo + } + +} diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOVmfadditionalAttributesInnerTest.java similarity index 60% rename from src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInnerTest.java rename to src/test/java/xiresellers/client/model/AsyncOrderCreateDTOVmfadditionalAttributesInnerTest.java index b8351bee..41ea4838 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOVmfadditionalAttributesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -24,17 +24,17 @@ import org.junit.jupiter.api.Test; /** - * Model tests for QuoteToOrderDetailsDTOAdditionalAttributesInner + * Model tests for AsyncOrderCreateDTOVmfadditionalAttributesInner */ -public class QuoteToOrderDetailsDTOAdditionalAttributesInnerTest { - private final QuoteToOrderDetailsDTOAdditionalAttributesInner model = new QuoteToOrderDetailsDTOAdditionalAttributesInner(); +public class AsyncOrderCreateDTOVmfadditionalAttributesInnerTest { + private final AsyncOrderCreateDTOVmfadditionalAttributesInner model = new AsyncOrderCreateDTOVmfadditionalAttributesInner(); /** - * Model tests for QuoteToOrderDetailsDTOAdditionalAttributesInner + * Model tests for AsyncOrderCreateDTOVmfadditionalAttributesInner */ @Test - public void testQuoteToOrderDetailsDTOAdditionalAttributesInner() { - // TODO: test QuoteToOrderDetailsDTOAdditionalAttributesInner + public void testAsyncOrderCreateDTOVmfadditionalAttributesInner() { + // TODO: test AsyncOrderCreateDTOVmfadditionalAttributesInner } /** diff --git a/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInnerTest.java b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInnerTest.java new file mode 100644 index 00000000..937a436c --- /dev/null +++ b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInnerTest.java @@ -0,0 +1,72 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner + */ +public class AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInnerTest { + private final AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner model = new AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner(); + + /** + * Model tests for AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner + */ + @Test + public void testAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner() { + // TODO: test AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner + } + + /** + * Test the property 'dateOfPurchase' + */ + @Test + public void dateOfPurchaseTest() { + // TODO: test dateOfPurchase + } + + /** + * Test the property 'shipDate' + */ + @Test + public void shipDateTest() { + // TODO: test shipDate + } + + /** + * Test the property 'primarySerialNumber' + */ + @Test + public void primarySerialNumberTest() { + // TODO: test primarySerialNumber + } + + /** + * Test the property 'secondarySerialNumber' + */ + @Test + public void secondarySerialNumberTest() { + // TODO: test secondarySerialNumber + } + +} diff --git a/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerTest.java b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerTest.java new file mode 100644 index 00000000..4c69351e --- /dev/null +++ b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerTest.java @@ -0,0 +1,84 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import xiresellers.client.model.AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner; +import xiresellers.client.model.AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AsyncOrderCreateDTOWarrantyInfoInner + */ +public class AsyncOrderCreateDTOWarrantyInfoInnerTest { + private final AsyncOrderCreateDTOWarrantyInfoInner model = new AsyncOrderCreateDTOWarrantyInfoInner(); + + /** + * Model tests for AsyncOrderCreateDTOWarrantyInfoInner + */ + @Test + public void testAsyncOrderCreateDTOWarrantyInfoInner() { + // TODO: test AsyncOrderCreateDTOWarrantyInfoInner + } + + /** + * Test the property 'hardwareLineLink' + */ + @Test + public void hardwareLineLinkTest() { + // TODO: test hardwareLineLink + } + + /** + * Test the property 'warrantyLineLink' + */ + @Test + public void warrantyLineLinkTest() { + // TODO: test warrantyLineLink + } + + /** + * Test the property 'directLineLink' + */ + @Test + public void directLineLinkTest() { + // TODO: test directLineLink + } + + /** + * Test the property 'serialInfo' + */ + @Test + public void serialInfoTest() { + // TODO: test serialInfo + } + + /** + * Test the property 'vmfAdditionalAttributesLines' + */ + @Test + public void vmfAdditionalAttributesLinesTest() { + // TODO: test vmfAdditionalAttributesLines + } + +} diff --git a/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInnerTest.java b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInnerTest.java new file mode 100644 index 00000000..0a8689e4 --- /dev/null +++ b/src/test/java/xiresellers/client/model/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInnerTest.java @@ -0,0 +1,56 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner + */ +public class AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInnerTest { + private final AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner model = new AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner(); + + /** + * Model tests for AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner + */ + @Test + public void testAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner() { + // TODO: test AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner + } + + /** + * Test the property 'attributeName' + */ + @Test + public void attributeNameTest() { + // TODO: test attributeName + } + + /** + * Test the property 'attributeValue' + */ + @Test + public void attributeValueTest() { + // TODO: test attributeValue + } + +} diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderResponseTest.java b/src/test/java/xiresellers/client/model/AsyncOrderCreateResponseTest.java similarity index 68% rename from src/test/java/xiresellers/client/model/QuoteToOrderResponseTest.java rename to src/test/java/xiresellers/client/model/AsyncOrderCreateResponseTest.java index ca972cc3..3e2464c4 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderResponseTest.java +++ b/src/test/java/xiresellers/client/model/AsyncOrderCreateResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -24,17 +24,17 @@ import org.junit.jupiter.api.Test; /** - * Model tests for QuoteToOrderResponse + * Model tests for AsyncOrderCreateResponse */ -public class QuoteToOrderResponseTest { - private final QuoteToOrderResponse model = new QuoteToOrderResponse(); +public class AsyncOrderCreateResponseTest { + private final AsyncOrderCreateResponse model = new AsyncOrderCreateResponse(); /** - * Model tests for QuoteToOrderResponse + * Model tests for AsyncOrderCreateResponse */ @Test - public void testQuoteToOrderResponse() { - // TODO: test QuoteToOrderResponse + public void testAsyncOrderCreateResponse() { + // TODO: test AsyncOrderCreateResponse } /** diff --git a/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInnerTest.java index 2326b2d9..036df94d 100644 --- a/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerTest.java b/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerTest.java index f222f1dc..7e69865d 100644 --- a/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerTest.java +++ b/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestTest.java b/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestTest.java index c6680620..aee99f66 100644 --- a/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestTest.java +++ b/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/DealsDetailsResponseProductsInnerTest.java b/src/test/java/xiresellers/client/model/DealsDetailsResponseProductsInnerTest.java index b40f0c9e..fe21fd14 100644 --- a/src/test/java/xiresellers/client/model/DealsDetailsResponseProductsInnerTest.java +++ b/src/test/java/xiresellers/client/model/DealsDetailsResponseProductsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/DealsDetailsResponseTest.java b/src/test/java/xiresellers/client/model/DealsDetailsResponseTest.java index 83b1f7c5..382171f7 100644 --- a/src/test/java/xiresellers/client/model/DealsDetailsResponseTest.java +++ b/src/test/java/xiresellers/client/model/DealsDetailsResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/DealsSearchResponseDealsInnerTest.java b/src/test/java/xiresellers/client/model/DealsSearchResponseDealsInnerTest.java index ddea73c2..717051e3 100644 --- a/src/test/java/xiresellers/client/model/DealsSearchResponseDealsInnerTest.java +++ b/src/test/java/xiresellers/client/model/DealsSearchResponseDealsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/DealsSearchResponseTest.java b/src/test/java/xiresellers/client/model/DealsSearchResponseTest.java index 4e1f2361..002ebb05 100644 --- a/src/test/java/xiresellers/client/model/DealsSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/DealsSearchResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ErrorResponseDTOTest.java b/src/test/java/xiresellers/client/model/ErrorResponseDTOTest.java index a12fa683..b0bc3849 100644 --- a/src/test/java/xiresellers/client/model/ErrorResponseDTOTest.java +++ b/src/test/java/xiresellers/client/model/ErrorResponseDTOTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInnerTest.java b/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInnerTest.java index 243e216a..ba008a04 100644 --- a/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerTest.java b/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerTest.java index 58618461..2197fcdf 100644 --- a/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ErrorResponseTest.java b/src/test/java/xiresellers/client/model/ErrorResponseTest.java index 2ed0d1a6..c515458f 100644 --- a/src/test/java/xiresellers/client/model/ErrorResponseTest.java +++ b/src/test/java/xiresellers/client/model/ErrorResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ErrorTest.java b/src/test/java/xiresellers/client/model/ErrorTest.java index c5a65ac1..0cbebfdf 100644 --- a/src/test/java/xiresellers/client/model/ErrorTest.java +++ b/src/test/java/xiresellers/client/model/ErrorTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/FieldsTest.java b/src/test/java/xiresellers/client/model/FieldsTest.java index 3b4274e8..882a5bee 100644 --- a/src/test/java/xiresellers/client/model/FieldsTest.java +++ b/src/test/java/xiresellers/client/model/FieldsTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/FreightRequestLinesInnerTest.java b/src/test/java/xiresellers/client/model/FreightRequestLinesInnerTest.java index 73e915c3..f6b70d63 100644 --- a/src/test/java/xiresellers/client/model/FreightRequestLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/FreightRequestLinesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/FreightRequestShipToAddressInnerTest.java b/src/test/java/xiresellers/client/model/FreightRequestShipToAddressInnerTest.java index 2abbdde7..4702a156 100644 --- a/src/test/java/xiresellers/client/model/FreightRequestShipToAddressInnerTest.java +++ b/src/test/java/xiresellers/client/model/FreightRequestShipToAddressInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/FreightRequestTest.java b/src/test/java/xiresellers/client/model/FreightRequestTest.java index 6c9261c7..29d7dc82 100644 --- a/src/test/java/xiresellers/client/model/FreightRequestTest.java +++ b/src/test/java/xiresellers/client/model/FreightRequestTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInnerTest.java b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInnerTest.java index 26e88517..4ae15eba 100644 --- a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInnerTest.java +++ b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -19,7 +19,6 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.math.BigDecimal; import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerTest.java b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerTest.java index 0cb94e13..643df1f2 100644 --- a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerTest.java +++ b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInnerTest.java b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInnerTest.java index d3ae095a..a5a78923 100644 --- a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseTest.java b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseTest.java index 8315e763..0d37eea0 100644 --- a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseTest.java +++ b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/FreightResponseTest.java b/src/test/java/xiresellers/client/model/FreightResponseTest.java index 4159d266..6701ad9c 100644 --- a/src/test/java/xiresellers/client/model/FreightResponseTest.java +++ b/src/test/java/xiresellers/client/model/FreightResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/GetAccesstoken400ResponseTest.java b/src/test/java/xiresellers/client/model/GetAccesstoken400ResponseTest.java index 7d2943bf..79dc22a1 100644 --- a/src/test/java/xiresellers/client/model/GetAccesstoken400ResponseTest.java +++ b/src/test/java/xiresellers/client/model/GetAccesstoken400ResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/GetAccesstoken500ResponseFaultDetailTest.java b/src/test/java/xiresellers/client/model/GetAccesstoken500ResponseFaultDetailTest.java index 4b7fc288..0f605a87 100644 --- a/src/test/java/xiresellers/client/model/GetAccesstoken500ResponseFaultDetailTest.java +++ b/src/test/java/xiresellers/client/model/GetAccesstoken500ResponseFaultDetailTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/GetAccesstoken500ResponseFaultTest.java b/src/test/java/xiresellers/client/model/GetAccesstoken500ResponseFaultTest.java index a0a91c5b..6c933ef8 100644 --- a/src/test/java/xiresellers/client/model/GetAccesstoken500ResponseFaultTest.java +++ b/src/test/java/xiresellers/client/model/GetAccesstoken500ResponseFaultTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/GetAccesstoken500ResponseTest.java b/src/test/java/xiresellers/client/model/GetAccesstoken500ResponseTest.java index d212142d..03809333 100644 --- a/src/test/java/xiresellers/client/model/GetAccesstoken500ResponseTest.java +++ b/src/test/java/xiresellers/client/model/GetAccesstoken500ResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInnerTest.java b/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInnerTest.java index c4884235..d7b9d795 100644 --- a/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInnerTest.java +++ b/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseTest.java b/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseTest.java index 7b325e22..5eed0aa6 100644 --- a/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseTest.java +++ b/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfoTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfoTest.java index ce511b40..3108ebf8 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfoTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfoTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfoTest.java index 17fb7434..c2276500 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfoTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInnerTest.java index 2390d999..a6a2f73e 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInnerTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerTest.java index 49efe26b..b1dc086a 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfoTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfoTest.java index a52900c6..f2ef4642 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfoTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfoTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfoTest.java index 5ee982ce..67bf8e67 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotalsTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotalsTest.java index 6f237686..ddb99215 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotalsTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotalsTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLinesTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLinesTest.java index 27f91183..8caec693 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLinesTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLinesTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInnerTest.java index 7e0d5623..cce2acc5 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInnerTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTest.java index 9ff17549..51f1414e 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotalsTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotalsTest.java index c8c0b3d7..7132d96c 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotalsTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotalsTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -70,11 +70,11 @@ public void totalTaxAmountTest() { } /** - * Test the property 'invoicesAmountDue' + * Test the property 'invoicedAmountDue' */ @Test - public void invoicesAmountDueTest() { - // TODO: test invoicesAmountDue + public void invoicedAmountDueTest() { + // TODO: test invoicedAmountDue } /** diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseTest.java index 122a2ecf..b9074a86 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInnerTest.java index 61d7cfc5..84a911d6 100644 --- a/src/test/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInnerTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -20,7 +20,9 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.math.BigDecimal; +import java.util.ArrayList; import java.util.Arrays; +import java.util.List; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -46,6 +48,14 @@ public void paymentTermsDueDateTest() { // TODO: test paymentTermsDueDate } + /** + * Test the property 'specialBidNumbers' + */ + @Test + public void specialBidNumbersTest() { + // TODO: test specialBidNumbers + } + /** * Test the property 'erpOrderNumber' */ diff --git a/src/test/java/xiresellers/client/model/InvoiceSearchResponseTest.java b/src/test/java/xiresellers/client/model/InvoiceSearchResponseTest.java index 35def7d7..377405b2 100644 --- a/src/test/java/xiresellers/client/model/InvoiceSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceSearchResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInnerTest.java index c32e3aa7..b8cc7473 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestEndUserInfoTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestEndUserInfoTest.java index 9fe75fd8..3ab561f1 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestEndUserInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestEndUserInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInnerTest.java index da2f583f..74345063 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInnerTest.java index 79878e9d..fdad546e 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerTest.java index 6b17cc2a..70efb8e7 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInnerTest.java index f2aecb90..42b70211 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerTest.java index 6a0079cf..a03eab4b 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestResellerInfoTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestResellerInfoTest.java index 28dd0e30..0ab73bbf 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestResellerInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestResellerInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestShipToInfoTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestShipToInfoTest.java index 9cdb0ccb..39158745 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestShipToInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestShipmentDetailsTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestShipmentDetailsTest.java index 64eb3971..409606ce 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestShipmentDetailsTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestShipmentDetailsTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestTest.java index e2536726..2352adb2 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestVmfTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestVmfTest.java index 0f6b0871..fc271085 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestVmfTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestVmfTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseEndUserInfoTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseEndUserInfoTest.java index f6f195ad..18a1d6a2 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseEndUserInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseEndUserInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInnerTest.java index 956b82d6..852aa4c0 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInnerTest.java index 96d46ba0..da5504df 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInnerTest.java index 82a8bf21..f9062af0 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerTest.java index e1f3222b..11364c46 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInnerTest.java index 1c065571..11442464 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInnerTest.java index 63ddee46..7c0c8ef4 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInnerTest.java index 5534d0e4..a9fc2382 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerTest.java index f99bdf4e..4bf5b54a 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseShipToInfoTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseShipToInfoTest.java index fa4b08c8..f34db25c 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseShipToInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseTest.java index d9d2d282..371a0fda 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInnerTest.java index 2e33b3c7..fc90f543 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BBillToInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BBillToInfoTest.java index f3737f6c..f8f2f952 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BBillToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BBillToInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BEndUserInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BEndUserInfoTest.java index 4d34954e..da1b1ef6 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BEndUserInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BEndUserInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInnerTest.java index 935bc206..e221c9cf 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRangeTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRangeTest.java index 93fa299f..77dd00de 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRangeTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRangeTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryTest.java index 8ff690fb..87a85abd 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -71,11 +71,11 @@ public void deliveryDescriptionTest() { } /** - * Test the property 'deliveredDate' + * Test the property 'deliveryDate' */ @Test - public void deliveredDateTest() { - // TODO: test deliveredDate + public void deliveryDateTest() { + // TODO: test deliveryDate } } diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRangeTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRangeTest.java index da51b622..b6ab6109 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRangeTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRangeTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipTest.java index d75e1eb0..5596fb1c 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerTest.java index a952c677..8a5ced0d 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInnerTest.java index a1628920..757b329a 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInnerTest.java index e13c0eae..ad1e101c 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInnerTest.java index 9f91686b..f71782cf 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfoTest.java index 8e976bd0..ac7628fb 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfoTest.java index 8b6ab99c..46f863ec 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptionsTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptionsTest.java index e38b8fb2..4e5820f9 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptionsTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptionsTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoTest.java index 9e517b22..46eb95e0 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTest.java index 11cc9ae7..d83c90d3 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInnerTest.java index f0c5d2f1..e209cd5c 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerTest.java index 20388a72..8871cdbb 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerTest.java index 8deaafcc..dcdc2923 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerTest.java index bdbb1583..b73f338a 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -295,4 +295,12 @@ public void multipleShipmentsTest() { // TODO: test multipleShipments } + /** + * Test the property 'defaultCarrierName' + */ + @Test + public void defaultCarrierNameTest() { + // TODO: test defaultCarrierName + } + } diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInnerTest.java index 1f5ffb27..e9041744 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BShipToInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BShipToInfoTest.java index 302fd151..46ab9fe0 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BShipToInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BTest.java index 77bd3263..c21122cc 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInnerTest.java index 7ca65a47..2bac76bb 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestLinesInnerTest.java index 37af6661..96255a2a 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyRequestLinesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestShipToInfoTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestShipToInfoTest.java index 42f0c7fb..7ccfab4f 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyRequestShipToInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestTest.java index 54bca32e..24b4e6cc 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyRequestTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInnerTest.java index c20b07d2..0c9a3fea 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetailsTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetailsTest.java index 70b15454..87f7a637 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetailsTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetailsTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerTest.java index 41da6fe2..e2161055 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInnerTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInnerTest.java index 079849f4..97160911 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseShipToInfoTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseShipToInfoTest.java index 934ecd31..8154c172 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseShipToInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseTest.java index d180a73e..6aa1939b 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinksTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinksTest.java index 5d0d01b4..58d280d5 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinksTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinksTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInnerTest.java index fd1e61f1..22952d47 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerTest.java index 982fa78e..b462a431 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerTest.java index 787620fc..6a8a1052 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseTest.java index abe18517..af91aada 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInnerTest.java index ec500d62..cd9dcac7 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInnerTest.java index 7b0ed6db..59224d93 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerTest.java index e4e7fcef..4a116ad2 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerTest.java index c12cb081..851be0b2 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInnerTest.java index 4340d901..97ce9406 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerTest.java index 8f251711..43ae393f 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestTest.java index 4d432760..a34e9864 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInnerTest.java b/src/test/java/xiresellers/client/model/PostCreateorderV7400ResponseFieldsInnerTest.java similarity index 62% rename from src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInnerTest.java rename to src/test/java/xiresellers/client/model/PostCreateorderV7400ResponseFieldsInnerTest.java index f5c77f7e..dd04e88f 100644 --- a/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInnerTest.java +++ b/src/test/java/xiresellers/client/model/PostCreateorderV7400ResponseFieldsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -24,17 +24,17 @@ import org.junit.jupiter.api.Test; /** - * Model tests for PostQuoteToOrderV6400ResponseFieldsInner + * Model tests for PostCreateorderV7400ResponseFieldsInner */ -public class PostQuoteToOrderV6400ResponseFieldsInnerTest { - private final PostQuoteToOrderV6400ResponseFieldsInner model = new PostQuoteToOrderV6400ResponseFieldsInner(); +public class PostCreateorderV7400ResponseFieldsInnerTest { + private final PostCreateorderV7400ResponseFieldsInner model = new PostCreateorderV7400ResponseFieldsInner(); /** - * Model tests for PostQuoteToOrderV6400ResponseFieldsInner + * Model tests for PostCreateorderV7400ResponseFieldsInner */ @Test - public void testPostQuoteToOrderV6400ResponseFieldsInner() { - // TODO: test PostQuoteToOrderV6400ResponseFieldsInner + public void testPostCreateorderV7400ResponseFieldsInner() { + // TODO: test PostCreateorderV7400ResponseFieldsInner } /** diff --git a/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseTest.java b/src/test/java/xiresellers/client/model/PostCreateorderV7400ResponseTest.java similarity index 66% rename from src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseTest.java rename to src/test/java/xiresellers/client/model/PostCreateorderV7400ResponseTest.java index e774a64b..d68195ec 100644 --- a/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseTest.java +++ b/src/test/java/xiresellers/client/model/PostCreateorderV7400ResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -22,22 +22,22 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import xiresellers.client.model.PostQuoteToOrderV6400ResponseFieldsInner; +import xiresellers.client.model.PostCreateorderV7400ResponseFieldsInner; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; /** - * Model tests for PostQuoteToOrderV6400Response + * Model tests for PostCreateorderV7400Response */ -public class PostQuoteToOrderV6400ResponseTest { - private final PostQuoteToOrderV6400Response model = new PostQuoteToOrderV6400Response(); +public class PostCreateorderV7400ResponseTest { + private final PostCreateorderV7400Response model = new PostCreateorderV7400Response(); /** - * Model tests for PostQuoteToOrderV6400Response + * Model tests for PostCreateorderV7400Response */ @Test - public void testPostQuoteToOrderV6400Response() { - // TODO: test PostQuoteToOrderV6400Response + public void testPostCreateorderV7400Response() { + // TODO: test PostCreateorderV7400Response } /** diff --git a/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote500ResponseTest.java b/src/test/java/xiresellers/client/model/PostCreateorderV7500ResponseTest.java similarity index 67% rename from src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote500ResponseTest.java rename to src/test/java/xiresellers/client/model/PostCreateorderV7500ResponseTest.java index 1b6582bc..741ab803 100644 --- a/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote500ResponseTest.java +++ b/src/test/java/xiresellers/client/model/PostCreateorderV7500ResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -26,17 +26,17 @@ import org.junit.jupiter.api.Test; /** - * Model tests for GetResellerV6ValidateQuote500Response + * Model tests for PostCreateorderV7500Response */ -public class GetResellerV6ValidateQuote500ResponseTest { - private final GetResellerV6ValidateQuote500Response model = new GetResellerV6ValidateQuote500Response(); +public class PostCreateorderV7500ResponseTest { + private final PostCreateorderV7500Response model = new PostCreateorderV7500Response(); /** - * Model tests for GetResellerV6ValidateQuote500Response + * Model tests for PostCreateorderV7500Response */ @Test - public void testGetResellerV6ValidateQuote500Response() { - // TODO: test GetResellerV6ValidateQuote500Response + public void testPostCreateorderV7500Response() { + // TODO: test PostCreateorderV7500Response } /** diff --git a/src/test/java/xiresellers/client/model/PostRenewalssearch400ResponseTest.java b/src/test/java/xiresellers/client/model/PostRenewalssearch400ResponseTest.java index e00349eb..a1dbe0f9 100644 --- a/src/test/java/xiresellers/client/model/PostRenewalssearch400ResponseTest.java +++ b/src/test/java/xiresellers/client/model/PostRenewalssearch400ResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInnerTest.java index d8afbe93..70ba2a88 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInnerTest.java index b1862b8c..95b8fce0 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInnerTest.java index 524aa015..e0831155 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerTest.java index a8d2ebae..2d0b8816 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestTest.java index deb43bba..ebda1d3a 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInnerTest.java index a03bc690..4ebd4978 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerTest.java index 3a51f0e6..43939fc7 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityTest.java index e835a237..ca946633 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInnerTest.java index dcec83ae..ee8f6a83 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInnerTest.java index bbaffc16..07c21ad6 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerTest.java index f8d772c2..e40f05e2 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricingTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricingTest.java index 26505dbc..e48c4d1a 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricingTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricingTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInnerTest.java index baa75da7..256bef13 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInnerTest.java index 8cec5446..39c65cc1 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerTest.java index 55482183..abaa1841 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInnerTest.java b/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInnerTest.java index 056e750d..27a26050 100644 --- a/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInnerTest.java +++ b/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationTest.java b/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationTest.java index 0f334fb5..709538a7 100644 --- a/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationTest.java +++ b/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ProductDetailResponseCiscoFieldsTest.java b/src/test/java/xiresellers/client/model/ProductDetailResponseCiscoFieldsTest.java index d7e34603..2dd3a126 100644 --- a/src/test/java/xiresellers/client/model/ProductDetailResponseCiscoFieldsTest.java +++ b/src/test/java/xiresellers/client/model/ProductDetailResponseCiscoFieldsTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ProductDetailResponseIndicatorsTest.java b/src/test/java/xiresellers/client/model/ProductDetailResponseIndicatorsTest.java index bc802677..20db80bc 100644 --- a/src/test/java/xiresellers/client/model/ProductDetailResponseIndicatorsTest.java +++ b/src/test/java/xiresellers/client/model/ProductDetailResponseIndicatorsTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInnerTest.java b/src/test/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInnerTest.java index e82dc59f..e29e8f09 100644 --- a/src/test/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ProductDetailResponseTest.java b/src/test/java/xiresellers/client/model/ProductDetailResponseTest.java index 4d548116..ddc225b5 100644 --- a/src/test/java/xiresellers/client/model/ProductDetailResponseTest.java +++ b/src/test/java/xiresellers/client/model/ProductDetailResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInnerTest.java index 476a5fa7..e1e829c5 100644 --- a/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerTest.java b/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerTest.java index 56606111..4cb61289 100644 --- a/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerTest.java +++ b/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ProductSearchResponseTest.java b/src/test/java/xiresellers/client/model/ProductSearchResponseTest.java index 880eb1b2..33628fc0 100644 --- a/src/test/java/xiresellers/client/model/ProductSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/ProductSearchResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInnerTest.java index efb97618..2f93572f 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfoTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfoTest.java index c266b602..7b6a55c3 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfoTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerBillDetailsInnerTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerBillDetailsInnerTest.java new file mode 100644 index 00000000..aa66a6be --- /dev/null +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerBillDetailsInnerTest.java @@ -0,0 +1,72 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for QuoteDetailsResponseProductsInnerBillDetailsInner + */ +public class QuoteDetailsResponseProductsInnerBillDetailsInnerTest { + private final QuoteDetailsResponseProductsInnerBillDetailsInner model = new QuoteDetailsResponseProductsInnerBillDetailsInner(); + + /** + * Model tests for QuoteDetailsResponseProductsInnerBillDetailsInner + */ + @Test + public void testQuoteDetailsResponseProductsInnerBillDetailsInner() { + // TODO: test QuoteDetailsResponseProductsInnerBillDetailsInner + } + + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } + + /** + * Test the property 'unit' + */ + @Test + public void unitTest() { + // TODO: test unit + } + + /** + * Test the property 'frequency' + */ + @Test + public void frequencyTest() { + // TODO: test frequency + } + + /** + * Test the property 'unitValue' + */ + @Test + public void unitValueTest() { + // TODO: test unitValue + } + +} diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceDiscountsInnerTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceDiscountsInnerTest.java new file mode 100644 index 00000000..db5cad73 --- /dev/null +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceDiscountsInnerTest.java @@ -0,0 +1,129 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for QuoteDetailsResponseProductsInnerPriceDiscountsInner + */ +public class QuoteDetailsResponseProductsInnerPriceDiscountsInnerTest { + private final QuoteDetailsResponseProductsInnerPriceDiscountsInner model = new QuoteDetailsResponseProductsInnerPriceDiscountsInner(); + + /** + * Model tests for QuoteDetailsResponseProductsInnerPriceDiscountsInner + */ + @Test + public void testQuoteDetailsResponseProductsInnerPriceDiscountsInner() { + // TODO: test QuoteDetailsResponseProductsInnerPriceDiscountsInner + } + + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } + + /** + * Test the property 'amount' + */ + @Test + public void amountTest() { + // TODO: test amount + } + + /** + * Test the property 'expirationDate' + */ + @Test + public void expirationDateTest() { + // TODO: test expirationDate + } + + /** + * Test the property 'description' + */ + @Test + public void descriptionTest() { + // TODO: test description + } + + /** + * Test the property 'avaliableQunatity' + */ + @Test + public void avaliableQunatityTest() { + // TODO: test avaliableQunatity + } + + /** + * Test the property 'minimumQuantity' + */ + @Test + public void minimumQuantityTest() { + // TODO: test minimumQuantity + } + + /** + * Test the property 'bidNumber' + */ + @Test + public void bidNumberTest() { + // TODO: test bidNumber + } + + /** + * Test the property 'bidVersion' + */ + @Test + public void bidVersionTest() { + // TODO: test bidVersion + } + + /** + * Test the property 'validFrom' + */ + @Test + public void validFromTest() { + // TODO: test validFrom + } + + /** + * Test the property 'validTo' + */ + @Test + public void validToTest() { + // TODO: test validTo + } + + /** + * Test the property 'discountOffList' + */ + @Test + public void discountOffListTest() { + // TODO: test discountOffList + } + +} diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInnerTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInnerTest.java new file mode 100644 index 00000000..27ad0ff5 --- /dev/null +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInnerTest.java @@ -0,0 +1,57 @@ +/* + * XI Sdk Resellers + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package xiresellers.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner + */ +public class QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInnerTest { + private final QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner model = new QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner(); + + /** + * Model tests for QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner + */ + @Test + public void testQuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner() { + // TODO: test QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner + } + + /** + * Test the property 'extraFeesDescription' + */ + @Test + public void extraFeesDescriptionTest() { + // TODO: test extraFeesDescription + } + + /** + * Test the property 'extraFeesAmount' + */ + @Test + public void extraFeesAmountTest() { + // TODO: test extraFeesAmount + } + +} diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceTest.java index f4a6af62..1d192f17 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -20,7 +20,12 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.math.BigDecimal; +import java.util.ArrayList; import java.util.Arrays; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import xiresellers.client.model.QuoteDetailsResponseProductsInnerPriceDiscountsInner; +import xiresellers.client.model.QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -79,43 +84,59 @@ public void discountOffListTest() { } /** - * Test the property 'vendorprice' + * Test the property 'type' */ @Test - public void vendorpriceTest() { - // TODO: test vendorprice + public void typeTest() { + // TODO: test type } /** - * Test the property 'extendedvendorprice' + * Test the property 'recurringPriceModel' */ @Test - public void extendedvendorpriceTest() { - // TODO: test extendedvendorprice + public void recurringPriceModelTest() { + // TODO: test recurringPriceModel } /** - * Test the property 'totalVisibleReserveQuantity' + * Test the property 'unitOfMeasure' */ @Test - public void totalVisibleReserveQuantityTest() { - // TODO: test totalVisibleReserveQuantity + public void unitOfMeasureTest() { + // TODO: test unitOfMeasure } /** - * Test the property 'type' + * Test the property 'tax' */ @Test - public void typeTest() { - // TODO: test type + public void taxTest() { + // TODO: test tax } /** - * Test the property 'recurringPriceModel' + * Test the property 'extrafees' */ @Test - public void recurringPriceModelTest() { - // TODO: test recurringPriceModel + public void extrafeesTest() { + // TODO: test extrafees + } + + /** + * Test the property 'extraFeesDetails' + */ + @Test + public void extraFeesDetailsTest() { + // TODO: test extraFeesDetails + } + + /** + * Test the property 'discounts' + */ + @Test + public void discountsTest() { + // TODO: test discounts } } diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerTest.java index b35dd983..2722cec5 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -19,7 +19,11 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; import java.util.Arrays; +import java.util.List; +import xiresellers.client.model.QuoteDetailsResponseProductsInnerBillDetailsInner; import xiresellers.client.model.QuoteDetailsResponseProductsInnerPrice; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -166,6 +170,14 @@ public void termsTest() { // TODO: test terms } + /** + * Test the property 'planDescription' + */ + @Test + public void planDescriptionTest() { + // TODO: test planDescription + } + /** * Test the property 'isSubscription' */ @@ -182,6 +194,38 @@ public void resellerMarginTest() { // TODO: test resellerMargin } + /** + * Test the property 'requestedStartDate' + */ + @Test + public void requestedStartDateTest() { + // TODO: test requestedStartDate + } + + /** + * Test the property 'startDate' + */ + @Test + public void startDateTest() { + // TODO: test startDate + } + + /** + * Test the property 'endDate' + */ + @Test + public void endDateTest() { + // TODO: test endDate + } + + /** + * Test the property 'serialNumber' + */ + @Test + public void serialNumberTest() { + // TODO: test serialNumber + } + /** * Test the property 'price' */ @@ -190,4 +234,12 @@ public void priceTest() { // TODO: test price } + /** + * Test the property 'billDetails' + */ + @Test + public void billDetailsTest() { + // TODO: test billDetails + } + } diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseResellerInfoTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseResellerInfoTest.java index 1a98b3a6..13ed9463 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseResellerInfoTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseResellerInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseShippingInfoTest.java similarity index 65% rename from src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoTest.java rename to src/test/java/xiresellers/client/model/QuoteDetailsResponseShippingInfoTest.java index d40635c4..14ba1465 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseShippingInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -20,30 +20,21 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.util.Arrays; -import org.openapitools.jackson.nullable.JsonNullable; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; /** - * Model tests for QuoteToOrderDetailsDTOShipToInfo + * Model tests for QuoteDetailsResponseShippingInfo */ -public class QuoteToOrderDetailsDTOShipToInfoTest { - private final QuoteToOrderDetailsDTOShipToInfo model = new QuoteToOrderDetailsDTOShipToInfo(); +public class QuoteDetailsResponseShippingInfoTest { + private final QuoteDetailsResponseShippingInfo model = new QuoteDetailsResponseShippingInfo(); /** - * Model tests for QuoteToOrderDetailsDTOShipToInfo + * Model tests for QuoteDetailsResponseShippingInfo */ @Test - public void testQuoteToOrderDetailsDTOShipToInfo() { - // TODO: test QuoteToOrderDetailsDTOShipToInfo - } - - /** - * Test the property 'addressId' - */ - @Test - public void addressIdTest() { - // TODO: test addressId + public void testQuoteDetailsResponseShippingInfo() { + // TODO: test QuoteDetailsResponseShippingInfo } /** @@ -54,14 +45,6 @@ public void companyNameTest() { // TODO: test companyName } - /** - * Test the property 'contact' - */ - @Test - public void contactTest() { - // TODO: test contact - } - /** * Test the property 'addressLine1' */ @@ -103,27 +86,35 @@ public void stateTest() { } /** - * Test the property 'postalCode' + * Test the property 'email' */ @Test - public void postalCodeTest() { - // TODO: test postalCode + public void emailTest() { + // TODO: test email } /** - * Test the property 'countryCode' + * Test the property 'phoneNumber' */ @Test - public void countryCodeTest() { - // TODO: test countryCode + public void phoneNumberTest() { + // TODO: test phoneNumber } /** - * Test the property 'email' + * Test the property 'postalCode' */ @Test - public void emailTest() { - // TODO: test email + public void postalCodeTest() { + // TODO: test postalCode + } + + /** + * Test the property 'shpToGstinNumber' + */ + @Test + public void shpToGstinNumberTest() { + // TODO: test shpToGstinNumber } } diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseTest.java index bef1243b..a114895b 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -19,13 +19,17 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.math.BigDecimal; import java.util.ArrayList; import java.util.Arrays; import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; import xiresellers.client.model.QuoteDetailsResponseAdditionalAttributesInner; import xiresellers.client.model.QuoteDetailsResponseEndUserInfo; import xiresellers.client.model.QuoteDetailsResponseProductsInner; +import xiresellers.client.model.QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner; import xiresellers.client.model.QuoteDetailsResponseResellerInfo; +import xiresellers.client.model.QuoteDetailsResponseShippingInfo; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -59,6 +63,14 @@ public void quoteNumberTest() { // TODO: test quoteNumber } + /** + * Test the property 'quoteGuid' + */ + @Test + public void quoteGuidTest() { + // TODO: test quoteGuid + } + /** * Test the property 'revision' */ @@ -123,6 +135,14 @@ public void specialBidExpirationDateTest() { // TODO: test specialBidExpirationDate } + /** + * Test the property 'vendorQuoteNumber' + */ + @Test + public void vendorQuoteNumberTest() { + // TODO: test vendorQuoteNumber + } + /** * Test the property 'status' */ @@ -131,6 +151,14 @@ public void statusTest() { // TODO: test status } + /** + * Test the property 'statusReason' + */ + @Test + public void statusReasonTest() { + // TODO: test statusReason + } + /** * Test the property 'closingReason' */ @@ -212,11 +240,27 @@ public void leasingInstructionsTest() { } /** - * Test the property 'quoteSubType' + * Test the property 'imWarehouse' + */ + @Test + public void imWarehouseTest() { + // TODO: test imWarehouse + } + + /** + * Test the property 'imWarehouseGstNumber' + */ + @Test + public void imWarehouseGstNumberTest() { + // TODO: test imWarehouseGstNumber + } + + /** + * Test the property 'paymentTermsName' */ @Test - public void quoteSubTypeTest() { - // TODO: test quoteSubType + public void paymentTermsNameTest() { + // TODO: test paymentTermsName } /** @@ -235,6 +279,14 @@ public void endUserInfoTest() { // TODO: test endUserInfo } + /** + * Test the property 'shippingInfo' + */ + @Test + public void shippingInfoTest() { + // TODO: test shippingInfo + } + /** * Test the property 'products' */ @@ -267,6 +319,30 @@ public void quantityTotalTest() { // TODO: test quantityTotal } + /** + * Test the property 'extraFeesTotal' + */ + @Test + public void extraFeesTotalTest() { + // TODO: test extraFeesTotal + } + + /** + * Test the property 'extraFeesTotalDetails' + */ + @Test + public void extraFeesTotalDetailsTest() { + // TODO: test extraFeesTotalDetails + } + + /** + * Test the property 'taxTotal' + */ + @Test + public void taxTotalTest() { + // TODO: test taxTotal + } + /** * Test the property 'extendedQuotePriceTotal' */ @@ -275,6 +351,14 @@ public void extendedQuotePriceTotalTest() { // TODO: test extendedQuotePriceTotal } + /** + * Test the property 'freightAmount' + */ + @Test + public void freightAmountTest() { + // TODO: test freightAmount + } + /** * Test the property 'totalQuoteAmount' */ diff --git a/src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerLinksTest.java b/src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerLinksTest.java index 22e51a15..a10aa6e5 100644 --- a/src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerLinksTest.java +++ b/src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerLinksTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerTest.java b/src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerTest.java index e2f72ed0..e4dad7ae 100644 --- a/src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -71,6 +71,14 @@ public void revisionTest() { // TODO: test revision } + /** + * Test the property 'currencyCode' + */ + @Test + public void currencyCodeTest() { + // TODO: test currencyCode + } + /** * Test the property 'endUserContact' */ diff --git a/src/test/java/xiresellers/client/model/QuoteSearchResponseTest.java b/src/test/java/xiresellers/client/model/QuoteSearchResponseTest.java index bebef03a..4037478a 100644 --- a/src/test/java/xiresellers/client/model/QuoteSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/QuoteSearchResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -72,4 +72,20 @@ public void quotesTest() { // TODO: test quotes } + /** + * Test the property 'nextPage' + */ + @Test + public void nextPageTest() { + // TODO: test nextPage + } + + /** + * Test the property 'prevPage' + */ + @Test + public void prevPageTest() { + // TODO: test prevPage + } + } diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerTest.java b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerTest.java deleted file mode 100644 index 61ad3685..00000000 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerTest.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package xiresellers.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteToOrderDetailsDTOLinesInner - */ -public class QuoteToOrderDetailsDTOLinesInnerTest { - private final QuoteToOrderDetailsDTOLinesInner model = new QuoteToOrderDetailsDTOLinesInner(); - - /** - * Model tests for QuoteToOrderDetailsDTOLinesInner - */ - @Test - public void testQuoteToOrderDetailsDTOLinesInner() { - // TODO: test QuoteToOrderDetailsDTOLinesInner - } - - /** - * Test the property 'customerLineNumber' - */ - @Test - public void customerLineNumberTest() { - // TODO: test customerLineNumber - } - - /** - * Test the property 'ingramPartNumber' - */ - @Test - public void ingramPartNumberTest() { - // TODO: test ingramPartNumber - } - - /** - * Test the property 'quantity' - */ - @Test - public void quantityTest() { - // TODO: test quantity - } - - /** - * Test the property 'vmfAdditionalAttributesLines' - */ - @Test - public void vmfAdditionalAttributesLinesTest() { - // TODO: test vmfAdditionalAttributesLines - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOTest.java b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOTest.java deleted file mode 100644 index 9b91991a..00000000 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOTest.java +++ /dev/null @@ -1,120 +0,0 @@ -/* - * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package xiresellers.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.openapitools.jackson.nullable.JsonNullable; -import xiresellers.client.model.QuoteToOrderDetailsDTOAdditionalAttributesInner; -import xiresellers.client.model.QuoteToOrderDetailsDTOEndUserInfo; -import xiresellers.client.model.QuoteToOrderDetailsDTOLinesInner; -import xiresellers.client.model.QuoteToOrderDetailsDTOShipToInfo; -import xiresellers.client.model.QuoteToOrderDetailsDTOVmfadditionalAttributesInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteToOrderDetailsDTO - */ -public class QuoteToOrderDetailsDTOTest { - private final QuoteToOrderDetailsDTO model = new QuoteToOrderDetailsDTO(); - - /** - * Model tests for QuoteToOrderDetailsDTO - */ - @Test - public void testQuoteToOrderDetailsDTO() { - // TODO: test QuoteToOrderDetailsDTO - } - - /** - * Test the property 'quoteNumber' - */ - @Test - public void quoteNumberTest() { - // TODO: test quoteNumber - } - - /** - * Test the property 'customerOrderNumber' - */ - @Test - public void customerOrderNumberTest() { - // TODO: test customerOrderNumber - } - - /** - * Test the property 'enduserOrderNumber' - */ - @Test - public void enduserOrderNumberTest() { - // TODO: test enduserOrderNumber - } - - /** - * Test the property 'billToAddressId' - */ - @Test - public void billToAddressIdTest() { - // TODO: test billToAddressId - } - - /** - * Test the property 'endUserInfo' - */ - @Test - public void endUserInfoTest() { - // TODO: test endUserInfo - } - - /** - * Test the property 'shipToInfo' - */ - @Test - public void shipToInfoTest() { - // TODO: test shipToInfo - } - - /** - * Test the property 'additionalAttributes' - */ - @Test - public void additionalAttributesTest() { - // TODO: test additionalAttributes - } - - /** - * Test the property 'vmfadditionalAttributes' - */ - @Test - public void vmfadditionalAttributesTest() { - // TODO: test vmfadditionalAttributes - } - - /** - * Test the property 'lines' - */ - @Test - public void linesTest() { - // TODO: test lines - } - -} diff --git a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInnerTest.java index 9857901c..f441ccd7 100644 --- a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoTest.java b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoTest.java index 0e2f6b04..47421ee7 100644 --- a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseProductsInnerTest.java b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseProductsInnerTest.java index 5851f61e..785496e7 100644 --- a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseProductsInnerTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseProductsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberTest.java b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberTest.java index 8cab32bb..b06d9230 100644 --- a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseTest.java b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseTest.java index 6e4dcb58..9e30139e 100644 --- a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeEndDateTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeEndDateTest.java index 89fd549f..c1773afd 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeEndDateTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeEndDateTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeExpirationDateTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeExpirationDateTest.java index 3881c62f..14d6a155 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeExpirationDateTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeExpirationDateTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeInvoiceDateTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeInvoiceDateTest.java index 33959cda..5f3b01f6 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeInvoiceDateTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeInvoiceDateTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeStartDateTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeStartDateTest.java index 6b3e2194..97650c84 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeStartDateTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeStartDateTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeTest.java index 75539db0..2742afd7 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatusTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatusTest.java index 64262ae4..10ed7c57 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatusTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatusTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusTest.java index 25aaf24b..498c5808 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestTest.java index b2f79210..ff420349 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInnerTest.java index 213d8692..2e069a76 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerTest.java index 9f2d9030..60677f0a 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchResponseTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchResponseTest.java index e22f6d2e..1afd997a 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInnerTest.java b/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInnerTest.java index fedbf279..3cbdf47b 100644 --- a/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerTest.java b/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerTest.java index ed069df8..7c98a845 100644 --- a/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ReturnsCreateRequestTest.java b/src/test/java/xiresellers/client/model/ReturnsCreateRequestTest.java index e94e3a96..195add88 100644 --- a/src/test/java/xiresellers/client/model/ReturnsCreateRequestTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsCreateRequestTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInnerTest.java b/src/test/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInnerTest.java index 1ffc2142..cc9701c4 100644 --- a/src/test/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ReturnsCreateResponseTest.java b/src/test/java/xiresellers/client/model/ReturnsCreateResponseTest.java index 96b45c5c..2a44e835 100644 --- a/src/test/java/xiresellers/client/model/ReturnsCreateResponseTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsCreateResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ReturnsDetailsResponseProductsInnerTest.java b/src/test/java/xiresellers/client/model/ReturnsDetailsResponseProductsInnerTest.java index 83892ac2..3c3a2db1 100644 --- a/src/test/java/xiresellers/client/model/ReturnsDetailsResponseProductsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsDetailsResponseProductsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ReturnsDetailsResponseTest.java b/src/test/java/xiresellers/client/model/ReturnsDetailsResponseTest.java index 84431212..2662bc0b 100644 --- a/src/test/java/xiresellers/client/model/ReturnsDetailsResponseTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsDetailsResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInnerTest.java index fae1ff2d..f3b5dd58 100644 --- a/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerTest.java b/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerTest.java index 4989e386..2f505d41 100644 --- a/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ReturnsSearchResponseTest.java b/src/test/java/xiresellers/client/model/ReturnsSearchResponseTest.java index 6d930c42..bc124c99 100644 --- a/src/test/java/xiresellers/client/model/ReturnsSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsSearchResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerTest.java b/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerTest.java index f02bbb04..d306b5ec 100644 --- a/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -22,7 +22,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import xiresellers.client.model.QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner; +import xiresellers.client.model.ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInnerTest.java b/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerTest.java similarity index 60% rename from src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInnerTest.java rename to src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerTest.java index 592c81f5..6dc10be3 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * @@ -24,17 +24,17 @@ import org.junit.jupiter.api.Test; /** - * Model tests for QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner + * Model tests for ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner */ -public class QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInnerTest { - private final QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner model = new QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner(); +public class ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerTest { + private final ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner model = new ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner(); /** - * Model tests for QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner + * Model tests for ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner */ @Test - public void testQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner() { - // TODO: test QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner + public void testValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner() { + // TODO: test ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner } /** diff --git a/src/test/java/xiresellers/client/model/ValidateQuoteResponseTest.java b/src/test/java/xiresellers/client/model/ValidateQuoteResponseTest.java index 47ed6ea8..051adccf 100644 --- a/src/test/java/xiresellers/client/model/ValidateQuoteResponseTest.java +++ b/src/test/java/xiresellers/client/model/ValidateQuoteResponseTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 * diff --git a/src/test/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInnerTest.java index 9d8701c6..99c81c6c 100644 --- a/src/test/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInnerTest.java @@ -1,6 +1,6 @@ /* * XI Sdk Resellers - * For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. + * For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. * * The version of the OpenAPI document: 1.0.0 *